Bug#458634: glib2.0: FTBFS: undefined reference to `g_type_module_register_type'
Lucas Nussbaum
lucas at lucas-nussbaum.net
Wed Jan 2 09:02:42 UTC 2008
Package: glib2.0
version: 2.14.4-2
Severity: serious
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20080101 qa-ftbfs
Justification: FTBFS on i386
Hi,
During a rebuild of all packages in sid, your package failed to build on i386.
Note that the build was done using parallel=8, which might be related.
Relevant part:
/bin/sh ../../libtool --mode=link gcc -Wall -g -O2 -Wl,-z,defs -Wl,-O1 -o ifaceinherit ifaceinherit.o libtestgobject.la ../../gobject/libgobject-2.0.la
echo "{ global:" > .libs/libgobject-2.0.ver
cat .libs/libgobject-2.0.exp | sed -e "s/\(.*\)/\1;/" >> .libs/libgobject-2.0.ver
echo "local: *; };" >> .libs/libgobject-2.0.ver
gcc -shared .libs/gboxed.o .libs/gclosure.o .libs/genums.o .libs/gobject.o .libs/gparam.o .libs/gparamspecs.o .libs/gsignal.o .libs/gsourceclosure.o .libs/gtype.o .libs/gtypemodule.o .libs/gtypeplugin.o .libs/gvalue.o .libs/gvaluearray.o .libs/gvaluetransform.o .libs/gvaluetypes.o -L/build/user/glib2.0-2.14.4/debian/install/deb/usr/lib -L/usr/lib -lglib-2.0 -Wl,-z -Wl,defs -Wl,-O1 -Wl,-soname -Wl,libgobject-2.0.so.0 -Wl,-version-script -Wl,.libs/libgobject-2.0.ver -o .libs/libgobject-2.0.so.0.1400.4
/usr/bin/install -c -m 644 /build/user/glib2.0-2.14.4/gobject/gparam.h /build/user/glib2.0-2.14.4/debian/install/udeb/usr/include/glib-2.0/gobject/gparam.h
gcc -Wall -g -O2 -Wl,-z -Wl,defs -Wl,-O1 -o .libs/defaultiface defaultiface.o ./.libs/libtestgobject.a ../../gobject/.libs/libgobject-2.0.so /build/user/glib2.0-2.14.4/debian/build/deb/glib/.libs/libglib-2.0.so -lpcre
/usr/bin/install -c -m 644 /build/user/glib2.0-2.14.4/gobject/gparamspecs.h /build/user/glib2.0-2.14.4/debian/install/udeb/usr/include/glib-2.0/gobject/gparamspecs.h
defaultiface.o: In function `test_dynamic_iface_register':
/build/user/glib2.0-2.14.4/tests/gobject/defaultiface.c:129: undefined reference to `g_type_module_register_type'
defaultiface.o: In function `test_static_iface_get_type':
/build/user/glib2.0-2.14.4/tests/gobject/defaultiface.c:59: undefined reference to `g_type_register_static'
defaultiface.o: In function `main':
/build/user/glib2.0-2.14.4/tests/gobject/defaultiface.c:185: undefined reference to `g_type_init'
defaultiface.o: In function `test_static_iface':
/build/user/glib2.0-2.14.4/tests/gobject/defaultiface.c:68: undefined reference to `g_type_default_interface_peek'
/build/user/glib2.0-2.14.4/tests/gobject/defaultiface.c:72: undefined reference to `g_type_default_interface_ref'
/build/user/glib2.0-2.14.4/tests/gobject/defaultiface.c:76: undefined reference to `g_type_default_interface_peek'
/build/user/glib2.0-2.14.4/tests/gobject/defaultiface.c:80: undefined reference to `g_type_default_interface_unref'
/build/user/glib2.0-2.14.4/tests/gobject/defaultiface.c:83: undefined reference to `g_type_default_interface_peek'
defaultiface.o: In function `test_dynamic_iface':
/build/user/glib2.0-2.14.4/tests/gobject/defaultiface.c:148: undefined reference to `g_type_default_interface_peek'
/build/user/glib2.0-2.14.4/tests/gobject/defaultiface.c:152: undefined reference to `g_type_default_interface_ref'
/build/user/glib2.0-2.14.4/tests/gobject/defaultiface.c:157: undefined reference to `g_type_default_interface_peek'
/build/user/glib2.0-2.14.4/tests/gobject/defaultiface.c:161: undefined reference to `g_type_default_interface_unref'
/build/user/glib2.0-2.14.4/tests/gobject/defaultiface.c:165: undefined reference to `g_type_default_interface_peek'
/build/user/glib2.0-2.14.4/tests/gobject/defaultiface.c:169: undefined reference to `g_type_default_interface_ref'
/build/user/glib2.0-2.14.4/tests/gobject/defaultiface.c:174: undefined reference to `g_type_default_interface_unref'
./.libs/libtestgobject.a(testmodule.o): In function `test_module_get_type':
/build/user/glib2.0-2.14.4/tests/gobject/testmodule.c:36: undefined reference to `g_type_module_get_type'
/build/user/glib2.0-2.14.4/tests/gobject/testmodule.c:36: undefined reference to `g_type_register_static'
./.libs/libtestgobject.a(testmodule.o): In function `test_module_new':
/build/user/glib2.0-2.14.4/tests/gobject/testmodule.c:58: undefined reference to `g_object_new'
/build/user/glib2.0-2.14.4/tests/gobject/testmodule.c:64: undefined reference to `g_type_module_use'
/build/user/glib2.0-2.14.4/tests/gobject/testmodule.c:65: undefined reference to `g_type_module_unuse'
collect2: ld returned 1 exit status
/usr/bin/install -c -m 644 /build/user/glib2.0-2.14.4/gobject/gsignal.h /build/user/glib2.0-2.14.4/debian/install/udeb/usr/include/glib-2.0/gobject/gsignal.h
make[6]: *** [defaultiface] Error 1
The full build log is available from:
http://people.debian.org/~lucas/logs/2008/01/01
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 about 50 AMD64 nodes
of the Grid'5000 platform, using a clean chroot containing a sid i386
environment. Internet was not accessible from the build systems.
--
| Lucas Nussbaum
| lucas at lucas-nussbaum.net http://www.lucas-nussbaum.net/ |
| jabber: lucas at nussbaum.fr GPG: 1024D/023B3F4F |
More information about the pkg-gnome-maintainers
mailing list