Opened 11 years ago

Closed 11 years ago

#42578 closed defect (fixed)

frogr: build fails on Lion and SL buildbots, ML and Mavericks OK.

Reported by: dbevans (David B. Evans) Owned by: juanrgar (Juan R. García Blanco)
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: Cc: cooljeanius (Eric Gallager)
Port: frogr

Description

Build fails on Lion with

/usr/bin/clang -D_REENTRANT -I/opt/local/include/gtk-3.0 -I/opt/local/include/at-spi2-atk/2.0 -I/opt/local/include/gtk-3.0 -I/opt/local/include/gio-unix-2.0/ -I/opt/local/include -I/opt/local/include/cairo -I/opt/local/include/pango-1.0 -I/opt/local/include/harfbuzz -I/opt/local/include/pango-1.0 -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pixman-1 -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include/libpng16 -I/opt/local/include -I/opt/local/include/gdk-pixbuf-2.0 -I/opt/local/include/libpng16 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include  -I/opt/local/include  -I/opt/local/include/libxml2  -D_REENTRANT -I/opt/local/include/json-glib-1.0 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include  -I/opt/local/include -D_REENTRANT -I/opt/local/include/gstreamer-1.0 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include  -D_REENTRANT -I/opt/local/include/libsoup-gnome-2.4 -I/opt/local/include/libsoup-2.4 -I/opt/local/include/libxml2 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include  -DDATA_DIR=\"/opt/local/share\"  -pipe -Os -arch x86_64 -DG_DISABLE_SINGLE_INCLUDES -DGTK_DISABLE_SINGLE_INCLUDES -DGSEAL_ENABLE -DG_DISABLE_ASSERT -DG_DISABLE_CHECKS -DG_DISABLE_CAST_CHECKS -export-dynamic -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -o frogr frogr-frogr-about-dialog.o frogr-frogr-account.o frogr-frogr-add-tags-dialog.o frogr-frogr-add-to-group-dialog.o frogr-frogr-add-to-set-dialog.o frogr-frogr-auth-dialog.o frogr-frogr-config.o frogr-frogr-controller.o frogr-frogr-create-new-set-dialog.o frogr-frogr-details-dialog.o frogr-frogr-file-loader.o frogr-frogr-group.o frogr-frogr-live-entry.o frogr-frogr-location.o frogr-frogr-main-view.o frogr-frogr-model.o frogr-frogr-photoset.o frogr-frogr-picture.o frogr-frogr-settings-dialog.o frogr-frogr-util.o frogr-main.o flicksoup/libflicksoup.a -L/opt/local/lib -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpangoft2-1.0 -lpango-1.0 -lm -lfontconfig -lfreetype -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lintl  -L/opt/local/lib -lexif  -L/opt/local/lib -lxml2  -L/opt/local/lib -ljson-glib-1.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lintl  -L/opt/local/lib -lgcrypt -lgpg-error -L/opt/local/lib -lgstreamer-1.0 -lgobject-2.0 -lglib-2.0 -lintl  -L/opt/local/lib -lsoup-gnome-2.4 -lsoup-2.4 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lintl
Undefined symbols for architecture x86_64:
  "xport-dynamic", referenced from:
     -u command line option
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Looks like compiler is mishandling -export-dynamic

Snow Leopard fails on the same issue but differently ;-)

/usr/bin/gcc-4.2 -D_REENTRANT -I/opt/local/include/gtk-3.0 -I/opt/local/include/at-spi2-atk/2.0 -I/opt/local/include/gtk-3.0 -I/opt/local/include/gio-unix-2.0/ -I/opt/local/include -I/opt/local/include/cairo -I/opt/local/include/pango-1.0 -I/opt/local/include/harfbuzz -I/opt/local/include/pango-1.0 -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pixman-1 -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include/libpng16 -I/opt/local/include -I/opt/local/include/gdk-pixbuf-2.0 -I/opt/local/include/libpng16 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include  -I/opt/local/include  -I/opt/local/include/libxml2  -D_REENTRANT -I/opt/local/include/json-glib-1.0 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include  -I/opt/local/include -D_REENTRANT -I/opt/local/include/gstreamer-1.0 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include  -D_REENTRANT -I/opt/local/include/libsoup-gnome-2.4 -I/opt/local/include/libsoup-2.4 -I/opt/local/include/libxml2 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include  -DDATA_DIR=\"/opt/local/share\"  -pipe -Os -arch x86_64 -DG_DISABLE_SINGLE_INCLUDES -DGTK_DISABLE_SINGLE_INCLUDES -DGSEAL_ENABLE -DG_DISABLE_ASSERT -DG_DISABLE_CHECKS -DG_DISABLE_CAST_CHECKS -export-dynamic -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -o frogr frogr-frogr-about-dialog.o frogr-frogr-account.o frogr-frogr-add-tags-dialog.o frogr-frogr-add-to-group-dialog.o frogr-frogr-add-to-set-dialog.o frogr-frogr-auth-dialog.o frogr-frogr-config.o frogr-frogr-controller.o frogr-frogr-create-new-set-dialog.o frogr-frogr-details-dialog.o frogr-frogr-file-loader.o frogr-frogr-group.o frogr-frogr-live-entry.o frogr-frogr-location.o frogr-frogr-main-view.o frogr-frogr-model.o frogr-frogr-photoset.o frogr-frogr-picture.o frogr-frogr-settings-dialog.o frogr-frogr-util.o frogr-main.o flicksoup/libflicksoup.a -L/opt/local/lib -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpangoft2-1.0 -lpango-1.0 -lm -lfontconfig -lfreetype -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lintl  -L/opt/local/lib -lexif  -L/opt/local/lib -lxml2  -L/opt/local/lib -ljson-glib-1.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lintl  -L/opt/local/lib -lgcrypt -lgpg-error -L/opt/local/lib -lgstreamer-1.0 -lgobject-2.0 -lglib-2.0 -lintl  -L/opt/local/lib -lsoup-gnome-2.4 -lsoup-2.4 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lintl
ld: unknown option: -export-dynamic
collect2: ld returned 1 exit status
make[3]: *** [frogr] Error 1

Full logs attached.

Attachments (3)

buildports-lion-x86_64.log (10.1 MB) - added by dbevans (David B. Evans) 11 years ago.
Lion buildbot log showing build failure
buildports-snowleopard-x86_64.log (10.1 MB) - added by dbevans (David B. Evans) 11 years ago.
Snow Leopard buildbot log showing build failure
frogr-export-dynamic.tgz (570 bytes) - added by juanrgar (Juan R. García Blanco) 11 years ago.

Change History (6)

Changed 11 years ago by dbevans (David B. Evans)

Attachment: buildports-lion-x86_64.log added

Lion buildbot log showing build failure

Changed 11 years ago by dbevans (David B. Evans)

Snow Leopard buildbot log showing build failure

comment:1 Changed 11 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

Changed 11 years ago by juanrgar (Juan R. García Blanco)

Attachment: frogr-export-dynamic.tgz added

comment:2 Changed 11 years ago by juanrgar (Juan R. García Blanco)

I think this solves the issue. frogr's compilation scripts are a bit disappointing. I think it does not behave as other gnome apps.

comment:3 Changed 11 years ago by dbevans (David B. Evans)

Resolution: fixed
Status: newclosed

Some are definitely better than others.

Fix committed in r117340, built successfully on Lion and Snow Leopard.

Note: See TracTickets for help on using tickets.