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 775410 - gsk/Makefile.am runs g-ir-scanner before libgsk-4.la is linked
gsk/Makefile.am runs g-ir-scanner before libgsk-4.la is linked
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: .General
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2016-11-30 15:23 UTC by fakey
Modified: 2016-11-30 15:33 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
gsk: ensure libgsk-4.la before running g-ir-scanner (778 bytes, patch)
2016-11-30 15:23 UTC, fakey
committed Details | Review

Description fakey 2016-11-30 15:23:30 UTC
Created attachment 341061 [details] [review]
gsk: ensure libgsk-4.la before running g-ir-scanner

The automake dependency appears to be spelled wrong, causing parallel builds to fail sometimes.

make[3]: Entering directory '/home/william/.cache/jhbuild/build/gtk+/gsk'
  CC       libgsk_4_la-gskrenderer.lo
  CC       libgsk_4_la-gskrendernode.lo
  CC       libgsk_4_la-gskrendernodeiter.lo
  CC       libgsk_4_la-gsktexture.lo
  CC       libgsk_4_la-gskcairorenderer.lo
  CC       libgsk_4_la-gskdebug.lo
  CC       libgsk_4_la-gskgldriver.lo
  CC       libgsk_4_la-gskglprofiler.lo
  CC       libgsk_4_la-gskglrenderer.lo
  CC       libgsk_4_la-gskprivate.lo
  CC       libgsk_4_la-gskprofiler.lo
  CC       libgsk_4_la-gskshaderbuilder.lo
  CC       libgsk_4_la-gskenumtypes.lo
  CC       libgsk_4_la-gskresources.lo
  GISCAN   Gsk-noinst-4.0.gir
  CCLD     libgsk-4.la
ar: `u' modifier ignored since `D' is the default (see `U')
libtool:   error: cannot find the library 'libgsk-4.la' or unhandled argument 'libgsk-4.la'
linking of temporary binary failed: Command '['/bin/bash', '../libtool', '--mode=link', '--tag=CC', '--silent', 'gcc', '-o', '/home/william/.cache/jhbuild/build/gtk+/gsk/tmp-introspectucheiy2y/Gsk-4.0', '-export-dynamic', '-O0', '-ggdb3', '-Wno-error=deprecated-declarations', '-Wall', '-L/home/william/.cache/jhbuild/install/lib', 'tmp-introspectucheiy2y/home/william/.cache/jhbuild/build/gtk+/gsk/tmp-introspectucheiy2y/Gsk-4.0.o', '-L.', 'libgsk-4.la', '-L/home/william/.cache/jhbuild/install/lib', '-lgio-2.0', '-lgobject-2.0', '-Wl,--export-dynamic', '-lgmodule-2.0', '-pthread', '-lglib-2.0']' returned non-zero exit status 1
/home/william/.cache/jhbuild/install/share/gobject-introspection-1.0/Makefile.introspection:155: recipe for target 'Gsk-noinst-4.0.gir' failed
make[3]: *** [Gsk-noinst-4.0.gir] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/home/william/.cache/jhbuild/build/gtk+/gsk'
Makefile:790: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/home/william/.cache/jhbuild/build/gtk+/gsk'
Makefile:719: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/william/.cache/jhbuild/build/gtk+'
Makefile:615: recipe for target 'all' failed
make: *** [all] Error 2
Comment 1 Emmanuele Bassi (:ebassi) 2016-11-30 15:28:02 UTC
Review of attachment 341061 [details] [review]:

Nice catch.