[Bug 1611922] Re: FTBFS on armhf
Bryan Quigley
bryan.quigley at canonical.com
Fri Aug 12 18:24:41 UTC 2016
Added dpkg as maybe that patch is no longer required?
** Also affects: dpkg (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to dpkg in Ubuntu.
https://bugs.launchpad.net/bugs/1611922
Title:
FTBFS on armhf
Status in dpkg package in Ubuntu:
Confirmed
Status in wine-development package in Ubuntu:
Confirmed
Bug description:
As posted on the debian-arm mailing list:
https://lists.debian.org/debian-arm/2016/07/msg00090.html
Dpkg in Ubuntu carries a patch introduced in dpkg 1.16.1.2ubuntu2 from
December 2011.
The changelog entry reads:
* Apply patch from Steve McIntyre to special-case armhf/armel ELF
objects in Shlibs/Objdump.pm, so we don't get incorrect deps.
Wine-development since 1.9.9-1 has a script (sonames2elf) [1] and some
magic in debian/rules [2] that generates a list of shared libraries
that libwine should recommend and depend on.
This change in wine-development and the patch to dpkg above, together
cause wine-development to FTBFS on Ubuntu armhf, see the second part
of my report in #827770 [3], where the following error and similar are
mentioned.
dpkg-shlibdeps: error: couldn't find library libfontconfig.so.1 needed
by debian/tmp/elf.depends (ELF format: 'elf32-littlearm-sfabi';
RPATH:'')
Reverting Ubuntu's dpkg patch causes dpkg-shlibdeps to find the libraries.
Alternatively, using readelf -h I found the ELF header flags of
elf.depends and elf.recommends to be 0x5000600. After using hte to
change these flags to 0x5000402, dpkg-shlibdeps was also able to find
the lbraries.
How can I set these flags correctly? I have tried passing
-mfloat-abi=hard and -mhard-float to gcc from sonames2elf, but neither
had an effect.
[1] https://anonscm.debian.org/git/pkg-wine/wine.git/tree/debian/scripts/sonames2elf
[2] https://anonscm.debian.org/git/pkg-wine/wine.git/tree/debian/rules#n162
[3] https://bugs.debian.org/827770
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dpkg/+bug/1611922/+subscriptions
More information about the foundations-bugs
mailing list