[Bug 1611922] Re: FTBFS on armhf
Graham Inggs
graham at nerve.org.za
Sat Aug 13 10:51:56 UTC 2016
I've attached a debdiff of the dpkg patch being discussed.
A couple of weeks ago I asked Adam Conrad by email, "Is this patch still
needed in Ubuntu? Should it go into Debian?", and received the
following reply.
"Yes, it's needed in Ubuntu. It would be needed in Debian if Debian
users ever built on machines with both armel and armhf binaries
installed (which happens on Ubuntu with gcc-multilib, because we
build a libc-armel and Debian doesn't).
If this is causing a build failure in Wine, Wine is buggy, not dpkg."
** Patch added: "special-case-arm.debdiff"
https://bugs.launchpad.net/ubuntu/+source/wine-development/+bug/1611922/+attachment/4720119/+files/special-case-arm.debdiff
--
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