Source: tor Version: 0.3.0.10-1 Tags: patch User: helm...@debian.org Usertags: rebootstrap
tor fails to cross build from source, because its build dependency on binutils is unsatisfiable. The build architecture binutils is requested via build-essential and Build-Depends request a host architecture binutils while binutils is not Multi-Arch: foreign. In theory we'd need "toolchain dependency cross translation" here, but the dependency is so outdated that it is always satisfied even in wheezy. A simpler way is to drop it. After doing so, tor cross builds successfully. Please consider applying the attached patch. Helmut
diff -u tor-0.3.0.10/debian/changelog tor-0.3.0.10/debian/changelog --- tor-0.3.0.10/debian/changelog +++ tor-0.3.0.10/debian/changelog @@ -1,3 +1,11 @@ +tor (0.3.0.10-1.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Drop obsolete binutils satisfied in wheezy from Build-Depends. (closes: + #-1) + + -- Helmut Grohne <hel...@subdivi.de> Thu, 24 Aug 2017 20:22:35 +0200 + tor (0.3.0.10-1) unstable; urgency=medium * New upstream version. diff -u tor-0.3.0.10/debian/control tor-0.3.0.10/debian/control --- tor-0.3.0.10/debian/control +++ tor-0.3.0.10/debian/control @@ -2,7 +2,7 @@ Section: net Priority: optional Maintainer: Peter Palfrader <wea...@debian.org> -Build-Depends: debhelper (>= 9.20160114), quilt, libssl-dev, zlib1g-dev, libevent-dev (>= 1.1), binutils (>= 2.14.90.0.7), asciidoc (>= 8.2), docbook-xml, docbook-xsl, xmlto, dh-apparmor, libseccomp-dev [amd64 i386], dh-systemd [linux-any], libsystemd-dev [linux-any], pkg-config [linux-any], dh-autoreconf +Build-Depends: debhelper (>= 9.20160114), quilt, libssl-dev, zlib1g-dev, libevent-dev (>= 1.1), asciidoc (>= 8.2), docbook-xml, docbook-xsl, xmlto, dh-apparmor, libseccomp-dev [amd64 i386], dh-systemd [linux-any], libsystemd-dev [linux-any], pkg-config [linux-any], dh-autoreconf Build-Conflicts: libnacl-dev, libseccomp-dev [!amd64 !i386] Standards-Version: 3.9.8 Homepage: https://www.torproject.org/