Article View: linux.debian.bugs.dist
Article #1881Bug#1140736: Built-Using: ${sphinxdoc:Built-Using} not automatically resolved in compat 14
From: Dmitry Shachnev
Date: Fri, 23 Oct 2026 20:40
Date: Fri, 23 Oct 2026 20:40
93 lines
6966 bytes
6966 bytes
--0V3deBrrktJNAYLF
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Hi all,
Sorry, I did not get this email in my inbox, probably due to the way how BTS
handles reassigns. So I found it only now while looking for other Sphinx bu=
gs.
On Thu, Jun 25, 2026 at 06:34:01PM +0200, Niels Thykier wrote:
> Hi,
>=20
> The `dh_sphinxdoc` has code that conditionally emits `sphinxdoc:Built-Usi=
ng`
> based on whether it is present in `d/control`. See
> https://salsa.debian.org/python-team/packages/sphinx/-/blob/debian/master=
/debian/dh-sphinxdoc/dh_sphinxdoc#L552
>=20
> This is certainly not an optimal interaction (between the compat 14 featu=
re
> and this conditional substvar). But I cannot make a judgement call on when
> `sphinxdoc:Built-Using` should be emitted. Though, I suspect #1136263 is =
the
> cause (it links to the commit that made the substvar conditional).
Absolutely, #1136263 is the reason.
I believe ${sphinx-doc:Built-Using} was a bad idea. It was meant to be used=
in
rare occasions, but debhelper prints a warning when a substitution variable=
is
defined but not used, so a lot of packages started to use it without a real
need. And it created unnecessary coupling in the testing migration process:
Britney does not allow a package built with a new Sphinx version migrate
before Sphinx itself.
And debhelper 14 was one of the reasons for this change: if I did not do it,
debhelper would add this field automatically, even to the packages that did
not use it before.
I definitely want this field to be opt-in, and I don't want debhelper to wa=
rn
when it's not used. Doko even suggested to me that I do MBF for all packages
using it currently.
> Perhaps, it can use `Static-Built-Using` instead and then packages that n=
eed
> it for licensing can promote it to `Built-Using` (via `Built-Using:
> ${sphinxdoc:Static-Built-Using}`)?
This is an interesting idea. If that field does not affect testing migratio=
n,
then it's a better choice than normal Built-Using. However, it is not
documented in the Policy, and its name suggests that it's intended for
statically linked binaries, which Sphinx has little to do with.
And before I do that, I want to know whether we still need this field at al=
l,
and where does the requirement for it come from.
I am CCing Sean Whitton, who requested this field originally in #836248.
Dear Sean, do you know if the reasons for needing this field still stay? If
yes, do they apply to all packages, or just packages with a specific licens=
e?
And will Static-Built-Using field be enough?
--
Dmitry Shachnev
--0V3deBrrktJNAYLF
Content-Type: application/pgp-signature; name=signature.asc
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEE8kKZ/xu8kBi5BqTLYCaTbS8ciuAFAmrbw7QACgkQYCaTbS8c
iuA2TBAAhuxnQ38mrvTzPrCRXW3gZmZGXjW71/kDShr+TjGJRQPZ/Vv/tjNANX2b
QtFG9+3jjbZHWCB3ayRmHpaceO41XJ99volkRTHDZzB4BqlSGb7Y3ZvGmdL2hXXc
zprImt3Eo1Z6LhsMH6NvReWUGQSMVtrVaXxUOodt3ZJyrIOYEAX8DqVoIXgvKKvm
7ZH47jN5W1eYUYgz/qQ+7wvO37gI97ZqG/TsKrRwsd6jXKZY0owNdR291VRI3tHa
NSzIVsFLV7ojDYXVgHBWqzworkS8sR62BmAR7QqBoDyb4IZbNtyGBxf/m3SmuDON
Na8K4fpHxSQIxXTdDC+La6mAJCQRQ4egIV7gMRXqts2zR4G8dAYYwrMOvRQJ5Itb
K09iGZHVboWXDaresKPXXS3lqodb9VWWs7i63hkpJgAp2kErW+nvTNRlWcum63mz
7nf0CMd5E/xJMxwfRaNtYRdJGSm8n+V4p89FuA4F2auYhdQNbmC8DeE8Rd+zhiZg
q7zczBasB2iMYcVrWRBNunAdV620ytVevZLCsk4u6LCnSSBkNE1VIpi9eFls1Nl4
kwxb5wRz1ksQHYaZcmqUb5Iyfxjkx5iiKjt+AaYViSmQSV67cEf+xzH/xo6mkJAz
41Hst+xQBecblciw4v1eCLuCGiF0af2kg0UmXVJMLdiDzMx5A78=
=qBJk
-----END PGP SIGNATURE-----
--0V3deBrrktJNAYLF--
Technical Details
Message-ID:
<NRuds-7sI3-47@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!3.eu.feeder.erje.net!feeder.erje.net!usenet.goja.nl.eu.org!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomodReferences:
<N9QhH-JSH-1@gated-at.bofh.it> <N9QhH-JSH-1@gated-at.bofh.it> <NRuds-7sI3-49@gated-at.bofh.it> <N9QhH-JSH-1@gated-at.bofh.it> <NRuds-7sI3-49@gated-at.bofh.it>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!3.eu.feeder.erje.net!feeder.erje.net!usenet.goja.nl.eu.org!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: Dmitry Shachnev <mitya57@debian.org>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1140736: Built-Using: ${sphinxdoc:Built-Using} not automatically resolved in compat 14
Date: Fri, 23 Oct 2026 22:40:02 +0200
Message-ID: <NRuds-7sI3-47@gated-at.bofh.it>
References: <N9QhH-JSH-1@gated-at.bofh.it> <N9QhH-JSH-1@gated-at.bofh.it> <NRuds-7sI3-49@gated-at.bofh.it> <N9QhH-JSH-1@gated-at.bofh.it> <NRuds-7sI3-49@gated-at.bofh.it>
X-Original-To: Niels Thykier <niels@thykier.net>, 1140736@bugs.debian.org
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Fri Oct 23 20:31:08 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.9
Reply-To: Dmitry Shachnev <mitya57@debian.org>, 1140736@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: team+python@tracker.debian.org
X-Debian-Pr-Message: followup 1140736
X-Debian-Pr-Package: sphinx
X-Debian-Pr-Source: sphinx
X-Forwarded-Encrypted: i=1; AKwUvBz3d698LOhiT4IiSYxleANvu6811DiJ5aTLX5/2IVLb9IBT2vsENj+qlKmJ4p3Iu9NYT0WMM1/Y@bugs.debian.org
X-Gm-Message-State: AFq9FYITDZi2yNJXVC8XRHBwQS9u/Dd/Dwjwxl2LPH02LSwLhggrQMAv
T/NsMxpqO34oAHa694e0gBsD3m9rx8DCeQaRkGven9ZtXZHv5PAkPJTQ
X-Gm-Gg: AYBFou0JF4CToK8lOyPUJ8rrHlxqFS/pSEs2n3MtEKpVfOXV9vb3Gp8ecRyFzj8ekAn
Dg6jzW9CHNxfAZAx8VKUBH9jGVAe+2/YX8fPoKRWBHiixA0nKZ5E/kZfFY5/2z66yMVouWS8Z5t
+A7efYIeqA85EcYYVVlB8NoGQxq6m6DGaNNqt84gfTogz0pD+MvJ/OhqXurkR8Pe8O/GMhkk9vR
Qd2uCNf78bH5WDJsxSk3ZdF4gaW1PG7y/xkSvDE56k1swMT6HxFqfzFrPEZknRxTlRyHqBVWBcs
C441xnsh8R1sNqZ6YLJ6o84HQ4c4U7FS0ukKiNNvE59VufCuuzhyokePxbsIwqWVS/i4wpDqOdh
W1SGkBLTOBIM2eSi+Z3LD/cNqNHCXY751UMvtQMzshplmvOhm8k2rJnifV1g2PILvEenRlYlKxK
aWcstZ3Azv3aMdF079ZAn2HxKhrS5/gYzQYq60jOBeJVvXjeVL4SWHotEUqTnbpf6IG3vu/J9lX
4papp2acGvaLF8C2EFn/9uN6HF+C6t63OagBq7aqYIacRdbt2HZ5G+EX4P6SBpIYL51ELJpb7S7
mn/dQoY5
X-Received: by 2002:a05:6512:3501:b0:5be:625e:4ad1 with SMTP id 2adb3069b0e04-5bfb71da5femr73176e87.38.1792787396443;
Fri, 23 Oct 2026 13:29:56 -0700 (PDT)
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha512;
protocol="application/pgp-signature"; boundary="0V3deBrrktJNAYLF"
Content-Disposition: inline
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/1998451
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 93
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Cc: Michael Biebl <biebl@debian.org>,
Sean Whitton <spwhitton@spwhitton.name>
X-Original-Date: Fri, 23 Oct 2026 23:29:45 +0300
X-Original-Message-ID: <atvDtBO2rgQVPhMS@mitya57.me>
X-Original-References: <178238626980.145633.14579818209509055107.reportbug@mars> <178238626980.145633.14579818209509055107.reportbug@mars> <3fc01e90-2e9f-494f-b9e5-08d30a55b308@thykier.net> <178238626980.145633.14579818209509055107.reportbug@mars> <3fc01e90-2e9f-494f-b9e5-08d30a55b308@thykier.net>