Your message dated Mon, 30 Jun 2025 12:49:02 +0000
with message-id <[email protected]>
and subject line Bug#1108397: fixed in rust-fastrand 2.1.1-2
has caused the Debian Bug report #1108397,
regarding rust-fastrand: please enable js feature
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.)
--
1108397: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1108397
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: rust-fastrand
Version: 2.1.1-1
Severity: wishlist
Hi,
I need rust-yrs (see #1108320) which apparently needs the js feature in
fastrand (which needs it in getrandom).
I fail to get the debcargo-conf workflow to work so I am filing this bug. Maybe
you can have a look?
If I did it manually I'd have done
$ debdiff rust-fastrand_2.1.1-1.dsc rust-fastrand_2.1.1-2.dsc
diff -Nru rust-fastrand-2.1.1/debian/changelog
rust-fastrand-2.1.1/debian/changelog
--- rust-fastrand-2.1.1/debian/changelog 2024-10-13 18:35:07.000000000 +0200
+++ rust-fastrand-2.1.1/debian/changelog 2025-06-24 21:25:23.000000000 +0200
@@ -1,3 +1,11 @@
+rust-fastrand (2.1.1-2) UNRELEASED; urgency=medium
+
+ * Team upload
+ * disable no-wasm.diff to get +js feature
+ * add +js Provides. B-D on libgetrandom+js-dev
+
+ -- Rene Engelhard <[email protected]> Tue, 24 Jun 2025 21:25:23 +0200
+
rust-fastrand (2.1.1-1) unstable; urgency=medium
* Team upload.
diff -Nru rust-fastrand-2.1.1/debian/control rust-fastrand-2.1.1/debian/control
--- rust-fastrand-2.1.1/debian/control 2024-10-13 18:35:07.000000000 +0200
+++ rust-fastrand-2.1.1/debian/control 2025-06-24 21:25:23.000000000 +0200
@@ -5,7 +5,8 @@
dh-sequence-cargo,
cargo:native <!nocheck>,
rustc:native (>= 1.36) <!nocheck>,
- libstd-rust-dev <!nocheck>
+ libstd-rust-dev <!nocheck>,
+ librust-getrandom+js-dev
Maintainer: Debian Rust Maintainers
<[email protected]>
Uploaders:
Andrej Shadura <[email protected]>
@@ -23,18 +24,22 @@
Provides:
librust-fastrand+alloc-dev (= ${binary:Version}),
librust-fastrand+default-dev (= ${binary:Version}),
+ librust-fastrand+js-dev (= ${binary:Version}),
librust-fastrand+std-dev (= ${binary:Version}),
librust-fastrand-2-dev (= ${binary:Version}),
librust-fastrand-2+alloc-dev (= ${binary:Version}),
librust-fastrand-2+default-dev (= ${binary:Version}),
+ librust-fastrand-2+js-dev (= ${binary:Version}),
librust-fastrand-2+std-dev (= ${binary:Version}),
librust-fastrand-2.1-dev (= ${binary:Version}),
librust-fastrand-2.1+alloc-dev (= ${binary:Version}),
librust-fastrand-2.1+default-dev (= ${binary:Version}),
+ librust-fastrand-2.1+js-dev (= ${binary:Version}),
librust-fastrand-2.1+std-dev (= ${binary:Version}),
librust-fastrand-2.1.1-dev (= ${binary:Version}),
librust-fastrand-2.1.1+alloc-dev (= ${binary:Version}),
librust-fastrand-2.1.1+default-dev (= ${binary:Version}),
+ librust-fastrand-2.1.1+js-dev (= ${binary:Version}),
librust-fastrand-2.1.1+std-dev (= ${binary:Version})
Description: Simple and fast random number generator - Rust source code
Source code for Debianized Rust crate "fastrand"
diff -Nru rust-fastrand-2.1.1/debian/patches/no-wasm.patch
rust-fastrand-2.1.1/debian/patches/no-wasm.patch
--- rust-fastrand-2.1.1/debian/patches/no-wasm.patch 2024-10-13
18:35:07.000000000 +0200
+++ rust-fastrand-2.1.1/debian/patches/no-wasm.patch 1970-01-01
01:00:00.000000000 +0100
@@ -1,35 +0,0 @@
---- a/Cargo.toml
-+++ b/Cargo.toml
-@@ -71,18 +71,18 @@
- default = ["std"]
--js = [
-- "std",
-- "getrandom",
--]
-+#js = [
-+# "std",
-+# "getrandom",
-+#]
- std = ["alloc"]
-
--[target.'cfg(all(any(target_arch = "wasm32", target_arch = "wasm64"), target_os =
"unknown"))'.dependencies.getrandom]
--version = "0.2"
--features = ["js"]
--optional = true
--
--[target.'cfg(all(any(target_arch = "wasm32", target_arch = "wasm64"), target_os =
"unknown"))'.dev-dependencies.getrandom]
--version = "0.2"
--features = ["js"]
-+#[target.'cfg(all(any(target_arch = "wasm32", target_arch = "wasm64"), target_os =
"unknown"))'.dependencies.getrandom]
-+#version = "0.2"
-+#features = ["js"]
-+#optional = true
-+
-+#[target.'cfg(all(any(target_arch = "wasm32", target_arch = "wasm64"), target_os =
"unknown"))'.dev-dependencies.getrandom]
-+#version = "0.2"
-+#features = ["js"]
-
--[target.'cfg(all(any(target_arch = "wasm32", target_arch = "wasm64"), target_os =
"unknown"))'.dev-dependencies.wasm-bindgen-test]
--version = "0.3"
-+#[target.'cfg(all(any(target_arch = "wasm32", target_arch = "wasm64"), target_os =
"unknown"))'.dev-dependencies.wasm-bindgen-test]
-+#version = "0.3"
diff -Nru rust-fastrand-2.1.1/debian/patches/series
rust-fastrand-2.1.1/debian/patches/series
--- rust-fastrand-2.1.1/debian/patches/series 2024-10-13 18:35:07.000000000
+0200
+++ rust-fastrand-2.1.1/debian/patches/series 2025-06-24 21:25:23.000000000
+0200
@@ -1,4 +1,3 @@
-no-wasm.patch
disable-benches.patch
fix-tests-no-default-features.patch
fix-gated-tests.patch
At least with that fastrand builds fine with +js used from getrandom, too.
Can you please apply/do the right thing to make the same effect?
Regards,
Rene
--- End Message ---
--- Begin Message ---
Source: rust-fastrand
Source-Version: 2.1.1-2
Done: Rene Engelhard <[email protected]>
We believe that the bug you reported is fixed in the latest version of
rust-fastrand, 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.
Rene Engelhard <[email protected]> (supplier of updated rust-fastrand 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: Tue, 24 Jun 2025 21:25:23 +0200
Source: rust-fastrand
Architecture: source
Version: 2.1.1-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Rust Maintainers
<[email protected]>
Changed-By: Rene Engelhard <[email protected]>
Closes: 1108397
Changes:
rust-fastrand (2.1.1-2) unstable; urgency=medium
.
* Disable no-wasm.diff to get +js feature (Closes: #1108397).
Checksums-Sha1:
b9db9a9408d7d5de069d56fd26a216ad4057b73a 1738 rust-fastrand_2.1.1-2.dsc
d2e3cdf6deef12701b898b0b8ee31b150cc6da6f 3720
rust-fastrand_2.1.1-2.debian.tar.xz
fbdcc35b993bcdcf09d602ad97f183453aa29057 7045
rust-fastrand_2.1.1-2_source.buildinfo
Checksums-Sha256:
7eb425f60c937175fb401e0d1eba51ed96b4ead714f9591cf42ec7190ed1a688 1738
rust-fastrand_2.1.1-2.dsc
6b607c429c9efaab2119b8202df71173a9275047320f19ae4afd37cae52c9d2f 3720
rust-fastrand_2.1.1-2.debian.tar.xz
b1f1c2a3a9d973fbdf03919cee1f423c5b0780374bd84073be4d6b3cfd88e3f0 7045
rust-fastrand_2.1.1-2_source.buildinfo
Files:
a1b5156e93b85da4344ff0da99d1838a 1738 rust optional rust-fastrand_2.1.1-2.dsc
043ea90f90f2d02bd9f9cdda9e82b31a 3720 rust optional
rust-fastrand_2.1.1-2.debian.tar.xz
7575abeb46cb91f1bc4aa24d971352b3 7045 rust optional
rust-fastrand_2.1.1-2_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iHUEARYKAB0WIQSD3NF/RLIsyDZW7aHoRGtKyMdyYQUCaGKD3wAKCRDoRGtKyMdy
Ybd9AP9b0IMoKnQoIm7dZSiXiGxbrz2nYxa5PwRvaJfRvkW7jwEA+daxg/XaCE7Q
uMxKh3Do3WkdCjpRDUmEi1YX2otLvwE=
=DOo+
-----END PGP SIGNATURE-----
pgpPparGv_U_r.pgp
Description: PGP signature
--- End Message ---