Your message dated Sun, 08 Mar 2026 09:48:40 +0000
with message-id <[email protected]>
and subject line Bug#1129721: fixed in rust-nanorand 0.8.0+ds-1
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-1
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 10:28:42 +0100
Source: rust-nanorand
Architecture: source
Version: 0.8.0+ds-1
Distribution: unstable
Urgency: medium
Maintainer: Jonas Smedegaard <[email protected]>
Changed-By: Jonas Smedegaard <[email protected]>
Closes: 1129721
Changes:
rust-nanorand (0.8.0+ds-1) unstable; urgency=medium
.
[ upstream ]
* new release
.
[ Jonas Smedegaard ]
* bump project versions in virtual packages and autopkgtests
* provide and autopkgtest feature entropy
* update and unfuzz patches
* add patch 1003 to use newer minor version of crate getrandom;
closes: bug#1129721, thanks to Peter Michael Green
* update copyright info: update coverage
Checksums-Sha1:
b1cbd625f83eace7f8a2de937ba40e684e462a0a 2402 rust-nanorand_0.8.0+ds-1.dsc
db613aefa7164cd89723e6c68e95145a292cd073 17392
rust-nanorand_0.8.0+ds.orig.tar.xz
54882351998c1bfb797707f827aff911ae97f833 5148
rust-nanorand_0.8.0+ds-1.debian.tar.xz
4b8fc4e51964d1c5e42c641fcf00234596bc3910 9754
rust-nanorand_0.8.0+ds-1_amd64.buildinfo
Checksums-Sha256:
42bc4fb6c0fbb44767050fdfda91037ae447712fcfbc66af3b021d1a7e9de4cc 2402
rust-nanorand_0.8.0+ds-1.dsc
f551735de7450496af1c2a9e86e62b160445b99402d4b616fc6b6f4ddc8db778 17392
rust-nanorand_0.8.0+ds.orig.tar.xz
d057ac10898f100b28d7ebcc29355d22cb54b20423270cbfc8418cc44cddcfc2 5148
rust-nanorand_0.8.0+ds-1.debian.tar.xz
c371c6713ca2ca74c698215e8fac53d0a7edfd23023290a5f9adfa0d60778aa0 9754
rust-nanorand_0.8.0+ds-1_amd64.buildinfo
Files:
0f2dfe3e0bc21c3af275f70c39af4abe 2402 rust optional
rust-nanorand_0.8.0+ds-1.dsc
22e48700d06e66fc1741d58003d2b890 17392 rust optional
rust-nanorand_0.8.0+ds.orig.tar.xz
ab11457b37554a04cede5047f0376951 5148 rust optional
rust-nanorand_0.8.0+ds-1.debian.tar.xz
7ec1209c4b10b0bd341ac9e2400507ab 9754 rust optional
rust-nanorand_0.8.0+ds-1_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJABAEBCgAqFiEEn+Ppw2aRpp/1PMaELHwxRsGgASEFAmmtQjAMHGRyQGpvbmVz
LmRrAAoJECx8MUbBoAEh/nMP/10NF7SbvCZvTJX2qenhN67b1vqF0FaQdHncVN6M
8u4OANYw2W5jpDjfYxQhQGuxQ4LoNPgyaKFU8hMbkJdxVhgsw3h13dHQUG4qscZB
Sj5viY2vq1eYoM0tDcTDA7Yct2He7/EXmSX4rKRNUsV0YWiivjtcOL6fxTkG9fHA
rt+KchojX6Rt5SctiDztIP2mR+BYOSb7vDuyesF36Sh6GHsHDOXawSu7iy4FzhnF
ESdHgotR296zI3u7hBz0ozg+zUUxL88j/dBLx1m9uQ+iHEQhE35NC1JKzhxCLeqx
YdWLk8BQAqDyIVMfYjyWZoh1pDpBPI4OsTjrfgQv6GeeimRwtfde2/+fpn3mN7ZF
Ol+O0LuVvruTIC+/KKDOm87a8yqjHEYWb/qbmGYMTzzGzQXGbZKteXkadmfUHqdz
LL/m9uK0uG4bjNx3a8ThLhZ5+ukIMn65J5hFa0jXIzS5Ici3PEGSPb4J5pPJ0dF9
PT+SQSFQP5cAz4ChhpqRW8kFenFymvdxcZCl7DC3bXV6LRHI1Ytxd7fv/8UWW1Op
SNtGgUufl3CBJqnlXx1PLt23yXocngOUA9VYOGxhu/ghwh3VMyfPWE+XtFNKoNL+
gW8XgVehdWceCYUE9CTd1TvTBh+ePbYIA7ocnwrAkaqvsLXxSxbwn1dGFlI+ZIG1
zgAT
=ciYB
-----END PGP SIGNATURE-----
pgpHAZYTttBca.pgp
Description: PGP signature
--- End Message ---