Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#16884 closed defect (fixed)

gnome-settings-daemon 2.22.1 - build fails

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

Description

DBook:~ dominik$ sudo port install gnome-settings-daemon
--->  Fetching gnome-settings-daemon
--->  Verifying checksum(s) for gnome-settings-daemon
--->  Extracting gnome-settings-daemon
--->  Configuring gnome-settings-daemon
--->  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: Extracting /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/plugins/background/../../plugins/background/libbackground/.libs/libbackground.a
(cd .libs/libbackground.lax/libbackground.a && ar x /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/plugins/background/../../plugins/background/libbackground/.libs/libbackground.a)
/usr/bin/gcc-4.0  -o .libs/libbackground.so -bundle -undefined dynamic_lookup  .libs/libbackground_la-gsd-background-plugin.o .libs/libbackground_la-gsd-background-manager.o  .libs/libbackground.lax/libbackground.a/preferences.o   -L/opt/local/lib -L/usr/X11R6/lib -L/usr/X11/lib /opt/local/lib/libgnome-desktop-2.dylib /usr/X11/lib/libXrandr.2.1.0.dylib /usr/X11/lib/libXrender.1.3.0.dylib /opt/local/lib/libssl.dylib /opt/local/lib/libcrypto.dylib /opt/local/lib/libORBitCosNaming-2.dylib /usr/X11/lib/libXi.6.0.0.dylib /usr/X11/lib/libXinerama.1.0.0.dylib /usr/X11/lib/libXext.6.4.0.dylib /opt/local/lib/libtiff.dylib /opt/local/lib/libjasper.dylib /opt/local/lib/libjpeg.dylib /opt/local/lib/libz.dylib /usr/X11/lib/libXau.6.0.0.dylib /usr/X11/lib/libXdmcp.6.0.0.dylib /opt/local/lib/libgnomeui-2.dylib /opt/local/lib/libstartup-notification-1.dylib /opt/local/lib/libgnome-keyring.dylib /opt/local/lib/libbonoboui-2.dylib /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/libgconf-2.dylib /opt/local/lib/libORBit-2.dylib /opt/local/lib/libgthread-2.0.dylib /opt/local/lib/libglade-2.0.dylib /opt/local/lib/libgtk-x11-2.0.dylib /opt/local/lib/libxml2.dylib -lpthread /opt/local/lib/libgdk-x11-2.0.dylib /opt/local/lib/libatk-1.0.dylib /opt/local/lib/libgio-2.0.dylib /opt/local/lib/libgdk_pixbuf-2.0.dylib /opt/local/lib/libpangocairo-1.0.dylib /opt/local/lib/libcairo.dylib /usr/X11/lib/libSM.6.0.0.dylib /usr/X11/lib/libICE.6.3.0.dylib /opt/local/lib/libpangoft2-1.0.dylib /opt/local/lib/libpixman-1.dylib /opt/local/lib/libpng12.dylib /opt/local/lib/libXrender.dylib /usr/X11/lib/libX11.6.2.0.dylib /opt/local/lib/libpango-1.0.dylib -lm /opt/local/lib/libfontconfig.dylib /opt/local/lib/libexpat.dylib /opt/local/lib/libfreetype.dylib -lz /opt/local/lib/libgmodule-2.0.dylib /opt/local/lib/libdbus-glib-1.dylib /opt/local/lib/libdbus-1.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
rm -fr .libs/libbackground.lax
mkdir .libs/libbackground.lax
rm -fr .libs/libbackground.lax/libbackground.a
mkdir .libs/libbackground.lax/libbackground.a
Extracting /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/plugins/background/../../plugins/background/libbackground/.libs/libbackground.a
(cd .libs/libbackground.lax/libbackground.a && ar x /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/plugins/background/../../plugins/background/libbackground/.libs/libbackground.a)
ar cru .libs/libbackground.a  libbackground_la-gsd-background-plugin.o libbackground_la-gsd-background-manager.o  .libs/libbackground.lax/libbackground.a/preferences.o 
ranlib .libs/libbackground.a
rm -fr .libs/libbackground.lax .libs/libbackground.lax
creating libbackground.la
(cd .libs && rm -f libbackground.la && ln -s ../libbackground.la libbackground.la)
/usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I../..  -I../../gnome-settings-daemon -I../../plugins/background/libbackground -DGNOME_SETTINGS_LOCALEDIR=\""/opt/local/share/locale"\"  -I/opt/local/include -DXTHREADS -DORBIT2=1 -D_REENTRANT -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pango-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/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include/libpng12 -I/usr/X11R6/include -I/opt/local/include/gconf/2 -I/opt/local/include/orbit-2.0 -I/opt/local/include/dbus-1.0 -I/opt/local/lib/dbus-1.0/include -I/opt/local/include/gnome-desktop-2.0 -I/opt/local/include/libgnomeui-2.0 -I/opt/local/include/startup-notification-1.0 -I/opt/local/include/libart-2.0 -I/opt/local/include/gnome-keyring-1 -I/opt/local/include/libgnome-2.0 -I/opt/local/include/libbonoboui-2.0 -I/opt/local/include/libgnomecanvas-2.0 -I/opt/local/include/gnome-vfs-2.0 -I/opt/local/lib/gnome-vfs-2.0/include -I/opt/local/include/libbonobo-2.0 -I/opt/local/include/bonobo-activation-2.0 -I/opt/local/include/libxml2 -I/opt/local/include/gail-1.0 -I/opt/local/include/libglade-2.0    -O2 -MT test_background-test-background.o -MD -MP -MF .deps/test_background-test-background.Tpo -c -o test_background-test-background.o `test -f 'test-background.c' || echo './'`test-background.c
mv -f .deps/test_background-test-background.Tpo .deps/test_background-test-background.Po
/usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I../..  -I../../gnome-settings-daemon -I../../plugins/background/libbackground -DGNOME_SETTINGS_LOCALEDIR=\""/opt/local/share/locale"\"  -I/opt/local/include -DXTHREADS -DORBIT2=1 -D_REENTRANT -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pango-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/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include/libpng12 -I/usr/X11R6/include -I/opt/local/include/gconf/2 -I/opt/local/include/orbit-2.0 -I/opt/local/include/dbus-1.0 -I/opt/local/lib/dbus-1.0/include -I/opt/local/include/gnome-desktop-2.0 -I/opt/local/include/libgnomeui-2.0 -I/opt/local/include/startup-notification-1.0 -I/opt/local/include/libart-2.0 -I/opt/local/include/gnome-keyring-1 -I/opt/local/include/libgnome-2.0 -I/opt/local/include/libbonoboui-2.0 -I/opt/local/include/libgnomecanvas-2.0 -I/opt/local/include/gnome-vfs-2.0 -I/opt/local/lib/gnome-vfs-2.0/include -I/opt/local/include/libbonobo-2.0 -I/opt/local/include/bonobo-activation-2.0 -I/opt/local/include/libxml2 -I/opt/local/include/gail-1.0 -I/opt/local/include/libglade-2.0    -O2 -MT test_background-gsd-background-manager.o -MD -MP -MF .deps/test_background-gsd-background-manager.Tpo -c -o test_background-gsd-background-manager.o `test -f 'gsd-background-manager.c' || echo './'`gsd-background-manager.c
mv -f .deps/test_background-gsd-background-manager.Tpo .deps/test_background-gsd-background-manager.Po
/bin/sh ../../libtool --tag=CC   --mode=link /usr/bin/gcc-4.0 -DXTHREADS -DORBIT2=1 -D_REENTRANT -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pango-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/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include/libpng12 -I/usr/X11R6/include -I/opt/local/include/gconf/2 -I/opt/local/include/orbit-2.0 -I/opt/local/include/dbus-1.0 -I/opt/local/lib/dbus-1.0/include -I/opt/local/include/gnome-desktop-2.0 -I/opt/local/include/libgnomeui-2.0 -I/opt/local/include/startup-notification-1.0 -I/opt/local/include/libart-2.0 -I/opt/local/include/gnome-keyring-1 -I/opt/local/include/libgnome-2.0 -I/opt/local/include/libbonoboui-2.0 -I/opt/local/include/libgnomecanvas-2.0 -I/opt/local/include/gnome-vfs-2.0 -I/opt/local/lib/gnome-vfs-2.0/include -I/opt/local/include/libbonobo-2.0 -I/opt/local/include/bonobo-activation-2.0 -I/opt/local/include/libxml2 -I/opt/local/include/gail-1.0 -I/opt/local/include/libglade-2.0    -O2  -L/opt/local/lib -o test-background test_background-test-background.o test_background-gsd-background-manager.o  ../../gnome-settings-daemon/libgsd-profile.la ../../plugins/background/libbackground/libbackground.la -Wl,-framework,CoreServices -Wl,-framework,ApplicationServices -R/usr/X11/lib -Wl,-framework,CoreAudio -L/opt/local/lib -L/usr/X11R6/lib -L/usr/X11/lib -lgnome-desktop-2 -lgnomeui-2 -lstartup-notification-1 -lgnome-keyring -lbonoboui-2 -lgnomecanvas-2 -lgnome-2 -lpopt -lgnomevfs-2 -lesd -lbonobo-2 -laudiofile -lbonobo-activation -lgailutil -lart_lgpl_2 -lgconf-2 -lORBit-2 -lgthread-2.0 -lglade-2.0 -lgtk-x11-2.0 -lxml2 -lpthread -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo -lSM -lICE -lpangoft2-1.0 -lpixman-1 -lpng12 -lXrender -lX11 -lpango-1.0 -lm -lfontconfig -lexpat -lfreetype -lz -lgmodule-2.0 -ldbus-glib-1 -ldbus-1 -lgobject-2.0 -lglib-2.0 -lintl -liconv    
/usr/bin/gcc-4.0 -DXTHREADS -DORBIT2=1 -D_REENTRANT -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pango-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/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include/libpng12 -I/usr/X11R6/include -I/opt/local/include/gconf/2 -I/opt/local/include/orbit-2.0 -I/opt/local/include/dbus-1.0 -I/opt/local/lib/dbus-1.0/include -I/opt/local/include/gnome-desktop-2.0 -I/opt/local/include/libgnomeui-2.0 -I/opt/local/include/startup-notification-1.0 -I/opt/local/include/libart-2.0 -I/opt/local/include/gnome-keyring-1 -I/opt/local/include/libgnome-2.0 -I/opt/local/include/libbonoboui-2.0 -I/opt/local/include/libgnomecanvas-2.0 -I/opt/local/include/gnome-vfs-2.0 -I/opt/local/lib/gnome-vfs-2.0/include -I/opt/local/include/libbonobo-2.0 -I/opt/local/include/bonobo-activation-2.0 -I/opt/local/include/libxml2 -I/opt/local/include/gail-1.0 -I/opt/local/include/libglade-2.0 -O2 -o test-background test_background-test-background.o test_background-gsd-background-manager.o -Wl,-framework -Wl,CoreServices -Wl,-framework -Wl,ApplicationServices -Wl,-framework -Wl,CoreAudio  -L/opt/local/lib ../../gnome-settings-daemon/.libs/libgsd-profile.a ../../plugins/background/libbackground/.libs/libbackground.a -L/usr/X11R6/lib -L/usr/X11/lib /opt/local/lib/libgnome-desktop-2.dylib /usr/X11/lib/libXrandr.2.1.0.dylib /usr/X11/lib/libXrender.1.3.0.dylib /opt/local/lib/libgnomeui-2.dylib /opt/local/lib/libstartup-notification-1.dylib /opt/local/lib/libgnome-keyring.dylib /opt/local/lib/libbonoboui-2.dylib /opt/local/lib/libgnomecanvas-2.dylib /opt/local/lib/libgnome-2.dylib /opt/local/lib/libpopt.dylib /opt/local/lib/libgnomevfs-2.dylib -lssl -lcrypto /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/libORBitCosNaming-2.dylib /opt/local/lib/libgailutil.dylib /usr/X11/lib/libXi.6.0.0.dylib /usr/X11/lib/libXinerama.1.0.0.dylib /usr/X11/lib/libXext.6.4.0.dylib /opt/local/lib/libart_lgpl_2.dylib /opt/local/lib/libgconf-2.dylib /opt/local/lib/libORBit-2.dylib -lresolv /opt/local/lib/libgthread-2.0.dylib /opt/local/lib/libglade-2.0.dylib /opt/local/lib/libgtk-x11-2.0.dylib /opt/local/lib/libxml2.dylib -lpthread /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/libgio-2.0.dylib /opt/local/lib/libtiff.dylib /opt/local/lib/libjasper.dylib /opt/local/lib/libjpeg.dylib /opt/local/lib/libpangocairo-1.0.dylib /opt/local/lib/libcairo.dylib /usr/X11/lib/libSM.6.0.0.dylib /usr/X11/lib/libICE.6.3.0.dylib /opt/local/lib/libpangoft2-1.0.dylib /opt/local/lib/libpixman-1.dylib /opt/local/lib/libpng12.dylib /opt/local/lib/libXrender.dylib /usr/X11/lib/libX11.6.2.0.dylib /usr/X11/lib/libXau.6.0.0.dylib /usr/X11/lib/libXdmcp.6.0.0.dylib /opt/local/lib/libpango-1.0.dylib -lm /opt/local/lib/libfontconfig.dylib /opt/local/lib/libexpat.dylib /opt/local/lib/libfreetype.dylib -lz /opt/local/lib/libgmodule-2.0.dylib /opt/local/lib/libdbus-glib-1.dylib /opt/local/lib/libdbus-1.dylib /opt/local/lib/libgobject-2.0.dylib /opt/local/lib/libglib-2.0.dylib /opt/local/lib/libintl.dylib -lc /opt/local/lib/libiconv.dylib
Undefined symbols:
  "_gnome_bg_set_uri", referenced from:
      _apply_prefs in test_background-gsd-background-manager.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[4]: *** [test-background] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Error: Status 1 encountered during processing.

I've applied the patch mentioned in https://trac.macports.org/ticket/15109 but that didn't help.

Change History (8)

comment:1 Changed 16 years ago by blb@…

What version of gnome-desktop do you have installed? port installed gnome-desktop will tell you; if it isn't 2.24.0, try upgrading that first.

comment:2 in reply to:  1 Changed 16 years ago by bienemaya@…

Replying to blb@…:

What version of gnome-desktop do you have installed? port installed gnome-desktop will tell you; if it isn't 2.24.0, try upgrading that first.

2.24.0 is installed, unfortunately... ;)

DBook:~ dominik$ port installed gnome-desktop
The following ports are currently installed:
  gnome-desktop @2.24.0_0 (active)

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

Cc: jmr@… added

Updated gnome-settings-daemon to 2.24.0 in r40869. Does that help?

comment:4 in reply to:  3 Changed 16 years ago by bienemaya@…

Replying to jmr@…:

Updated gnome-settings-daemon to 2.24.0 in r40869. Does that help?

Works now. Thanks :)

comment:5 in reply to:  3 Changed 16 years ago by bienemaya@…

Replying to jmr@…:

Updated gnome-settings-daemon to 2.24.0 in r40869. Does that help?

Now I'm running into trouble with gnome-control-center. I've already changed the portfile to version 2.24.0 but I don't know how to get the checksums...

The error I get is pretty much the same as above:

Undefined symbols:
  "_gnome_bg_set_uri", referenced from:
      _set_bg_properties in gnome-wp-item.o
ld: symbol(s) not found

comment:6 Changed 16 years ago by markdigital69@…

gnome_bg_set_uri was removed in gnome-desktop-2.23.3 and up. Since it was updated to 2.24, gnome-control-center needs to be updated. I opened a ticket

#16907 == with the new portfile patch. Hope this helps.

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

Resolution: fixed
Status: newclosed

Updated metacity in r40909, added libcanberra in r40914, and updated gnome-control-center in r40915.

comment:8 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.