Package: rust-hyper-rustls Version: 0.27.5-1 Severity: serious Tags: patch
Since version 0.26, upstream no longer provides an "acceptor" feature (see https://github.com/rustls/hyper-rustls/commit/e19a299b6b08c17bf8307b59b071caa7f6f5a83b ) the acceptor feature was removed from debian/control in https://salsa.debian.org/debian/rust-hyper-rustls/-/commit/31369e0d7be079ea57a8279e5ba5cb8daf1e366d but is still present in debian/tests/control, leading to the autopkgtest failing on amd64 with a "fail badpkgtest" error (the tests pass on other architectures because single feature tests are only run on amd64).
diff -Nru rust-hyper-rustls-0.27.5/debian/changelog rust-hyper-rustls-0.27.5/debian/changelog --- rust-hyper-rustls-0.27.5/debian/changelog 2025-03-21 21:48:01.000000000 +0000 +++ rust-hyper-rustls-0.27.5/debian/changelog 2025-03-22 09:25:12.000000000 +0000 @@ -1,3 +1,11 @@ +rust-hyper-rustls (0.27.5-1.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Remove autopkgtest for feature "acceptor" which no longer + exists. + + -- Peter Michael Green <plugw...@debian.org> Sat, 22 Mar 2025 09:25:12 +0000 + rust-hyper-rustls (0.27.5-1) unstable; urgency=medium [ upstream ] diff -Nru rust-hyper-rustls-0.27.5/debian/control rust-hyper-rustls-0.27.5/debian/control --- rust-hyper-rustls-0.27.5/debian/control 2025-03-21 21:28:30.000000000 +0000 +++ rust-hyper-rustls-0.27.5/debian/control 2025-03-22 09:24:48.000000000 +0000 @@ -56,6 +56,7 @@ ${misc:Depends}, Provides: librust-hyper-rustls-0-dev (= ${binary:Version}), + librust-hyper-rustls-0.27+acceptor-dev, # librust-hyper-rustls-0.27+default-dev (= ${binary:Version}), librust-hyper-rustls-0.27+http1-dev (= ${binary:Version}), librust-hyper-rustls-0.27+http2-dev (= ${binary:Version}), diff -Nru rust-hyper-rustls-0.27.5/debian/tests/control rust-hyper-rustls-0.27.5/debian/tests/control --- rust-hyper-rustls-0.27.5/debian/tests/control 2025-03-21 21:43:20.000000000 +0000 +++ rust-hyper-rustls-0.27.5/debian/tests/control 2025-03-22 09:25:12.000000000 +0000 @@ -51,23 +51,6 @@ #Restrictions: allow-stderr Test-Command: /usr/share/dh-rust/bin/cargo-auto-test hyper-rustls 0.27.5 - --all-targets --no-default-features --features acceptor -Features: test-name=rust-hyper-rustls-0.27:acceptor -Depends: - dh-rust, - librust-cfg-if-1+default-dev, - librust-http-body-util-0.1+default-dev, - librust-hyper-rustls-0.27+acceptor-dev, - librust-hyper-util-0.1+server-auto-dev, - librust-rustls-pemfile-2+default-dev, - librust-tokio-1+io-std-dev, - librust-tokio-1+macros-dev, - librust-tokio-1+net-dev, - librust-tokio-1+rt-multi-thread-dev, -Restrictions: allow-stderr -Architecture: amd64 - -Test-Command: /usr/share/dh-rust/bin/cargo-auto-test hyper-rustls 0.27.5 --all-targets --no-default-features --features http1 Features: test-name=rust-hyper-rustls-0.27:http1 Depends: