Thread View: linux.debian.bugs.dist
6 messages
6 total messages
Started by kpcyrd
Sun, 11 Oct 2026 11:30
Bug#1150612: rust-rustls: Missing librust-rustls-0.23+default-dev provide
Author: kpcyrd
Date: Sun, 11 Oct 2026 11:30
Date: Sun, 11 Oct 2026 11:30
72 lines
4380 bytes
4380 bytes
Package: rust-rustls
Version: 0.23.45+ds-1
X-Debbugs-Cc: <debian-rust@lists.debian.org>
Severity: important
Hello!
I'm trying to update rust-minreq, so we can eventually get rid of rustls-0.21
(due to[1][2][3], as far as I can tell this debian-rust team package is
currently the only reason rustls-0.21 is still needed).
[1]: https://rustsec.debian.net/advisories/RUSTSEC-2026-0098.html
[2]: https://rustsec.debian.net/advisories/RUSTSEC-2026-0099.html
[3]: https://rustsec.debian.net/advisories/RUSTSEC-2026-0104.html
When building, I get the following error:
```
E: Unable to satisfy dependencies. Reached two conflicting assignments:
1. librust-minreq-dev:amd64=3.0.0-1 is selected for install because:
1. satisfy:command-line:amd64=1 is selected for install
2. satisfy:command-line:amd64 Depends librust-minreq-dev
3. librust-minreq-dev:amd64 is available in versions 3.0.0-1, 2.13.4-4+b1
[selected librust-minreq-dev:amd64]
For context, additional choices that could not be installed:
* In librust-minreq-dev:amd64 is available in versions 3.0.0-1, 2.13.4-4+b1:
- librust-minreq-dev:amd64=2.13.4-4+b1 is not selected for install
2. librust-minreq-dev:amd64=3.0.0-1 Depends librust-rustls-0.23+default-dev
(>= 0.23.35)
but none of the choices are installable:
[no choices]
librust-minreq-dev:https FAIL badpkg
```
I could verify `librust-rustls-0.23+default-dev` is indeed not available:
```
$ apt install -s librust-rustls-0.23+default-dev
NOTE: This is only a simulation!
apt needs root privileges for real execution.
Keep also in mind that locking is deactivated,
so don't depend on the relevance to the real current situation!
Error: Unable to locate package librust-rustls-0.23+default-dev
Error: Couldn't find any package by glob 'librust-rustls-0.23+default-dev'
```
With the +default suffix removed it's installable however:
```
$ apt install -s librust-rustls-0.23-dev
NOTE: This is only a simulation!
apt needs root privileges for real execution.
Keep also in mind that locking is deactivated,
so don't depend on the relevance to the real current situation!
Note, selecting 'librust-rustls-dev' instead of 'librust-rustls-0.23-dev'
Installing:
librust-rustls-dev
Installing dependencies:
librust-aho-corasick-dev librust-equivalent-dev
librust-serde-derive-dev
librust-alloc-no-stdlib-dev librust-erased-serde-dev
librust-serde-dev
[...]
```
Please add a +default provides so dependency resolution works for crates that
depend on rustls with default features, and no other feature enabled.
Thank you! :)
Bug#1150612: rust-rustls: Missing librust-rustls-0.23+default-dev provide
Author: Jonas Smedegaard
Date: Sun, 11 Oct 2026 12:00
Date: Sun, 11 Oct 2026 12:00
55 lines
3963 bytes
3963 bytes
--===============1393421940870310452== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Quoting kpcyrd (2026-10-11 13:25:09) =20 > Please add a +default provides so dependency resolution works for > crates that depend on rustls with default features, and no other > feature enabled. It is true that the Debian packaging of rustls does not provide the "default" feature. I will be happy to offer that feature when in fact it is available. I will not, however, claim it being available before it truly is, in the contained crate. If your package succeeds with a fake declaration, then please consider adjusting your package, as that is proof that your package does not, in fact, require "default" from rustls. - Jonas --=20 * Jonas Smedegaard - idealist & Internet-arkitekt * Tlf.: +45 40843136 Website: http://dr.jones.dk/ * Sponsorship: https://ko-fi.com/drjones [x] quote me freely [ ] ask before reusing [ ] keep private --===============1393421940870310452== MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Description: signature Content-Type: application/pgp-signature; name="signature.asc"; charset="us-ascii" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEn+Ppw2aRpp/1PMaELHwxRsGgASEFAmrLeVQACgkQLHwxRsGg ASG4LQ//S70wwSpSz8cRsX3j7IHkbvL4b6P3YknM5I0O7zLwU6/thrXGb5Als+Zq 3E+wRroR0AP7mSMS0he+WY0K7e8oecqB0sjvJ5RI85QD6Dzpka3GeJJs+wLmGbwx LOxkMZjERggAUUK0eiuu410DC2x1fAIWjijQKjqZJDYk3h3ghfcKiaUkVYp9GLq+ i/pxAKQpCvTJ6QGDgyS8ehTrrKrj/iJPS8llVaRn+5kgF1RVbbIWE4okAsv1ORu5 2PupmdnZwIYOlB3W2vpgrmUG0FVsJAuGGAn+xmUaAHmpYHv2k5LGyfZ/lBhumpMH U4m5xptpk72r7W3u789wmCGuvh/Qc1Ys7rQ+fl6xuaiBlfnWJf9m+uKEgjijTa5m PQYwBDSi+B6nG+DxdxdF9XZRIV282drOOMyEAtzywdu9ObEBUAA/y0nLeVTQtBpN XGP5ocxQexNFZ2mk1mrCbzSGFBrOnXNMC8h5mWUr4pOYPHASUMkuGVkPUZI2BDMP 44HnFX9SpO10sKPUxpWabktsT2pkoXMn+t0IIZcUVO42XuPzMX5o/vRZYkycMMeu +zEq8arAf/nTVbUEt2yD8yKYzUhVg6RL13QRD2UE1z6GJULXUyUqmFZXH2PxNq4m ZKNnVQqk8R49A9NOkUSzE4Q7IqGfIlGWvQTE4fPcwgEvY7+YxEo= =rc4t -----END PGP SIGNATURE----- --===============1393421940870310452==--
Bug#1150612: rust-rustls: Missing librust-rustls-0.23+default-dev provide
Author: kpcyrd
Date: Sun, 11 Oct 2026 16:00
Date: Sun, 11 Oct 2026 16:00
55 lines
4274 bytes
4274 bytes
On 10/11/26 1:56 PM, Jonas Smedegaard wrote:
> Quoting kpcyrd (2026-10-11 13:25:09)
>
>> Please add a +default provides so dependency resolution works for
>> crates that depend on rustls with default features, and no other
>> feature enabled.
>
> It is true that the Debian packaging of rustls does not provide the
> "default" feature.
>
> I will be happy to offer that feature when in fact it is available.
I'm not sure I understand, depending on rustls with default features is
perfectly valid:
cargo new test123 && cd test123 && echo 'rustls = "0.23"' >> Cargo.toml && cargo
build
> I will not, however, claim it being available before it truly is, in
> the contained crate.
>
> If your package succeeds with a fake declaration, then please consider
> adjusting your package, as that is proof that your package does not, in
> fact, require "default" from rustls.
I've tried to work around this by turning on a feature, but this doesn't turn
off the `default` feature dependency:
```
Depends:
${misc:Depends},
librust-base64-0.22+default-dev,
librust-log-0.4+default-dev,
librust-native-tls-0.2+default-dev,
librust-openssl-0.10+default-dev (>= 0.10.29),
librust-openssl-0.10+vendored-dev (>= 0.10.29),
librust-openssl-probe-0.2+default-dev,
librust-punycode-0.4+default-dev (>= 0.4.1),
librust-rustls-0.23+default-dev (>= 0.23.35),
librust-rustls-0.23+ring-dev (>= 0.23.35),
librust-rustls-platform-verifier-0.6+default-dev (>= 0.6.2),
librust-serde-1+default-dev (>= 1.0.101),
librust-serde-json-1+default-dev,
librust-urlencoding-2+default-dev (>= 2.1.0)
```
The default feature set is always available in Rust and always enabled unless
`default-features = false` is added:
https://doc.rust-lang.org/cargo/reference/features.html#the-default-feature
You are allowed to make opinionated choices like "the default feature set should
use the ring feature instead of the aws-lc-sys feature", that would be better
than making every package patch in `default-features = false` and come up with
their own sensible list of rustls default features.
Bug#1150612: rust-rustls: Missing librust-rustls-0.23+default-dev provide
Author: Jonas Smedegaard
Date: Sun, 11 Oct 2026 16:20
Date: Sun, 11 Oct 2026 16:20
108 lines
6279 bytes
6279 bytes
--===============7617462550106237178==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Quoting kpcyrd (2026-10-11 17:57:42)
> On 10/11/26 1:56 PM, Jonas Smedegaard wrote:
> > Quoting kpcyrd (2026-10-11 13:25:09)
> > =20
> >> Please add a +default provides so dependency resolution works for
> >> crates that depend on rustls with default features, and no other
> >> feature enabled.
> >=20
> > It is true that the Debian packaging of rustls does not provide the
> > "default" feature.
> >=20
> > I will be happy to offer that feature when in fact it is available.
>=20
> I'm not sure I understand, depending on rustls with default features is=20
> perfectly valid:
>=20
> cargo new test123 && cd test123 && echo 'rustls =3D "0.23"' >> Cargo.toml=
&& cargo=20
> build
>=20
> > I will not, however, claim it being available before it truly is, in
> > the contained crate.
> >=20
> > If your package succeeds with a fake declaration, then please consider
> > adjusting your package, as that is proof that your package does not, in
> > fact, require "default" from rustls.
>=20
> I've tried to work around this by turning on a feature, but this doesn't =
turn=20
> off the `default` feature dependency:
>=20
> ```
> Depends:
> ${misc:Depends},
> librust-base64-0.22+default-dev,
> librust-log-0.4+default-dev,
> librust-native-tls-0.2+default-dev,
> librust-openssl-0.10+default-dev (>=3D 0.10.29),
> librust-openssl-0.10+vendored-dev (>=3D 0.10.29),
> librust-openssl-probe-0.2+default-dev,
> librust-punycode-0.4+default-dev (>=3D 0.4.1),
> librust-rustls-0.23+default-dev (>=3D 0.23.35),
> librust-rustls-0.23+ring-dev (>=3D 0.23.35),
> librust-rustls-platform-verifier-0.6+default-dev (>=3D 0.6.2),
> librust-serde-1+default-dev (>=3D 1.0.101),
> librust-serde-json-1+default-dev,
> librust-urlencoding-2+default-dev (>=3D 2.1.0)
> ```
>=20
> The default feature set is always available in Rust and always enabled un=
less=20
> `default-features =3D false` is added:
>=20
> https://doc.rust-lang.org/cargo/reference/features.html#the-default-featu=
re
>=20
> You are allowed to make opinionated choices like "the default feature set=
should=20
> use the ring feature instead of the aws-lc-sys feature", that would be be=
tter=20
> than making every package patch in `default-features =3D false` and come =
up with=20
> their own sensible list of rustls default features.
I agree that I am allowed to deviate from upstream, but disagree that
it is sensible - I would consider that a fork, which I am not willing
to maintain:
If I patch rustls to use ring by default, then any downstream consumer
of rustls that expects aws-lc-sys to be in use will fail.
- Jonas
--=20
* Jonas Smedegaard - idealist & Internet-arkitekt
* Tlf.: +45 40843136 Website: http://dr.jones.dk/
* Sponsorship: https://ko-fi.com/drjones
[x] quote me freely [ ] ask before reusing [ ] keep private
--===============7617462550106237178==
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Description: signature
Content-Type: application/pgp-signature; name="signature.asc"; charset="us-ascii"
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEEn+Ppw2aRpp/1PMaELHwxRsGgASEFAmrLtOcACgkQLHwxRsGg
ASENWw/+KFuJFJGsR1P48tw2UdUfIZJ7f8/FR6NZbV+qBg05bWyVqvJM2nn7svVx
PVTf3C5l8/8VLv1J0HFIxEaOV9vNktbbqK1NsDrpMaG2HePdfU1f5rgC74fzZZKg
4Stc/HieArU+6g/jj55HQ3M6m1K/DOPNEJ5fswaQkW3otnwOpOc/7GkR11ldLR8l
2Q0jLqAPMaj+IT2hA23G+azdw+YyOgAqBYbCDHNPCKZlSTcWEJdTtDPQpdOKa4kN
UOxC2Y9rBL2yFMBukmvdb6+yesyi3pfJWfXQME6XcFOTAQuHm7cRBnXwmAAsgW9L
Sh1ZiZDizpXy20zs1UaLHoPxxmZ5Eo7Dfxi/0QVXr6oHzcZW1gBn+yV5qswY6QHa
M1AoBhhe5lshhoVI4YlAD8N366xcJBPQ7UzViE4Ow48sVIzoPm8Gs+dSPgDP7b67
kZF6Cw1whXk32AgFwG47EgzLMK0yGP6LBSor5KVbEsLMOsi9+Zt+XBDXXwOiL21P
58g6vamL07Ucp9Alkx17KSip0bGSU9o48COE9gkW0TtXQxWD7pSur2o/AEh9D3PG
f7R5vYr6g/dJlEzgylTyHX/rSNqfDOGKDs/1+rXFZwSIqQiS9IQR7iSGcendy8P2
fUYGBAp1SHJHpA+5m18hKGqbXGR1tyUS+KTsp5Q/ixfCS9eFn0k=
=I8IO
-----END PGP SIGNATURE-----
--===============7617462550106237178==--
Bug#1150612: rust-rustls: Missing librust-rustls-0.23+default-dev provide
Author: kpcyrd
Date: Sun, 11 Oct 2026 16:30
Date: Sun, 11 Oct 2026 16:30
11 lines
2919 bytes
2919 bytes
On 10/11/26 6:10 PM, Jonas Smedegaard wrote: > I agree that I am allowed to deviate from upstream, but disagree that > it is sensible - I would consider that a fork, which I am not willing > to maintain: > > If I patch rustls to use ring by default, then any downstream consumer > of rustls that expects aws-lc-sys to be in use will fail. It's a fork either way, but removing a supposedly always-available default feature breaks 100% of downstream consumers, while ring vs aws-lc-sys is some internal implementation detail. :)
Bug#1150612: rust-rustls: Missing librust-rustls-0.23+default-dev provide
Author: Jonas Smedegaard
Date: Sun, 11 Oct 2026 19:10
Date: Sun, 11 Oct 2026 19:10
54 lines
4424 bytes
4424 bytes
--===============1637248420972347484== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Quoting kpcyrd (2026-10-11 18:19:36) > On 10/11/26 6:10 PM, Jonas Smedegaard wrote: > > I agree that I am allowed to deviate from upstream, but disagree that > > it is sensible - I would consider that a fork, which I am not willing > > to maintain: > >=20 > > If I patch rustls to use ring by default, then any downstream consumer > > of rustls that expects aws-lc-sys to be in use will fail. >=20 > It's a fork either way, but removing a supposedly always-available defaul= t=20 > feature breaks 100% of downstream consumers, while ring vs aws-lc-sys is = some=20 > internal implementation detail. :) Agreed, it is a fork either way. - Jonas --=20 * Jonas Smedegaard - idealist & Internet-arkitekt * Tlf.: +45 40843136 Website: http://dr.jones.dk/ * Sponsorship: https://ko-fi.com/drjones [x] quote me freely [ ] ask before reusing [ ] keep private --===============1637248420972347484== MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Description: signature Content-Type: application/pgp-signature; name="signature.asc"; charset="us-ascii" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEn+Ppw2aRpp/1PMaELHwxRsGgASEFAmrL3gMACgkQLHwxRsGg ASEK2g//TOGfFmeOQwsPs7U5mGaZWCs54cxyxLOrSK/3hEw70eYnx4RBGdzGGceC iIuzZI94Rqej4OFGDah/aEUC60zaK5WKl5IvwQbpuzKU+IhyJ/uHLvRAsBtPWVr0 tt+2vVnIV1djDz9qQV1kRt4SH8nuwwXW3keVFBxEbc1p0kibN9SqM4I9X1mTW33L t4e7z6VF7TIm9znjE8aaMIbsdYOoB+ATuW7IhJdGacgjHX9qIeke/Mnc5pdxeGKX g5EEY4q9oEFP1hCA7hlYNOUTenQzDVKWFu5xC7/MAb48+fCdGCe3Ce2rh2CEBK7g AZnz3x4h9Otgb3WrByrUZtQqiJ9h8yO39DGCQFva66iDHKpvGoh+JHEM6HmoMxS2 dgb0aPVJ9cImvtda6ezYoIwuWzV9bgsqsTIlNiOb5JyBtIFVkksd7BaXExIrcFhQ YmGNl1XJ8SPyOo+vBg/GhQp6S/VciMAJul9w9JoKxi3tBDAAecy2CQFVCIHGCPm8 um79ps9VqWeyk3DC4OViO1v5qmPDPx7M3brZt85+jdOwFWgScN3lfyginxPH2o6n DDV1/9b0hqTP5fn5bI6T4HKG4zkXRVephXViAf5hr83l7pN8D8mV5WyXyzDXNsUh QgCxUy0EIKTlAgYEJJgnTlMIZ3g1x3ZWmckGVpy24iqKfLeBJFI= =LfTz -----END PGP SIGNATURE----- --===============1637248420972347484==--
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