Your message dated Fri, 15 Dec 2023 21:06:14 +0000
with message-id <e1refnu-008uym...@fasolo.debian.org>
and subject line Bug#1058074: fixed in rust-hyper-rustls 0.24.2-2
has caused the Debian Bug report #1058074,
regarding rust-hyper-rustls - autopkgtest failure
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
1058074: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1058074
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: rust-hyper-rustls
Version: 0.24.2-1
Severity: serious
Tags: patch

The autopkgtest for rust-hyper-rustls is failing, because the code in
test_alpn_http2 requires a runtime, but the feature requirements for
the test do not specify one.

A debdiff fixing this is attatched.
diff -Nru rust-hyper-rustls-0.24.2/debian/changelog 
rust-hyper-rustls-0.24.2/debian/changelog
--- rust-hyper-rustls-0.24.2/debian/changelog   2023-12-02 20:25:28.000000000 
+0000
+++ rust-hyper-rustls-0.24.2/debian/changelog   2023-12-12 01:18:39.000000000 
+0000
@@ -1,3 +1,11 @@
+rust-hyper-rustls (0.24.2-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix feature requirements for test_alpn_http to prevent autopkgtest
+    failure.
+
+ -- Peter Michael Green <plugw...@debian.org>  Tue, 12 Dec 2023 01:18:39 +0000
+
 rust-hyper-rustls (0.24.2-1) unstable; urgency=medium
 
   * unfuzz patches
diff -Nru 
rust-hyper-rustls-0.24.2/debian/patches/1002_test-requires-runtime.patch 
rust-hyper-rustls-0.24.2/debian/patches/1002_test-requires-runtime.patch
--- rust-hyper-rustls-0.24.2/debian/patches/1002_test-requires-runtime.patch    
1970-01-01 00:00:00.000000000 +0000
+++ rust-hyper-rustls-0.24.2/debian/patches/1002_test-requires-runtime.patch    
2023-12-12 01:18:17.000000000 +0000
@@ -0,0 +1,20 @@
+Description: tests_alpn_http2 fails to build if no runtime is enabled
+ Add feature guards so it doesn't cause autopkgtest failure.
+Author: Peter Michael Green <plugw...@debian.org>
+Last-Update: 2023-12-12
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+
+Index: rust-hyper-rustls-0.24.2/src/connector/builder.rs
+===================================================================
+--- rust-hyper-rustls-0.24.2.orig/src/connector/builder.rs
++++ rust-hyper-rustls-0.24.2/src/connector/builder.rs
+@@ -353,7 +353,7 @@ mod tests {
+     }
+ 
+     #[test]
+-    #[cfg(all(not(feature = "http1"), feature = "http2"))]
++    #[cfg(all(not(feature = "http1"), feature = "http2", any(feature = 
"native-tokio", feature = "tokio-runtime")))]
+     fn test_alpn_http2() {
+         let roots = rustls::RootCertStore::empty();
+         let tls_config = rustls::ClientConfig::builder()
diff -Nru rust-hyper-rustls-0.24.2/debian/patches/series 
rust-hyper-rustls-0.24.2/debian/patches/series
--- rust-hyper-rustls-0.24.2/debian/patches/series      2022-12-06 
11:57:28.000000000 +0000
+++ rust-hyper-rustls-0.24.2/debian/patches/series      2023-12-12 
01:16:36.000000000 +0000
@@ -1,3 +1,4 @@
 1001_http1.patch
+1002_test-requires-runtime.patch
 2001_webpki-roots.patch
 2004_tests_broken.patch

--- End Message ---
--- Begin Message ---
Source: rust-hyper-rustls
Source-Version: 0.24.2-2
Done: Jonas Smedegaard <d...@jones.dk>

We believe that the bug you reported is fixed in the latest version of
rust-hyper-rustls, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1058...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Jonas Smedegaard <d...@jones.dk> (supplier of updated rust-hyper-rustls package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Fri, 15 Dec 2023 21:50:56 +0100
Source: rust-hyper-rustls
Architecture: source
Version: 0.24.2-2
Distribution: unstable
Urgency: medium
Maintainer: Jonas Smedegaard <d...@jones.dk>
Changed-By: Jonas Smedegaard <d...@jones.dk>
Closes: 1058074
Changes:
 rust-hyper-rustls (0.24.2-2) unstable; urgency=medium
 .
   * add patch 1002 to add feature guards ensuring runtime is available;
     closes: bug#1058074, thanks to Peter Green
Checksums-Sha1:
 68c68969bcad730d3420e4c02c31d9d423939744 3626 rust-hyper-rustls_0.24.2-2.dsc
 79aa9e6f8784ebc448e0e235b2e6391c4b775223 13928 
rust-hyper-rustls_0.24.2-2.debian.tar.xz
 a93193a75f6d3643e3c2dab18f81a91a8ed79456 13207 
rust-hyper-rustls_0.24.2-2_amd64.buildinfo
Checksums-Sha256:
 d49792263670624736959fb5aee20dd793381d8f8ff4091bb4f275f61127a6e1 3626 
rust-hyper-rustls_0.24.2-2.dsc
 9901d9b05594e4ab94b938791cfa49a2b3f1ab3181f0b3d05c69f5708308f875 13928 
rust-hyper-rustls_0.24.2-2.debian.tar.xz
 e1cf4f33ae882f76a3289b0e72cea68da55c540a245487fec98bf7c559a597fb 13207 
rust-hyper-rustls_0.24.2-2_amd64.buildinfo
Files:
 9a22f21bed2e94759707c58d1f5fa5be 3626 rust optional 
rust-hyper-rustls_0.24.2-2.dsc
 9bb98fcce6eae4fc4f09023372268c28 13928 rust optional 
rust-hyper-rustls_0.24.2-2.debian.tar.xz
 3573e8dc4b2281e1308fbf4fe77ad112 13207 rust optional 
rust-hyper-rustls_0.24.2-2_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEn+Ppw2aRpp/1PMaELHwxRsGgASEFAmV8vNYACgkQLHwxRsGg
ASHS0w//VDFxUi9uRSbHRvUSQHsbeDbG1zJ/nFQUf6wkS2fW6pD7Tj/CBj1ju86D
3iL+HWuZoPR7smq6xpnFBHZDcfB910vK3fagtZgp51jgJ6SbbuMfqs2l2Ri5Eoti
18k4jA6qNXZcLtG964t+swTABD8GcwVJM80SiKKytmHgNqRIgXvLfACew8c+g1ro
gEtxmhUktAHMjBGtBwCwfPySM+lnkga2KPsbpvZf5XOvKvEBMVeLBCWjp00pRr8j
kyVCFnzkII6tN++zc2M9xFAyv+TvBa8xmhgfVdscmaPtKVPE8gsHbWjExcxT7Iyx
hH7dqkvlHXUR8ArLB2v5S2EYHpEOITgzt/BTC4kFz7s1ilP0LfKVTzHc+huiJZry
80bv9oLUzOb4Wnpsi1Qug0gmJL7bolwATXh7WPBqkeAEDDlano8adgZTokTyLTyB
WqkEvNaPTQqhgeb4TMh1cM1+qqUvETkqKT3Px63ju7aW0XCEC0p1JXtrcUN95WI7
0UtyltxugNzxkli70CkimD3b+uX+v7e1InhQFp1zHCssv5bKLWw97jgMwELJ3yi0
rbFblsdoNoyCpR6wOHsB9BaF5AA/aUVxePuCbo5GXMZXR7ErWwuVoAmrw9HKgqRN
1Ih9B5Gbqv4QBcqdakEDT5I92tnM3BbtdU2aBmnOaYuYQfhQu9w=
=cNu1
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to