Package: dos2unix Version: 7.3.4-2 Tags: patch User: [email protected] Usertags: rebootstrap Control: affects -1 + src:freeimage
freeimage fails to cross build from source, because it executes dos2unix during build and fails. freeimage Build-Depends on dos2unix which means that it receives the host architecture dos2unix as dos2unix is (implicitly) Multi-Arch: no. A host architecture dos2unix cannot be run, so freeimage really wanted the build architecture dos2unix. Like for many other command line only tools (sed, coreutils, util-linux, gawk, ...) this can be achieved by marking the package Multi-Arch: foreign and thus stating that the behaviour of the contained programs does not vary with different architectures. Please consider applying the attached patch. Helmut
diff --minimal -Nru dos2unix-7.3.4/debian/changelog dos2unix-7.3.4/debian/changelog --- dos2unix-7.3.4/debian/changelog 2016-10-26 06:36:02.000000000 +0200 +++ dos2unix-7.3.4/debian/changelog 2016-11-10 16:35:34.000000000 +0100 @@ -1,3 +1,10 @@ +dos2unix (7.3.4-2.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Mark dos2unix Multi-Arch: foreign. (Closs: #-1) + + -- Helmut Grohne <[email protected]> Thu, 10 Nov 2016 16:35:34 +0100 + dos2unix (7.3.4-2) unstable; urgency=medium * debian/control diff --minimal -Nru dos2unix-7.3.4/debian/control dos2unix-7.3.4/debian/control --- dos2unix-7.3.4/debian/control 2016-10-26 06:36:02.000000000 +0200 +++ dos2unix-7.3.4/debian/control 2016-11-10 16:35:34.000000000 +0100 @@ -12,6 +12,7 @@ Package: dos2unix Conflicts: tofrodos (<< 1.7.8.debian.1) Architecture: any +Multi-Arch: foreign Depends: ${shlibs:Depends}, ${misc:Depends} Description: convert text file line endings between CRLF and LF This package contains utilities dos2unix, unix2dos, mac2unix,

