Source: mpi4py-fft Version: 2.0.6-2 Tags: patch User: [email protected] Usertags: cross-satisfiability
mpi4py-fft cannot be cross built from source because its sphinx dependency is not satisfiable. The package already separates its documentation to an arch:all package and limits the documentation build to the indep part. The only reason to keep the sphinx dependency is for using the debhelper addon. When using debhelper addons declaratively (Build-Depends: dh-sequence-*), they can also be moved to Build-Depends-Indep and then python3-sphinx can also be moved there. I'm attaching a patch for your convenience and used reproducible builds to verify that it does not introduce unwanted changes. Helmut
diff -Nru mpi4py-fft-2.0.6/debian/changelog mpi4py-fft-2.0.6/debian/changelog --- mpi4py-fft-2.0.6/debian/changelog 2025-02-27 16:31:41.000000000 +0100 +++ mpi4py-fft-2.0.6/debian/changelog 2026-02-24 11:29:19.000000000 +0100 @@ -1,3 +1,10 @@ +mpi4py-fft (2.0.6-2.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Demote sphinx dependencies to Build-Depends-Indep. (Closes: #-1) + + -- Helmut Grohne <[email protected]> Tue, 24 Feb 2026 11:29:19 +0100 + mpi4py-fft (2.0.6-2) unstable; urgency=medium * add numpy3 to dh rules for numpy ABI. Thanks Adrian Bunk. diff -Nru mpi4py-fft-2.0.6/debian/control mpi4py-fft-2.0.6/debian/control --- mpi4py-fft-2.0.6/debian/control 2025-02-27 16:31:41.000000000 +0100 +++ mpi4py-fft-2.0.6/debian/control 2026-02-24 11:29:19.000000000 +0100 @@ -5,16 +5,18 @@ Uploaders: Drew Parsons <[email protected]> Build-Depends: debhelper-compat (= 13), cython3, - dh-python, + dh-sequence-python3, + dh-sequence-numpy3, libfftw3-dev, mpi-default-dev, python3-all-dev, python3-setuptools, python3-mpi4py, python3-numpy, - python3-sphinx, Build-Depends-Indep: + dh-sequence-sphinxdoc, libjs-mathjax <!nodoc>, + python3-sphinx, python3-sphinx-rtd-theme <!nodoc>, texinfo <!nodoc> Standards-Version: 4.6.2 diff -Nru mpi4py-fft-2.0.6/debian/rules mpi4py-fft-2.0.6/debian/rules --- mpi4py-fft-2.0.6/debian/rules 2025-02-27 16:31:41.000000000 +0100 +++ mpi4py-fft-2.0.6/debian/rules 2026-02-24 11:27:55.000000000 +0100 @@ -7,7 +7,7 @@ export DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -q DEB_HOST_MULTIARCH) %: - dh $@ --with python3,numpy3,sphinxdoc --buildsystem=pybuild + dh $@ --buildsystem=pybuild execute_after_dh_auto_build-indep:

