Your message dated Sat, 13 Sep 2025 02:59:57 +0000
with message-id <[email protected]>
and subject line Bug#1108397: fixed in rust-fastrand 2.3.0-1
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.3.0-1
Done: Jeremy Bícha <[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.
Jeremy Bícha <[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: Fri, 12 Sep 2025 15:11:18 -0400
Source: rust-fastrand
Built-For-Profiles: noudeb
Architecture: source
Version: 2.3.0-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Rust Maintainers 
<[email protected]>
Changed-By: Jeremy Bícha <[email protected]>
Closes: 1108397
Changes:
 rust-fastrand (2.3.0-1) unstable; urgency=medium
 .
   * Team upload
   * Package fastrand 2.3.0 from crates.io using debcargo 2.7.10
   * Release to unstable
 .
 rust-fastrand (2.1.1-5) experimental; urgency=medium
 .
   * Disable no-wasm.diff to get +js feature (Closes: #1108397).
Checksums-Sha1:
 ea67958e27bc6f12f27025e862e5be8f3a00ee04 2343 rust-fastrand_2.3.0-1.dsc
 83eba2cae60f678422258cbec044385087d650c1 15076 rust-fastrand_2.3.0.orig.tar.gz
 617d5baa66b496ab55c12ec600ad2e1148773a0f 3864 
rust-fastrand_2.3.0-1.debian.tar.xz
 ccf70e0bce8508f72674e8fea8c87b556813928b 8768 
rust-fastrand_2.3.0-1_source.buildinfo
Checksums-Sha256:
 9619cb2bd1f8f182c293824c47a23eec5a0e34f477df85c0d3983b226670213d 2343 
rust-fastrand_2.3.0-1.dsc
 37909eebbb50d72f9059c3b6d82c0463f2ff062c9e95845c43a6c9c0355411be 15076 
rust-fastrand_2.3.0.orig.tar.gz
 4caff51168ce3764ff2283cefb4dccf1b38c4a24fdb5927870e4c5c7cdf88cb6 3864 
rust-fastrand_2.3.0-1.debian.tar.xz
 aedf744f9f92dd66ea38ba4abbb4d2a22372108c27a948f1de314b707129285c 8768 
rust-fastrand_2.3.0-1_source.buildinfo
Files:
 7700929f57502a120c549d3b0a0bd09f 2343 rust optional rust-fastrand_2.3.0-1.dsc
 b0a1ffd6b0b5fe67e3dac04cd26b3099 15076 rust optional 
rust-fastrand_2.3.0.orig.tar.gz
 bbf48afe08941f11f20b768d48168127 3864 rust optional 
rust-fastrand_2.3.0-1.debian.tar.xz
 c805af5635ceb2b686a4155b09420905 8768 rust optional 
rust-fastrand_2.3.0-1_source.buildinfo

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

iQIzBAEBCgAdFiEETQvhLw5HdtiqzpaW5mx3Wuv+bH0FAmjEcTkACgkQ5mx3Wuv+
bH2gVxAA0LMSPkWy5/BjMhrmebZFjNqmCKI/Qqaxw/X36W32jxMAX2dSLQQqaIYW
el5m2g7nZAd5WoIXeWja70RBqXtbs+hZ2oCn7XN3G1cWysr6YHYXR2zVYsym98qJ
5WZKG9wU3EMaMi6nwwYKC5173qAVqCn8Cej0XrqyilYYR6rR2Pm15GFaf3qlBeTd
vE/b1kLZxwMhqJBKJYchoDhpe92pQEmpCH6pLaikAc82PV5q8Sv08raI6Gc9RJx/
/vcE85PI7lEXFcu1quQXvcTBhX8b+FMVB4vCdTKsoge0UZn075guOZH3oPKkolf/
0fg+JVoovjKFeZC3VjcPEmsWJ20qtE/0iDegxZ3HYdmUi0s/JfrY0FY7kFxbgdCR
GEpi+rcdk3fIRo7tICJa8eUIrihMevG3CZkJI7YF2AsPKfu9ciBupiZIDVKaAh3H
y62fDWfb2M8bEGl0pluCxGPwt6hXLlF/TfMjn4A+BNAYIFZ/3Nu5em8X+4FQqCo2
K4/AWSNlOA7NYungJzLQzRvWlZ1+Kd11afgiKIjhZW3PjHs7zBpw1ZNmX8UvmmD9
sPvOB+ysoS0+W0jPE/N8zAZx6BSdVc4sgoP9aY2EZhOTfa3dCCb7vGN90W8du6Kf
kDAZPXPDIBKInqcmunKuHQwcIrticfMsjFfDIsCLQCv7I98IzSY=
=JIs+
-----END PGP SIGNATURE-----

Attachment: pgpBDuJsQXWmF.pgp
Description: PGP signature


--- End Message ---

Reply via email to