Bug#622572: gnome-applets: FTBFS -- undefined reference to XFree in stickynotes
Nathan A. Stine
nathan.stine at gmail.com
Wed Apr 13 04:57:23 UTC 2011
Package: gnome-applets
Version: 2.30.0-3
Severity: serious
Justification: FTBFS
I was trying to track down a suspected memory leak related to the weather applet
and when I tried to rebuild I received a linker error. I reverted my change
and found that the package fails to build from source. The relevant lines are
(full log attached):
/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -march=native -g -O2
-march=native -Wl,-z,defs -Wl,-O1 -Wl,--as-needed -o stickynotes_applet util.o
stickynotes.o stickynotes_callbacks.o stickynotes_applet.o
stickynotes_applet_callbacks.o -pthread -lpanel-applet-2 -lgconf-2 -lbonoboui-2
-lgnomecanvas-2 -lgnome-2 -lpopt -lart_lgpl_2 -lgtk-x11-2.0 -lgdk-x11-2.0
-latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lm
-lcairo -lpango-1.0 -lfreetype -lfontconfig -lbonobo-2 -lbonobo-activation
-lgmodule-2.0 -lORBit-2 -lgobject-2.0 -lgthread-2.0 -lrt -lglib-2.0 -pthread
-lwnck-1 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0
-lpangocairo-1.0 -lgdk_pixbuf-2.0 -lm -lcairo -lpango-1.0 -lfreetype
-lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0
-lxml2
libtool: link: gcc -g -O2 -march=native -g -O2 -march=native -Wl,-z -Wl,defs
-Wl,-O1 -o stickynotes_applet util.o stickynotes.o stickynotes_callbacks.o
stickynotes_applet.o stickynotes_applet_callbacks.o -pthread -pthread -Wl
,--as-needed -lpanel-applet-2 /usr/lib/libgconf-2.so /usr/lib/libbonoboui-2.so
/usr/lib/libgnomecanvas-2.so /usr/lib/libgnome-2.so /usr/lib/libpopt.so
/usr/lib/libart_lgpl_2.so /usr/lib/libbonobo-2.so /usr/lib/libbonobo-
activation.so /usr/lib/libORBit-2.so -lwnck-1 /usr/lib/libgtk-x11-2.0.so
/usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so /usr/lib/libgio-2.0.so
/usr/lib/libpangoft2-1.0.so /usr/lib/libpangocairo-1.0.so
/usr/lib/libgdk_pixbuf-2.0.so -lm /usr/lib/libcairo.so /usr/lib/libpango-1.0.so
/usr/lib/libfreetype.so -lfontconfig /usr/lib/libgobject-2.0.so
/usr/lib/libgmodule-2.0.so /usr/lib/libgthread-2.0.so -lrt
/usr/lib/libglib-2.0.so /usr/lib/libxml2.so -pthread
/usr/bin/ld: util.o: undefined reference to symbol 'XFree'
/usr/bin/ld: note: 'XFree' is defined in DSO //usr/lib64/libX11.so.6 so try
adding it to the linker command line
//usr/lib64/libX11.so.6: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
I see that the version in experimental has a patch (02_link_X11.patch) which I
"applied" by simply adding those two lines to the proper Makefile.am lines.
That patch did not help resolve the issue.
I also note that there is a similar bug that deals with binutils-gold, but I am
not using the gold version.
Best regards,
Nathan A. Stine
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.38-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages gnome-applets depends on:
ii gconf2 2.28.1-6 GNOME configuration database syste
ii gnome-applets-data 2.30.0-3 Various applets for the GNOME pane
ii gnome-icon-theme 2.30.3-2 GNOME Desktop icon theme
ii gnome-panel 2.30.2-4 launcher and docking facility for
ii gstreamer0.10-alsa 0.10.32-2 GStreamer plugin for ALSA
ii gvfs 1.6.4-3 userspace virtual filesystem - ser
ii libatk1.0-0 2.0.0-1 The ATK accessibility toolkit
ii libbonobo2-0 2.24.3-1 Bonobo CORBA interfaces library
ii libbonoboui2-0 2.24.3-1 The Bonobo UI library
ii libc6 2.11.2-13 Embedded GNU C Library: Shared lib
ii libcpufreq0 007-1 shared library to deal with the cp
ii libdbus-1-3 1.4.6-1 simple interprocess messaging syst
ii libdbus-glib-1-2 0.92-1 simple interprocess messaging syst
ii libgconf2-4 2.28.1-6 GNOME configuration database syste
ii libglib2.0-0 2.28.4-1 The GLib library of C routines
ii libgnome-desktop-2-17 2.30.2-2 Utility library for loading .deskt
ii libgnome2-0 2.30.0-1 The GNOME library - runtime files
ii libgstreamer-plugins-base0. 0.10.32-2 GStreamer libraries from the "base
ii libgstreamer0.10-0 0.10.32-6 Core GStreamer libraries and eleme
ii libgtk2.0-0 2.24.4-3 The GTK+ graphical user interface
ii libgtop2-7 2.28.1-1 gtop system monitoring library (sh
ii libgucharmap7 1:2.30.3-1 Unicode browser widget library (sh
ii libgweather1 2.30.3-1 GWeather shared library
ii libnotify1 [libnotify1-gtk2 0.5.0-2 sends desktop notifications to a n
ii liboobs-1-4 2.30.1-1 GObject based interface to system-
ii libpanel-applet2-0 2.30.2-4 library for GNOME Panel applets
ii libpango1.0-0 1.28.3-6 Layout and rendering of internatio
ii libpolkit-gobject-1-0 0.101-3 PolicyKit Authorization API
ii libupower-glib1 0.9.9-3 abstraction for power management -
ii libwnck22 2.30.4-3 Window Navigator Construction Kit
ii libx11-6 2:1.4.3-1 X11 client-side library
ii libxml2 2.7.8.dfsg-2 GNOME XML library
ii python 2.6.6-12 interactive high-level object-orie
Versions of packages gnome-applets recommends:
ii cpufrequtils 007-1 utilities to deal with the cpufreq
pn deskbar-applet <none> (no description available)
ii gnome-media 2.30.0-1 GNOME media utilities
ii gnome-netstatus-applet 2.28.1-1 Network status applet for GNOME
ii gnome-system-monitor 2.28.1-1 Process viewer and system resource
ii policykit-1-gnome 0.101-2 GNOME authentication agent for Pol
ii python-gconf 2.28.1-1 Python bindings for the GConf conf
ii python-gnome2 2.28.1-1 Python bindings for the GNOME desk
ii python-gnomeapplet 2.30.0-4+b1 Python bindings for the GNOME pane
ii python-gobject 2.28.3-2 Python bindings for the GObject li
ii python-gtk2 2.17.0-4+b1 Python bindings for the GTK+ widge
Versions of packages gnome-applets suggests:
pn tomboy <none> (no description available)
-- no debconf information
More information about the pkg-gnome-maintainers
mailing list