Opened 16 years ago

Closed 15 years ago

Last modified 15 years ago

#15109 closed defect (fixed)

gnome-settings-daemon (2.22.1) fails to build

Reported by: tkott@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: gnome-settings-daemon Cc: jmroot (Joshua Root)
Port: gnome-settings-daemon

Description (last modified by blb@…)

--->  Building gnome-settings-daemon with target all
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_gnome-settings-daemon/work/gnome-settings-daemon-2.22.1" && make all " returned error 2
Command output: make  all-recursive
Making all in gnome-settings-daemon
make  all-am
make[3]: Nothing to be done for `all-am'.
Making all in plugins
Making all in a11y-keyboard

/usr/bin/gcc-4.0  -o .libs/liba11y-keyboard.so -bundle -undefined dynamic_lookup -undefined dynamic_lookup  .libs/liba11y_keyboard_la-gsd-a11y-keyboard-plugin.o .libs/liba11y_keyboard_la-gsd-a11y-keyboard-manager.o  -L/opt/local/lib -L/usr/X11R6/lib /opt/local/lib/libgnome-desktop-2.dylib /opt/local/lib/libssl.dylib /opt/local/lib/libcrypto.dylib /opt/local/lib/libORBitCosNaming-2.dylib /opt/local/lib/libtiff.dylib /opt/local/lib/libjpeg.dylib /opt/local/lib/libz.dylib /usr/X11R6/lib/libSM.dylib /usr/X11R6/lib/libICE.dylib /usr/X11R6/lib/libX11.dylib /opt/local/lib/libstartup-notification-1.dylib /opt/local/lib/libgio-2.0.dylib /opt/local/lib/libglade-2.0.dylib /opt/local/lib/libdbus-glib-1.dylib /opt/local/lib/libdbus-1.dylib -lXxf86misc /opt/local/lib/libgnomeui-2.dylib /opt/local/lib/libgnome-keyring.dylib /opt/local/lib/libbonoboui-2.dylib /opt/local/lib/libxml2.dylib -lpthread /opt/local/lib/libgnomecanvas-2.dylib /opt/local/lib/libgnome-2.dylib /opt/local/lib/libpopt.dylib /opt/local/lib/libgnomevfs-2.dylib /opt/local/lib/libesd.dylib /opt/local/lib/libbonobo-2.dylib /opt/local/lib/libaudiofile.dylib /opt/local/lib/libbonobo-activation.dylib /opt/local/lib/libgailutil.dylib /opt/local/lib/libart_lgpl_2.dylib /opt/local/lib/libgtk-x11-2.0.dylib /opt/local/lib/libgdk-x11-2.0.dylib /opt/local/lib/libatk-1.0.dylib /opt/local/lib/libgdk_pixbuf-2.0.dylib /opt/local/lib/libpangocairo-1.0.dylib /opt/local/lib/libcairo.dylib -lSM -lICE /opt/local/lib/libpangoft2-1.0.dylib /opt/local/lib/libpango-1.0.dylib /opt/local/lib/libfreetype.dylib -lz /opt/local/lib/libfontconfig.dylib /opt/local/lib/libexpat.dylib /opt/local/lib/libpng12.dylib /opt/local/lib/libXrender.dylib -lX11 /opt/local/lib/libgconf-2.dylib /opt/local/lib/libORBit-2.dylib -lm /opt/local/lib/libgmodule-2.0.dylib /opt/local/lib/libgthread-2.0.dylib /opt/local/lib/libgobject-2.0.dylib /opt/local/lib/libglib-2.0.dylib /opt/local/lib/libintl.dylib /opt/local/lib/libiconv.dylib -Wl,-framework -Wl,CoreServices -Wl,-framework -Wl,ApplicationServices -Wl,-framework -Wl,CoreAudio -Wl,-framework -Wl,CoreAudio -Wl,-framework -Wl,CoreServices -Wl,-framework -Wl,ApplicationServices
/usr/bin/ld: flag: -undefined dynamic_lookup can't be used with MACOSX_DEPLOYMENT_TARGET environment variable set to: 10.1
collect2: ld returned 1 exit status
make[3]: *** [liba11y-keyboard.la] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

I was able to fix this in my personal build by adding

platform darwin 8 { 
	 	    build.args              MACOSX_DEPLOYMENT_TARGET=10.4 
	 	    configure.env-append    MACOSX_DEPLOYMENT_TARGET=10.4 
} 

to my portfile. However, in the same place I found this, it also said that this shouldn't be necessary. So, I don't actually know what the problem was.... anyone?

Attachments (1)

gnome-settings-daemon.diff (557 bytes) - added by paulbeard@… 16 years ago.
all purpose patch

Download all attachments as: .zip

Change History (6)

comment:1 Changed 16 years ago by paulbeard@…

I got the same advice and it works. I am attaching an all-purpose patch, since I have seen this one some other ports as well. I append to all the Portfiles when I see this error, as it seems not to cause any issues if it's not needed.

Changed 16 years ago by paulbeard@…

Attachment: gnome-settings-daemon.diff added

all purpose patch

comment:2 Changed 16 years ago by blb@…

Description: modified (diff)

This could be caused by a 1.6 bug, as the way MACOSX_DEPLOYMENT_TARGET is set has changed between the way 1.6 does it verses the way trunk does it.

comment:3 Changed 16 years ago by jmroot (Joshua Root)

Cc: jmr@… added
Milestone: Port Bugs
Port: gnome-settings-daemon added

Does this still happen now that gnome-settings-daemon is at version 2.24.0?

comment:4 Changed 15 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed

This is taken care of automatically in MacPorts 1.7.

comment:5 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.