iputils fails to cross-build
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
iputils (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
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_
To easily reproduce the build environment in which this bug was discovered follow the HOWTO here:
https:/
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-
The problem is that the build-arch compiler is used, not the target-arch compiler:
gcc -Wl,-Bsymbolic-
This failure can be fixed with the attached patch to make sure the host arch compiler is used and the system library search path, not the 'Make' search path is used.