Package: python-chardet Version: 3.0.4-1 Tags: patch User: helm...@debian.org Usertags: rebootstrap Control: affects -1 + src:nagios-plugins-contrib
python-chardet cannot be used to satisfy cross build dependencies (e.g. for nagios-plugins-contrib via python-debian). In general, Architecture: all packages can never satisfy cross Build-Depends unless marked Multi-Arch: foreign. In this case, such a marking is not entirely correct, but "good enough". Python's byte compilation is architecture dependent, so python-chardet will only have bytecompiled files for the main python interpreter and not for foreign embedded interpreters. Still that's good enough for using python-chardet. That seems like a fair compromise given that very few packages use an embedded interpreter and even fewer people install them for foreign architectures. python-chardet's dependencies are already annotated :any or marked Multi-Arch: foreign, so that part is fine. The same reasoning holds for python3-debian. Please consider applying the attached patch. Helmut
diff --minimal -Nru chardet-3.0.4/debian/changelog chardet-3.0.4/debian/changelog --- chardet-3.0.4/debian/changelog 2017-06-18 23:51:08.000000000 +0200 +++ chardet-3.0.4/debian/changelog 2018-12-09 20:25:51.000000000 +0100 @@ -1,3 +1,10 @@ +chardet (3.0.4-1.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Mark all packages Multi-Arch: foreign. (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Sun, 09 Dec 2018 20:25:51 +0100 + chardet (3.0.4-1) unstable; urgency=medium * New upstream release. diff --minimal -Nru chardet-3.0.4/debian/control chardet-3.0.4/debian/control --- chardet-3.0.4/debian/control 2017-06-18 23:51:08.000000000 +0200 +++ chardet-3.0.4/debian/control 2018-12-09 20:25:49.000000000 +0100 @@ -25,6 +25,7 @@ Package: python-chardet Architecture: all +Multi-Arch: foreign Depends: ${python:Depends}, ${misc:Depends}, @@ -51,6 +52,7 @@ Package: python3-chardet Architecture: all +Multi-Arch: foreign Depends: ${python3:Depends}, ${misc:Depends},