Your message dated Tue, 01 Jul 2025 09:34:46 +0000
with message-id <[email protected]>
and subject line Bug#1108397: fixed in rust-fastrand 2.1.1-5
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-5
Done: Andrej Shadura <[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.
Andrej Shadura <[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, 01 Jul 2025 11:20:47 +0200
Source: rust-fastrand
Architecture: source
Version: 2.1.1-5
Distribution: experimental
Urgency: medium
Maintainer: Debian Rust Maintainers
<[email protected]>
Changed-By: Andrej Shadura <[email protected]>
Closes: 1108397
Changes:
rust-fastrand (2.1.1-5) experimental; urgency=medium
.
* Disable no-wasm.diff to get +js feature (Closes: #1108397).
Checksums-Sha1:
93938f1b5ac101cd5f45fba4b5ed19a1b037c6de 1738 rust-fastrand_2.1.1-5.dsc
890762fc7a9a4052954fbd34098e8616bac1dafa 3800
rust-fastrand_2.1.1-5.debian.tar.xz
77d49bed360b076e9073238b0a8409eede6b26f8 7045
rust-fastrand_2.1.1-5_source.buildinfo
Checksums-Sha256:
fc40c8dfafa8462fa1bea2e049b83949e67bc20779a577a103c4cf89d31fb214 1738
rust-fastrand_2.1.1-5.dsc
8ae79685c649e73ee615bb7c316d11411a4fd18df9eed39256b39a9bf3ca365c 3800
rust-fastrand_2.1.1-5.debian.tar.xz
c406a0a5ed3039ee8762a39a2cc7ce6c858fe5a1b86a4ddf3295b535d27bab7c 7045
rust-fastrand_2.1.1-5_source.buildinfo
Files:
20e3cc7f8f999deac292c4a8e1c630ad 1738 rust optional rust-fastrand_2.1.1-5.dsc
c749ecedb29c287f624b8ec5d349e027 3800 rust optional
rust-fastrand_2.1.1-5.debian.tar.xz
c67e75774c4724e096207ce77eded38f 7045 rust optional
rust-fastrand_2.1.1-5_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iHUEARYKAB0WIQSD3NF/RLIsyDZW7aHoRGtKyMdyYQUCaGOohwAKCRDoRGtKyMdy
YbGgAP9CQv9T0juXrtDbi9a9/17Z6Gjlv3aAViVwZGRHLaN76wD+PW525LES/5Ue
xJqYq+zNveqrQWyZmqgfBR7xRBbamQM=
=HH4Q
-----END PGP SIGNATURE-----
pgpzMyCexyXSO.pgp
Description: PGP signature
--- End Message ---