Thread View: linux.debian.bugs.dist
1 messages
1 total messages
Started by Dmitry Shachnev
Fri, 23 Oct 2026 20:40
Bug#1140736: Built-Using: ${sphinxdoc:Built-Using} not automatically resolved in compat 14
Author: 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--
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads