[MacPorts] #15109: gnome-settings-daemon (2.22.1) fails to build

MacPorts noreply at macports.org
Thu Oct 16 13:48:20 PDT 2008


#15109: gnome-settings-daemon (2.22.1) fails to build
--------------------------------+-------------------------------------------
  Reporter:  tkott at verizon.net  |       Owner:  macports-tickets at lists.macosforge.org
      Type:  defect             |      Status:  new                                  
  Priority:  Normal             |   Milestone:                                       
 Component:  ports              |     Version:  1.6.0                                
Resolution:                     |    Keywords:  gnome-settings-daemon                
      Port:                     |  
--------------------------------+-------------------------------------------

Old description:

> {{{
> --->  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?

New description:

 {{{
 --->  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?

--

Comment(by blb at macports.org):

 This could be caused by a 1.6 bug, as the way MACOSX_DEPLOYMENT_TARGET is
 set has changed between the
 [http://trac.macports.org/browser/branches/release_1_6/base/src/port1.0/portutil.tcl#L277
 way 1.6 does it] verses
 [http://trac.macports.org/browser/trunk/base/src/port1.0/portutil.tcl#L331
 the way trunk does it].

-- 
Ticket URL: <http://trac.macports.org/ticket/15109#comment:2>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list