On 2022-12-22, Vagrant Cascadian wrote: > On 2022-10-06, Vagrant Cascadian wrote: >> The attached alternate implements this for mc by touching the potential >> files before running configure with a consistent timestamp. >> >> According to my local tests, applying this patch should make mc build >> reproducibly once it lands in testing/bookworm! There are outstanding >> build path issues tested in unstable and experimental. > ... >> From 4e69587954d29ec6bfc7d85b4b618724b16b840e Mon Sep 17 00:00:00 2001 >> From: Vagrant Cascadian <vagr...@reproducible-builds.org> >> Date: Thu, 6 Oct 2022 19:25:11 +0000 >> Subject: [PATCH 5/5] debian/rules: Ensure consistent timestamp on manpages. >> >> The upstream build system uses the file modification time of the .in >> file for the manpage to embed into the generatated manpage, but if >> debian/patches modify the .in files, the timestamp is updated, >> resulting in builds performed in different months or years embedding a >> different date. >> --- >> debian/rules | 2 ++ >> 1 file changed, 2 insertions(+) >> >> diff --git a/debian/rules b/debian/rules >> index c633a73..bf8eb5e 100755 >> --- a/debian/rules >> +++ b/debian/rules >> @@ -25,6 +25,8 @@ override_dh_autoreconf: >> # AWK="awk" is inheritance of 4.7.* series, see >> http://bugs.debian.org/499723 >> # might be still necessary for extfs scripts >> override_dh_auto_configure: >> + # Ensure reproducible timestamp on manpages >> + touch -d@$(SOURCE_DATE_EPOCH) doc/man/*.1.in doc/man/*/*.1.in >> dh_auto_configure -- AWK="awk" X11_WWW="x-www-browser" \ >> --libexecdir='/usr/lib' \ >> --with-x \ >> -- >> 2.37.2 > > I Intend to NMU with this patch on the 29th (with a 10-day delay) unless > I hear otherwise.
A little behind schedule, and a little more conservative patch (only touching the currently patched mcedit manpage)... Uploaded NMU to DELAYED/10: diff -Nru mc-4.8.28/debian/changelog mc-4.8.28/debian/changelog --- mc-4.8.28/debian/changelog 2022-04-02 15:10:15.000000000 -0700 +++ mc-4.8.28/debian/changelog 2023-01-10 09:50:36.000000000 -0800 @@ -1,3 +1,11 @@ +mc (3:4.8.28-1.1) unstable; urgency=medium + + * Non-maintainer upload. + * debian/rules: Ensure consistent timestamp on mcedit manpage. + (Closes: #828683) + + -- Vagrant Cascadian <vagr...@reproducible-builds.org> Tue, 10 Jan 2023 09:50:36 -0800 + mc (3:4.8.28-1) unstable; urgency=medium * New upstream release. diff -Nru mc-4.8.28/debian/rules mc-4.8.28/debian/rules --- mc-4.8.28/debian/rules 2018-06-05 21:11:33.000000000 -0700 +++ mc-4.8.28/debian/rules 2023-01-10 09:49:58.000000000 -0800 @@ -25,6 +25,9 @@ # AWK="awk" is inheritance of 4.7.* series, see http://bugs.debian.org/499723 # might be still necessary for extfs scripts override_dh_auto_configure: + # Ensure reproducible timestamp on mcedit manpage, which is + # patched from debian/patches + touch -d@$(SOURCE_DATE_EPOCH) doc/man/mcedit.1.in dh_auto_configure -- AWK="awk" X11_WWW="x-www-browser" \ --libexecdir='/usr/lib' \ --with-x \
signature.asc
Description: PGP signature