Your message dated Sat, 07 Nov 2020 23:18:23 +0000
with message-id <[email protected]>
and subject line Bug#972861: fixed in emacs 1:27.1+1-3
has caused the Debian Bug report #972861,
regarding emacs: please make the generated .el files reproducible
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
972861: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=972861
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: emacs
Version: 1:27.1+1-1
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: buildpath
X-Debbugs-Cc: [email protected]
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
`. `'` [email protected] / chris-lamb.co.uk
`-
diff --git a/lisp/emacs-lisp/package.el b/lisp/emacs-lisp/package.el
index 7d6be3c..a8e1ec3 100644
--- a/lisp/emacs-lisp/package.el
+++ b/lisp/emacs-lisp/package.el
@@ -962,8 +962,7 @@ untar into a directory named DIR; otherwise, signal an
error."
(print-length nil))
(write-region
(concat
- ";;; Generated package description from "
- (replace-regexp-in-string "-pkg\\.el\\'" ".el" pkg-file)
+ ";;; Generated package description "
" -*- no-byte-compile: t -*-\n"
(prin1-to-string
(nconc
--- End Message ---
--- Begin Message ---
Source: emacs
Source-Version: 1:27.1+1-3
Done: Rob Browning <[email protected]>
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 [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Rob Browning <[email protected]> (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 [email protected])
-----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 <[email protected]>
Changed-By: Rob Browning <[email protected]>
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-----
--- End Message ---