unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Philipp Stephani <p.stephani2@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: eggert@cs.ucla.edu, emacs-devel@gnu.org
Subject: Re: [PATCH PING] Honor 'SOURCE_DATE_EPOCH' when generating autoloads.
Date: Sun, 20 Dec 2015 18:39:04 +0000	[thread overview]
Message-ID: <CAArVCkTTk2o=2x6FZAT7CyS=XB30=sCQSq1i+Bhhxt_Yr5gtRg@mail.gmail.com> (raw)
In-Reply-To: <83k2o9t6t1.fsf@gnu.org>

[-- Attachment #1: Type: text/plain, Size: 3643 bytes --]

Eli Zaretskii <eliz@gnu.org> schrieb am So., 20. Dez. 2015 um 17:37 Uhr:

> > From: Philipp Stephani <p.stephani2@gmail.com>
> > Date: Sun, 20 Dec 2015 12:48:17 +0000
> > Cc: emacs-devel@gnu.org
> >
> > Paul Eggert <eggert@cs.ucla.edu> schrieb am Mo., 7. Dez. 2015 um 20:14
> Uhr:
> >
> >     On 12/07/2015 11:00 AM, Philipp Stephani wrote:
> >     > this would be a rather big change.
> >
> >     I suppose that depends on what one means by "big". To me it feels
> like a
> >     fairly small improvement. We've already made some progress along
> these
> >     lines in emacs-25 by removing emacs-build-system from the result of
> the
> >     emacs-version function; we just need to make more improvements like
> that.
> >
> >     It should be in 'master', though, not in 'emacs-25', as it's not
> fixing
> >     a bug.
> >
> > OK, here's a first patch that replaces system-name with a constant during
> > dumping. That eliminates one source of nondeterminism.
>
> I'm sorry, but I don't like where this is going.  I regret I didn't
> speak up earlier, but better late than never.
>
> In a nutshell, I object to losing valuable information for the benefit
> of a single specialized use case.  I have nothing against supporting
> reproducible builds as long as this removes information and data that
> is not important to us humans when developing or debugging Emacs.  For
> example, changes in loaddefs files that remove non-deterministic
> information from there or replace it with deterministic information
> are fine with me.
>
> But here we are losing information about the build system that I found
> useful more than once in the past when tracking bugs.  We have already
> removed the build system name from the bug report produced by
> report-emacs-bug (I'm going to add it back, btw, unless someone
> provides a _very_ good reason for its removal).  Earlier, we removed
> the last keystrokes, because someone was worried about their privacy,
> but couldn't be bothered to delete the sensitive parts from the bug
> report.  And your comments indicate that you intend to remove the
> build time as well, so it will be impossible to say whether a given
> binary was built before or after some change.  Where is all this
> going?
>
> I'm sorry, but I cannot agree to this slippery slope, just so we could
> support a single specialized use case.  Let's support that use case by
> providing some build-time option, either a configure-time option or a
> Makefile option, or an environment variable, or something else.  If
> someone presents a convincing case, I might even agree to have the
> release tarball build by default with that information removed
> (although I found it useful in the past when reading bug reports).
> But doing this in the development version is simply a non-starter.
> When debugging some problem that happened elsewhere, we quite often
> need every bit of information that could potentially help us, so
> removing it is out of the question.
>
> I appreciate your efforts in providing the patch, but we will have to
> find another way of supporting reproducible builds.
>
>
>
Thanks for your feedback. I'm totally happy with making this configurable
and turning it off by default. My suggestion would be to use an environment
variable EMACS_DETERMINISTIC_BUILD, which is used to initialize a new
Boolean variable `deterministic-build'. If the variable is set, the core
and Lisp packages would switch to deterministic output. I'd prefer to have
this configurable at runtime so that a single Emacs binary can be used to
produce both deterministic and non-deterministic output (e.g. for
loaddefs). Would that be OK?

[-- Attachment #2: Type: text/html, Size: 4432 bytes --]

  reply	other threads:[~2015-12-20 18:39 UTC|newest]

Thread overview: 53+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-16 17:03 [PATCH] Honor 'SOURCE_DATE_EPOCH' when generating autoloads Ludovic Courtès
2015-11-29 10:44 ` [PATCH PING] " Ludovic Courtès
2015-11-29 16:02   ` Eli Zaretskii
2015-11-29 16:57     ` Ludovic Courtès
2015-11-29 18:12       ` Eli Zaretskii
2015-11-29 20:38         ` Ludovic Courtès
2015-11-30 17:00         ` John Wiegley
2015-11-30 19:30           ` Ludovic Courtès
2015-12-07 18:36             ` Philipp Stephani
2015-12-07 18:58               ` Paul Eggert
2015-12-07 19:00                 ` Philipp Stephani
2015-12-07 19:14                   ` Paul Eggert
2015-12-20 12:48                     ` Philipp Stephani
2015-12-20 16:37                       ` Eli Zaretskii
2015-12-20 18:39                         ` Philipp Stephani [this message]
2015-12-20 19:03                           ` Eli Zaretskii
2015-12-20 21:27                           ` Paul Eggert
2015-12-23  1:13                             ` John Wiegley
2015-12-23 16:01                               ` Philipp Stephani
2015-12-23 16:39                                 ` Eli Zaretskii
2015-12-23 16:52                                   ` Philipp Stephani
2015-12-23 17:10                                     ` Eli Zaretskii
2015-12-23 17:38                                       ` Philipp Stephani
2015-12-23 21:09                                         ` Paul Eggert
2015-12-24  3:33                                           ` Eli Zaretskii
2015-12-24  6:54                                             ` Paul Eggert
2015-12-24 16:18                                               ` Eli Zaretskii
2015-12-27  9:53                                     ` Philipp Stephani
2015-12-27 16:10                                       ` Eli Zaretskii
2016-02-29 21:52                                         ` Philipp Stephani
2016-03-01 16:36                                           ` Paul Eggert
2016-03-01 21:46                                             ` Philipp Stephani
2016-03-02 18:24                                               ` Paul Eggert
2016-03-02 18:30                                                 ` Philipp Stephani
2016-03-22 13:30                                                   ` Philipp Stephani
2016-03-22 20:37                                                     ` Paul Eggert
2016-03-22 21:46                                                       ` Philipp Stephani
2016-03-22 21:58                                                         ` Paul Eggert
2016-03-23  8:03                                                         ` Andreas Schwab
2016-04-06 21:29                                                           ` Philipp Stephani
2015-12-27 23:26                                       ` Paul Eggert
2015-12-28 16:26                                         ` Eli Zaretskii
2015-12-28 18:00                                           ` Paul Eggert
2015-12-28 18:23                                             ` Eli Zaretskii
2015-12-29  3:01                                               ` Paul Eggert
2015-12-29 15:38                                                 ` Eli Zaretskii
2015-12-29 16:47                                                   ` Paul Eggert
2015-12-29 17:59                                                     ` Eli Zaretskii
2015-12-29 20:33                                                       ` Paul Eggert
2015-12-07 23:11               ` Ludovic Courtès
2015-11-30  9:22       ` Alex Kost
2015-11-29 20:22   ` Paul Eggert
2015-11-29 20:42     ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAArVCkTTk2o=2x6FZAT7CyS=XB30=sCQSq1i+Bhhxt_Yr5gtRg@mail.gmail.com' \
    --to=p.stephani2@gmail.com \
    --cc=eggert@cs.ucla.edu \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).