iproute fails to cross-build

Bug #870197 reported by Wookey
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
iproute (Debian)
Fix Released
Unknown
iproute (Ubuntu)
Fix Released
Medium
Colin Watson

Bug Description

Fails with:
arm-linux-gnueabi-gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES -DLIBDIR=\"/usr/lib/arm$
emp_ematch.l:2:30: fatal error: emp_ematch.yacc.h: No such file or directory

The build command is:
xdeb --only-explicit -a armel --prefer-apt --apt-source --debug --force-rebuild iproute
using xdeb 0.6.5~crosstoolsppa from https://launchpad.net/~linaro-foundations/+archive/cross-build-tools

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

Set 'buildlist' to just be the one line:
iproute
to only build this package and not lots of others too.

Tags: cross natty

Related branches

Revision history for this message
Wookey (wookey) wrote :
Revision history for this message
Wookey (wookey) wrote :

Note that this iproute issue is as seen in the version of iproute uploaded here: https://launchpad.net/~linaro-foundations/+archive/cross-alip

The plain cross-build in natty has no cross-support so just builds with gcc instead of <arch>-gcc

Colin Watson (cjwatson)
Changed in iproute (Ubuntu):
status: New → In Progress
assignee: nobody → Colin Watson (cjwatson)
importance: Undecided → Medium
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package iproute - 20111117-1ubuntu2

---------------
iproute (20111117-1ubuntu2) precise; urgency=low

  * Add cross-building support (LP: #870197).
 -- Colin Watson <email address hidden> Mon, 09 Apr 2012 01:06:40 +0100

Changed in iproute (Ubuntu):
status: In Progress → Fix Released
Changed in iproute (Debian):
status: Unknown → New
Changed in iproute (Debian):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.