[MacPorts] #42578: frogr: build fails on Lion and SL buildbots, ML and Mavericks OK.
#42578: frogr: build fails on Lion and SL buildbots, ML and Mavericks OK. ----------------------+------------------------ Reporter: devans@… | Owner: juanrgar@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Keywords: | Port: frogr ----------------------+------------------------ 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. -- Ticket URL: <https://trac.macports.org/ticket/42578> MacPorts <http://www.macports.org/> Ports system for OS X
#42578: frogr: build fails on Lion and SL buildbots, ML and Mavericks OK. -----------------------+------------------------ Reporter: devans@… | Owner: juanrgar@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: frogr | -----------------------+------------------------ Comment (by juanrgar@…): I think this solves the issue. frogr's compilation scripts are a bit disappointing. I think it does not behave as other gnome apps. -- Ticket URL: <https://trac.macports.org/ticket/42578#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#42578: frogr: build fails on Lion and SL buildbots, ML and Mavericks OK. -----------------------+------------------------ Reporter: devans@… | Owner: juanrgar@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: fixed | Keywords: Port: frogr | -----------------------+------------------------ Changes (by devans@…): * status: new => closed * resolution: => fixed Comment: Some are definitely better than others. Fix committed in r117340, built successfully on Lion and Snow Leopard. -- Ticket URL: <https://trac.macports.org/ticket/42578#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts