[Bug 872370] Re: iputils fails to cross-build
Launchpad Bug Tracker
872370 at bugs.launchpad.net
Tue Nov 8 13:25:11 UTC 2011
This bug was fixed in the package iputils - 3:20101006-1ubuntu1
---------------
iputils (3:20101006-1ubuntu1) precise; urgency=low
* Support cross-building (thanks to Wookey <wookey at wookware.org> and Harry
Liebel; LP: #872370).
-- Colin Watson <cjwatson at ubuntu.com> Tue, 08 Nov 2011 13:17:14 +0000
** Changed in: iputils (Ubuntu)
Status: Confirmed => Fix Released
--
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:
Fix Released
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