[Pkg-lxde-maintainers] Bug#615743: libfm: ftbfs with gold or ld --no-add-needed

Matthias Klose doko at debian.org
Mon Feb 28 00:53:01 UTC 2011


Package: libfm
Version: 0.1.14-2
Severity: important
Tags: sid
User: peter.fritzsche at gmx.de
Usertags: no-add-needed

The package fails to build in a test rebuild on at least amd64 with
ld --no-add-needed.  For details, please see:
http://lists.debian.org/debian-devel-announce/2011/02/msg00011.html
http://wiki.debian.org/ToolChain/DSOLinking

Ubuntu might have a patch for this issue, but unfortunately it was
not forwarded to Debian.  Please have a look at
http://packages.qa.debian.org/libfm to see if an Ubuntu version for
this package exists, and if a fix is included in the Ubuntu diff.

[...]
test-fm-path.c:16:13: note: expected 'const char **' but argument is of type 'char **'
test-fm-path.c:249:5: warning: passing argument 3 of 'test_parsing' from incompatible pointer type
test-fm-path.c:16:13: note: expected 'const char **' but argument is of type 'char **'
test-fm-path.c:252:5: warning: passing argument 3 of 'test_parsing' from incompatible pointer type
test-fm-path.c:16:13: note: expected 'const char **' but argument is of type 'char **'
test-fm-path.c:255:5: warning: passing argument 3 of 'test_parsing' from incompatible pointer type
test-fm-path.c:16:13: note: expected 'const char **' but argument is of type 'char **'
test-fm-path.c:258:5: warning: passing argument 3 of 'test_parsing' from incompatible pointer type
test-fm-path.c:16:13: note: expected 'const char **' but argument is of type 'char **'
test-fm-path.c:261:5: warning: passing argument 3 of 'test_parsing' from incompatible pointer type
test-fm-path.c:16:13: note: expected 'const char **' but argument is of type 'char **'
/bin/bash ../../libtool --tag=CC   --mode=link gcc  -g -O2   -o fm-path test-fm-path.o -lglib-2.0   ../libfm.la  -lm 
libtool: link: gcc -g -O2 -o .libs/fm-path test-fm-path.o  /usr/lib/libglib-2.0.so ../.libs/libfm.so -lm -pthread
/usr/bin/ld: test-fm-path.o: undefined reference to symbol 'g_type_init'
/usr/bin/ld: note: 'g_type_init' is defined in DSO /usr/lib64/libgobject-2.0.so.0 so try adding it to the linker command line
/usr/lib64/libgobject-2.0.so.0: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[5]: *** [fm-path] Error 1
make[5]: Leaving directory `/build/user-libfm_0.1.14-2-amd64-8bAIPB/libfm-0.1.14/src/tests'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/build/user-libfm_0.1.14-2-amd64-8bAIPB/libfm-0.1.14/src'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/build/user-libfm_0.1.14-2-amd64-8bAIPB/libfm-0.1.14/src'
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2
dh_auto_build: make -j1 returned exit code 2
make[2]: Leaving directory `/build/user-libfm_0.1.14-2-amd64-8bAIPB/libfm-0.1.14'
make[1]: Leaving directory `/build/user-libfm_0.1.14-2-amd64-8bAIPB/libfm-0.1.14'
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2





More information about the Pkg-lxde-maintainers mailing list