Your message dated Sun, 08 Mar 2026 10:49:09 +0000
with message-id <[email protected]>
and subject line Bug#1129721: fixed in rust-nanorand 0.8.0+ds-4
has caused the Debian Bug report #1129721,
regarding rust-nanorand - upcoming rust-getrandom update
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 [email protected]
immediately.)
--
1129721: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1129721
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: rust-nanorand
Version: 0.7.0-13
We hope to update rust-getrandom to version 0.4 soon, rust-nanorand
needs a small patch for the new version.
diff -Nru rust-nanorand-0.7.0/debian/changelog
rust-nanorand-0.7.0/debian/changelog
--- rust-nanorand-0.7.0/debian/changelog 2025-08-17 20:15:41.000000000
+0000
+++ rust-nanorand-0.7.0/debian/changelog 2026-03-05 04:00:28.000000000
+0000
@@ -1,3 +1,11 @@
+rust-nanorand (0.7.0-13.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Add patch for getrandom 0.4, inspired by upstream patch for getrandom 0.3.
+ * Update (build-)dependencies for getrandom 0.4.
+
+ -- Peter Michael Green <[email protected]> Thu, 05 Mar 2026 04:00:28 +0000
+
rust-nanorand (0.7.0-13) unstable; urgency=medium
* drop patch 2001 obsoleted by Debian packaging changes;
diff -Nru rust-nanorand-0.7.0/debian/control rust-nanorand-0.7.0/debian/control
--- rust-nanorand-0.7.0/debian/control 2025-08-17 20:15:20.000000000 +0000
+++ rust-nanorand-0.7.0/debian/control 2026-03-05 04:00:28.000000000 +0000
@@ -4,9 +4,8 @@
Build-Depends:
debhelper-compat (= 13),
dh-sequence-rust,
- librust-getrandom-0.2+default-dev,
- librust-getrandom-0.2+js-dev,
- librust-getrandom-0.2+rdrand-dev,
+ librust-getrandom-0.4+default-dev,
+ librust-getrandom-0.4+wasm-js-dev,
librust-hex-0.4+default-dev,
librust-zeroize-1+default-dev,
librust-zeroize-1+zeroize-derive-dev,
@@ -21,9 +20,8 @@
Architecture: all
Multi-Arch: foreign
Depends:
- librust-getrandom-0.2+default-dev,
- librust-getrandom-0.2+js-dev,
- librust-getrandom-0.2+rdrand-dev,
+ librust-getrandom-0.4+default-dev,
+ librust-getrandom-0.4+wasm-js-dev,
librust-zeroize-1+default-dev,
librust-zeroize-1+zeroize-derive-dev,
${misc:Depends},
diff -Nru rust-nanorand-0.7.0/debian/patches/0001_getrandom.patch
rust-nanorand-0.7.0/debian/patches/0001_getrandom.patch
--- rust-nanorand-0.7.0/debian/patches/0001_getrandom.patch 1970-01-01
00:00:00.000000000 +0000
+++ rust-nanorand-0.7.0/debian/patches/0001_getrandom.patch 2026-03-05
04:00:28.000000000 +0000
@@ -0,0 +1,34 @@
+Description: Update getrandom to 0.3 (#54)
+ This patch was inspired by upstream commit
+ 8570492ea964652c749890f3754853c499884087
+Author: Peter Michael Green <[email protected]>
+Last-Update: 2026-03-05
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+
+Index: rust-nanorand-0.7.0/Cargo.toml
+===================================================================
+--- rust-nanorand-0.7.0.orig/Cargo.toml
++++ rust-nanorand-0.7.0/Cargo.toml
+@@ -22,7 +22,7 @@ rdseed = ["std"]
+
+ [dependencies]
+ zeroize = { version = "1.5.3", optional = true, features = ["zeroize_derive"]
}
+-getrandom = { version = "0.2.5", optional = true, features = ["rdrand", "js"]
}
++getrandom = { version = "0.4", optional = true, features = ["wasm_js"] }
+
+ [dev-dependencies]
+ hex = "0.4.3"
+Index: rust-nanorand-0.7.0/src/entropy.rs
+===================================================================
+--- rust-nanorand-0.7.0.orig/src/entropy.rs
++++ rust-nanorand-0.7.0/src/entropy.rs
+@@ -33,7 +33,7 @@ pub mod windows;
+ /// Pull in system entropy using the
[`getrandom`](https://crates.io/crates/getrandom) crate.
+ /// Uses backup entropy (rdseed and system time) if it fails.
+ pub fn system(out: &mut [u8]) {
+- match getrandom::getrandom(out) {
++ match getrandom::fill(out) {
+ Ok(_) => (),
+ Err(_) => backup(out),
+ }
diff -Nru rust-nanorand-0.7.0/debian/patches/1002_avoid_feature_rdseed.patch
rust-nanorand-0.7.0/debian/patches/1002_avoid_feature_rdseed.patch
--- rust-nanorand-0.7.0/debian/patches/1002_avoid_feature_rdseed.patch
2023-08-14 09:58:32.000000000 +0000
+++ rust-nanorand-0.7.0/debian/patches/1002_avoid_feature_rdseed.patch
2026-03-05 04:00:28.000000000 +0000
@@ -7,9 +7,11 @@
Last-Update: 2023-08-14
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
---- a/Cargo.toml
-+++ b/Cargo.toml
-@@ -18,7 +18,6 @@
+Index: rust-nanorand-0.7.0/Cargo.toml
+===================================================================
+--- rust-nanorand-0.7.0.orig/Cargo.toml
++++ rust-nanorand-0.7.0/Cargo.toml
+@@ -18,7 +18,6 @@ tls = ["std", "wyrand"]
wyrand = []
pcg64 = []
chacha = []
diff -Nru rust-nanorand-0.7.0/debian/patches/series
rust-nanorand-0.7.0/debian/patches/series
--- rust-nanorand-0.7.0/debian/patches/series 2025-08-17 20:13:43.000000000
+0000
+++ rust-nanorand-0.7.0/debian/patches/series 2026-03-05 04:00:20.000000000
+0000
@@ -1,2 +1,3 @@
+0001_getrandom.patch
1001_feature_constraints.patch
1002_avoid_feature_rdseed.patch
--- End Message ---
--- Begin Message ---
Source: rust-nanorand
Source-Version: 0.8.0+ds-4
Done: Jonas Smedegaard <[email protected]>
We believe that the bug you reported is fixed in the latest version of
rust-nanorand, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Jonas Smedegaard <[email protected]> (supplier of updated rust-nanorand 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 [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Sun, 08 Mar 2026 11:25:23 +0100
Source: rust-nanorand
Architecture: source
Version: 0.8.0+ds-4
Distribution: experimental
Urgency: medium
Maintainer: Jonas Smedegaard <[email protected]>
Changed-By: Jonas Smedegaard <[email protected]>
Closes: 1129721
Changes:
rust-nanorand (0.8.0+ds-4) experimental; urgency=medium
.
* drop patch 2001;
tighten (build-)dependency for crate getrandom;
really closes: bug#1129721
Checksums-Sha1:
8c03390933618790f4c309aa31ab4520f6ddd92a 2406 rust-nanorand_0.8.0+ds-4.dsc
d47da4eb7bcff3899a84e8402382e8f256d21493 5208
rust-nanorand_0.8.0+ds-4.debian.tar.xz
d6a28cfeacd1c8a33193deb694a9ed6675a81df9 9754
rust-nanorand_0.8.0+ds-4_amd64.buildinfo
Checksums-Sha256:
8384cef4f29a2d69164585244f826bb8411bb99b2c400dcf08463d854ca16411 2406
rust-nanorand_0.8.0+ds-4.dsc
967d13fe84fa93412d20cbfd4d42144d8201b0768690f5b3d77b079c3c19b446 5208
rust-nanorand_0.8.0+ds-4.debian.tar.xz
9c546b4ce0408e80f5c8615b24b251428f5ec68c158e8622e7b0abdc15a42454 9754
rust-nanorand_0.8.0+ds-4_amd64.buildinfo
Files:
690770690ed49338cfed2410b5fb952c 2406 rust optional
rust-nanorand_0.8.0+ds-4.dsc
e18207e025904bbd425f220a3c529ec0 5208 rust optional
rust-nanorand_0.8.0+ds-4.debian.tar.xz
d372d131786b55b3c5a185e9ac4bd267 9754 rust optional
rust-nanorand_0.8.0+ds-4_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJABAEBCgAqFiEEn+Ppw2aRpp/1PMaELHwxRsGgASEFAmmtTx0MHGRyQGpvbmVz
LmRrAAoJECx8MUbBoAEhS9QQAK1nxzwSCkH82219+/fyiXiamQeOze/vcLbwrBWF
q3Zp5mXVoXmwUqMiUxUVzczmJJ+XnFb6EAIOEA+dj/3bcH9VJSnhQkedYHOl2DC0
QRpgvqnxcgPYdPzIR3Twbr6UzvbnTVNBzr+GqpSyf7EWx6jysN1oXYwvHMoHpdA4
ZKDZjWdwK8Dr8vfK7DRYB6R8F6mrj/coQD7BRgF3RiDqlaK5ndpmFJqYR2R/fYYB
5HkOVR2FNwddaPWbOlGp0ESVVuo7QZpfcQMIX3WFdQP9G2V7tBbYw4kO2z44qqzK
6KFKRvJudSQL/2e8vyjRg2JlHR6wSXBoXBJIJfHf8fcgbYTFfCbv7RMyZ1dQqf7i
1UICDu2uv6cEhVQx6/vNSGZC2/dHgwCQN4pYOoXVnDWkcXlBnCO46NoKWjul83AF
J5X+x8CX9NMnc7oFMsPJqF8+VMoHCQrT7WVJN1VlWFzP9nqcQiC2w4WRvjb1fBYN
IY3cwhUlRzEcnaHF2XIAxMTBoRenY8J5epqsa+hMi+CHX1gM3eG4I6PnnCQ3a7/t
E+7gXHyPi2B7pNzaGoZ4IjukHHr/VENSYNiq8TL36Cl5Db4DWDVoH1d3r3+jlDqf
i2u5amEKaLUT8C2wamtzV2a3Zf1wK3tMxmnZpkJpUvCY6PLYt835S/TWZB6np0k9
9Qhy
=6/c1
-----END PGP SIGNATURE-----
pgpFqvIotUW6N.pgp
Description: PGP signature
--- End Message ---