[pkg-fso-maint] Bug#713550: phonefsod: FTBFS: ld: phonefsod-phonefsod.o: undefined reference to symbol 'g_thread_init'

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

Source: phonefsod
Version: 0.1+git20110827-3
Severity: serious
Tags: jessie sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20130620 qa-ftbfs
Justification: FTBFS on amd64


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

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

Relevant part:
> gcc -DDATADIR=\"/usr/share\" -DPKGDATADIR=\"/usr/share/phonefsod\" -DPHONEFSOD_CONFIG=\"/etc/phonefsod.conf\" -DG_LOG_DOMAIN=\"phonefsod\" -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/shr-glib -I/usr/include/fso-glib -ggdb -g -O2   -o phonefsod phonefsod-phonefsod.o phonefsod-phonefsod-fso.o phonefsod-phonefsod-dbus.o -lgio-2.0 -lshr-glib -lfso-glib -lgobject-2.0 -lglib-2.0   
> /usr/bin/ld: phonefsod-phonefsod.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:

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-fso-maint mailing list