[Pkg-rust-maintainers] Bug#1056598: librust-trust-dns-resolver-dev: impossible to build with feature dns-over-https-rustls
Jonas Smedegaard
dr at jones.dk
Thu Nov 23 18:27:42 GMT 2023
Package: librust-trust-dns-resolver-dev
Version: 0.22.0-3
Severity: important
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Building with feature "dns-over-https-rustls" fails like this:
error[E0433]: failed to resolve: use of undeclared crate or module `rustls_native_certs`
--> /build/sccache-0.7.3/debian/cargo_registry/trust-dns-resolver-0.22.0/src/tls/dns_over_rustls.rs:31:21
|
31 | for cert in rustls_native_certs::load_native_certs().expect("could not load platform certs") {
| ^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `rustls_native_certs`
For more information about this error, try `rustc --explain E0433`.
error: could not compile `trust-dns-resolver` due to previous error
The package contains patch use-native-certs.patch which changes feature
"dns-over-rustls" to stop trigger feature (and implicit package
dependency) "webpki-roots".
When not simply removing that, but instead triggering feature/crate
"rustls-native-certs", the build succeeds.
Please adjust the patch accordingly.
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEn+Ppw2aRpp/1PMaELHwxRsGgASEFAmVfmZsACgkQLHwxRsGg
ASEazhAArEahifiW09+ZyjgV4Zn7FOJLS0hgatbKv724mtszJ5W2SMm6BqzO4aM5
mNmAvU6WaA5BTzDu5resNt8P6BQ+9gAnE6qeiFyvIJz8g7CdYVeXXxnXR0Gw9Uqt
UYGBCKzKgC0tzgXsT/259hKswWL0myTY/KM9y+JPdnEf0ycLLj/utRn4XqLMcYQz
CCjU+g8lsIgjCYi3lz+QAV9+A45f8NJrz+kYkg5l3dLNLLunKYiV+uCq2YwtL4s2
nR/Zxoj3uodY06axhX3LRyEXWQGDZzy2RMmo5RXhUkKHaUHCLFrW/S2PeuX3w5pK
hg/Bt26JsEk1smRvi4Kw2RaNBio7BgONfv+5if9qM5m83Q/ifOQiJcDEY5kItnAN
T/RsE/1rYPl1Rm8YxBxp59NVJqZJXZl8rMgJZUV7whG+0MWeLIr4AbpXyNC/B/Jk
u7JtbTOHP1fBTekMcCWorcUMLIGaiEoNfGbyz0zaEx2GFL8mm3mUPZeM8OmNFVIz
/ROv0Gs4TxQ/99+EN9JiBJBzrMpOsYFBxWy/ZMJ0MRE9uPRhcC24QrIF3Akb32LB
4qNBYGcsybaaSDv140BOMPMPa+HDr9yc4CTW4AdiN5JhE02n4Ll+aDPKuGnxGf6T
Rq+1nDUuLybt0Sa1dJ2JrGN6EWdckJPzx+rvnRUiQPGzoH4jHTg=
=HRXm
-----END PGP SIGNATURE-----
More information about the Pkg-rust-maintainers
mailing list