Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#704838: bluez: FTBFS on hppa

6 views
Skip to first unread message

Dave Anglin

unread,
Apr 6, 2013, 12:10:02 PM4/6/13
to
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


--
To UNSUBSCRIBE, email to debian-bugs-...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

Nobuhiro Iwamatsu

unread,
May 19, 2013, 10:50:01 PM5/19/13
to
Hi,

What version of check package do you use?
You need 0.9.8-1.1 or later.

Best regards,
Nobuhiro

2013/4/7 Dave Anglin <dave....@bell.net>:
> _______________________________________________
> Pkg-bluetooth-maintainers mailing list
> Pkg-bluetoot...@lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-bluetooth-maintainers



--
Nobuhiro Iwamatsu
iwamatsu at {nigauri.org / debian.org}
GPG ID: 40AD1FA6

John David Anglin

unread,
May 19, 2013, 11:20:01 PM5/19/13
to
On 19-May-13, at 10:37 PM, Nobuhiro Iwamatsu wrote:

> What version of check package do you use?
> You need 0.9.8-1.1 or later.

dave@mx3210:~$ dpkg -l check
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/
Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==============-============-============-
=================================
ii check 0.9.8-2 hppa unit test framework for C

Just rechecked, the same build problem still exists.

Dave
--
John David Anglin dave....@bell.net

Nobuhiro Iwamatsu

unread,
May 20, 2013, 3:10:02 AM5/20/13
to
Hi,

I think that subunit is enabled in check of hppa.
Could you check build log?
Other architecture was disabled.
Please see https://buildd.debian.org/status/fetch.php?pkg=check&arch=armhf&ver=0.9.8-2&stamp=1338496905
----
checking for stddef.h... yes
checking for stdint.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking for subunit_test_start in -lsubunit... no
checking for an ANSI C-conforming const... yes
checking for pid_t... yes
----

Best regards,
Nobuhiro

2013/5/20 John David Anglin <dave....@bell.net>:
> On 19-May-13, at 10:37 PM, Nobuhiro Iwamatsu wrote:
>
>> What version of check package do you use?
>> You need 0.9.8-1.1 or later.
>
>
> dave@mx3210:~$ dpkg -l check
> Desired=Unknown/Install/Remove/Purge/Hold
> |
> Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
> |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
> ||/ Name Version Architecture Description
> +++-==============-============-============-=================================
> ii check 0.9.8-2 hppa unit test framework for C
>
> Just rechecked, the same build problem still exists.
>
> Dave
> --
> John David Anglin dave....@bell.net
>
>
>



--
Nobuhiro Iwamatsu
iwamatsu at {nigauri.org / debian.org}
GPG ID: 40AD1FA6


John David Anglin

unread,
May 20, 2013, 10:00:02 AM5/20/13
to
On 20-May-13, at 3:02 AM, Nobuhiro Iwamatsu wrote:

> Hi,
>
> I think that subunit is enabled in check of hppa.
> Could you check build log?
> Other architecture was disabled.
> Please see https://buildd.debian.org/status/fetch.php?pkg=check&arch=armhf&ver=0.9.8-2&stamp=1338496905
> ----
> checking for stddef.h... yes
> checking for stdint.h... (cached) yes
> checking for stdlib.h... (cached) yes
> checking for string.h... (cached) yes
> checking sys/time.h usability... yes
> checking sys/time.h presence... yes
> checking for sys/time.h... yes
> checking for unistd.h... (cached) yes
> checking for subunit_test_start in -lsubunit... no
> checking for an ANSI C-conforming const... yes
> checking for pid_t... yes
> ---

Correct. This is what I see in build log for check:

---
checking for unistd.h... (cached) yes
checking for subunit_test_start in -lsubunit... yes
checking subunit/child.h usability... yes
checking subunit/child.h presence... yes
checking for subunit/child.h... yes
checking for an ANSI C-conforming const... yes
---

dave@mx3210:~$ dpkg -l libsubunit0
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/
Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==============-============-============-
=================================
ii libsubunit0:hp 0.0.10-2 hppa Unit testing protocol - C/
C++ sha

Regards,
Dave
--
John David Anglin dave....@bell.net


--

Nobuhiro Iwamatsu

unread,
May 21, 2013, 12:20:01 AM5/21/13
to
Hi,

OK, please check with check package what disabled subunit.
If the problem is not happening, would you please close this bug?

Best regards,
Nobuhiro


2013/5/20 John David Anglin <dave....@bell.net>:
Nobuhiro Iwamatsu
iwamatsu at {nigauri.org / debian.org}
GPG ID: 40AD1FA6


0 new messages