From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Newsgroups: gmane.lisp.guile.bugs Subject: bug#20272: Support reproducible builds Date: Wed, 14 Dec 2016 17:25:38 +0100 Message-ID: <87twa6iikd.fsf@gnu.org> References: <87bmxxnjd7.fsf@gnu.org> <87shqtwxcb.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1481733007 19590 195.159.176.226 (14 Dec 2016 16:30:07 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 14 Dec 2016 16:30:07 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) Cc: 20272@debbugs.gnu.org To: Jan Nieuwenhuizen Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Wed Dec 14 17:30:04 2016 Return-path: Envelope-to: guile-bugs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cHCRO-0004DB-S4 for guile-bugs@m.gmane.org; Wed, 14 Dec 2016 17:30:02 +0100 Original-Received: from localhost ([::1]:48686 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cHCRT-0000Tj-82 for guile-bugs@m.gmane.org; Wed, 14 Dec 2016 11:30:07 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48582) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cHCOa-0003Vn-AG for bug-guile@gnu.org; Wed, 14 Dec 2016 11:27:13 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cHCOU-0001ff-O4 for bug-guile@gnu.org; Wed, 14 Dec 2016 11:27:08 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:54843) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cHCOU-0001fX-Kg for bug-guile@gnu.org; Wed, 14 Dec 2016 11:27:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cHCOU-0006FH-FG for bug-guile@gnu.org; Wed, 14 Dec 2016 11:27:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Original-Sender: "Debbugs-submit" Resent-CC: bug-guile@gnu.org Resent-Date: Wed, 14 Dec 2016 16:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20272 X-GNU-PR-Package: guile X-GNU-PR-Keywords: patch Original-Received: via spool by 20272-submit@debbugs.gnu.org id=B20272.148173276823941 (code B ref 20272); Wed, 14 Dec 2016 16:27:02 +0000 Original-Received: (at 20272) by debbugs.gnu.org; 14 Dec 2016 16:26:08 +0000 Original-Received: from localhost ([127.0.0.1]:42009 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cHCNb-0006E5-PH for submit@debbugs.gnu.org; Wed, 14 Dec 2016 11:26:07 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:57339) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cHCNa-0006Da-Ct for 20272@debbugs.gnu.org; Wed, 14 Dec 2016 11:26:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cHCNP-0000pq-Eb for 20272@debbugs.gnu.org; Wed, 14 Dec 2016 11:26:01 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:35612) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cHCNA-0000fB-Vf; Wed, 14 Dec 2016 11:25:41 -0500 Original-Received: from 212-91-237-188.dynamic.dns-net.de ([212.91.237.188]:49108 helo=pluto) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1cHCNA-0006Kp-Gs; Wed, 14 Dec 2016 11:25:40 -0500 In-Reply-To: <87shqtwxcb.fsf@gnu.org> (Jan Nieuwenhuizen's message of "Mon, 14 Nov 2016 22:44:20 +0100") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-guile@gnu.org List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Original-Sender: "bug-guile" Xref: news.gmane.org gmane.lisp.guile.bugs:8475 Archived-At: Hello Jan! Jan Nieuwenhuizen skribis: > I have been building quite some versions of Guile the past week. There > re a couple of .go files that keep giving me problems wrt > nondeterminism: > > web/server/http.go > > (define *timer* (gettimeofday)) seemed suspect, but seems harmless. > > rnrs/arithmetic/fixnums.go > > make-implementation-restriction-violation seemed suspect, but commenting > it out does not seem to help. > > After commenting out all of http.scm and fixnums.scm, yesterday I had 3 > Guix builds on two machines (GuixSD and one Ubuntu+Guix) that were > bit-identical, but one build showed differences in > > system/repl/commands.go > > Apparently most of the time this file builds deterministicly, but some > times it does not!? Ideas? Did you look at these differences with diffoscope? That would be useful. > In the mean time, one more obviously correct and trivial patch attatched > that removes a build time stamp. I=E2=80=99ve committed something similar but that honors =E2=80=98SOURCE_DA= TE_EPOCH=E2=80=99. So by default there=E2=80=99s no difference compared to the previous behavi= or, but if =E2=80=98SOURCE_DATE_EPOCH=E2=80=99 is given, then it is used as the= build date. Thanks! Ludo=E2=80=99.