Source: nictools-pci Version: 1.3.8-2 Tags: patch User: helm...@debian.org Usertags: rebootstrap
nictools-pci fails to cross build from source, because it uses the build architecture toolchain. It seems to have had some cross support at an earlier time, but that's dysfunctional now. In any case, using dh_auto_build fixes the issue. Please consider applying the attached patch. Helmut
diff -u nictools-pci-1.3.8/debian/changelog nictools-pci-1.3.8/debian/changelog --- nictools-pci-1.3.8/debian/changelog +++ nictools-pci-1.3.8/debian/changelog @@ -1,3 +1,10 @@ +nictools-pci (1.3.8-2.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: Let dh_auto_build pass cross compilers to make. (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Sun, 25 Mar 2018 20:25:24 +0200 + nictools-pci (1.3.8-2) unstable; urgency=low * QA upload. diff -u nictools-pci-1.3.8/debian/rules nictools-pci-1.3.8/debian/rules --- nictools-pci-1.3.8/debian/rules +++ nictools-pci-1.3.8/debian/rules @@ -6,26 +6,13 @@ # This has to be exported to make some magic below work. export DH_OPTIONS -BUILD_ARCH:=$(DEB_BUILD_GNU_TYPE) -# New cross-compilation policy may set the DEB_HOST_ARCH variable. -ifdef DEB_HOST_ARCH - ARCH:=$(DEB_HOST_ARCH) -else - # dpkg-cross sets the ARCH environment variable, so use it. - ifdef ARCH - ARCH:=$(ARCH) - else - ARCH:=$(BUILD_ARCH) - endif -endif - build: build-arch build-indep build-arch: build-stamp build-indep: build-stamp build-stamp: dh_testdir - $(MAKE) all + dh_auto_build -- all touch build-stamp clean: