Bug#928334: iputils FTCBFS: Uses the build architecture compiler
On Thu, May 02, 2019 at 04:46:06PM +0700, Nguyen Van. Hieu wrote: > iputils fails to cross build from source, because it uses the build > architecture compiler. > Using "dh_auto_build" instead of "$(MAKE)" can solve this problem. > Please consider applying the attached patch. After buster is released, I plan on rewriting the entire iputils packaging. In part this is due to upstream's change of build system, but also simply because it's long overdue. So hopefully the issue is addressed naturally in that process. noah
Bug#928334: iputils FTCBFS: Uses the build architecture compiler
Control: forcemerge 648033 928334 Hi, On Thu, May 02, 2019 at 04:46:06PM +0700, Nguyen Van. Hieu wrote: > iputils fails to cross build from source, because it uses the build > architecture compiler. > Using "dh_auto_build" instead of "$(MAKE)" can solve this problem. > Please consider applying the attached patch. Thank you for working on cross building. Unfortunately, this issue is already reported. Merging the bugs. Your patch looks good to me, though I suggest that you prefer dh_auto_build --sourcedirectory=foo -- ... over dh_auto_build -- -C foo ... Helmut
Bug#928334: iputils FTCBFS: Uses the build architecture compiler
Source: iputils Version: 3:20180629-2 Severity: normal Tags: patch User:helm...@debian.org Usertags: rebootstrap Hi, iputils fails to cross build from source, because it uses the build architecture compiler. Using "dh_auto_build" instead of "$(MAKE)" can solve this problem. Please consider applying the attached patch. Hieu. diff -Nru iputils-20180629/debian/rules iputils-20180629/debian/rules --- iputils-20180629/debian/rules 2018-08-03 23:53:09.0 +0700 +++ iputils-20180629/debian/rules 2018-08-03 23:53:09.0 +0700 @@ -17,11 +17,11 @@ build-arch: configure dh_testdir - $(MAKE) $(TARGETS) + dh_auto_build -- $(TARGETS) build-indep: configure dh_testdir - $(MAKE) -C doc man + dh_auto_build -- -C doc man build: build-arch build-indep -- This mail was scanned by BitDefender For more information please visit http://www.bitdefender.com