GNU bug report logs - #35511
[PATCH 0/1] Add configure flag to emacs to improve repoducibility

Previous Next

Package: guix-patches;

Reported by: wednesday <jessejohngildersleve <at> zohomail.eu>

Date: Tue, 30 Apr 2019 21:29:01 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: wednesday <jessejohngildersleve <at> zohomail.eu>
Subject: bug#35511: closed (Re: [bug#35511] [PATCH 0/1] Add configure flag
 to emacs to improve repoducibility)
Date: Tue, 21 May 2019 20:51:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#35511: [PATCH 0/1] Add configure flag to emacs to improve repoducibility

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 35511 <at> debbugs.gnu.org.

-- 
35511: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=35511
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Ludovic Courtès <ludo <at> gnu.org>
To: wednesday <jessejohngildersleve <at> zohomail.eu>
Cc: 35511-done <at> debbugs.gnu.org
Subject: Re: [bug#35511] [PATCH 0/1] Add configure flag to emacs to improve
 repoducibility
Date: Tue, 21 May 2019 22:50:20 +0200
Hi wednesday,

wednesday <jessejohngildersleve <at> zohomail.eu> skribis:

> This patch adds the --disable-build-details configure-flag to the emacs package.
> By default the emacs binary stores some information about how it was build, as
> stated here:
> "By default the dumped emacs executable records details such as the build time and host name. Use the --disable-build-details option of configure to suppress these details, so that building and installing Emacs twice from the same sources is more likely to result in identical copies of Emacs."
> https://www.gnu.org/software/emacs/manual/html_node/elisp/Building-Emacs.html
>
> There is also this mailing list post about emacs repoducibility:
> https://lists.gnu.org/archive/html/emacs-devel/2016-11/msg00711.html

This is the right thing to do, applied!

I’m committing a followup that does the same for ‘emacs-minimal’ (even
though ‘emacs-minimal’ has 784 dependent packages, I’m committing to
‘master’ because most of these build in a few seconds.)

I’ve run:

  guix challenge emacs \
    --substitute-urls='https://mirror.hydra.gnu.org https://berlin.guix.gnu.org'

on a commit before this patch, and there’s the ‘.emacs-real’ binary
alongside a dozen of .elc files that differ.  So this may not be the end
of the road, but we should keep monitoring with ‘challenge’ and ‘--check’.

Thank you!

Ludo’.

[Message part 3 (message/rfc822, inline)]
From: wednesday <jessejohngildersleve <at> zohomail.eu>
To: guix-patches <at> gnu.org
Cc: wednesday <jessejohngildersleve <at> zohomail.eu>
Subject: [PATCH 0/1] Add configure flag to emacs to improve repoducibility
Date: Tue, 30 Apr 2019 22:28:04 +0100
This patch adds the --disable-build-details configure-flag to the emacs package.
By default the emacs binary stores some information about how it was build, as
stated here:
"By default the dumped emacs executable records details such as the build time and host name. Use the --disable-build-details option of configure to suppress these details, so that building and installing Emacs twice from the same sources is more likely to result in identical copies of Emacs."
https://www.gnu.org/software/emacs/manual/html_node/elisp/Building-Emacs.html

There is also this mailing list post about emacs repoducibility:
https://lists.gnu.org/archive/html/emacs-devel/2016-11/msg00711.html

wednesday (1):
  gnu: emacs: Make build more reproducible

 gnu/packages/emacs.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

-- 
2.21.0






This bug report was last modified 5 years and 361 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.