Your message dated Mon, 20 Jan 2025 17:59:56 +0000
with message-id <[email protected]>
and subject line Bug#1092917: fixed in rust-xh 0.23.1-3
has caused the Debian Bug report #1092917,
regarding rust-xh: 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.)
--
1092917: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1092917
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: rust-xh
Version: 0.23.1-2
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: timestamps
X-Debbugs-Cc: [email protected]
Hi,
Whilst working on the Reproducible Builds effort [0], we noticed that
rust-xh could not be built reproducibly.
This is because the manual page embeds the current build date.
The patch attached mangles this date after the file has been generated
to use SOURCE_DATE_EPOCH. There is an alternative solution that parses
SOURCE_DATE_EPOCH within Rust itself, but I think that might require
an additional Rust crate [1].
[0] https://reproducible-builds.org/
[1] https://reproducible-builds.org/docs/source-date-epoch/#rust
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` [email protected] / chris-lamb.co.uk
`-
--- a/debian/rules 2025-01-13 11:38:41.366168680 +0000
--- b/debian/rules 2025-01-13 11:52:09.832195254 +0000
@@ -1,7 +1,10 @@
#!/usr/bin/make -f
+BUILD_DATE := $(shell LC_ALL=C date --utc "+%Y-%m-%d" -d
"@$(SOURCE_DATE_EPOCH)")
+
%:
dh $@ --buildsystem cargo --with shell_completions
execute_after_dh_auto_install:
debian/*/usr/bin/xh --generate man > debian/xh.1
+ sed -i -e 's@^\(.TH XH 1 \)\([^ ]*\)@\1$(BUILD_DATE)@g' debian/xh.1
--- End Message ---
--- Begin Message ---
Source: rust-xh
Source-Version: 0.23.1-3
Done: Blair Noctis <[email protected]>
We believe that the bug you reported is fixed in the latest version of
rust-xh, 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.
Blair Noctis <[email protected]> (supplier of updated rust-xh 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: Mon, 20 Jan 2025 17:24:00 +0000
Source: rust-xh
Architecture: source
Version: 0.23.1-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Rust Maintainers
<[email protected]>
Changed-By: Blair Noctis <[email protected]>
Closes: 1092917 1093425
Changes:
rust-xh (0.23.1-3) unstable; urgency=medium
.
* Make man page generation reproducible, Closes: #1092917
* Link xh to xhs, Closes: #1093425
Checksums-Sha1:
45746349a6c4fd3c1c2e5bc34b1de0e0b16e7109 3705 rust-xh_0.23.1-3.dsc
acee701e8d58e9da49781438db3f9f20b75530aa 12076 rust-xh_0.23.1-3.debian.tar.xz
9e523f84c97a4c721572e4d6f02590d0a1ca87e9 6573 rust-xh_0.23.1-3_source.buildinfo
Checksums-Sha256:
259bde0c2a11abaa3bba131d280dd8cc7b70e861ee3d095e55bbc44269c22220 3705
rust-xh_0.23.1-3.dsc
3e7543b2fbeef9e18f6574033404a684ed6bb97b8fbbea9d49e3e07d6ef73ef0 12076
rust-xh_0.23.1-3.debian.tar.xz
fe9f8d197dd81243be0b912f10982547f2b3a76fdc794f25739ffa30aaaa2cd8 6573
rust-xh_0.23.1-3_source.buildinfo
Files:
fa5daeaedd661bb184009255b84982f0 3705 utils optional rust-xh_0.23.1-3.dsc
1632a6870f8b737c0df682282912e7ce 12076 utils optional
rust-xh_0.23.1-3.debian.tar.xz
4d7b03f143c699de033af7e167d8a88a 6573 utils optional
rust-xh_0.23.1-3_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iHUEARYKAB0WIQScTWEJ927Sl0a/hB7sV97Kb1Pv6QUCZ46GtgAKCRDsV97Kb1Pv
6fhXAQCvdfFpAZR+scADEDBrmMXqz7gZK9OlpydbVPNZ4yaA9QD/Tu2D8XN9ULsB
tTrU5Pcv9RlUt00IHp+nYKObLrPhHAw=
=/AB4
-----END PGP SIGNATURE-----
pgptE8MdWbuvz.pgp
Description: PGP signature
--- End Message ---