#1110488 fails to build with feature "openssl": use of undeclared crate or module `actix_tls`

Package:
librust-actix-web-dev
Source:
librust-actix-web-dev
Description:
Actix Web is a powerful, pragmatic, and extremely fast web framework for Rust - Rust source code
Submitter:
Jonas Smedegaard
Date:
2025-10-08 20:07:01 UTC
Severity:
normal
#1110488#5
Date:
2025-08-06 21:09:29 UTC
From:
To:
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-----

#1110488#10
Date:
2025-10-07 20:29:21 UTC
From:
To:
Quoting Jonas Smedegaard (2025-08-06 23:09:29)

Ping...

#1110488#15
Date:
2025-10-07 20:52:19 UTC
From:
To:
The simplest way to solve this is to get rust-actix-tls into Debian.
rust-actix-tls is in the NEW queue.

Thank you,
Jeremy Bícha

#1110488#20
Date:
2025-10-08 07:37:22 UTC
From:
To:
indeed. also pinging an issue which one has pinged 4 days ago
seems a bit impatient, re #1110490.

#1110488#25
Date:
2025-10-08 17:01:59 UTC
From:
To:
Quoting Holger Levsen (2025-10-08 09:37:22)

It pleases me to learn that someone reads my bugreports.
Even more that someone responds to them - after a few months of
lingering silently.

Sorry that I disturbed that bliss of silence by posting twice for an
issue which was sloppily filed twice because I failed to do the proper
deeper investigation of triangulating the relationships between multiple
fatally broken packages and reducing my super annoying noisy postings to
the minimal possible.

Have a pleasant rest of the day, dear fellow developer and bugreader.

 - Jonas

#1110488#30
Date:
2025-10-08 17:50:17 UTC
From:
To:
[...]

this pointless email did not help to achieve that, as I rather
found it passive-aggressive.

#1110488#35
Date:
2025-10-08 20:06:05 UTC
From:
To:
Quoting Holger Levsen (2025-10-08 19:50:17)

What do you find that your own emails contributed to?

 - Jonas