From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([209.51.188.92]:36433) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hTBiy-0000Ff-QE for guix-patches@gnu.org; Tue, 21 May 2019 16:51:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hTBiw-0006DR-SO for guix-patches@gnu.org; Tue, 21 May 2019 16:51:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:55801) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hTBiw-0006DH-NH for guix-patches@gnu.org; Tue, 21 May 2019 16:51:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hTBiw-0004Wb-LT for guix-patches@gnu.org; Tue, 21 May 2019 16:51:02 -0400 Subject: bug#35511: [PATCH 0/1] Add configure flag to emacs to improve repoducibility Resent-To: guix-patches@gnu.org Resent-Message-ID: From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <20190430212805.3252-1-jessejohngildersleve@zohomail.eu> Date: Tue, 21 May 2019 22:50:20 +0200 In-Reply-To: <20190430212805.3252-1-jessejohngildersleve@zohomail.eu> (wednesday's message of "Tue, 30 Apr 2019 22:28:04 +0100") Message-ID: <87tvdny1kj.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: wednesday Cc: 35511-done@debbugs.gnu.org Hi wednesday, wednesday skribis: > This patch adds the --disable-build-details configure-flag to the emacs p= ackage. > By default the emacs binary stores some information about how it was buil= d, 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 t= he 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=E2=80=99m committing a followup that does the same for =E2=80=98emacs-min= imal=E2=80=99 (even though =E2=80=98emacs-minimal=E2=80=99 has 784 dependent packages, I=E2=80= =99m committing to =E2=80=98master=E2=80=99 because most of these build in a few seconds.) I=E2=80=99ve run: guix challenge emacs \ --substitute-urls=3D'https://mirror.hydra.gnu.org https://berlin.guix.g= nu.org' on a commit before this patch, and there=E2=80=99s the =E2=80=98.emacs-real= =E2=80=99 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 =E2=80=98challenge=E2=80=99= and =E2=80=98--check=E2=80=99. Thank you! Ludo=E2=80=99.