Package: libdatrie1-bin Version: 0.2.10-2 Tags: patch User: helm...@debian.org Usertags: rebootstrap Control: affects -1 + src:libthai src:swath
The packages listed above fail to cross build from source, because executing trietool-2.0 fails. When satisfying their Build-Depends, libdatrie1-bin is installed for the host architecture and thus no binary from it can be executed. A solution to problem is marking libdatrie1-bin Multi-Arch: foreign. I believe that marking it Multi-Arch: foreign is correct, because its inupts and outputs are processed in an architecture-agnostic way. For instance, it specifically handles endianess when writing integers. I also tried to run trietool on different architectures to see whether its output would differ and my tests agree with the source code inspection. Thus I think it really should be marked Multi-Arch: foreign. Please consider applying the attached patch. Helmut
diff --minimal -Nru libdatrie-0.2.10/debian/changelog libdatrie-0.2.10/debian/changelog --- libdatrie-0.2.10/debian/changelog 2016-02-01 16:08:51.000000000 +0100 +++ libdatrie-0.2.10/debian/changelog 2016-10-14 06:50:48.000000000 +0200 @@ -1,3 +1,10 @@ +libdatrie (0.2.10-2.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Mark libdatrie1-bin Multi-Arch: foreign. (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Fri, 14 Oct 2016 06:50:19 +0200 + libdatrie (0.2.10-2) unstable; urgency=medium * Use system jquery.js for doc package [lintian]. diff --minimal -Nru libdatrie-0.2.10/debian/control libdatrie-0.2.10/debian/control --- libdatrie-0.2.10/debian/control 2016-02-01 16:08:51.000000000 +0100 +++ libdatrie-0.2.10/debian/control 2016-10-14 06:50:16.000000000 +0200 @@ -38,6 +38,7 @@ Section: misc Architecture: any Depends: ${misc:Depends}, ${shlibs:Depends} +Multi-Arch: foreign Description: Programs for double-array trie library Trie is a kind of digital search tree, an efficient indexing method with O(1) time complexity for searching. Comparably as efficient as hashing,