Debian Bug report logs - #834190
perl: please make the output of ExtUtils::Command::MM reproducible

version graph

Package: src:perl; Maintainer for src:perl is Niko Tyni <ntyni@debian.org>;

Reported by: Chris Lamb <lamby@debian.org>

Date: Fri, 12 Aug 2016 21:42:02 UTC

Severity: wishlist

Tags: patch

Found in version perl/5.22.2-3

Fixed in version perl/5.22.2-4

Done: Dominic Hargreaves <dom@earth.li>

Bug is archived. No further changes may be made.

Forwarded to https://github.com/Perl-Toolchain-Gang/ExtUtils-MakeMaker/pull/279

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, reproducible-builds@lists.alioth.debian.org, Niko Tyni <ntyni@debian.org>:
Bug#834190; Package src:perl. (Fri, 12 Aug 2016 21:42:05 GMT) (full text, mbox, link).


Acknowledgement sent to Chris Lamb <lamby@debian.org>:
New Bug report received and forwarded. Copy sent to reproducible-builds@lists.alioth.debian.org, Niko Tyni <ntyni@debian.org>. (Fri, 12 Aug 2016 21:42:05 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Chris Lamb <lamby@debian.org>
To: submit@bugs.debian.org
Subject: perl: please make the output of ExtUtils::Command::MM reproducible
Date: Fri, 12 Aug 2016 22:39:13 +0100
[Message part 1 (text/plain, inline)]
Source: perl
Version: 5.22.2-3
Severity: wishlist
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: timestamps toolchain
X-Debbugs-Cc: reproducible-builds@lists.alioth.debian.org

Hi,

Whilst working on the Reproducible Builds effort [0], I noticed
that ExtUtils::Command::MM generates perllocal.pod files that are
not reproducible.

For example:

  -=head2 Sun Jul  3 14:56:53 2016: C<Mod  [..]
  +=head2 Sun Aug  6 23:18:50 2017: C<Mod  [..]

Patch attached.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby@debian.org / chris-lamb.co.uk
       `-
[perl.diff.txt (text/plain, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org, Niko Tyni <ntyni@debian.org>:
Bug#834190; Package src:perl. (Sun, 28 Aug 2016 15:27:08 GMT) (full text, mbox, link).


Acknowledgement sent to Chris Lamb <lamby@debian.org>:
Extra info received and forwarded to list. Copy sent to Niko Tyni <ntyni@debian.org>. (Sun, 28 Aug 2016 15:27:08 GMT) (full text, mbox, link).


Message #10 received at 834190@bugs.debian.org (full text, mbox, reply):

From: Chris Lamb <lamby@debian.org>
To: 834190@bugs.debian.org
Subject: Re: perl: please make the output of ExtUtils::Command::MM reproducible
Date: Sun, 28 Aug 2016 16:25:00 +0100
Hi,

> perl: please make the output of ExtUtils::Command::MM reproducible

See also #835815.


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby@debian.org / chris-lamb.co.uk
       `-



Set Bug forwarded-to-address to 'https://github.com/Perl-Toolchain-Gang/ExtUtils-MakeMaker/pull/279'. Request was from Dominic Hargreaves <dom@earth.li> to control@bugs.debian.org. (Sun, 28 Aug 2016 16:51:20 GMT) (full text, mbox, link).


Added tag(s) pending. Request was from Dominic Hargreaves <dom@earth.li> to control@bugs.debian.org. (Sun, 28 Aug 2016 17:18:16 GMT) (full text, mbox, link).


Reply sent to Dominic Hargreaves <dom@earth.li>:
You have taken responsibility. (Thu, 01 Sep 2016 12:39:10 GMT) (full text, mbox, link).


Notification sent to Chris Lamb <lamby@debian.org>:
Bug acknowledged by developer. (Thu, 01 Sep 2016 12:39:10 GMT) (full text, mbox, link).


Message #19 received at 834190-close@bugs.debian.org (full text, mbox, reply):

From: Dominic Hargreaves <dom@earth.li>
To: 834190-close@bugs.debian.org
Subject: Bug#834190: fixed in perl 5.22.2-4
Date: Thu, 01 Sep 2016 12:35:09 +0000
Source: perl
Source-Version: 5.22.2-4

We believe that the bug you reported is fixed in the latest version of
perl, 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 834190@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Dominic Hargreaves <dom@earth.li> (supplier of updated perl 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 ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Thu, 01 Sep 2016 11:47:02 +0100
Source: perl
Binary: perl-base perl-doc perl-debug libperl5.22 libperl-dev perl-modules-5.22 perl
Architecture: source
Version: 5.22.2-4
Distribution: unstable
Urgency: low
Maintainer: Niko Tyni <ntyni@debian.org>
Changed-By: Dominic Hargreaves <dom@earth.li>
Description:
 libperl-dev - Perl library: development files
 libperl5.22 - shared Perl library
 perl       - Larry Wall's Practical Extraction and Report Language
 perl-base  - minimal Perl system
 perl-debug - debug-enabled Perl interpreter
 perl-doc   - Perl documentation
 perl-modules-5.22 - Core Perl modules
Closes: 588017 834190 835815
Changes:
 perl (5.22.2-4) unstable; urgency=low
 .
   * Fix test failure when '.' has been removed from @INC
   * Remove '.' from @INC by default (Closes: #588017)
     + this behaviour can (for now) be disabled by commenting out the
       last line of /etc/perl/sitecustomize.pl
   * Make perllocal.pod files reproducible. Thanks to Chris Lamb
     (Closes: #834190, #835815)
Checksums-Sha1:
 c1a9c4729af29384780f102e8343a5421b02ef1d 2333 perl_5.22.2-4.dsc
 54471a125065e2fb608f5b2116470a2008827983 162708 perl_5.22.2-4.debian.tar.xz
Checksums-Sha256:
 33a4a46de0b1b100671927bbcd161bb2d26a5bebfcf0ce501647c3dc545dd766 2333 perl_5.22.2-4.dsc
 d4eb31130e97c86f1d8515dfb6fbc5143dc702999284cbd17dee33a7f0b09641 162708 perl_5.22.2-4.debian.tar.xz
Files:
 742e840286e1b74a5448d5ef338c7101 2333 perl standard perl_5.22.2-4.dsc
 5da07397d8523a1e4357f73ef9a3785c 162708 perl standard perl_5.22.2-4.debian.tar.xz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBAgAGBQJXyB1qAAoJEMAFfnFNaU+y964QALinORKTBN0y2U2hVhepS+3o
1eHfySPcSjkCf8v8OOB2YE6Y25kwow6wgqBNUG3WsEF2odetEXqAp3AwmlYUNMpE
hHtrmH3mrpZmFP5gN9ky0Op++XsPLjRBuZAVm323pXpEEm9gCSnzJJuo+f0j7rD7
0cjy+8a3GrCsTPFharxv58Xj0QxvelcHf6I6BRdrf8oLoxy135tAYBFkj21ryifh
eDNiVDYouQEKQALc8lNTvH9CVjUgl5S2L+3juDoc0pUHWyi1aNlYDSNF5tVIbndS
VmVWL+0mvqq00to5I6c9VL8b1325HEHWIZnPOz0Xy6d3LSlxUBaNkXmhsViAiKOR
K3VcDFFz5Ah7qK+YO+MRwIJx+VDmvws2t01/bdvT6UwKmmrCot9zF3DAX8RuRSKj
4bcsDayvR2yfwTYgNmLXkccx6Hf5fOHVgyUIkVtCass86EQGgcuTVeZlS0kvvkw/
xkE720IlkaDt79sMM1D6WZUfB3mJ0IX/apadY/QrkHQ6TEh+h/Xvu8TJxDXLmEzh
Yqzsl1If33yxjKOTMCLYzPMGS1AOabIsbForM4hqz++7UnKmAH0GGxjljeslGUJw
p7OxW5U3VfRKKaLvYTTiYoqR9YF3iOANuq6FuiYoAje5uU4lvmfDMLHtaPcmi2yD
XBAw0sJ9YhGv/IpHtE5g
=7xSS
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Mon, 05 Dec 2016 11:31:59 GMT) (full text, mbox, link).


Bug unarchived. Request was from Don Armstrong <don@debian.org> to control@bugs.debian.org. (Wed, 07 Dec 2016 01:53:01 GMT) (full text, mbox, link).


Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Fri, 27 Jan 2017 11:47:27 GMT) (full text, mbox, link).


Bug unarchived. Request was from Dominic Hargreaves <dom@earth.li> to control@bugs.debian.org. (Tue, 07 Feb 2017 22:33:10 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Niko Tyni <ntyni@debian.org>:
Bug#834190; Package src:perl. (Tue, 07 Feb 2017 22:39:02 GMT) (full text, mbox, link).


Acknowledgement sent to Dominic Hargreaves <dom@earth.li>:
Extra info received and forwarded to list. Copy sent to Niko Tyni <ntyni@debian.org>. (Tue, 07 Feb 2017 22:39:02 GMT) (full text, mbox, link).


Message #32 received at 834190@bugs.debian.org (full text, mbox, reply):

From: Dominic Hargreaves <dom@earth.li>
To: Chris Lamb <lamby@debian.org>
Cc: 834190@bugs.debian.org
Subject: Re: Bug#834190: perl: please make the output of ExtUtils::Command::MM reproducible
Date: Tue, 7 Feb 2017 22:34:09 +0000
On Fri, Aug 12, 2016 at 10:39:13PM +0100, Chris Lamb wrote:
> Whilst working on the Reproducible Builds effort [0], I noticed
> that ExtUtils::Command::MM generates perllocal.pod files that are
> not reproducible.
> 
> For example:
> 
>   -=head2 Sun Jul  3 14:56:53 2016: C<Mod  [..]
>   +=head2 Sun Aug  6 23:18:50 2017: C<Mod  [..]
> 
> Patch attached.
> 
>  [0] https://reproducible-builds.org/

Hi Chris,

Could you clarify how this showed up as an issue as part of the
reproducible builds work? There seems to be some resistance to the
change in https://github.com/Perl-Toolchain-Gang/ExtUtils-MakeMaker/pull/279
that I don't quite understand, and it'd be nice to demonstrate more
clearly that it's relevant outside Debian...

Cheers,
Dominic.



Information forwarded to debian-bugs-dist@lists.debian.org, Niko Tyni <ntyni@debian.org>:
Bug#834190; Package src:perl. (Wed, 08 Feb 2017 02:51:03 GMT) (full text, mbox, link).


Acknowledgement sent to Chris Lamb <lamby@debian.org>:
Extra info received and forwarded to list. Copy sent to Niko Tyni <ntyni@debian.org>. (Wed, 08 Feb 2017 02:51:03 GMT) (full text, mbox, link).


Message #37 received at 834190@bugs.debian.org (full text, mbox, reply):

From: Chris Lamb <lamby@debian.org>
To: Dominic Hargreaves <dom@earth.li>
Cc: 834190@bugs.debian.org
Subject: Re: Bug#834190: perl: please make the output of ExtUtils::Command::MM reproducible
Date: Wed, 08 Feb 2017 15:48:56 +1300
Hi Dominic,

> Could you clarify how this showed up as an issue as part of the
> reproducible builds work?

Not sure how I can add beyond the original bug report alas :) However,
what I was seeing was that ExtUtils::Command::MM was generating
"perllocal.pod" files that contained the current time of day,
hence the patch.

> A reproducible build should just disable perllocal generation
>
>   — https://github.com/Perl-Toolchain-Gang/ExtUtils-MakeMaker/pull/279

I'm afraid I just don't know -- am not deep enough into Perl packaging
to know the impact of this.

Let me comment on there actually...


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby@debian.org / chris-lamb.co.uk
       `-



Information forwarded to debian-bugs-dist@lists.debian.org, Niko Tyni <ntyni@debian.org>:
Bug#834190; Package src:perl. (Wed, 08 Feb 2017 10:33:02 GMT) (full text, mbox, link).


Acknowledgement sent to Dominic Hargreaves <dom@earth.li>:
Extra info received and forwarded to list. Copy sent to Niko Tyni <ntyni@debian.org>. (Wed, 08 Feb 2017 10:33:02 GMT) (full text, mbox, link).


Message #42 received at 834190@bugs.debian.org (full text, mbox, reply):

From: Dominic Hargreaves <dom@earth.li>
To: Chris Lamb <lamby@debian.org>, 834190@bugs.debian.org
Subject: Re: Bug#834190: perl: please make the output of ExtUtils::Command::MM reproducible
Date: Wed, 8 Feb 2017 10:28:45 +0000
On Wed, Feb 08, 2017 at 03:48:56PM +1300, Chris Lamb wrote:
> Hi Dominic,
> 
> > Could you clarify how this showed up as an issue as part of the
> > reproducible builds work?
> 
> Not sure how I can add beyond the original bug report alas :) However,
> what I was seeing was that ExtUtils::Command::MM was generating
> "perllocal.pod" files that contained the current time of day,
> hence the patch.

I suppose my question was whether you saw this in the context of
a package build (which would be odd, but I'm sure there are cases
where it happens) or at some other time (in which case, is there
still a justification for working towards reproducibility)? I appreciate
this was a long time ago so you may not have the information, and I
should have asked this at the time.

perllocal.pod generation is already disabled for vendor installs so either
there is a bug in that or you saw the generation happening elsewhere.

https://sources.debian.net/src/perl/5.24.1-1/debian/patches/debian/no_packlist_perllocal.diff/

> > A reproducible build should just disable perllocal generation
> >
> >   — https://github.com/Perl-Toolchain-Gang/ExtUtils-MakeMaker/pull/279
> 
> I'm afraid I just don't know -- am not deep enough into Perl packaging
> to know the impact of this.
> 
> Let me comment on there actually...

Thanks!
Dominic.



Information forwarded to debian-bugs-dist@lists.debian.org, Niko Tyni <ntyni@debian.org>:
Bug#834190; Package src:perl. (Wed, 08 Feb 2017 20:57:02 GMT) (full text, mbox, link).


Acknowledgement sent to Chris Lamb <lamby@debian.org>:
Extra info received and forwarded to list. Copy sent to Niko Tyni <ntyni@debian.org>. (Wed, 08 Feb 2017 20:57:02 GMT) (full text, mbox, link).


Message #47 received at 834190@bugs.debian.org (full text, mbox, reply):

From: Chris Lamb <lamby@debian.org>
To: Dominic Hargreaves <dom@earth.li>, 834190@bugs.debian.org
Subject: Re: Bug#834190: perl: please make the output of ExtUtils::Command::MM reproducible
Date: Thu, 09 Feb 2017 09:54:28 +1300
Hi Dominic,

> I suppose my question was whether you saw this in the context of
> a package build (which would be odd, but I'm sure there are cases
> where it happens) or at some other time

Package builds, definitely. :)

Digging into the history of our "notes.git", this was (at least) in
rt-extension-customfieldsonupdate and rt-extension-spawnlinkedticketinqueue.


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby@debian.org / chris-lamb.co.uk
       `-



Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Thu, 09 Mar 2017 07:28:26 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Wed May 17 13:51:02 2023; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.