Source: aria2 Version: 1.30.0-1 Tags: patch User: helm...@debian.org Usertags: rebootstrap
aria2 fails to cross build from source, because it uses an ancient and unsupported way of configuring cross builds: Passing CC= to ./configure. These days one generally passes the --host flag to initiate cross builds. Please consider applying the attached patch or switching to dh_auto_configure (which does the right thing). In both cases, aria2 will cross build from source. Helmut
diff --minimal -Nru aria2-1.30.0/debian/changelog aria2-1.30.0/debian/changelog --- aria2-1.30.0/debian/changelog 2016-12-22 13:57:13.000000000 +0100 +++ aria2-1.30.0/debian/changelog 2017-01-10 20:44:28.000000000 +0100 @@ -1,3 +1,10 @@ +aria2 (1.30.0-1.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: Pass correct CROSS flags to ./configure (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Tue, 10 Jan 2017 20:44:28 +0100 + aria2 (1.30.0-1) unstable; urgency=low * New upstream release. diff --minimal -Nru aria2-1.30.0/debian/rules aria2-1.30.0/debian/rules --- aria2-1.30.0/debian/rules 2016-06-30 13:02:30.000000000 +0200 +++ aria2-1.30.0/debian/rules 2017-01-10 20:44:26.000000000 +0100 @@ -7,7 +7,7 @@ DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) ifneq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE)) - CROSS=CC=$(DEB_HOST_GNU_TYPE)-gcc + CROSS=--build=$(DEB_BUILD_GNU_TYPE) --host=$(DEB_HOST_GNU_TYPE) else CROSS= endif