Hi Axel,

On Sun, Apr 19, 2015 at 02:03:44PM +0200, Axel Beckert wrote:
> Jelmer Vernooij wrote:
> > diff -ur libtest-log4perl-perl-0.1001/debian/rules 
> > libtest-log4perl-perl-0.1001-new/debian/rules
> > --- libtest-log4perl-perl-0.1001/debian/rules       2011-11-16 
> > 18:08:28.000000000 +0000
> > +++ libtest-log4perl-perl-0.1001-new/debian/rules   2015-04-19 
> > 11:04:14.003327699 +0000
> > @@ -1,4 +1,9 @@
> >  #!/usr/bin/make -f
> >  
> > +# Set man page timestamp to last package change time.
> > +BUILD_DATE = $(shell dpkg-parsechangelog -S Date)
> > +POD_MAN_DATE = $(shell date -u +"%Y-%m-%d" --date="$(BUILD_DATE)")
> > +export POD_MAN_DATE
> > +
> >  %:
> >     dh $@
> 
> Jelmer Vernooij wrote:
> > diff -ur libscalar-defer-perl-0.23/debian/rules 
> > libscalar-defer-perl-0.23-new/debian/rules
> > --- libscalar-defer-perl-0.23/debian/rules  2015-04-19 10:59:01.000000000 
> > +0000
> > +++ libscalar-defer-perl-0.23-new/debian/rules      2015-04-19 
> > 10:59:38.911642206 +0000
> > @@ -1,4 +1,9 @@
> >  #!/usr/bin/make -f
> >  
> > +# Set man page timestamp to last package change time.
> > +BUILD_DATE = $(shell dpkg-parsechangelog -S Date)
> > +POD_MAN_DATE = $(shell date -u +"%Y-%m-%d" --date="$(BUILD_DATE)")
> > +export POD_MAN_DATE
> > +
> >  %:
> >     dh $@
> 
> Thanks for the patches.
> 
> But isn't this something which should be done doing once and properly
> in the build system (e.g. in dh_auto_build), like setting all the file
> time stamps to that date?
> 
> Cc'ing the reproducible builds project as well as the debhelper
> maintainers for input.

Yeah, this was brought up on the reproducible builds mailing list as
well in relation to these three patches. There are at least a few
dozen (and probably more) perl packages that suffer from this, so
doing this from debhelper would indeed be better (and
less effort).

Another option might be to do it from upstream? It could just take
the timestamp of the source file.

Cheers,

Jelmer

-- 
Jelmer Vernooij <jel...@debian.org>
Debian Developer                           https://jelmer.uk/

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds

Reply via email to