Bug#926514: brltty: FTBFS on ia64 because the link check doesn't account for libunwind

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Bug#926514: brltty: FTBFS on ia64 because the link check doesn't account for libunwind

John Paul Adrian Glaubitz
Source: brltty
Version: 5.6-10
Severity: normal
User: [hidden email]
Usertags: ia64

Hi!

brltty currently FTBFS on ia64 because the link check at the end of debian/rules
does not account for the fact that binaries on ia64 link against libunwind*:

# Check that we didn't accidentally link against something outside of
# d-i world
grep Depends: debian/brltty-udeb/DEBIAN/control | perl -ne 'map {unless (/-udeb/ or /^ ?preseed-common$/) {print $_; exit 1}} split /,/'
 libunwind8make: *** [debian/rules:257: brltty-udeb] Error 1
dpkg-buildpackage: error: fakeroot debian/rules binary-arch subprocess returned exit status 2

Adding a "or /libunwind.*/" should be able to fix the problem though. Will test
later and attach a tested patch.

Thanks,
Adrian

--
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - [hidden email]
`. `'   Freie Universitaet Berlin - [hidden email]
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913

Reply | Threaded
Open this post in threaded view
|

Bug#926514: brltty: FTBFS on ia64 because the link check doesn't account for libunwind

Samuel Thibault-8
Hello,

John Paul Adrian Glaubitz, le sam. 06 avril 2019 14:04:07 +0200, a ecrit:

> brltty currently FTBFS on ia64 because the link check at the end of debian/rules
> does not account for the fact that binaries on ia64 link against libunwind*:
>
> # Check that we didn't accidentally link against something outside of
> # d-i world
> grep Depends: debian/brltty-udeb/DEBIAN/control | perl -ne 'map {unless (/-udeb/ or /^ ?preseed-common$/) {print $_; exit 1}} split /,/'
>  libunwind8make: *** [debian/rules:257: brltty-udeb] Error 1
> dpkg-buildpackage: error: fakeroot debian/rules binary-arch subprocess returned exit status 2
>
> Adding a "or /libunwind.*/" should be able to fix the problem though. Will test
> later and attach a tested patch.

Err, but is the libunwind8 package really available in the d-i image?
AIUI we'd need a udeb for it, not just ignore the issue.

Samuel

Reply | Threaded
Open this post in threaded view
|

Bug#926514: brltty: FTBFS on ia64 because the link check doesn't account for libunwind

John Paul Adrian Glaubitz
Hi Samuel!

On 4/7/19 12:15 AM, Samuel Thibault wrote:

>> # Check that we didn't accidentally link against something outside of
>> # d-i world
>> grep Depends: debian/brltty-udeb/DEBIAN/control | perl -ne 'map {unless (/-udeb/ or /^ ?preseed-common$/) {print $_; exit 1}} split /,/'
>>  libunwind8make: *** [debian/rules:257: brltty-udeb] Error 1
>> dpkg-buildpackage: error: fakeroot debian/rules binary-arch subprocess returned exit status 2
>>
>> Adding a "or /libunwind.*/" should be able to fix the problem though. Will test
>> later and attach a tested patch.
>
> Err, but is the libunwind8 package really available in the d-i image?
> AIUI we'd need a udeb for it, not just ignore the issue.

You are right and sorry for the late response. Indeed, d-i build is asking
for a libunwind-udeb now after I made this change.

I will send in a patch for src:libunwind to create a udeb, although I'm a bit
surprised that we haven't run into this problem before with other d-i components.

Adrian

--
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - [hidden email]
`. `'   Freie Universitaet Berlin - [hidden email]
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913