972861">

Debian Bug report logs - #972861
emacs: please make the generated .el files reproducible

version graph

Package: src:emacs; Maintainer for src:emacs is Rob Browning <rlb@defaultvalue.org>;

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

Date: Sun, 25 Oct 2020 10:57:01 UTC

Severity: wishlist

Tags: patch

Found in version emacs/1:27.1+1-1

Fixed in version emacs/1:27.1+1-3

Done: Rob Browning <rlb@defaultvalue.org>

Bug is archived. No further changes may be made.

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


Report forwarded to debian-bugs-dist@lists.debian.org, reproducible-bugs@lists.alioth.debian.org, Rob Browning <rlb@defaultvalue.org>:
Bug#972861; Package src:emacs. (Sun, 25 Oct 2020 10:57:03 GMT) (full text, mbox, link).


Acknowledgement sent to "Chris Lamb" <lamby@debian.org>:
New Bug report received and forwarded. Copy sent to reproducible-bugs@lists.alioth.debian.org, Rob Browning <rlb@defaultvalue.org>. (Sun, 25 Oct 2020 10:57:03 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, wrote: > Source: emacs > Version: 1:27.1+1-1 > Severity: wishlist > Tags: patch > User: reproducible-builds@lists.alioth.debian.org > Usertags: buildpath > X-Debbugs-Cc: reproducible-bugs@lists.alioth.debian.org > > Hi, > > Whilst working on the Reproducible Builds effort [0] we noticed that > emacs is now generating .el files that do not build reproducibly. > > Specifically, it adds "Generated package description from " > to these files that then get installed under the > /usr/share/emacs/site-lisp/elpa-src dir. This seems to be affecting > most packages that use dh-elpa. > > Here's nose-el, for example: > > -;;; Generated package description from /build/1st/nose-el-0.1.1/debian/elpa-nose/usr/share/emacs/site-lisp/elpa-src/nose-0.1.1/nose.el -*- no-byte-compile: t -*- > +;;; Generated package description from /build/2/nose-el-0.1.1/2nd/debian/elpa-nose/usr/share/emacs/site-lisp/elpa-src/nose-0.1.1/nose.el -*- no-byte-compile: t -*- > > Patch attached that drops this particular filename; it probably isn't > very useful in a Debian package context. An alternative approach could > be to regexp it down to "nose-0.1.1/nose.el" or similar; I suppose my > patch is more of an exact clarification on the issue rather than a > request for it to be fixed in this specific way. > > [0] https://reproducible-builds.org/ > > > Regards, > > -- > ,''`. > : :' : Chris Lamb > `. `'` lamby@debian.org / chris-lamb.co.uk > `- &References=<160362290947.1032690.8900383658917838209@tinycat.chris-lamb.co.uk>&In-Reply-To=<160362290947.1032690.8900383658917838209@tinycat.chris-lamb.co.uk>">reply):

From: "Chris Lamb" <lamby@debian.org>
To: submit@bugs.debian.org
Subject: emacs: please make the generated .el files reproducible
Date: Sun, 25 Oct 2020 10:52:27 +0000
[Message part 1 (text/plain, inline)]
Source: emacs
Version: 1:27.1+1-1
Severity: wishlist
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: buildpath
X-Debbugs-Cc: reproducible-bugs@lists.alioth.debian.org

Hi,

Whilst working on the Reproducible Builds effort [0] we noticed that
emacs is now generating .el files that do not build reproducibly.

Specifically, it adds "Generated package description from <fullpath>"
to these files that then get installed under the
/usr/share/emacs/site-lisp/elpa-src dir. This seems to be affecting
most packages that use dh-elpa.

Here's nose-el, for example:

 -;;; Generated package description from /build/1st/nose-el-0.1.1/debian/elpa-nose/usr/share/emacs/site-lisp/elpa-src/nose-0.1.1/nose.el  -*- no-byte-compile: t -*-
 +;;; Generated package description from /build/2/nose-el-0.1.1/2nd/debian/elpa-nose/usr/share/emacs/site-lisp/elpa-src/nose-0.1.1/nose.el  -*- no-byte-compile: t -*-

Patch attached that drops this particular filename; it probably isn't
very useful in a Debian package context. An alternative approach could
be to regexp it down to "nose-0.1.1/nose.el" or similar; I suppose my
patch is more of an exact clarification on the issue rather than a
request for it to be fixed in this specific way.

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


Regards,

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

Information forwarded to debian-bugs-dist@lists.debian.org, Rob Browning <rlb@defaultvalue.org>:
Bug#972861; Package src:emacs. (Thu, 05 Nov 2020 13:06:03 GMT) (full text, mbox, link).


Acknowledgement sent to "Chris Lamb" <lamby@debian.org>:
Extra info received and forwarded to list. Copy sent to Rob Browning <rlb@defaultvalue.org>. (Thu, 05 Nov 2020 13:06:03 GMT) (full text, mbox, link).


Message #10 received at 972861@bugs.debian.org (full text, mbox, wrote: > Hi Emacs maintainers, > > > emacs: please make the generated .el files reproducible > > Would it be possible to apply this patch or otherwise address this > issue? Since filing this bug I can count 160+ packages that are now > unreproducible in unstable due to this. Thanks for considering. > > > Regards, > > -- > ,''`. > : :' : Chris Lamb > `. `'` lamby@debian.org / chris-lamb.co.uk > `- > > &subject=Re: emacs: please make the generated .el files reproducible">reply):

From: "Chris Lamb" <lamby@debian.org>
To: 972861@bugs.debian.org
Cc: reproducible-bugs@lists.alioth.debian.org
Subject: Re: emacs: please make the generated .el files reproducible
Date: Thu, 05 Nov 2020 13:04:02 -0000
Hi Emacs maintainers,

> emacs: please make the generated .el files reproducible

Would it be possible to apply this patch or otherwise address this
issue? Since filing this bug I can count 160+ packages that are now
unreproducible in unstable due to this. Thanks for considering.


Regards,

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



Information forwarded to debian-bugs-dist@lists.debian.org:
Bug#972861; Package src:emacs. (Sat, 07 Nov 2020 04:03:02 GMT) (full text, mbox, link).


Acknowledgement sent to Rob Browning <rlb@defaultvalue.org>:
Extra info received and forwarded to list. (Sat, 07 Nov 2020 04:03:02 GMT) (full text, mbox, link).


Message #15 received at 972861@bugs.debian.org (full text, mbox, writes: > > > Hi Emacs maintainers, > > > >> emacs: please make the generated .el files reproducible > > > > Would it be possible to apply this patch or otherwise address this > > issue? Since filing this bug I can count 160+ packages that are now > > unreproducible in unstable due to this. Thanks for considering. > > Apologies for the slow response, and I'll try to take a look this > weekend. Happy to help sort it out. > > Thanks > -- > Rob Browning > rlb @defaultvalue.org and @debian.org > GPG as of 2011-07-10 E6A9 DA3C C9FD 1FF8 C676 D2C4 C0F0 39E9 ED1B 597A > GPG as of 2002-11-03 14DD 432F AE39 534D B592 F9A0 25C8 D377 8C7E 73A4 > > &subject=Re: Bug#972861: emacs: please make the generated .el files reproducible">reply):

From: Rob Browning <rlb@defaultvalue.org>
To: Chris Lamb <lamby@debian.org>, 972861@bugs.debian.org, 972861@bugs.debian.org
Cc: reproducible-bugs@lists.alioth.debian.org
Subject: Re: Bug#972861: emacs: please make the generated .el files reproducible
Date: Fri, 06 Nov 2020 22:01:15 -0600
"Chris Lamb" <lamby@debian.org> writes:

> Hi Emacs maintainers,
>
>> emacs: please make the generated .el files reproducible
>
> Would it be possible to apply this patch or otherwise address this
> issue? Since filing this bug I can count 160+ packages that are now
> unreproducible in unstable due to this. Thanks for considering.

Apologies for the slow response, and I'll try to take a look this
weekend.  Happy to help sort it out.

Thanks
-- 
Rob Browning
rlb @defaultvalue.org and @debian.org
GPG as of 2011-07-10 E6A9 DA3C C9FD 1FF8 C676 D2C4 C0F0 39E9 ED1B 597A
GPG as of 2002-11-03 14DD 432F AE39 534D B592 F9A0 25C8 D377 8C7E 73A4



Reply sent to Rob Browning <rlb@defaultvalue.org>:
You have taken responsibility. (Sat, 07 Nov 2020 23:21:05 GMT) (full text, mbox, link).


Notification sent to "Chris Lamb" <lamby@debian.org>:
Bug acknowledged by developer. (Sat, 07 Nov 2020 23:21:05 GMT) (full text, mbox, link).


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

From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
To: 972861-close@bugs.debian.org
Subject: Bug#972861: fixed in emacs 1:27.1+1-3
Date: Sat, 07 Nov 2020 23:18:23 +0000
Source: emacs
Source-Version: 1:27.1+1-3
Done: Rob Browning <rlb@defaultvalue.org>

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

Debian distribution maintenance software
pp.
Rob Browning <rlb@defaultvalue.org> (supplier of updated emacs 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: SHA256

Format: 1.8
Date: Sat, 07 Nov 2020 16:16:23 -0600
Source: emacs
Architecture: source
Version: 1:27.1+1-3
Distribution: unstable
Urgency: medium
Maintainer: Rob Browning <rlb@defaultvalue.org>
Changed-By: Rob Browning <rlb@defaultvalue.org>
Closes: 972861 973633
Changes:
 emacs (1:27.1+1-3) unstable; urgency=medium
 .
   * Strip parent path from package descriptions for reprodcibility.  Add
     0012-Strip-parent-path-from-package-descriptions-for-repr.patch to
     incorporate the changes.  Thanks to Chris Lamb for reporting the
     problem and tracking down the cause. (Closes: 972861)
 .
   * Apply upstream patch to restore schemas.xml to fix nXML mode.  Add
     0013-Recover-the-contents-of-the-schemas.xml-file.patch to incorporate
     the changes.  Thanks to Yasuhiro KIMURA for reporting the problem and
     the fix.  (Closes: 973633)
Checksums-Sha1:
 f3067cf5ba96c8ca3515f07d98ea54fd4c580d8d 2825 emacs_27.1+1-3.dsc
 46be56c4e562a24394dc6f9a4f55e2374570161b 57264 emacs_27.1+1-3.debian.tar.xz
 be66c6a454c7d76d5c7113268274eceeb9083db9 20472 emacs_27.1+1-3_amd64.buildinfo
Checksums-Sha256:
 5c2d79a1532926b2131b5f6885f15618ac8a84407ecc3de7163cf93f499ee275 2825 emacs_27.1+1-3.dsc
 366de53779302a5576bac3f3746f0766fcdd886e523070b126f3832f45f06552 57264 emacs_27.1+1-3.debian.tar.xz
 0691f3354f53f8c0b442bb30139c03be9a247ed642f56b2981fa907e129078e9 20472 emacs_27.1+1-3_amd64.buildinfo
Files:
 c0e856b22c9e122500edc5753e3ee4b6 2825 editors optional emacs_27.1+1-3.dsc
 50b4ef4591be6c3e71f71e7cf9c75504 57264 editors optional emacs_27.1+1-3.debian.tar.xz
 90abd3f113a479c27a59fe4c5b03b1aa 20472 editors optional emacs_27.1+1-3_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJJBAEBCAAzFiEEPTFSABe5ruOuhW+97vEWxVpaQvEFAl+nJT4VHHJsYkBkZWZh
dWx0dmFsdWUub3JnAAoJEO7xFsVaWkLxbQoP/jSwA0bpklYUWR0uWF19+awYInrq
42S0R3pYo0nASwxksoKjyffUtZPZcxjD3ckWdZcB1PAVFnjWHtiRaL6aZYJeTuGw
bUQX0Hu1O4ADD55ggnOzdJP+ehKR5EXDrmhWRVGQ7Xz2uaE5FlY26qVg8oRJeJEJ
0hMn5M8/+SBsYv31zw168EOmHqxLSXg47UaWUSn3spH5ZKyJk2vW/lhnlJXxAm3C
YQqfOveBWrsphwIh2rp8EpewFdyfb6FZP24rPwpT+iWL2j+u3ZRKYEwbDKu0Z2lI
3D/1pIdXZJ83OiAUwO9HZsOmzcdqFxcLe7nz3DD1YBbOyM5XqhBEsjX/999Too6m
1UxyB4p4kHbZ1doi/6Ux7cWi+L3245N7+mmN6z3Nr765V/2lzODIZg5PlWOYXygX
lGmrxI74qAYSrikDfG97Zxvz+qIrjzdHvtxpeQMhxQe+IWuDsHiLsr8x7Qk7X0df
/WVp6V7DvOgUSepKpZTQqeC2Lw5FFN5XuxzRuUgeeAjn6mp75I0DS18WXfog2mI/
Xsr7GL8U1e6kMSf+16ki3sy3EdGpBmG6e+6axcDm3PiwNVC8xYX47hBZMz41+ArO
bkBSUZx1fUAI32NvcoWMy51t1LSyvEDaBe7kwprJYoavrzumQLx1D5NyApWJScQr
D/n5X1VV4Bwi9ZAi
=kOAA
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Thu, 17 Dec 2020 07:26:57 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: Mon Feb 3 06:15:40 2025; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General 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.