From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!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: Tue, 07 Apr 2015 13:48:16 +0200 Message-ID: <87twws88hr.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1428407366 26854 80.91.229.3 (7 Apr 2015 11:49:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 7 Apr 2015 11:49:26 +0000 (UTC) To: 20272@debbugs.gnu.org Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Tue Apr 07 13:49:15 2015 Return-path: Envelope-to: guile-bugs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YfS0E-0000mR-VN for guile-bugs@m.gmane.org; Tue, 07 Apr 2015 13:49:11 +0200 Original-Received: from localhost ([::1]:44396 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YfS0E-0005qi-Fz for guile-bugs@m.gmane.org; Tue, 07 Apr 2015 07:49:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33531) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YfS0B-0005qZ-8P for bug-guile@gnu.org; Tue, 07 Apr 2015 07:49:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YfS06-0002SA-EB for bug-guile@gnu.org; Tue, 07 Apr 2015 07:49:07 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:57283) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YfS06-0002Ru-AP for bug-guile@gnu.org; Tue, 07 Apr 2015 07:49:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YfS06-0007XT-0C for bug-guile@gnu.org; Tue, 07 Apr 2015 07:49:02 -0400 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: Tue, 07 Apr 2015 11:49:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 20272 X-GNU-PR-Package: guile X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-guile@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.142840731628944 (code B ref -1); Tue, 07 Apr 2015 11:49:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 7 Apr 2015 11:48:36 +0000 Original-Received: from localhost ([127.0.0.1]:47059 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YfRzf-0007Wm-Il for submit@debbugs.gnu.org; Tue, 07 Apr 2015 07:48:35 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:47912) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YfRzd-0007WW-Az for submit@debbugs.gnu.org; Tue, 07 Apr 2015 07:48:33 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YfRzX-0002If-03 for submit@debbugs.gnu.org; Tue, 07 Apr 2015 07:48:27 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:37378) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YfRzW-0002Ib-Te for submit@debbugs.gnu.org; Tue, 07 Apr 2015 07:48:26 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33182) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YfRzV-0005Nt-Qn for bug-guile@gnu.org; Tue, 07 Apr 2015 07:48:26 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YfRzQ-0002Hu-61 for bug-guile@gnu.org; Tue, 07 Apr 2015 07:48:25 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:54431) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YfRzQ-0002Hq-3X for bug-guile@gnu.org; Tue, 07 Apr 2015 07:48:20 -0400 Original-Received: from pluto.bordeaux.inria.fr ([193.50.110.57]:51968 helo=pluto) by fencepost.gnu.org with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1YfRzP-00072c-Lg; Tue, 07 Apr 2015 07:48:19 -0400 X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 18 Germinal an 223 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x3D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-unknown-linux-gnu User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.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-bounces+guile-bugs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.bugs:7765 Archived-At: Currently .go files embed randomly-generated symbols stemming from =E2=80=98syntax-session-id=E2=80=99, which prevents reproducible builds (see .) One way to fix it would be to allow users to specify a random seed used when generating session ids, and to make that available as a command-line option to =E2=80=98guild compile=E2=80=99. (GCC does somethin= g similar with its =E2=80=98-frandom-seed=E2=80=99 option.) Probably, =E2=80=98syntax-session-id=E2=80=99 would have to be a SRFI-39 pa= rameter and we would need a =E2=80=98fresh-syntax-session-id=E2=80=99 procedure that wo= uld take a seed as a parameter. In turn, =E2=80=98fresh_syntax_session_id=E2=80=99 wo= uld need to take that extra argument, and it would need to be changed to not read directly from /dev/urandom. WDYT? Ludo=E2=80=99.