[Pkg-rust-maintainers] Bug#1110488: fails to build with feature "openssl": use of undeclared crate or module `actix_tls`
Jonas Smedegaard
dr at jones.dk
Wed Aug 6 22:09:29 BST 2025
Package: librust-actix-web-dev
Version: 4.9.0-2
Severity: grave
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Building a package with crate actix-web and feature "openssl" fails:
error[E0433]: failed to resolve: use of undeclared crate or module `actix_tls`
--> /build/atomic-data-rust-0.40.0+ds/debian/cargo_registry/actix-web-4.9.0/src/server.rs:18:5
|
18 | use actix_tls::accept::openssl::reexports::{AlpnError, SslAcceptor, SslAcceptorBuilder};
| ^^^^^^^^^ use of undeclared crate or module `actix_tls`
|
help: there is a crate or module with a similar name
|
18 | use actix_utils::accept::openssl::reexports::{AlpnError, SslAcceptor, SslAcceptorBuilder};
| ~~~~~~~~~~~
error[E0433]: failed to resolve: use of undeclared crate or module `actix_tls`
--> /build/atomic-data-rust-0.40.0+ds/debian/cargo_registry/actix-web-4.9.0/src/error/response_error.rs:68:24
|
68 | impl ResponseError for actix_tls::accept::openssl::reexports::Error {}
| ^^^^^^^^^ use of undeclared crate or module `actix_tls`
|
help: there is a crate or module with a similar name
|
68 | impl ResponseError for actix_utils::accept::openssl::reexports::Error {}
| ~~~~~~~~~~~
error[E0433]: failed to resolve: use of undeclared type `TlsAcceptorConfig`
--> /build/atomic-data-rust-0.40.0+ds/debian/cargo_registry/actix-web-4.9.0/src/server.rs:917:38
|
917 | Some(dur) => TlsAcceptorConfig::default().handshake_timeout(dur),
| ^^^^^^^^^^^^^^^^^ use of undeclared type `TlsAcceptorConfig`
error[E0433]: failed to resolve: use of undeclared type `TlsAcceptorConfig`
--> /build/atomic-data-rust-0.40.0+ds/debian/cargo_registry/actix-web-4.9.0/src/server.rs:918:33
|
918 | None => TlsAcceptorConfig::default(),
| ^^^^^^^^^^^^^^^^^ use of undeclared type `TlsAcceptorConfig`
error[E0599]: no method named `openssl_with_config` found for struct `HttpService` in the current scope
--> /build/atomic-data-rust-0.40.0+ds/debian/cargo_registry/actix-web-4.9.0/src/server.rs:924:22
|
921 | / svc.finish(map_config(fac, move |_| {
922 | | AppConfig::new(true, host.clone(), addr)
923 | | }))
924 | | .openssl_with_config(acceptor.clone(), acceptor_config)
| | -^^^^^^^^^^^^^^^^^^^ method not found in `HttpService<_, MapConfig<..., ..., ..., ...>, ...>`
| |_____________________|
|
|
= note: the full type name has been written to '/build/atomic-data-rust-0.40.0+ds/target/x86_64-unknown-linux-gnu/release/deps/actix_web-a4dd8df9eeb09368.long-type-16008183825471109381.txt'
= note: consider using `--verbose` to print the full type name to the console
Apparently the upstream declared dependency on actix-tls has been
crudely patched out.
- Jonas
-----BEGIN PGP SIGNATURE-----
wsG7BAEBCgBvBYJok8SGCRAsfDFGwaABIUcUAAAAAAAeACBzYWx0QG5vdGF0aW9u
cy5zZXF1b2lhLXBncC5vcmfBWPLddohHldnu6w4cOJT/WclWzNmj18yd85bUpxNc
XxYhBJ/j6cNmkaaf9TzGhCx8MUbBoAEhAAAW6xAAmp2ymkVCs0eh0tl+lK7/u8/U
3eXG51bzPeoqdbP5X0dlO5jmTCLb5d8F4reTqOOXxdo1NQ0dnQRp+cErPtxg7zGv
w70MxadxpVMRWPiSOq6qZWl7gOa53Nxcwn7uosf1J4lF3lkYdixEz5Jl5TYAfTVy
K1vxDbNs3vQ3JUasOoa1GSex3qdVQ8himfiPYALdBlA0OiB3qBoBohIqKuMZaVj9
siySWvf6BGccO6/rsuFdsgnCtv0qhCds2Blagtm7bn5kJeIz5GXe9wGVUoMaVzuf
gCNNVofdui9SSvJZyuF0eurOuzdVfVR1O2ygVTa2fXXiiIIy7Va7YHx8k6+FHzM8
GBDvwQVHZwJKSQoey/oV2e48yI2fNog7vdWh8q44FejKyuYRRZ3aPFE37KPydZQY
pVx4zpPiR5K50DW1ZF9qYFHBPyNWXdwCCswrKaxkJ52th/1x/hacLqIUQhVd95HV
xNwBbwiQ9heMfmY82urlHJ8tLv9UHfBt7eWBQTk/zBZ+c/vqqhm/Rf5jTQuqx8fg
2zY4T/eayCH+bSk5Re7ChyFU+rol/ZCcFg1QF4qlasC/u11p8y+7SbbY4dYZIJ5X
OPO0pfgym69FBaOo2TlO60JnKAX/yuFy2EQrTMZGbDG8VEZSnyf0ZSGHTsmK9QwN
JkBMtqIV6bBnAm6AKos=
=4gqR
-----END PGP SIGNATURE-----
More information about the Pkg-rust-maintainers
mailing list