Quoting Jonas Smedegaard (2025-08-06 23:09:29)
> 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.
Ping...
--
* 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 privateAttachment:
signature.asc
Description: signature