After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 780330 - Intermittent compile failure libgstgl
Intermittent compile failure libgstgl
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other Linux
: Normal normal
: 1.11.90
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2017-03-20 20:29 UTC by U. Artie Eoff
Modified: 2017-03-21 01:14 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
intermittent compile failure (298.53 KB, text/plain)
2017-03-20 21:00 UTC, U. Artie Eoff
  Details
[PATCH gst-plugins-bad] build: declare dependency from gl on allocators (977 bytes, patch)
2017-03-20 22:23 UTC, Scott D Phillips
committed Details | Review

Description U. Artie Eoff 2017-03-20 20:29:03 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
Comment 1 U. Artie Eoff 2017-03-20 20:58:39 UTC
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.
Comment 2 U. Artie Eoff 2017-03-20 21:00:38 UTC
Created attachment 348363 [details]
intermittent compile failure
Comment 3 Scott D Phillips 2017-03-20 22:23:10 UTC
Created attachment 348365 [details] [review]
[PATCH gst-plugins-bad] build: declare dependency from gl on allocators
Comment 4 Matthew Waters (ystreet00) 2017-03-21 01:14:15 UTC
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