From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Famulari Subject: Re: [v3] Erlang Date: Mon, 4 Apr 2016 13:49:44 -0400 Message-ID: <20160404174944.GA12477@jasmine> References: <20160401081911.GA16368@thebird.nl> <20160402022054.GA17152@jasmine> <8737r2bcyv.fsf@gnu.org> <20160404033924.GA28101@jasmine> <20160404082802.GA29212@thebird.nl> <20160404165012.GA11014@jasmine> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45868) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1an8dJ-0005PC-Lo for guix-devel@gnu.org; Mon, 04 Apr 2016 13:49:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1an8dG-0003s2-Dw for guix-devel@gnu.org; Mon, 04 Apr 2016 13:49:49 -0400 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:45871) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1an8dG-0003ry-7e for guix-devel@gnu.org; Mon, 04 Apr 2016 13:49:46 -0400 Content-Disposition: inline In-Reply-To: <20160404165012.GA11014@jasmine> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Pjotr Prins Cc: guix-devel@gnu.org On Mon, Apr 04, 2016 at 12:50:12PM -0400, Leo Famulari wrote: > On Mon, Apr 04, 2016 at 10:28:02AM +0200, Pjotr Prins wrote: > > On Sun, Apr 03, 2016 at 11:39:24PM -0400, Leo Famulari wrote: > > > Debian's package exhibits this problem. The timestamps are generated in > > > the following places in the source code. I don't know how to approach > > > this problem. > > > > > > lib/kernel/test/global_SUITE_data/global_trace.erl: io:format("The trace was generated at ~p~n", [EndTime]), > > > lib/reltool/bin/reltool.escript: lists:flatten(io_lib:format("%% ~s generated at ~w ~w\n~p.\n\n", > > > lib/reltool/src/reltool_server.erl: IoList = io_lib:format("%% config generated at ~w ~w\n~p.\n\n", > > > lib/reltool/src/reltool_target.erl: RelIoList = io_lib:format("%% rel generated at ~w ~w\n~p.\n\n", > > > lib/reltool/src/reltool_target.erl: ScriptIoList = io_lib:format("%% script generated at ~w ~w\n~p.\n\n", > > > lib/reltool/src/reltool_target.erl: AppIoList = io_lib:format("%% app generated at ~w ~w\n~p.\n\n", > > > lib/reltool/src/reltool_target.erl: AppIoList = io_lib:format("%% app generated at ~w ~w\n~p.\n\n", > > > lib/runtime_tools/src/erts_alloc_config.erl: "generated at ~w-~2..0w-~2..0w ~2..0w:~2..0w.~2..0w by " > > > lib/sasl/src/systools_make.erl: io:format(Fd, "%% script generated at ~w ~w\n~p.\n", > > > lib/wx/src/gen/gl.erl:%% The program object's information log is updated and the program is generated at the time > > > > If there is no easy work around I suggest simply patching them. Fortunately > > the Erlang compiler does not change much at this level. > > The ideal solution would be to use the value of the environment variable > SOURCE_DATE_EPOCH if it is set, and else to behave as it does now. > > > We can also contact Joe Armstrong, the author of Erlang, to discuss > > this point. He appears to be approachable. I am sure he is open to > > the idea of deterministic builds in a deterministic build system ;) > > I could go to the Erlang IRC channel or forums (whatever they use) and > ask for advice. Since you are actually using Erlang, I think you would > be the better person to contact Joe Armstrong himself, if we decide to > do that. I presented the situation on IRC and it was recommended that I start the discussion on a mailing list. I think that the erlang-questions list [0] could be a good place to start. Pjotr, would you like to start the conversation? I can do it if you are too busy or something. [0] http://www.erlang.org/community