[Pkg-xfce-devel] Bug#615799: xfce4-power-manager: ftbfs with gold or ld --no-add-needed

Matthias Klose doko at debian.org
Mon Feb 28 00:54:00 UTC 2011


Package: xfce4-power-manager
Version: 0.8.5-2
Severity: important
Tags: sid
User: peter.fritzsche at gmx.de
Usertags: no-add-needed

The package fails to build in a test rebuild on at least amd64 with
ld --no-add-needed.  For details, please see:
http://lists.debian.org/debian-devel-announce/2011/02/msg00011.html
http://wiki.debian.org/ToolChain/DSOLinking

Ubuntu might have a patch for this issue, but unfortunately it was
not forwarded to Debian.  Please have a look at
http://packages.qa.debian.org/xfce4-power-manager to see if an Ubuntu version for
this package exists, and if a fix is included in the Ubuntu diff.

[...]
  CCLD   xfce4-power-manager
LC_ALL=C /usr/bin/intltool-merge -d -u -c ../po/.intltool-merge-cache ../po xfce4-power-manager.desktop.in xfce4-power-manager.desktop
Generating and caching the translation database
Merging translations into xfce4-power-manager.desktop.
make[4]: Leaving directory `/build/user-xfce4-power-manager_0.8.5-2-amd64-LRaaeQ/xfce4-power-manager-0.8.5/src'
make[3]: Leaving directory `/build/user-xfce4-power-manager_0.8.5-2-amd64-LRaaeQ/xfce4-power-manager-0.8.5/src'
Making all in settings
make[3]: Entering directory `/build/user-xfce4-power-manager_0.8.5-2-amd64-LRaaeQ/xfce4-power-manager-0.8.5/settings'
make  all-am
make[4]: Entering directory `/build/user-xfce4-power-manager_0.8.5-2-amd64-LRaaeQ/xfce4-power-manager-0.8.5/settings'
  CC     xfce4_power_manager_settings-xfpm-settings-main.o
gcc -DHAVE_CONFIG_H -I. -I..   -DNDEBUG -I.. -I../src -I../data -DLOCALEDIR=\"/usr/share/locale\" -DG_LOG_DOMAIN=\"xfce4-power-manager-settings\" -export-dynamic  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/libdrm   -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include   -pthread -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -pthread -I/usr/include/xfce4 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/libdrm -I/usr/include/atk-1.0   -I/usr/include/xfce4 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -pthread -I/usr/include/xfce4/xfconf-0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -g -O2 -c -o xfce4_power_manager_settings-xfpm-settings-main.o `test -f 'xfpm-settings-main.c' || echo './'`xfpm-settings-main.c
  CC     xfce4_power_manager_settings-xfpm-settings.o
gcc -DHAVE_CONFIG_H -I. -I..   -DNDEBUG -I.. -I../src -I../data -DLOCALEDIR=\"/usr/share/locale\" -DG_LOG_DOMAIN=\"xfce4-power-manager-settings\" -export-dynamic  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/libdrm   -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include   -pthread -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -pthread -I/usr/include/xfce4 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/libdrm -I/usr/include/atk-1.0   -I/usr/include/xfce4 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -pthread -I/usr/include/xfce4/xfconf-0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -g -O2 -c -o xfce4_power_manager_settings-xfpm-settings.o `test -f 'xfpm-settings.c' || echo './'`xfpm-settings.c
  CCLD   xfce4-power-manager-settings
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/4.5.2/../../../../lib/libdbus-glib-1.so: undefined reference to symbol 'dbus_error_init'
/usr/bin/ld: note: 'dbus_error_init' is defined in DSO /usr/lib/gcc/x86_64-linux-gnu/4.5.2/../../../../lib/libdbus-1.so so try adding it to the linker command line
/usr/lib/gcc/x86_64-linux-gnu/4.5.2/../../../../lib/libdbus-1.so: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[4]: *** [xfce4-power-manager-settings] Error 1
make[4]: Leaving directory `/build/user-xfce4-power-manager_0.8.5-2-amd64-LRaaeQ/xfce4-power-manager-0.8.5/settings'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/build/user-xfce4-power-manager_0.8.5-2-amd64-LRaaeQ/xfce4-power-manager-0.8.5/settings'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/build/user-xfce4-power-manager_0.8.5-2-amd64-LRaaeQ/xfce4-power-manager-0.8.5'
make[1]: *** [all] Error 2
dh_auto_build: make -j1 returned exit code 2
make[1]: Leaving directory `/build/user-xfce4-power-manager_0.8.5-2-amd64-LRaaeQ/xfce4-power-manager-0.8.5'
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2





More information about the Pkg-xfce-devel mailing list