#16978: gtk2 2.14.4: Building with variant +no_x11 fails with link error ---------------------------------+------------------------------------------ Reporter: devans@macports.org | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: gtk2 ---------------------------------+------------------------------------------ Environment: 10.4.11 ppc XCode 2.5 MacPorts latest trunk. When attempting to install gtk2 +no_x11 in a fresh install of MacPorts built from latest trunk, build fails with the following error: {{{ /bin/sh ../libtool --mode=link /usr/bin/gcc-4.0 -DGDK_PIXBUF_DISABLE_DEPRECATED -O2 -funroll-loops -fstrict-aliasing -Wall -L/opt/gtk/lib -o libgtk-quartz-2.0.la -version-info 1400:4:1400 -export- dynamic -export-symbols-regex "^[^_].*" -rpath /opt/gtk/lib gtkquery.lo gtksearchengine.lo gtksearchenginesimple.lo fnmatch.lo gtkaboutdialog.lo gtkaccelgroup.lo gtkaccellabel.lo gtkaccelmap.lo gtkaccessible.lo gtkaction.lo gtkactiongroup.lo gtkadjustment.lo gtkalignment.lo gtkarrow.lo gtkaspectframe.lo gtkassistant.lo gtkbbox.lo gtkbin.lo gtkbindings.lo gtkbox.lo gtkbuildable.lo gtkbuilder.lo gtkbuilderparser.lo gtkbutton.lo gtkcalendar.lo gtkcelleditable.lo gtkcelllayout.lo gtkcellrenderer.lo gtkcellrendereraccel.lo gtkcellrenderercombo.lo gtkcellrendererpixbuf.lo gtkcellrendererprogress.lo gtkcellrendererspin.lo gtkcellrenderertext.lo gtkcellrenderertoggle.lo gtkcellview.lo gtkcheckbutton.lo gtkcheckmenuitem.lo gtkcolorbutton.lo gtkcolorsel.lo gtkcolorseldialog.lo gtkcombobox.lo gtkcomboboxentry.lo gtkcontainer.lo gtkcurve.lo gtkdialog.lo gtkdrawingarea.lo gtkeditable.lo gtkentry.lo gtkentrycompletion.lo gtkeventbox.lo gtkexpander.lo gtkfilechooser.lo gtkfilechooserbutton.lo gtkfilechooserdefault.lo gtkfilechooserdialog.lo gtkfilechooserembed.lo gtkfilechooserentry.lo gtkfilechoosersettings.lo gtkfilechooserutils.lo gtkfilechooserwidget.lo gtkfilefilter.lo gtkfilesystem.lo gtkfilesystemmodel.lo gtkfixed.lo gtkfontbutton.lo gtkfontsel.lo gtkframe.lo gtkgamma.lo gtkgc.lo gtkhandlebox.lo gtkhbbox.lo gtkhbox.lo gtkhpaned.lo gtkhruler.lo gtkhscale.lo gtkhscrollbar.lo gtkhseparator.lo gtkhsv.lo gtkiconcache.lo gtkiconcachevalidator.lo gtkiconfactory.lo gtkicontheme.lo gtkiconview.lo gtkimage.lo gtkimagemenuitem.lo gtkimcontext.lo gtkimcontextsimple.lo gtkimmodule.lo gtkimmulticontext.lo gtkinputdialog.lo gtkinvisible.lo gtkitem.lo gtkkeyhash.lo gtklabel.lo gtklayout.lo gtklinkbutton.lo gtkliststore.lo gtkmain.lo gtkmarshal.lo gtkmarshalers.lo gtkmenu.lo gtkmenubar.lo gtkmenuitem.lo gtkmenushell.lo gtkmenutoolbutton.lo gtkmessagedialog.lo gtkmisc.lo gtkmnemonichash.lo gtkmodules.lo gtkmountoperation.lo gtknotebook.lo gtkobject.lo gtkpagesetup.lo gtkpaned.lo gtkpapersize.lo gtkpathbar.lo gtkplug.lo gtkprintcontext.lo gtkprintoperation.lo gtkprintoperationpreview.lo gtkprintsettings.lo gtkprintutils.lo gtkprogressbar.lo gtkradioaction.lo gtkradiobutton.lo gtkradiomenuitem.lo gtkradiotoolbutton.lo gtkrange.lo gtkrbtree.lo gtkrc.lo gtkrecentaction.lo gtkrecentchooserdefault.lo gtkrecentchooserdialog.lo gtkrecentchoosermenu.lo gtkrecentchooserwidget.lo gtkrecentchooserutils.lo gtkrecentchooser.lo gtkrecentfilter.lo gtkrecentmanager.lo gtkruler.lo gtkscale.lo gtkscalebutton.lo gtkscrollbar.lo gtkscrolledwindow.lo gtkselection.lo gtkseparator.lo gtkseparatormenuitem.lo gtkseparatortoolitem.lo gtksettings.lo gtksizegroup.lo gtkshow.lo gtksocket.lo gtkspinbutton.lo gtkstatusbar.lo gtkstatusicon.lo gtkstock.lo gtkstyle.lo gtktable.lo gtktearoffmenuitem.lo gtktestutils.lo gtktextbtree.lo gtktextbuffer.lo gtktextbufferrichtext.lo gtktextbufferserialize.lo gtktextchild.lo gtktextdisplay.lo gtktextiter.lo gtktextlayout.lo gtktextmark.lo gtktextsegment.lo gtktexttag.lo gtktexttagtable.lo gtktexttypes.lo gtktextutil.lo gtktextview.lo gtkthemes.lo gtktoggleaction.lo gtktogglebutton.lo gtktoggletoolbutton.lo gtktoolbar.lo gtktoolbutton.lo gtktoolitem.lo gtktoolshell.lo gtktooltip.lo gtktreedatalist.lo gtktreednd.lo gtktreemodel.lo gtktreemodelfilter.lo gtktreemodelsort.lo gtktreeselection.lo gtktreesortable.lo gtktreestore.lo gtktreeview.lo gtktreeviewcolumn.lo gtktypebuiltins.lo gtktypeutils.lo gtkuimanager.lo gtkvbbox.lo gtkvbox.lo gtkvolumebutton.lo gtkviewport.lo gtkvpaned.lo gtkvruler.lo gtkvscale.lo gtkvscrollbar.lo gtkvseparator.lo gtkwidget.lo gtkwindow-decorate.lo gtkwindow.lo gtkclipboard-quartz.lo gtkdnd-quartz.lo gtkquartz.lo gtktext.lo gtktree.lo gtktreeitem.lo gtkclist.lo gtkcombo.lo gtkctree.lo gtkfilesel.lo gtkitemfactory.lo gtklist.lo gtklistitem.lo gtkoldeditable.lo gtkoptionmenu.lo gtkpixmap.lo gtkpreview.lo gtkprogress.lo gtksignal.lo gtktipsquery.lo gtktooltips.lo gtkpagesetupunixdialog.lo gtkprinter.lo gtkprinteroption.lo gtkprinteroptionset.lo gtkprinteroptionwidget.lo gtkprintjob.lo gtkprintoperation-unix.lo gtkprintunixdialog.lo gtkprintbackend.lo gtksearchenginebeagle.lo gtksearchenginetracker.lo gtksearchenginequartz.lo gtkplug-stub.lo gtksocket-stub.lo ../gdk- pixbuf/libgdk_pixbuf-2.0.la ../gdk/libgdk-quartz-2.0.la -Wl,-framework,CoreServices -Wl,-framework,ApplicationServices -L/opt/gtk/lib -lpangocairo-1.0 -lpangoft2-1.0 -lpango-1.0 -lm -latk-1.0 -lcairo -lpixman-1 -lfontconfig -lexpat -lfreetype -lpng12 -lz -lgio-2.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv -ltiff -ljpeg -L/opt/gtk/lib -lpng12 -lz -ljasper -lm -lintl generating symbol list for `libgtk-quartz-2.0.la' /usr/bin/nm -p .libs/gtkquery.o .libs/gtksearchengine.o .libs/gtksearchenginesimple.o .libs/fnmatch.o .libs/gtkaboutdialog.o .libs/gtkaccelgroup.o .libs/gtkaccellabel.o .libs/gtkaccelmap.o .libs/gtkaccessible.o .libs/gtkaction.o .libs/gtkactiongroup.o .libs/gtkadjustment.o .libs/gtkalignment.o .libs/gtkarrow.o .libs/gtkaspectframe.o .libs/gtkassistant.o .libs/gtkbbox.o .libs/gtkbin.o .libs/gtkbindings.o .libs/gtkbox.o .libs/gtkbuildable.o .libs/gtkbuilder.o .libs/gtkbuilderparser.o .libs/gtkbutton.o .libs/gtkcalendar.o .libs/gtkcelleditable.o .libs/gtkcelllayout.o .libs/gtkcellrenderer.o .libs/gtkcellrendereraccel.o .libs/gtkcellrenderercombo.o .libs/gtkcellrendererpixbuf.o .libs/gtkcellrendererprogress.o .libs/gtkcellrendererspin.o .libs/gtkcellrenderertext.o .libs/gtkcellrenderertoggle.o .libs/gtkcellview.o .libs/gtkcheckbutton.o .libs/gtkcheckmenuitem.o .libs/gtkcolorbutton.o .libs/gtkcolorsel.o .libs/gtkcolorseldialog.o .libs/gtkcombobox.o .libs/gtkcomboboxentry.o .libs/gtkcontainer.o .libs/gtkcurve.o .libs/gtkdialog.o .libs/gtkdrawingarea.o .libs/gtkeditable.o .libs/gtkentry.o .libs/gtkentrycompletion.o .libs/gtkeventbox.o .libs/gtkexpander.o .libs/gtkfilechooser.o .libs/gtkfilechooserbutton.o .libs/gtkfilechooserdefault.o .libs/gtkfilechooserdialog.o .libs/gtkfilechooserembed.o .libs/gtkfilechooserentry.o .libs/gtkfilechoosersettings.o .libs/gtkfilechooserutils.o .libs/gtkfilechooserwidget.o .libs/gtkfilefilter.o .libs/gtkfilesystem.o .libs/gtkfilesystemmodel.o .libs/gtkfixed.o .libs/gtkfontbutton.o .libs/gtkfontsel.o .libs/gtkframe.o .libs/gtkgamma.o .libs/gtkgc.o .libs/gtkhandlebox.o .libs/gtkhbbox.o .libs/gtkhbox.o .libs/gtkhpaned.o .libs/gtkhruler.o .libs/gtkhscale.o .libs/gtkhscrollbar.o .libs/gtkhseparator.o .libs/gtkhsv.o .libs/gtkiconcache.o .libs/gtkiconcachevalidator.o .libs/gtkiconfactory.o .libs/gtkicontheme.o .libs/gtkiconview.o .libs/gtkimage.o .libs/gtkimagemenuitem.o .libs/gtkimcontext.o .libs/gtkimcontextsimple.o .libs/gtkimmodule.o .libs/gtkimmulticontext.o .libs/gtkinputdialog.o .libs/gtkinvisible.o .libs/gtkitem.o .libs/gtkkeyhash.o .libs/gtklabel.o .libs/gtklayout.o .libs/gtklinkbutton.o .libs/gtkliststore.o .libs/gtkmain.o .libs/gtkmarshal.o .libs/gtkmarshalers.o .libs/gtkmenu.o .libs/gtkmenubar.o .libs/gtkmenuitem.o .libs/gtkmenushell.o .libs/gtkmenutoolbutton.o .libs/gtkmessagedialog.o .libs/gtkmisc.o .libs/gtkmnemonichash.o .libs/gtkmodules.o .libs/gtkmountoperation.o .libs/gtknotebook.o .libs/gtkobject.o .libs/gtkpagesetup.o .libs/gtkpaned.o .libs/gtkpapersize.o .libs/gtkpathbar.o .libs/gtkplug.o .libs/gtkprintcontext.o .libs/gtkprintoperation.o .libs/gtkprintoperationpreview.o .libs/gtkprintsettings.o .libs/gtkprintutils.o .libs/gtkprogressbar.o .libs/gtkradioaction.o .libs/gtkradiobutton.o .libs/gtkradiomenuitem.o .libs/gtkradiotoolbutton.o .libs/gtkrange.o .libs/gtkrbtree.o .libs/gtkrc.o .libs/gtkrecentaction.o .libs/gtkrecentchooserdefault.o .libs/gtkrecentchooserdialog.o .libs/gtkrecentchoosermenu.o .libs/gtkrecentchooserwidget.o .libs/gtkrecentchooserutils.o .libs/gtkrecentchooser.o .libs/gtkrecentfilter.o .libs/gtkrecentmanager.o .libs/gtkruler.o .libs/gtkscale.o .libs/gtkscalebutton.o .libs/gtkscrollbar.o .libs/gtkscrolledwindow.o .libs/gtkselection.o .libs/gtkseparator.o .libs/gtkseparatormenuitem.o .libs/gtkseparatortoolitem.o .libs/gtksettings.o .libs/gtksizegroup.o .libs/gtkshow.o .libs/gtksocket.o .libs/gtkspinbutton.o .libs/gtkstatusbar.o .libs/gtkstatusicon.o .libs/gtkstock.o .libs/gtkstyle.o .libs/gtktable.o .libs/gtktearoffmenuitem.o .libs/gtktestutils.o .libs/gtktextbtree.o .libs/gtktextbuffer.o .libs/gtktextbufferrichtext.o .libs/gtktextbufferserialize.o .libs/gtktextchild.o .libs/gtktextdisplay.o .libs/gtktextiter.o .libs/gtktextlayout.o .libs/gtktextmark.o .libs/gtktextsegment.o .libs/gtktexttag.o .libs/gtktexttagtable.o .libs/gtktexttypes.o .libs/gtktextutil.o .libs/gtktextview.o .libs/gtkthemes.o .libs/gtktoggleaction.o .libs/gtktogglebutton.o .libs/gtktoggletoolbutton.o .libs/gtktoolbar.o .libs/gtktoolbutton.o .libs/gtktoolitem.o .libs/gtktoolshell.o .libs/gtktooltip.o .libs/gtktreedatalist.o .libs/gtktreednd.o .libs/gtktreemodel.o .libs/gtktreemodelfilter.o .libs/gtktreemodelsort.o .libs/gtktreeselection.o .libs/gtktreesortable.o .libs/gtktreestore.o .libs/gtktreeview.o .libs/gtktreeviewcolumn.o .libs/gtktypebuiltins.o .libs/gtktypeutils.o .libs/gtkuimanager.o .libs/gtkvbbox.o .libs/gtkvbox.o .libs/gtkvolumebutton.o .libs/gtkviewport.o .libs/gtkvpaned.o .libs/gtkvruler.o .libs/gtkvscale.o .libs/gtkvscrollbar.o .libs/gtkvseparator.o .libs/gtkwidget.o .libs/gtkwindow-decorate.o .libs/gtkwindow.o .libs/gtkclipboard-quartz.o .libs/gtkdnd-quartz.o .libs/gtkquartz.o .libs/gtktext.o .libs/gtktree.o .libs/gtktreeitem.o .libs/gtkclist.o .libs/gtkcombo.o .libs/gtkctree.o .libs/gtkfilesel.o .libs/gtkitemfactory.o .libs/gtklist.o .libs/gtklistitem.o .libs/gtkoldeditable.o .libs/gtkoptionmenu.o .libs/gtkpixmap.o .libs/gtkpreview.o .libs/gtkprogress.o .libs/gtksignal.o .libs/gtktipsquery.o .libs/gtktooltips.o .libs/gtkpagesetupunixdialog.o .libs/gtkprinter.o .libs/gtkprinteroption.o .libs/gtkprinteroptionset.o .libs/gtkprinteroptionwidget.o .libs/gtkprintjob.o .libs /gtkprintoperation-unix.o .libs/gtkprintunixdialog.o .libs/gtkprintbackend.o .libs/gtksearchenginebeagle.o .libs/gtksearchenginetracker.o .libs/gtksearchenginequartz.o .libs /gtkplug-stub.o .libs/gtksocket-stub.o | sed -n -e 's/^.*[ ]\([BCDEGRST][BCDEGRST]*\)[ ][ ]*_\([_A-Za-z][_A-Za-z0-9]*\)$/\1 _\2 \2/p' | /usr/bin/sed 's/.* //' | sort | uniq > .libs/libgtk- quartz-2.0.exp /usr/bin/grep -E -e "^[^_].*" ".libs/libgtk-quartz-2.0.exp" > ".libs /libgtk-quartz-2.0.expT" mv -f ".libs/libgtk-quartz-2.0.expT" ".libs/libgtk-quartz-2.0.exp" sed 's,^,_,' < .libs/libgtk-quartz-2.0.exp > .libs/libgtk- quartz-2.0-symbols.expsym /usr/bin/gcc-4.0 -dynamiclib ${wl}-undefined ${wl}dynamic_lookup -o .libs /libgtk-quartz-2.0.0.1400.4.dylib .libs/gtkquery.o .libs/gtksearchengine.o .libs/gtksearchenginesimple.o .libs/fnmatch.o .libs/gtkaboutdialog.o .libs/gtkaccelgroup.o .libs/gtkaccellabel.o .libs/gtkaccelmap.o .libs/gtkaccessible.o .libs/gtkaction.o .libs/gtkactiongroup.o .libs/gtkadjustment.o .libs/gtkalignment.o .libs/gtkarrow.o .libs/gtkaspectframe.o .libs/gtkassistant.o .libs/gtkbbox.o .libs/gtkbin.o .libs/gtkbindings.o .libs/gtkbox.o .libs/gtkbuildable.o .libs/gtkbuilder.o .libs/gtkbuilderparser.o .libs/gtkbutton.o .libs/gtkcalendar.o .libs/gtkcelleditable.o .libs/gtkcelllayout.o .libs/gtkcellrenderer.o .libs/gtkcellrendereraccel.o .libs/gtkcellrenderercombo.o .libs/gtkcellrendererpixbuf.o .libs/gtkcellrendererprogress.o .libs/gtkcellrendererspin.o .libs/gtkcellrenderertext.o .libs/gtkcellrenderertoggle.o .libs/gtkcellview.o .libs/gtkcheckbutton.o .libs/gtkcheckmenuitem.o .libs/gtkcolorbutton.o .libs/gtkcolorsel.o .libs/gtkcolorseldialog.o .libs/gtkcombobox.o .libs/gtkcomboboxentry.o .libs/gtkcontainer.o .libs/gtkcurve.o .libs/gtkdialog.o .libs/gtkdrawingarea.o .libs/gtkeditable.o .libs/gtkentry.o .libs/gtkentrycompletion.o .libs/gtkeventbox.o .libs/gtkexpander.o .libs/gtkfilechooser.o .libs/gtkfilechooserbutton.o .libs/gtkfilechooserdefault.o .libs/gtkfilechooserdialog.o .libs/gtkfilechooserembed.o .libs/gtkfilechooserentry.o .libs/gtkfilechoosersettings.o .libs/gtkfilechooserutils.o .libs/gtkfilechooserwidget.o .libs/gtkfilefilter.o .libs/gtkfilesystem.o .libs/gtkfilesystemmodel.o .libs/gtkfixed.o .libs/gtkfontbutton.o .libs/gtkfontsel.o .libs/gtkframe.o .libs/gtkgamma.o .libs/gtkgc.o .libs/gtkhandlebox.o .libs/gtkhbbox.o .libs/gtkhbox.o .libs/gtkhpaned.o .libs/gtkhruler.o .libs/gtkhscale.o .libs/gtkhscrollbar.o .libs/gtkhseparator.o .libs/gtkhsv.o .libs/gtkiconcache.o .libs/gtkiconcachevalidator.o .libs/gtkiconfactory.o .libs/gtkicontheme.o .libs/gtkiconview.o .libs/gtkimage.o .libs/gtkimagemenuitem.o .libs/gtkimcontext.o .libs/gtkimcontextsimple.o .libs/gtkimmodule.o .libs/gtkimmulticontext.o .libs/gtkinputdialog.o .libs/gtkinvisible.o .libs/gtkitem.o .libs/gtkkeyhash.o .libs/gtklabel.o .libs/gtklayout.o .libs/gtklinkbutton.o .libs/gtkliststore.o .libs/gtkmain.o .libs/gtkmarshal.o .libs/gtkmarshalers.o .libs/gtkmenu.o .libs/gtkmenubar.o .libs/gtkmenuitem.o .libs/gtkmenushell.o .libs/gtkmenutoolbutton.o .libs/gtkmessagedialog.o .libs/gtkmisc.o .libs/gtkmnemonichash.o .libs/gtkmodules.o .libs/gtkmountoperation.o .libs/gtknotebook.o .libs/gtkobject.o .libs/gtkpagesetup.o .libs/gtkpaned.o .libs/gtkpapersize.o .libs/gtkpathbar.o .libs/gtkplug.o .libs/gtkprintcontext.o .libs/gtkprintoperation.o .libs/gtkprintoperationpreview.o .libs/gtkprintsettings.o .libs/gtkprintutils.o .libs/gtkprogressbar.o .libs/gtkradioaction.o .libs/gtkradiobutton.o .libs/gtkradiomenuitem.o .libs/gtkradiotoolbutton.o .libs/gtkrange.o .libs/gtkrbtree.o .libs/gtkrc.o .libs/gtkrecentaction.o .libs/gtkrecentchooserdefault.o .libs/gtkrecentchooserdialog.o .libs/gtkrecentchoosermenu.o .libs/gtkrecentchooserwidget.o .libs/gtkrecentchooserutils.o .libs/gtkrecentchooser.o .libs/gtkrecentfilter.o .libs/gtkrecentmanager.o .libs/gtkruler.o .libs/gtkscale.o .libs/gtkscalebutton.o .libs/gtkscrollbar.o .libs/gtkscrolledwindow.o .libs/gtkselection.o .libs/gtkseparator.o .libs/gtkseparatormenuitem.o .libs/gtkseparatortoolitem.o .libs/gtksettings.o .libs/gtksizegroup.o .libs/gtkshow.o .libs/gtksocket.o .libs/gtkspinbutton.o .libs/gtkstatusbar.o .libs/gtkstatusicon.o .libs/gtkstock.o .libs/gtkstyle.o .libs/gtktable.o .libs/gtktearoffmenuitem.o .libs/gtktestutils.o .libs/gtktextbtree.o .libs/gtktextbuffer.o .libs/gtktextbufferrichtext.o .libs/gtktextbufferserialize.o .libs/gtktextchild.o .libs/gtktextdisplay.o .libs/gtktextiter.o .libs/gtktextlayout.o .libs/gtktextmark.o .libs/gtktextsegment.o .libs/gtktexttag.o .libs/gtktexttagtable.o .libs/gtktexttypes.o .libs/gtktextutil.o .libs/gtktextview.o .libs/gtkthemes.o .libs/gtktoggleaction.o .libs/gtktogglebutton.o .libs/gtktoggletoolbutton.o .libs/gtktoolbar.o .libs/gtktoolbutton.o .libs/gtktoolitem.o .libs/gtktoolshell.o .libs/gtktooltip.o .libs/gtktreedatalist.o .libs/gtktreednd.o .libs/gtktreemodel.o .libs/gtktreemodelfilter.o .libs/gtktreemodelsort.o .libs/gtktreeselection.o .libs/gtktreesortable.o .libs/gtktreestore.o .libs/gtktreeview.o .libs/gtktreeviewcolumn.o .libs/gtktypebuiltins.o .libs/gtktypeutils.o .libs/gtkuimanager.o .libs/gtkvbbox.o .libs/gtkvbox.o .libs/gtkvolumebutton.o .libs/gtkviewport.o .libs/gtkvpaned.o .libs/gtkvruler.o .libs/gtkvscale.o .libs/gtkvscrollbar.o .libs/gtkvseparator.o .libs/gtkwidget.o .libs/gtkwindow-decorate.o .libs/gtkwindow.o .libs/gtkclipboard-quartz.o .libs/gtkdnd-quartz.o .libs/gtkquartz.o .libs/gtktext.o .libs/gtktree.o .libs/gtktreeitem.o .libs/gtkclist.o .libs/gtkcombo.o .libs/gtkctree.o .libs/gtkfilesel.o .libs/gtkitemfactory.o .libs/gtklist.o .libs/gtklistitem.o .libs/gtkoldeditable.o .libs/gtkoptionmenu.o .libs/gtkpixmap.o .libs/gtkpreview.o .libs/gtkprogress.o .libs/gtksignal.o .libs/gtktipsquery.o .libs/gtktooltips.o .libs/gtkpagesetupunixdialog.o .libs/gtkprinter.o .libs/gtkprinteroption.o .libs/gtkprinteroptionset.o .libs/gtkprinteroptionwidget.o .libs/gtkprintjob.o .libs /gtkprintoperation-unix.o .libs/gtkprintunixdialog.o .libs/gtkprintbackend.o .libs/gtksearchenginebeagle.o .libs/gtksearchenginetracker.o .libs/gtksearchenginequartz.o .libs /gtkplug-stub.o .libs/gtksocket-stub.o -L/opt/gtk/lib ../gdk- pixbuf/.libs/libgdk_pixbuf-2.0.dylib /opt/gtk/lib/libz.dylib ../gdk/.libs /libgdk-quartz-2.0.dylib /opt/gtk/var/macports/build/_opt_macports_trunk_dports_x11_gtk2/work/gtk+-2.14.4 /gdk-pixbuf/.libs/libgdk_pixbuf-2.0.dylib /opt/gtk/lib/libpangocairo-1.0.dylib /opt/gtk/lib/libpangoft2-1.0.dylib /opt/gtk/lib/libpango-1.0.dylib /opt/gtk/lib/libatk-1.0.dylib /opt/gtk/lib/libcairo.dylib /opt/gtk/lib/libpixman-1.dylib /opt/gtk/lib/libfontconfig.dylib /opt/gtk/lib/libexpat.dylib /opt/gtk/lib/libfreetype.dylib /opt/gtk/lib/libgio-2.0.dylib /opt/gtk/lib/libgobject-2.0.dylib /opt/gtk/lib/libgmodule-2.0.dylib /opt/gtk/lib/libglib-2.0.dylib /opt/gtk/lib/libiconv.dylib /opt/gtk/lib/libtiff.dylib /opt/gtk/lib/libjpeg.dylib /opt/gtk/lib/libpng12.dylib -lz /opt/gtk/lib/libjasper.dylib -lm /opt/gtk/lib/libintl.dylib -Wl,-framework -Wl,CoreServices -Wl,-framework -Wl,ApplicationServices -install_name /opt/gtk/lib/libgtk- quartz-2.0.0.dylib -compatibility_version 1401 -current_version 1401.4 -Wl,-single_module -Wl,-exported_symbols_list,.libs/libgtk- quartz-2.0-symbols.expsym dsymutil .libs/libgtk-quartz-2.0.0.1400.4.dylib || : warning: no debug map in executable (-arch ppc) (cd .libs && rm -f libgtk-quartz-2.0.0.dylib && ln -s libgtk- quartz-2.0.0.1400.4.dylib libgtk-quartz-2.0.0.dylib) (cd .libs && rm -f libgtk-quartz-2.0.dylib && ln -s libgtk- quartz-2.0.0.1400.4.dylib libgtk-quartz-2.0.dylib) creating libgtk-quartz-2.0.la (cd .libs && rm -f libgtk-quartz-2.0.la && ln -s ../libgtk-quartz-2.0.la libgtk-quartz-2.0.la) if /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I.. -DG_LOG_DOMAIN=\"Gtk\" -DGTK_LIBDIR=\"/opt/gtk/lib\" -DGTK_DATADIR=\"/opt/gtk/share\" -DGTK_DATA_PREFIX=\"/opt/gtk\" -DGTK_SYSCONFDIR=\"/opt/gtk/etc\" -DGTK_VERSION=\"2.14.4\" -DGTK_BINARY_VERSION=\"2.10.0\" -DGTK_HOST =\"powerpc-apple-darwin8.11.0\" -DGTK_COMPILATION -DGTK_PRINT_BACKENDS=\"file,cups\" -DGTK_PRINT_PREVIEW_COMMAND=\""open -a /Applications/Preview.app %f"\" -I.. -I../gtk -I.. -I../gdk -I../gdk -I ../gdk-pixbuf -I../gdk-pixbuf -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGTK_FILE_SYSTEM_ENABLE_UNSUPPORTED -DGTK_PRINT_BACKEND_ENABLE_UNSUPPORTED -DG_DISABLE_CAST_CHECKS -D_REENTRANT -I/opt/gtk/include/glib-2.0 -I/opt/gtk/lib/glib-2.0/include -I/opt/gtk/include -I/opt/gtk/include/pango-1.0 -I/opt/gtk/include/cairo -I/opt/gtk/include/pixman-1 -I/opt/gtk/include/freetype2 -I/opt/gtk/include/libpng12 -I/opt/gtk/include/atk-1.0 "-xobjective-c" -I/opt/gtk/include -no-cpp-precomp -DX_LOCALE -DG_DISABLE_SINGLE_INCLUDES -DATK_DISABLE_SINGLE_INCLUDES -DGDK_PIXBUF_DISABLE_SINGLE_INCLUDES -DGTK_DISABLE_SINGLE_INCLUDES -DGDK_PIXBUF_DISABLE_DEPRECATED -O2 -funroll-loops -fstrict-aliasing -Wall -MT queryimmodules.o -MD -MP -MF ".deps/queryimmodules.Tpo" \ -c -o queryimmodules.o `test -f 'queryimmodules.c' || echo './'`queryimmodules.c; \ then mv -f ".deps/queryimmodules.Tpo" ".deps/queryimmodules.Po"; \ else rm -f ".deps/queryimmodules.Tpo"; exit 1; \ fi /bin/sh ../libtool --mode=link /usr/bin/gcc-4.0 -DGDK_PIXBUF_DISABLE_DEPRECATED -O2 -funroll-loops -fstrict-aliasing -Wall -L/opt/gtk/lib -o gtk-query-immodules-2.0 queryimmodules.o libgtk- quartz-2.0.la ../gdk-pixbuf/libgdk_pixbuf-2.0.la ../gdk/libgdk- quartz-2.0.la -lintl /usr/bin/gcc-4.0 -DGDK_PIXBUF_DISABLE_DEPRECATED -O2 -funroll-loops -fstrict-aliasing -Wall -o .libs/gtk-query-immodules-2.0 queryimmodules.o -L/opt/gtk/lib ./.libs/libgtk-quartz-2.0.dylib /opt/gtk/var/macports/build/_opt_macports_trunk_dports_x11_gtk2/work/gtk+-2.14.4/gdk/.libs /libgdk-quartz-2.0.dylib /opt/gtk/lib/libatk-1.0.dylib ../gdk- pixbuf/.libs/libgdk_pixbuf-2.0.dylib ../gdk/.libs/libgdk-quartz-2.0.dylib /opt/gtk/lib/libpangocairo-1.0.dylib /opt/gtk/lib/libcairo.dylib /opt/gtk/lib/libpangoft2-1.0.dylib /opt/gtk/lib/libpixman-1.dylib /opt/gtk/lib/libpango-1.0.dylib /opt/gtk/lib/libfontconfig.dylib /opt/gtk/lib/libexpat.dylib /opt/gtk/lib/libfreetype.dylib /opt/gtk/var/macports/build/_opt_macports_trunk_dports_x11_gtk2/work/gtk+-2.14.4 /gdk-pixbuf/.libs/libgdk_pixbuf-2.0.dylib /opt/gtk/lib/libgio-2.0.dylib /opt/gtk/lib/libgobject-2.0.dylib /opt/gtk/lib/libgmodule-2.0.dylib /opt/gtk/lib/libglib-2.0.dylib /opt/gtk/lib/libtiff.dylib /opt/gtk/lib/libpng12.dylib -lz /opt/gtk/lib/libjasper.dylib /opt/gtk/lib/libjpeg.dylib -lm /opt/gtk/lib/libintl.dylib /opt/gtk/lib/libiconv.dylib -lc /usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: Undefined symbols: .objc_class_name_NSAutoreleasePool .objc_class_name_NSObject .objc_class_name_NSStatusBar .objc_class_name_NSString _NSApp _objc_msgSend _objc_msgSendSuper .objc_class_name_NSPasteboard _NSGeneralPboard _NSDragPboard _objc_msgSend_stret .objc_class_name_NSColor .objc_class_name_NSData .objc_class_name_NSGraphicsContext .objc_class_name_NSImage .objc_class_name_NSMutableSet .objc_class_name_NSURL _NSColorPboardType _NSDeviceRGBColorSpace _NSFilenamesPboardType _NSStringPboardType _NSTIFFPboardType _NSURLPboardType .objc_class_name_NSMetadataQuery .objc_class_name_NSNotificationCenter .objc_class_name_NSPredicate _GetCurrentEventTime _KLGetCurrentKeyboardLayout _KLGetKeyboardLayoutProperty _KeyTranslate _LMGetKbdType _SetSystemUIMode collect2: ld returned 1 exit status make[4]: *** [gtk-query-immodules-2.0] Error 1 make[3]: *** [all-recursive] Error 1 make[2]: *** [all] Error 2 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 Error: Target org.macports.build returned: shell command " cd "/opt/gtk/var/macports/build/_opt_macports_trunk_dports_x11_gtk2/work/gtk+-2.14.4" && make all " returned error 2 Command output: _NSGeneralPboard _NSDragPboard _objc_msgSend_stret .objc_class_name_NSColor .objc_class_name_NSData .objc_class_name_NSGraphicsContext .objc_class_name_NSImage .objc_class_name_NSMutableSet .objc_class_name_NSURL _NSColorPboardType _NSDeviceRGBColorSpace _NSFilenamesPboardType _NSStringPboardType _NSTIFFPboardType _NSURLPboardType .objc_class_name_NSMetadataQuery .objc_class_name_NSNotificationCenter .objc_class_name_NSPredicate _GetCurrentEventTime _KLGetCurrentKeyboardLayout _KLGetKeyboardLayoutProperty _KeyTranslate _LMGetKbdType _SetSystemUIMode collect2: ld returned 1 exit status make[4]: *** [gtk-query-immodules-2.0] Error 1 make[3]: *** [all-recursive] Error 1 make[2]: *** [all] Error 2 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 }}} The problem appears to be the libtool generated command line beginning with {{{ /usr/bin/gcc-4.0 -dynamiclib ${wl}-undefined ${wl}dynamic_lookup -o .libs /libgtk-quartz-2.0.0.1400.4.dylib }}} for linking libgtk-quartz. It looks like {{{ ${wl}-undefined ${wl}dynamic_lookup }}} should have been expanded to {{{ -Wl,-undefined -Wl,dynamic_lookup }}} or better {{{ -Wl,-undefined,dynamic_lookup }}} requesting runtime dynamic lookup of undefined symbols. As a result, the subsequent link command against libgtk-quartz fails. This is similar to the problem reported in #16949. Since this appears to be something that libtool is doing, I have no idea how to get around this. Anyone know what's going on here? libtool is the Apple version at /usr/bin/libtool. -- Ticket URL: <http://trac.macports.org/ticket/16978> MacPorts <http://www.macports.org/> Ports system for Mac OS