From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: [PATCH PING] Honor 'SOURCE_DATE_EPOCH' when generating autoloads. Date: Sun, 29 Nov 2015 18:02:35 +0200 Message-ID: <83mvtwoktg.fsf@gnu.org> References: <87k2ph3mgx.fsf@gnu.org> <87io4lnkyz.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE X-Trace: ger.gmane.org 1448813010 32378 80.91.229.3 (29 Nov 2015 16:03:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 29 Nov 2015 16:03:30 +0000 (UTC) Cc: emacs-devel@gnu.org To: ludo@gnu.org (Ludovic =?iso-8859-1?Q?Court=E8s?=) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Nov 29 17:03:18 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1a34RX-0006Xe-89 for ged-emacs-devel@m.gmane.org; Sun, 29 Nov 2015 17:03:15 +0100 Original-Received: from localhost ([::1]:36762 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a34Rb-0006X6-1d for ged-emacs-devel@m.gmane.org; Sun, 29 Nov 2015 11:03:19 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53744) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a34RX-0006X0-US for emacs-devel@gnu.org; Sun, 29 Nov 2015 11:03:16 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a34RS-0005EU-UH for emacs-devel@gnu.org; Sun, 29 Nov 2015 11:03:15 -0500 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:52641) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a34RS-0005EO-MW; Sun, 29 Nov 2015 11:03:10 -0500 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0NYL00C0030TE700@a-mtaout22.012.net.il>; Sun, 29 Nov 2015 18:02:47 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([84.94.185.246]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NYL00CBX38IAP30@a-mtaout22.012.net.il>; Sun, 29 Nov 2015 18:02:43 +0200 (IST) In-reply-to: <87io4lnkyz.fsf@gnu.org> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.172 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:195543 Archived-At: > From: ludo@gnu.org (Ludovic Court=E8s) > Date: Sun, 29 Nov 2015 11:44:36 +0100 >=20 > https://lists.gnu.org/archive/html/emacs-devel/2015-11/msg01547.h= tml >=20 > Support bit-for-bit reproducible generation of autoloads. > See . > Submitted on behalf of Alex Kost. >=20 > * lisp/emacs-lisp/autoload.el (autoload-insert-section-header): Che= ck > whether the 'SOURCE_DATE_EPOCH' environment variable is defined; us= e it > as the TIME part of the 'autoloads' sexp when it is. Thanks, but I think we need to discuss this first. First, if this is Alex's code, please show his full name and email address, as they will have to be mentioned in the commit message, and we need to know the status of his legal paperwork, or the lack thereof. Second, I don't see how doing this in only loaddefs.el will help make an Emacs build "reproducible": each of the *.elc files includes the version number of the Emacs binary, which is not necessarily constant across different builds. (I think I also saw some other stuff in *.elc files that can be different between otherwise identical builds.= ) Then there's the name of the build system and the repository version string that get hard-coded into the binary. There could be other sources of differences. (I'm not mentioning the C compiler, assembler, and linker, as I see similar requests posted to the respective mailing lists.) Finally, this will have to be documented in the ELisp manual, probabl= y in the Internals appendix. Thanks.