[Bug 872370] [NEW] iputils fails to cross-build

Launchpad Bug Tracker 872370 at bugs.launchpad.net
Tue Oct 11 20:16:45 UTC 2011


You have been subscribed to a public bug by Ubuntu QA's Bug Bot (crichton):


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

** Affects: iputils (Ubuntu)
     Importance: Undecided
         Status: Confirmed


** Tags: cross natty patch
-- 
iputils fails to cross-build
https://bugs.launchpad.net/bugs/872370
You received this bug notification because you are a member of Ubuntu Sponsors Team, which is subscribed to the bug report.



More information about the Ubuntu-sponsors mailing list