From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pjotr Prins Subject: Re: [v3] Erlang Date: Mon, 4 Apr 2016 10:28:02 +0200 Message-ID: <20160404082802.GA29212@thebird.nl> References: <20160401081911.GA16368@thebird.nl> <20160402022054.GA17152@jasmine> <8737r2bcyv.fsf@gnu.org> <20160404033924.GA28101@jasmine> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33269) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1amztS-0000GU-RD for guix-devel@gnu.org; Mon, 04 Apr 2016 04:29:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1amztP-0003t4-LN for guix-devel@gnu.org; Mon, 04 Apr 2016 04:29:54 -0400 Content-Disposition: inline In-Reply-To: <20160404033924.GA28101@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: Leo Famulari Cc: guix-devel@gnu.org 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. 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 ;) Pj.