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. live well, vagrant
signature.asc
Description: PGP signature
_______________________________________________ Reproducible-builds mailing list Reproducible-builds@alioth-lists.debian.net https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/reproducible-builds