Bug#713478: gnome-applets: FTBFS: ld: applet.o: undefined reference to symbol 'lrint@@GLIBC_2.2.5'

David Suárez david.sephirot at gmail.com
Sat Jun 22 12:27:40 UTC 2013


Source: gnome-applets
Version: 3.4.1-3
Severity: serious
Tags: jessie sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20130620 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Maybe you need to add explicitly the offending lib to LD flags.

Relevant part:
> gcc -DHAVE_CONFIG_H -I. -I.. -I. -I. -DMIXER_MENU_UI_DIR=\""/usr/share/gnome-applets/ui"\" -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libxml2   -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/gconf/2 -I/usr/include/gtk-3.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/libdrm -I/usr/include/gnome-panel-4.0/libpanel-applet     -D_FORTIFY_SOURCE=2  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -c preferences.c
> preferences.c: In function 'gnome_volume_applet_preferences_init':
> preferences.c:99:3: warning: 'gtk_vbox_new' is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkvbox.h:60): Use 'gtk_box_new' instead [-Wdeprecated-declarations]
>    box = gtk_vbox_new (FALSE, 6);
>    ^
> preferences.c: In function 'cb_track_select':
> preferences.c:434:41: warning: 'volume_percent' may be used uninitialized in this function [-Wmaybe-uninitialized]
>        gnome_volume_applet_adjust_volume (prefs->mixer, curr, volume_percent);
>                                          ^
> /bin/bash ../libtool  --tag=CC   --mode=link gcc  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall  -Wl,-z,relro -Wl,-z,defs -Wl,-O1 -Wl,--as-needed -o mixer_applet2 applet.o dock.o load.o preferences.o -pthread -lgstaudio-0.10 -lgstbase-0.10 -lgstinterfaces-0.10 -lgstreamer-0.10 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lxml2 -lglib-2.0   -lpanel-applet-4 -lgconf-2 -lgtk-3 -lgdk-3 -latk-1.0 -lgio-2.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo-gobject -lpango-1.0 -lcairo -lgobject-2.0 -lglib-2.0   
> libtool: link: gcc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wl,-z -Wl,relro -Wl,-z -Wl,defs -Wl,-O1 -Wl,--as-needed -o mixer_applet2 applet.o dock.o load.o preferences.o -pthread  -lgstaudio-0.10 /usr/lib/x86_64-linux-gnu/libgstbase-0.10.so -lgstinterfaces-0.10 /usr/lib/x86_64-linux-gnu/libgstreamer-0.10.so -lgmodule-2.0 -lgthread-2.0 -lxml2 -lpanel-applet-4 -lgconf-2 -lgtk-3 -lgdk-3 -latk-1.0 -lgio-2.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 /usr/lib/x86_64-linux-gnu/libcairo-gobject.so -lpango-1.0 /usr/lib/x86_64-linux-gnu/libcairo.so -lgobject-2.0 -lglib-2.0 -pthread
> /usr/bin/ld: applet.o: undefined reference to symbol 'lrint@@GLIBC_2.2.5'
> /lib/x86_64-linux-gnu/libm.so.6: error adding symbols: DSO missing from command line
> collect2: error: ld returned 1 exit status

The full build log is available from:
   http://aws-logs.debian.net/ftbfs-logs/2013/06/20/gnome-applets_3.4.1-3_unstable.log

A list of current common problems and possible solutions is available at 
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



More information about the pkg-gnome-maintainers mailing list