[Bug 872370] Re: iputils fails to cross-build
Ubuntu QA's Bug Bot
bug-stats at murraytwins.com
Tue Oct 11 20:16:46 UTC 2011
The attachment "Cross-fix patch" of this bug report has been identified
as being a patch in the form of a debdiff. The ubuntu-sponsors team has
been subscribed to the bug report so that they can review and hopefully
sponsor the debdiff. In the event that this is in fact not a patch you
can resolve this situation by removing the tag 'patch' from the bug
report and editing the attachment so that it is not flagged as a patch.
Additionally, if you are member of the ubuntu-sponsors please also
unsubscribe the team from this bug report.
[This is an automated message performed by a Launchpad user owned by
Brian Murray. Please contact him regarding any issues with the action
taken in this bug report.]
** Tags added: patch
--
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/872370
Title:
iputils fails to cross-build
Status in “iputils” package in Ubuntu:
Confirmed
Bug description:
The build command is:
xdeb --only-explicit -a armel --prefer-apt --apt-source --debug --force-rebuild iputils
The actual build command xdeb issues is:
debuild --no-lintian -eUSER -eCONFIG_SITE=/etc/dpkg-cross/cross-config.armel -eDEB_BUILD_OPTIONS=nocheck -eGTEST_INCLUDEDIR=/usr/arm-linux-gnueabi/include -eGTEST_LIBDIR=/usr/arm-linux-gnueabi/lib -ePKG_CONFIG_LIBDIR=/usr/arm-linux-gnueabi/lib/pkgconfig:/usr/arm-linux-gnueabi/share/pkgconfig:/usr/share/pkgconfig -eDH_VERBOSE=1 -aarmel -b -uc -us -tc
To easily reproduce the build environment in which this bug was discovered follow the HOWTO here:
https://wiki.linaro.org/Platform/DevPlatform/CrossCompile/CrossBuildNano
Setting 'buildlist' to just be the one line:
iputils
would mean it only builds this package and not lots of others too.
The error is:
dh_strip
arm-linux-gnueabi-strip --remove-section=.comment --remove-section=.note debian/iputils-ping/bin/ping6
arm-linux-gnueabi-strip:debian/iputils-ping/bin/ping6: File format not recognized
The problem is that the build-arch compiler is used, not the target-arch compiler:
gcc -Wl,-Bsymbolic-functions ping.o ping_common.o -o ping
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/iputils/+bug/872370/+subscriptions
More information about the Ubuntu-sponsors
mailing list