Source: python-cffi Version: 1.17.1-1 Tags: patch User: debian-cr...@lists.debian.org Usertags: cross-satisfiability
python-cffi cannot be cross built from source, because a number of Python-related Build-Depends cannot be installed. This affects the sphinx related dependencies. Fortunately, the documentation is already separated to an Arch:all -doc package, so we can move those into B-D-I where they no longer affect cross builds. What remains is python3-all-dev, which should be transformed into libpython3-all-dev plus python3-all-dev:any. And with just touching dependencies, python-cffi already cross builds. I'm attaching a patch for your convenience. Helmut
diff --minimal -Nru python-cffi-1.17.1/debian/changelog python-cffi-1.17.1/debian/changelog --- python-cffi-1.17.1/debian/changelog 2024-09-05 21:38:50.000000000 +0200 +++ python-cffi-1.17.1/debian/changelog 2024-11-09 18:12:35.000000000 +0100 @@ -1,3 +1,12 @@ +python-cffi (1.17.1-1.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: (Closes: #-1) + + Move sphinx dependencies to B-D-I. + + Multiarchify python B-D. + + -- Helmut Grohne <hel...@subdivi.de> Sat, 09 Nov 2024 18:12:35 +0100 + python-cffi (1.17.1-1) unstable; urgency=medium * New upstream point-release. diff --minimal -Nru python-cffi-1.17.1/debian/control python-cffi-1.17.1/debian/control --- python-cffi-1.17.1/debian/control 2024-09-05 21:38:50.000000000 +0200 +++ python-cffi-1.17.1/debian/control 2024-11-09 18:12:35.000000000 +0100 @@ -7,16 +7,18 @@ debhelper-compat (= 13), dh-python, dh-sequence-python3, - dh-sequence-sphinxdoc <!nodoc>, libffi-dev, + libpython3-all-dev, pybuild-plugin-pyproject, - python3-all-dev, + python3-all-dev:any, python3-py <!nocheck>, python3-pycparser <!nocheck>, python3-pytest <!nocheck>, python3-setuptools, - python3-sphinx <!nodoc>, virtualenv <!nocheck> +Build-Depends-Indep: + dh-sequence-sphinxdoc <!nodoc>, + python3-sphinx <!nodoc>, Standards-Version: 4.7.0 Homepage: https://cffi.readthedocs.org/ Vcs-Git: https://salsa.debian.org/python-team/packages/python-cffi.git