Your message dated Tue, 22 Jul 2025 16:04:19 +0000
with message-id <[email protected]>
and subject line Bug#1109484: fixed in rust-microformats 0.15.0-2
has caused the Debian Bug report #1109484,
regarding rust-microformats: please make the build reproducible
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.)


-- 
1109484: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1109484
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: rust-microformats
Version: 0.15.0-1
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: filesystem
X-Debbugs-Cc: [email protected]

Hi,

Whilst working on the Reproducible Builds effort [0], we noticed that
rust-microformats could not be built reproducibly.

This was because it was generating a bunch of tests that were ordered
by the underling filesystem order, which is of course non-deterministic.

A patch is attached that sorts the filenames first.

 [0] https://reproducible-builds.org/


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      [email protected] / chris-lamb.co.uk
       `-
--- a/debian/patches/2004_reproducible_build.patch      1969-12-31 
16:00:00.000000000 -0800
--- b/debian/patches/2004_reproducible_build.patch      2025-07-18 
10:53:40.941562191 -0700
@@ -0,0 +1,25 @@
+Description: Make the build reproducible
+Author: Chris Lamb <[email protected]>
+Last-Update: 2025-07-18
+
+--- rust-microformats-0.15.0.orig/library/build.rs
++++ rust-microformats-0.15.0/library/build.rs
+@@ -183,6 +183,7 @@ fn main() {
+ }
+ 
+ fn collect_fixtures_for(suite: &str) -> Vec<String> {
++    let mut fixtures = Vec::new();
+     get_mf_fixture_dir_for(suite)
+         .read_dir()
+         .unwrap_or_else(|_| panic!("Couldn't find fixtures for testing '{}' 
support.", suite))
+@@ -210,7 +211,7 @@ fn collect_fixtures_for(suite: &str) ->
+                 .unwrap_or_default();
+ 
+             let test_name = format!("{}/{}", suite, file_name);
+-            test_name
+-        })
+-        .collect()
++            fixtures.push(test_name)
++        });
++    return fixtures;
+ }
--- a/debian/patches/series     2025-07-18 10:46:45.303088383 -0700
--- b/debian/patches/series     2025-07-18 10:53:39.965586840 -0700
@@ -8,3 +8,4 @@
 2001_yare.patch
 2002_no_bin.patch
 2003_no_vendor_testsuite.patch
+2004_reproducible_build.patch

--- End Message ---
--- Begin Message ---
Source: rust-microformats
Source-Version: 0.15.0-2
Done: Jonas Smedegaard <[email protected]>

We believe that the bug you reported is fixed in the latest version of
rust-microformats, 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-microformats 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, 22 Jul 2025 17:23:58 +0200
Source: rust-microformats
Architecture: source
Version: 0.15.0-2
Distribution: experimental
Urgency: medium
Maintainer: Jonas Smedegaard <[email protected]>
Changed-By: Jonas Smedegaard <[email protected]>
Closes: 1109484
Changes:
 rust-microformats (0.15.0-2) experimental; urgency=medium
 .
   * add patch 2004 to make the build reproducible;
     closes: bug#1109484, thanks to Chris Lamb
Checksums-Sha1:
 86573b338b6964f229b17d165c97e6ea5f02237a 3333 rust-microformats_0.15.0-2.dsc
 6f331257ce0ed252b0c7eec5e3319f2ceb9c3e69 14868 
rust-microformats_0.15.0-2.debian.tar.xz
 4c234e7c7706a18a8a76c064175ebb97dae15381 17248 
rust-microformats_0.15.0-2_amd64.buildinfo
Checksums-Sha256:
 2453be5630885471dd3c86d17b3ac46ad9bde6f693a25e5298855b8249649b51 3333 
rust-microformats_0.15.0-2.dsc
 e6196bfadde6f27ed75b077cd2c6a5f5de8cbc16ba7302e372af8f3e7c18b025 14868 
rust-microformats_0.15.0-2.debian.tar.xz
 43f11736a28a4d7f1629b7de5c38c80914ab723b8578f74091c59ff755bf5ef7 17248 
rust-microformats_0.15.0-2_amd64.buildinfo
Files:
 872a8ef6b845d5cd37f255713623686c 3333 rust optional 
rust-microformats_0.15.0-2.dsc
 407cbed63f75d0d6f394532fe5f817c5 14868 rust optional 
rust-microformats_0.15.0-2.debian.tar.xz
 d4c455caa1010007c07f604b68775486 17248 rust optional 
rust-microformats_0.15.0-2_amd64.buildinfo


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

wsG7BAEBCgBvBYJof7EgCRAsfDFGwaABIUcUAAAAAAAeACBzYWx0QG5vdGF0aW9u
cy5zZXF1b2lhLXBncC5vcmc/wRAoAZoAAeesiwWXGzyf+aQB1IRWKAnEKxVtPlOF
yRYhBJ/j6cNmkaaf9TzGhCx8MUbBoAEhAAClZQ//Ux24YAoGJqvZJ7ihJ5btXB8B
jKTwuzxD1KpcCE5FqhEpcOH+R+yDQs1DXqMMMdUyGwJOH3FWDdPUtAjOEar9j7IT
4lK8dletBKjje4h/4UlCNNO8Rhm4zEVHXvBH2v2sSSeVLo8Fcia2RahMSe4H3L/g
5+2u+UKLppYTgNYWjSW0Q6MRW1GY3P/wtmig/CKuX2I229/benVOZoK64W/29ycY
EB+3B3+NOGW+U5Q4V+bMqsUd3ziF5fYKB7x8kpcKpx69Nnugldvln72mjUjMLxxL
Y5JT6hwVZG2gctWDYDYHF3fNn+oibpPp05AsUEXRART+wXiHK/Wf9wnM9BE9tF8J
9+/1RhZ3yT1H3Uva3ZLJRZ+eJwa8M95/L49ZKETkFeIRPsrL/bhc50tumPElBlFG
YZA+3RCLxYCmNL2MFCqtduSGgJlkaptbMkFvDPwvNWYYOlbXRt4w7LWayQxMUT2T
+ksoqy0/KLE+pj4KaeZuHJGr8TSrXCdGSPqbafdqUJJzp8UDFK3sqzriaPqg46jb
GR5jd4aLRNuYnutbTg/JtMMsTugdFeC76ucxJx9ewO2KoulIcbZzgB9sYqij2Sex
2JzsSXMwQo+OCfI48dGUdN+tz2BAbDQt7m5Sbb5vyuNcz+TUrblfbGCt7qVtudrg
PNoJ7Bptf+NXxUkfA+U=
=uvNe
-----END PGP SIGNATURE-----

Attachment: pgpGjcKioB6IM.pgp
Description: PGP signature


--- End Message ---

Reply via email to