Source: python-charset-normalizer Version: 3.4.2-1 Tags: patch User: debian-cr...@lists.debian.org Usertags: cross-satisfiability
python-charset-normalizer fails to cross build from source, because it requests the host architecture Python interpreter. Most of the time, one needs a build architecture Python interpreter and host architecture Python libraries. The mypy dependency is used for building a C extension. It is executed at build time and hence needed for the build architecture. I'm attaching a patch to annotate the Build-Depends accordingly and once applying it, python-charset-normalizer cross builds successfully. Whilst I consider the patch safe for inclusion in trixie, I recommend deferring it to forky to avoid disrupting the release process. Helmut
diff --minimal -Nru python-charset-normalizer-3.4.2/debian/changelog python-charset-normalizer-3.4.2/debian/changelog --- python-charset-normalizer-3.4.2/debian/changelog 2025-05-05 12:40:18.000000000 +0200 +++ python-charset-normalizer-3.4.2/debian/changelog 2025-06-01 09:09:34.000000000 +0200 @@ -1,3 +1,10 @@ +python-charset-normalizer (3.4.2-1.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: multiarchify Python Build-Depends. (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Sun, 01 Jun 2025 09:09:34 +0200 + python-charset-normalizer (3.4.2-1) unstable; urgency=medium * Team upload. diff --minimal -Nru python-charset-normalizer-3.4.2/debian/control python-charset-normalizer-3.4.2/debian/control --- python-charset-normalizer-3.4.2/debian/control 2025-05-05 12:40:18.000000000 +0200 +++ python-charset-normalizer-3.4.2/debian/control 2025-06-01 09:09:29.000000000 +0200 @@ -7,9 +7,10 @@ debhelper-compat (= 13), dh-sequence-python3, pybuild-plugin-pyproject, - python3-all, - python3-all-dev, - python3-mypy, + python3-all:native, + python3-all-dev:native, + libpython3-all-dev, + python3-mypy:native, python3-pytest <!nocheck>, python3-pytest-cov <!nocheck>, python3-setuptools,