GNOME Bugzilla – Bug 780330
Intermittent compile failure libgstgl
Last modified: 2017-03-21 01:14:32 UTC
When compiling gst-plugins-bad with multiple make jobs (i.e. make -j) from the top-level directory, occasionally the "gl" make target fails to compile: No rule to make target '../../../gst-libs/gst/allocators/libgstbadallocators- 1.0.la', needed by 'libgstgl-1.0.la' You can also reproduce the error 100% with a configured clean tree (i.e. no previous build artifacts) and running "make gl" from gst-libs/gst directory. gstreamer (master) heads/master-0-gb84cb752005b gst-plugins-base (master) heads/master-0-g53fca37cb444 gst-plugins-good (master) heads/master-0-gf26edcdf340e gst-plugins-bad (master) heads/master-0-g24ee6089476a gstreamer-vaapi (master) heads/master-0-g152217064f11
I guess running "make gl" directly in a clean configured tree from gst-libs/gst is expected to fail since it bypasses SUBDIRS configuration in Makefile.am... so that is not a legitimate reproduction as pointed out above. I will attach entire build output for the failure I am seeing intermittently from top-level make builds.
Created attachment 348363 [details] intermittent compile failure
Created attachment 348365 [details] [review] [PATCH gst-plugins-bad] build: declare dependency from gl on allocators
commit 8408c01e7dd0ac76d19ca8ad0d24397c47e28fc6 Author: Scott D Phillips <scott.d.phillips@intel.com> Date: Mon Mar 20 15:19:08 2017 -0700 build: declare dependency from gl on allocators libgstgl has a dependency on libgstallocators starting with: ed1e4c1 glupload: Add support for Vivante DirectTexture uploads The dependency wasn't stated in the Makefile, so the build could occasionally fail if you got unlucky with the ordering of build steps. https://bugzilla.gnome.org/show_bug.cgi?id=780330