From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: [v2 0/1] Erlang Date: Sun, 03 Apr 2016 23:26:48 +0200 Message-ID: <8737r2bcyv.fsf@gnu.org> References: <20160401081911.GA16368@thebird.nl> <20160402022054.GA17152@jasmine> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47598) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ampXr-0004Wg-13 for guix-devel@gnu.org; Sun, 03 Apr 2016 17:26:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ampXn-0004n7-Le for guix-devel@gnu.org; Sun, 03 Apr 2016 17:26:54 -0400 In-Reply-To: <20160402022054.GA17152@jasmine> (Leo Famulari's message of "Fri, 1 Apr 2016 22:20:54 -0400") 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 Leo Famulari skribis: > On Fri, Apr 01, 2016 at 10:19:11AM +0200, Pjotr Prins wrote: >>=20 >> On Thu, Mar 31, 2016 at 03:35:44PM -0400, Leo Famulari wrote: >> > This adds Erlang. >> >=20 >> > Originally written by Steve Sprang, I added the man pages and fixed all >> > the "FHS bugs" I noticed. >> >=20 >> > Pjotr used it to build a working Elixir: >> > http://lists.gnu.org/archive/html/guix-devel/2016-03/msg00999.html >>=20 >> Better even, I am actually using that Elixir and Erlang :). Please >> push when there are no other issues. >=20=20 > Cool! From my point of view, there are no blocking issues. > > There are two sources of non-determinism when building repeatedly on the > same machine. > > All the .beam files have timestamps and build paths embedded [0]. This > is a known issue without a clear solution. The build paths don't seem so > bad to me, since my understanding is that they are set deterministically > by the Guix builder. > > There are also some .script files that also embed timestamps in a human > readable string. Grepping for the string makes it easy to find the > source of this. We could patch the timestamp format string with the > value of SOURCE_DATE_EPOCH. > > Thoughts? > > [0] > https://wiki.debian.org/ReproducibleBuilds/TimestampsInBeamFiles A patch along the lines of the one of the page above should do the work for beam files, no? We=E2=80=99d have to change DEB_BUILD_DATE to SOURCE_DATE_EPOCH, and remove regexp-matching from there. Ludo=E2=80=99 (who=E2=80=99s never written Erlang code ;-)).