Bug#713613: aweather: FTBFS: ld: aweather-main.o: undefined reference to symbol 'g_thread_init'

David Suárez david.sephirot at gmail.com
Sat Jun 22 11:22:43 UTC 2013


Source: aweather
Version: 0.7-1
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.

Relevant part:
> gcc -DHAVE_CONFIG_H -I. -I..  -DHTMLDIR="\"/usr/share/doc/aweather\"" -DICONDIR="\"/usr/share/icons\"" -DPKGDATADIR="\"/usr/share/aweather\"" -DPLUGINSDIR="\"/usr/lib/aweather\""    -Wall --std=gnu99 -DSYS_X11 -pthread -I/usr/include/grits -I/usr/include/libsoup-2.4 -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/libdrm -I/usr/include/harfbuzz   -g -O2 -c -o aweather-aweather-location.o `test -f 'aweather-location.c' || echo './'`aweather-location.c
> ../doltlibtool --tag=CC   --mode=link gcc -Wall --std=gnu99 -DSYS_X11 -pthread -I/usr/include/grits -I/usr/include/libsoup-2.4 -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/libdrm -I/usr/include/harfbuzz   -g -O2   -o aweather aweather-main.o aweather-aweather-gui.o aweather-aweather-location.o  -Wl,--export-dynamic -pthread -lgrits -lX11 -lGL -lGLU -lgmodule-2.0 -lsoup-2.4 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lglib-2.0    
> libtool: link: gcc -Wall --std=gnu99 -DSYS_X11 -pthread -I/usr/include/grits -I/usr/include/libsoup-2.4 -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/libdrm -I/usr/include/harfbuzz -g -O2 -o aweather aweather-main.o aweather-aweather-gui.o aweather-aweather-location.o -Wl,--export-dynamic -pthread  -lgrits -lX11 -lGL -lGLU -lgmodule-2.0 -lsoup-2.4 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 /usr/lib/x86_64-linux-gnu/libcairo.so -lpango-1.0 /usr/lib/x86_64-linux-gnu/libfreetype.so -lfontconfig -lgobject-2.0 -lglib-2.0 -pthread
> /usr/bin/ld: aweather-main.o: undefined reference to symbol 'g_thread_init'
> /usr/lib/x86_64-linux-gnu/libgthread-2.0.so.0: 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/aweather_0.7-1_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 debian-science-maintainers mailing list