Bug#972861: emacs: please make the generated .el files reproducible
Chris Lamb
lamby at debian.org
Sun Oct 25 10:52:27 GMT 2020
Source: emacs
Version: 1:27.1+1-1
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: buildpath
X-Debbugs-Cc: reproducible-bugs at 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 at debian.org / chris-lamb.co.uk
`-
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: emacs.diff.txt
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20201025/e8385d8d/attachment.txt>
More information about the Reproducible-bugs
mailing list