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 778321 - git master fails to build using jhbuild
git master fails to build using jhbuild
Status: RESOLVED FIXED
Product: gnome-builder
Classification: Other
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: GNOME Builder Maintainers
GNOME Builder Maintainers
Depends on:
Blocks:
 
 
Reported: 2017-02-08 05:34 UTC by Mohammed Sadiq
Modified: 2017-02-09 02:00 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
build: ensure we link against libpanel-gtk during gir generation (913 bytes, patch)
2017-02-08 06:06 UTC, Christian Hergert
committed Details | Review
idemm: link against additional shared libraries (1.14 KB, patch)
2017-02-08 20:00 UTC, Christian Hergert
committed Details | Review
idemm: link tools against panel-gtk (731 bytes, patch)
2017-02-09 01:52 UTC, Mohammed Sadiq
committed Details | Review

Description Mohammed Sadiq 2017-02-08 05:34:12 UTC
This happened a while ago. I hoped it would be fixed, but didn't happen. Hence reporting.

possible Error from the log:

  CC       resources/libide_1_0_la-ide-resources.lo
  GEN      libide-1.0.deps
  CC       buildsystem/libide_1_0_la-ide-build-result.lo
  CCLD     libide-1.0.la
  GISCAN   Ide-1.0.gir
./.libs/libide-1.0.so: undefined reference to `pnl_dock_overlay_get_edge'
./.libs/libide-1.0.so: undefined reference to `pnl_dock_revealer_animate_to_position'
./.libs/libide-1.0.so: undefined reference to `pnl_overlay_add_child'
collect2: error: ld returned 1 exit status
linking of temporary binary failed: Command '['/bin/bash', '../libtool', '--mode=link', '--tag=CC', '--silent', 'gcc', '-o', '/media/sadiq/Temp/jhbuild/.cache/jhbuild/build/gnome-builder/libide/tmp-introspectpah1ew6i/Ide-1.0', '-export-dynamic', '-g', '-O2', '-std=gnu11', '-D_GNU_SOURCE', '-Wall', '-Wcast-align', '-Wdeclaration-after-statement', '-Werror=format-security', '-Werror=format=2', '-Wextra', '-Wformat-nonliteral', '-Wformat-security', '-Wmissing-include-dirs', '-Wnested-externs', '-Wno-missing-field-initializers', '-Wno-sign-compare', '-Wno-strict-aliasing', '-Wno-uninitialized', '-Wno-unused-parameter', '-Wpointer-arith', '-Wredundant-decls', '-Wshadow', '-Wswitch-default', '-Wswitch-enum', '-Wundef', '-L/home/sadiq/jhbuild/install/lib', 'tmp-introspectpah1ew6i/media/sadiq/Temp/jhbuild/.cache/jhbuild/build/gnome-builder/libide/tmp-introspectpah1ew6i/Ide-1.0.o', '-L.', 'libide-1.0.la', '../contrib/egg/libegg-private.la', '../contrib/tmpl/libtemplate-glib-1.0.la', '-L/home/sadiq/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/sadiq/jhbuild/install/share/gobject-introspection-1.0/Makefile.introspection:155: recipe for target 'Ide-1.0.gir' failed
make[3]: *** [Ide-1.0.gir] Error 1
make[3]: Leaving directory '/media/sadiq/Temp/jhbuild/.cache/jhbuild/build/gnome-builder/libide'
Makefile:1828: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/media/sadiq/Temp/jhbuild/.cache/jhbuild/build/gnome-builder/libide'
Makefile:661: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/media/sadiq/Temp/jhbuild/.cache/jhbuild/build/gnome-builder'
Makefile:593: recipe for target 'all' failed
make: *** [all] Error 2
*** Error during phase build of gnome-builder: ########## Error running make -j 5  *** [1/1]


Thanks
Comment 1 Christian Hergert 2017-02-08 06:06:37 UTC
Created attachment 345169 [details] [review]
build: ensure we link against libpanel-gtk during gir generation
Comment 2 Mohammed Sadiq 2017-02-08 16:05:59 UTC
Hi. Thanks for the patch, that issue is gone. Though I have another error:

  CCLD     libide-1.0.la
  GISCAN   Ide-1.0.gir
  GICOMP   Ide-1.0.gir
 VAPIGEN libide-1.0.vapi
make[3]: Leaving directory '/media/sadiq/Temp/jhbuild/.cache/jhbuild/build/gnome-builder/libide'
make[2]: Leaving directory '/media/sadiq/Temp/jhbuild/.cache/jhbuild/build/gnome-builder/libide'
Making all in src
make[2]: Entering directory '/media/sadiq/Temp/jhbuild/.cache/jhbuild/build/gnome-builder/src'
  CC       main.o
git.mk: Generating /home/sadiq/jhbuild/checkout/gnome-builder/src/.gitignore
  CCLD     gnome-builder-worker
  CCLD     gnome-builder-cli
  CCLD     gnome-builder
make[2]: Leaving directory '/media/sadiq/Temp/jhbuild/.cache/jhbuild/build/gnome-builder/src'
Making all in libidemm
make[2]: Entering directory '/media/sadiq/Temp/jhbuild/.cache/jhbuild/build/gnome-builder/libidemm'
git.mk: Generating /home/sadiq/jhbuild/checkout/gnome-builder/libidemm/.gitignore
make  all-recursive
make[3]: Entering directory '/media/sadiq/Temp/jhbuild/.cache/jhbuild/build/gnome-builder/libidemm'
Making all in tools
make[4]: Entering directory '/media/sadiq/Temp/jhbuild/.cache/jhbuild/build/gnome-builder/libidemm/tools'
  CXX      extra_defs_gen/generate_defs_libide.o
git.mk: Generating /home/sadiq/jhbuild/checkout/gnome-builder/libidemm/tools/.gitignore
  CXXLD    extra_defs_gen/generate_defs_libide
/media/sadiq/Temp/jhbuild/.cache/jhbuild/build/gnome-builder/libide/.libs/libide-1.0.so: undefined reference to `pnl_dock_overlay_get_edge'
/media/sadiq/Temp/jhbuild/.cache/jhbuild/build/gnome-builder/libide/.libs/libide-1.0.so: undefined reference to `pnl_dock_revealer_animate_to_position'
/media/sadiq/Temp/jhbuild/.cache/jhbuild/build/gnome-builder/libide/.libs/libide-1.0.so: undefined reference to `pnl_overlay_add_child'
collect2: error: ld returned 1 exit status
Makefile:611: recipe for target 'extra_defs_gen/generate_defs_libide' failed
make[4]: *** [extra_defs_gen/generate_defs_libide] Error 1
make[4]: Leaving directory '/media/sadiq/Temp/jhbuild/.cache/jhbuild/build/gnome-builder/libidemm/tools'
Makefile:716: recipe for target 'all-recursive' failed
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory '/media/sadiq/Temp/jhbuild/.cache/jhbuild/build/gnome-builder/libidemm'
Makefile:596: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/media/sadiq/Temp/jhbuild/.cache/jhbuild/build/gnome-builder/libidemm'
Makefile:661: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/media/sadiq/Temp/jhbuild/.cache/jhbuild/build/gnome-builder'
Makefile:593: recipe for target 'all' failed
make: *** [all] Error 2
*** Error during phase build of gnome-builder: ########## Error running make -j 5  *** [1/1]

Thanks
Comment 3 Christian Hergert 2017-02-08 20:00:21 UTC
Created attachment 345266 [details] [review]
idemm: link against additional shared libraries

Some problematic Linux distros do not inherit the links against other
shared libraries, so we need to specify them manually.
Comment 4 Christian Hergert 2017-02-08 20:00:57 UTC
Attachment 345169 [details] pushed as 9c8e696 - build: ensure we link against libpanel-gtk during gir generation
Attachment 345266 [details] pushed as 5e3d9ee - idemm: link against additional shared libraries
Comment 5 Mohammed Sadiq 2017-02-09 01:52:03 UTC
Created attachment 345280 [details] [review]
idemm: link tools against panel-gtk
Comment 6 Christian Hergert 2017-02-09 01:58:46 UTC
Review of attachment 345280 [details] [review]:

LGTM
Comment 7 Christian Hergert 2017-02-09 02:00:13 UTC
Thanks!

Attachment 345280 [details] pushed as 0fd55e9 - idemm: link tools against panel-gtk