Source: python-tornado Version: 6.5.2-3 Tags: patch User: [email protected] Usertags: cross-satisfiability
python-tornado cannot be cross built from source, because several of its Build-Depends cannot be satisfied. Before jumping into the problem, I note that some of them contain "sphinx" and that python-tornado neatly splits out an arch:all -doc package. Instead of looking at how to make them satisfiable, I suggest making them go away where away is Build-Depends-Indep. Once moving the dh --with arguments to declarative dh-sequence-* dependencies, we can just move all the sphinx dependencies to Build-Depends-Indep and have the sequence addon automatically skip the build step in override_dh_sphinxdoc. I'm attaching a patch for your convenience and used reproducible builds to verify that an arch-only build exactly reproduces the python3-tornado package from a full build. Helmut
diff -Nru python-tornado-6.5.2/debian/changelog python-tornado-6.5.2/debian/changelog --- python-tornado-6.5.2/debian/changelog 2025-10-04 12:42:36.000000000 +0200 +++ python-tornado-6.5.2/debian/changelog 2026-01-07 07:02:53.000000000 +0100 @@ -1,3 +1,10 @@ +python-tornado (6.5.2-3.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Move documentation dependencies to B-D-I. (Closes: #-1) + + -- Helmut Grohne <[email protected]> Wed, 07 Jan 2026 07:02:53 +0100 + python-tornado (6.5.2-3) unstable; urgency=medium * Team upload. diff -Nru python-tornado-6.5.2/debian/control python-tornado-6.5.2/debian/control --- python-tornado-6.5.2/debian/control 2025-10-04 12:42:36.000000000 +0200 +++ python-tornado-6.5.2/debian/control 2026-01-07 07:02:53.000000000 +0100 @@ -8,15 +8,16 @@ Julien Puydt <[email protected]>, Build-Depends: ca-certificates, debhelper-compat (= 13), - dh-python, + dh-sequence-python3, python3-all-dev, python3-doc, python3-pycurl, python3-setuptools, - python3-sphinx, - python3-sphinx-rtd-theme, - python3-sphinxcontrib-asyncio, python3-twisted, +Build-Depends-Indep: dh-sequence-sphinxdoc, + python3-sphinx, + python3-sphinx-rtd-theme, + python3-sphinxcontrib-asyncio, Standards-Version: 4.7.0 Homepage: https://www.tornadoweb.org/ Vcs-Git: https://salsa.debian.org/python-team/packages/python-tornado.git diff -Nru python-tornado-6.5.2/debian/rules python-tornado-6.5.2/debian/rules --- python-tornado-6.5.2/debian/rules 2025-10-04 12:42:36.000000000 +0200 +++ python-tornado-6.5.2/debian/rules 2026-01-07 07:02:53.000000000 +0100 @@ -13,7 +13,7 @@ export CRYPTOGRAPHY_OPENSSL_NO_LEGACY=1 %: - dh $@ --with python3,sphinxdoc --buildsystem=pybuild + dh $@ --buildsystem=pybuild override_dh_auto_test: # unset http[s]_proxy here, since otherwise pycurl picks these variables up and tests fail

