- Package:
- sphinx-common
- Source:
- sphinx-common
- Submitter:
- Bastian Blank
- Date:
- 2026-05-25 15:51:02 UTC
- Severity:
- normal
dh_sphinxdoc generates a substvar called sphinxdoc:Built-Using, which is then used by packages to fill a Built-Using control header. This is missusing Built-Using, which is strictly only for license compliance purposes where source availability is required. This only really affects *GPL and MPL or so, but Spinx and that stuff is BSD licensed, which does not carry any related requirement. Setting Built-Using forces strict update order both in the Debian archive and in testing updates, leading to problems in other packages. Bastian
Hi Bastian! I added this in response to #836248, and since then I regret making this change, because many packages [1] started to use it without a need, prompted by dpkg’s warnings about variable being defined but not used. But I do not know what is the best escape from this situation. I thought that maybe I should scan debian/control, and generate this substitution variable only if the package is already using it, to prevent the warning for packages that don’t use it. And for packages that are already using it, maybe I should print a warning from dh_sphinxdoc itself? This approach will not work with debhelper 14’s automatic substvars, but maybe we can force people who want to continue using this variable to keep using it explicitly rather than implicitly. What do you think? Maybe you have better suggestions? [1]: https://codesearch.debian.net/search?q=sphinxdoc%3ABuilt-Using+path%3Adebian%2Fcontrol&literal=1
Hello, Bug #1136263 in sphinx reported by you has been fixed in the Git repository and is awaiting an upload. You can see the commit message below and you can check the diff of the fix at: https://salsa.debian.org/python-team/packages/sphinx/-/commit/bb3f575facae7968a4583973326831065670023e ------------------------------------------------------------------------ dh_sphinxdoc: Generate Built-Using variable only for packages already using it. And add a usage note to the man page. Closes: #1136263. ------------------------------------------------------------------------ (this message was generated automatically) -- Greetings https://bugs.debian.org/1136263
We believe that the bug you reported is fixed in the latest version of
sphinx, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 1136263@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Dmitry Shachnev <mitya57@debian.org> (supplier of updated sphinx package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Mon, 25 May 2026 18:19:00 +0300
Source: sphinx
Architecture: source
Version: 9.1.0-4
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+python@tracker.debian.org>
Changed-By: Dmitry Shachnev <mitya57@debian.org>
Closes: 1073497 1136263 1137424
Changes:
sphinx (9.1.0-4) unstable; urgency=medium
.
[ Stefano Rivera ]
* Patch: Support snowball 3.1.0.
.
[ Dmitry Shachnev ]
* Install language_data.js files for all supported languages.
* dh_sphinxdoc:
- Symlink language_data.js files (closes: #1137424).
- Remove *-stemmer.js files (closes: #1073497). Sphinx installs these
files as source for minified JS, but there is no need to ship them in
the binary packages.
- Generate ${sphinxdoc:Built-Using} variable only for packages that are
already using it, add a usage note to the man page (closes: #1136263).
Checksums-Sha1:
db4cbdd4adb02bbbda89307253e6ded2bdb88e15 3660 sphinx_9.1.0-4.dsc
10d83e5deeeaf1e6582a575f98a04534364e8311 38484 sphinx_9.1.0-4.debian.tar.xz
7fda077cba8246cab6eb40217799b94ba59a8243 7294 sphinx_9.1.0-4_source.buildinfo
Checksums-Sha256:
d89d1fa72a7416518bb6a1d71ca01ee7755ad4639deb95329f35a5c52703cc88 3660 sphinx_9.1.0-4.dsc
c0ee0eba6f3cf1e1391761541196bdd8fc7501f29173660cfdfbedb3fc3fac78 38484 sphinx_9.1.0-4.debian.tar.xz
dd889b1158e70bd9c9389a2a796d68715263dfba4c5dd81144b4712cea36c74c 7294 sphinx_9.1.0-4_source.buildinfo
Files:
8f8debc1cfcdbe99290b1bd7929df75c 3660 python optional sphinx_9.1.0-4.dsc
9c2394fdcf927cf22e31db191b170ed8 38484 python optional sphinx_9.1.0-4.debian.tar.xz
494683744f34e01c043e37a1698dba6c 7294 python optional sphinx_9.1.0-4_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJHBAEBCgAxFiEE8kKZ/xu8kBi5BqTLYCaTbS8ciuAFAmoUaTgTHG1pdHlhNTdA
ZGViaWFuLm9yZwAKCRBgJpNtLxyK4IV8EAC0uIOanRJTEqTzANy6ZXOakAxo4x6T
YtYwYreVhVw3tf220J0TsPSR0UlW3+LUahovjb2Z2AcGsN4rqg5CfhHN/XdAalo7
XFYkbILt70JjBYx+hzvYufa7V10lP9NDX1dL4nQX04h/b37BU+uV28BYr7OrMA6X
Ve3ptCLUDJbrUixLMHkmxwLFuqwAtNPaPx1DnpMmvwsHgsK8dHoR41HIgH1W0o1i
szUzhzAK2EcFkpD0gdFHJjkN65EYTLdC7mU8Ajt3JNiqVlnC0bPTdAPR83jd0en1
5fjxaZRkpueo9AjYK00OqFRP07BAssnel/33+WXzWjQAQ9+ZxseC1Wkzgq+0gVRR
OQhykEg/K6it+Jj+LXZSrps8Ec/GWvr2V57Zlm1W8F4OP/XZAP3X2tu2JJo9Tle4
H7kDbl9A3qh+o0g6S9WdjaTcL+4rQuDXgMxQtoXNz0P9OByJtLQE+ReSfpuBlPCV
azmWDyeOCffDmi2dfETxYROp6dT/x7YUh5eZ218jTbtcgXx1X3O84iWsm94y08xL
AYIbYV//XKd4jm8x+r5WgN1d0CTiDhThEnI8lICCTt+HBYwF3v4SYW5e/+oc1a5m
boeBA7dqM3G/9dxnnYhjzOcV8vRlUxsiCbxlIC35eeb15GLYT3s06jY9m2lMLq7+
FWwhyRL+PSifzw==
=pEyy
-----END PGP SIGNATURE-----