[Pkg-bluetooth-maintainers] Bug#704838: bluez: FTBFS on hppa

Dave Anglin dave.anglin at bell.net
Sat Apr 6 16:02:47 UTC 2013


Source: bluez
Version: 4.99-2
Severity: normal

Build fails with link error:

libtool: link: gcc-4.6 -I/usr/include/dbus-1.0 -I/usr/lib/hppa-linux-gnu/dbus-1.
0/include -I/usr/include/glib-2.0 -I/usr/lib/hppa-linux-gnu/glib-2.0/include -g 
-O2 -Wformat -Werror=format-security -Wall -D_FORTIFY_SOURCE=2 -fPIC -g -Wl,--as-needed -pie -o unit/test-eir unit/unit_test_eir-test-eir.o src/unit_test_eir-ei
r.o src/unit_test_eir-glib-helper.o  lib/.libs/libbluetooth-private.a -lglib-2.0
 -lcheck_pic
/usr/lib/gcc/hppa-linux-gnu/4.6/../../../libcheck_pic.a(check_log.o): In functio
n `subunit_lfun':
(.text+0x5f4): undefined reference to `subunit_test_start'
/usr/lib/gcc/hppa-linux-gnu/4.6/../../../libcheck_pic.a(check_log.o): In functio
n `subunit_lfun':
(.text+0x6ec): undefined reference to `subunit_test_fail'
/usr/lib/gcc/hppa-linux-gnu/4.6/../../../libcheck_pic.a(check_log.o): In functio
n `subunit_lfun':
(.text+0x704): undefined reference to `subunit_test_pass'
/usr/lib/gcc/hppa-linux-gnu/4.6/../../../libcheck_pic.a(check_log.o): In functio
n `subunit_lfun':
(.text+0x720): undefined reference to `subunit_test_error'
collect2: ld returned 1 exit status
make[2]: *** [unit/test-eir] Error 1
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/dave/debian/bluez/bluez-4.99'
make: *** [debian/stamp-makefile-build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
Build command 'cd bluez-4.99 && dpkg-buildpackage -b -uc' failed.
NOTICE: 'bluez' packaging is maintained in the 'Svn' version control system at:
svn://svn.debian.org/svn/pkg-bluetooth/packages/bluez/trunk

I believe that package needs to link against libsubunit.  If I
"export LIBS=-lsubunit", build is successful.

As a minor note, hppa doesn't really support pie, so I disabled it in
debian rules.


-- System Information:
Debian Release: 7.0
  APT prefers unreleased
  APT policy: (500, 'unreleased'), (500, 'unstable')
Architecture: hppa (parisc64)

Kernel: Linux 3.9.0-rc5+ (SMP w/4 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash



More information about the Pkg-bluetooth-maintainers mailing list