Source: iproute2 Version: 4.9.0-1 Tags: patch User: helm...@debian.org Usertags: rebootstrap
iproute2 fails to cross build from source, because its build dependency on cm-super-minimal is not cross-satisfiable. In general, Architecture: all packages can never satisfy cross Build-Depends unless marked Multi-Arch: foreign. In this case, considering cm-super-minimal is not necessary, because it is not actually used during an arch-only build. Building the documentation can simply be skipped. After doing so, cm-super-minimal can be demoted to Build-Depends-Indep where it does no longer hamper cross compilation. Please consider applying the attached patch after stretch is released. Helmut
diff --minimal -Nru iproute2-4.9.0/debian/changelog iproute2-4.9.0/debian/changelog --- iproute2-4.9.0/debian/changelog 2016-12-13 16:57:50.000000000 +0100 +++ iproute2-4.9.0/debian/changelog 2017-03-01 13:37:16.000000000 +0100 @@ -1,3 +1,10 @@ +iproute2 (4.9.0-1.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Demote documentation dependencies to Build-Depends-Indep (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Wed, 01 Mar 2017 13:37:16 +0100 + iproute2 (4.9.0-1) unstable; urgency=medium * New upstream release, tested by Julian Wollrath. diff --minimal -Nru iproute2-4.9.0/debian/control iproute2-4.9.0/debian/control --- iproute2-4.9.0/debian/control 2016-08-15 17:32:42.000000000 +0200 +++ iproute2-4.9.0/debian/control 2017-03-01 13:37:15.000000000 +0100 @@ -9,7 +9,6 @@ Vcs-Git: https://anonscm.debian.org/git/collab-maint/pkg-iproute.git Standards-Version: 3.9.8 Build-Depends: bison, - cm-super-minimal, debhelper (>= 9), flex, iptables-dev, @@ -22,6 +21,8 @@ linuxdoc-tools, lynx | lynx-cur, pkg-config, +Build-Depends-Indep: + cm-super-minimal, texlive-fonts-recommended, texlive-latex-base, texlive-latex-extra, diff --minimal -Nru iproute2-4.9.0/debian/rules iproute2-4.9.0/debian/rules --- iproute2-4.9.0/debian/rules 2016-03-24 11:13:06.000000000 +0100 +++ iproute2-4.9.0/debian/rules 2017-03-01 13:37:16.000000000 +0100 @@ -26,8 +26,10 @@ override_dh_auto_configure: $(CROSS) dh_auto_configure -override_dh_auto_build: +override_dh_auto_build-indep: $(MAKE) -C doc all txt + +override_dh_auto_build-arch: $(MAKE) KERNEL_INCLUDE=./include $(CROSS) # bump version of the transitional packages...