GNU logs - #22304, boring messages


Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#22304: Build for Julia is not reproducible
Resent-From: Ricardo Wurmus <ricardo.wurmus@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Mon, 04 Jan 2016 16:30:02 +0000
Resent-Message-ID: <handler.22304.B.145192495226207 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 22304
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: 22304 <at> debbugs.gnu.org
X-Debbugs-Original-To: <bug-guix@HIDDEN>
Received: via spool by submit <at> debbugs.gnu.org id=B.145192495226207
          (code B ref -1); Mon, 04 Jan 2016 16:30:02 +0000
Received: (at submit) by debbugs.gnu.org; 4 Jan 2016 16:29:12 +0000
Received: from localhost ([127.0.0.1]:37773 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1aG80O-0006oc-El
	for submit <at> debbugs.gnu.org; Mon, 04 Jan 2016 11:29:12 -0500
Received: from eggs.gnu.org ([208.118.235.92]:51024)
 by debbugs.gnu.org with esmtp (Exim 4.84)
 (envelope-from <Ricardo.Wurmus@HIDDEN>) id 1aG80L-0006oP-Uc
 for submit <at> debbugs.gnu.org; Mon, 04 Jan 2016 11:29:10 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <Ricardo.Wurmus@HIDDEN>) id 1aG80F-0000Xe-TY
 for submit <at> debbugs.gnu.org; Mon, 04 Jan 2016 11:29:04 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,T_DKIM_INVALID
 autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:57797)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <Ricardo.Wurmus@HIDDEN>) id 1aG80F-0000Xa-Qs
 for submit <at> debbugs.gnu.org; Mon, 04 Jan 2016 11:29:03 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:41990)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <Ricardo.Wurmus@HIDDEN>) id 1aG80E-00030H-Qp
 for bug-guix@HIDDEN; Mon, 04 Jan 2016 11:29:03 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <Ricardo.Wurmus@HIDDEN>) id 1aG80A-0000Wr-Lp
 for bug-guix@HIDDEN; Mon, 04 Jan 2016 11:29:02 -0500
Received: from venus.bbbm.mdc-berlin.de ([141.80.25.30]:54039)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <Ricardo.Wurmus@HIDDEN>) id 1aG80A-0000Wm-CC
 for bug-guix@HIDDEN; Mon, 04 Jan 2016 11:28:58 -0500
Received: from localhost (localhost [127.0.0.1])
 by venus.bbbm.mdc-berlin.de (Postfix) with ESMTP id 3787238092A
 for <bug-guix@HIDDEN>; Mon,  4 Jan 2016 17:28:57 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mdc-berlin.de; h=
 content-transfer-encoding:content-type:content-type:mime-version
 :message-id:date:date:subject:subject:from:from:received
 :received:received; s=mdc; t=1451924931; x=1453739332; bh=0cicuH
 EWg/FMWjatoWfA+KIy/5QNyEl6S52CM4goRXk=; b=WPpGO73VIqAs88oKr2RJzF
 6vRJMPSufXimP3xQ82o8ccYnfPl4VkjeCsi0BEG9OLL+AtKuZZdlmL+u605rVJOI
 WP+sqpctSmt228HsX2yeaHVVpFeVhodTfuyZEFfLMbz5vnPEGYl6PKOvpq2EtpHU
 e0vxDHKa3Fkgh6VdybOkI=
X-Virus-Scanned: amavisd-new at mdc-berlin.de
Received: from venus.bbbm.mdc-berlin.de ([127.0.0.1])
 by localhost (venus.bbbm.mdc-berlin.de [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id lLkSfctPsY9L for <bug-guix@HIDDEN>;
 Mon,  4 Jan 2016 17:28:51 +0100 (CET)
Received: from HTCAONE.mdc-berlin.net (mab.citx.mdc-berlin.de [141.80.36.102])
 by venus.bbbm.mdc-berlin.de (Postfix) with ESMTP
 for <bug-guix@HIDDEN>; Mon,  4 Jan 2016 17:28:50 +0100 (CET)
Received: from localhost (141.80.180.135) by HTCAONE.mdc-berlin.net
 (141.80.180.125) with Microsoft SMTP Server (TLS) id 14.3.266.1; Mon, 4 Jan
 2016 17:28:43 +0100
From: Ricardo Wurmus <ricardo.wurmus@HIDDEN>
Date: Mon, 4 Jan 2016 17:28:42 +0100
Message-ID: <idj1t9xia11.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
X-Originating-IP: [141.80.180.135]
X-TM-AS-Product-Ver: SMEX-11.0.0.4255-8.000.1202-22046.000
X-TM-AS-Result: No-2.310000-0.000000-31
X-TM-AS-User-Approved-Sender: Yes
X-TM-AS-User-Blocked-Sender: No
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -5.0 (-----)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.0 (-----)

When building =E2=80=9Cjulia=E2=80=9D twice we get different binaries for

  $out/lib/julia/sys.so

and

  $out/lib/julia/sys-debug.so

I could not determine the exact differences, because instead of a diff I
just see something like this:

--- /gnu/store/6njfyp46b22b0wb0r0ccg2wdzjx7066g-julia-0.4.2/lib/julia/sys=
.so
+++ 6njfyp46b22b0wb0r0ccg2wdzjx7066g-julia-0.4.2/lib/julia/sys.so
=E2=94=9C=E2=94=80=E2=94=80 objdump --disassemble --full-contents {}
=E2=94=82 @@ -99994,8 +99994,8 @@
=E2=94=82   186a00 05a3d38a 01488985 38ffffff 488b0515  .....H..8...H...
=E2=94=82   186a10 5b8b0148 898540ff ffff4c89 ad48ffff  [..H..@...L..H..
=E2=94=82   186a20 ff31ffba 03000000 4c8db538 ffffff4c  .1......L..8...L
=E2=94=82   186a30 89f64989 f4e8b653 f0ff4889 8538ffff  ..I....S..H..8..
=E2=94=82   186a40 ff31ffba 03000000 488d9d28 ffffff49  .1......H..(...I
=E2=94=82   186a50 89de4c89 f6e89653 f0ff4889 8528ffff  ..L....S..H..(..
=E2=94=82   186a60 ff488b05 38d08a01 48898530 ffffff48  .H..8...H..0...H
=E2=94=82 -[ Too much input for diff ]                    =20
=E2=94=82 +[ Too much input for diff ]                        =20

...

--- /gnu/store/6njfyp46b22b0wb0r0ccg2wdzjx7066g-julia-0.4.2/lib/julia/sys=
-debug.so
+++ 6njfyp46b22b0wb0r0ccg2wdzjx7066g-julia-0.4.2/lib/julia/sys-debug.so
=E2=94=9C=E2=94=80=E2=94=80 objdump --disassemble --full-contents {}
=E2=94=82 @@ -99994,8 +99994,8 @@
=E2=94=82   1869f0 01488b38 be370200 00e84257 f0ffe89d  .H.8.7....BW....
=E2=94=82   186a00 56f0ff66 6666662e 0f1f8400 00000000  V..ffff.........
=E2=94=82   186a10 554889e5 488b3e48 8b7608e8 e0fdffff  UH..H.>H.v......
=E2=94=82   186a20 4889c7e8 2856f0ff 5dc3660f 1f440000  H...(V..].f..D..
=E2=94=82   186a30 554889e5 4883ec10 64488b04 25280000  UH..H...dH..%(..
=E2=94=82   186a40 00488945 f848833d fb4d8d01 00740948  .H.E.H.=3D.M...t.=
H
=E2=94=82   186a50 8b0df24d 8d01eb1f 488d3591 ac190048  ...M....H.5....H
=E2=94=82 -[ Too much input for diff ]                    =20
=E2=94=82 +[ Too much input for diff ]                        =20
=E2=95=B5

~~ Ricardo




Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Ricardo Wurmus <ricardo.wurmus@HIDDEN>
Subject: bug#22304: Acknowledgement (Build for Julia is not reproducible)
Message-ID: <handler.22304.B.145192495226207.ack <at> debbugs.gnu.org>
References: <idj1t9xia11.fsf@HIDDEN>
X-Gnu-PR-Message: ack 22304
X-Gnu-PR-Package: guix
Reply-To: 22304 <at> debbugs.gnu.org
Date: Mon, 04 Jan 2016 16:30:02 +0000

Thank you for filing a new bug report with debbugs.gnu.org.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 bug-guix@HIDDEN

If you wish to submit further information on this problem, please
send it to 22304 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
22304: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D22304
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems


Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#22304: Build for Julia is not reproducible
Resent-From: ludo@HIDDEN (Ludovic =?UTF-8?Q?Court=C3=A8s?=)
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Tue, 05 Jan 2016 22:31:01 +0000
Resent-Message-ID: <handler.22304.B22304.145203306116672 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 22304
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: Ricardo Wurmus <ricardo.wurmus@HIDDEN>
Cc: 22304 <at> debbugs.gnu.org
Received: via spool by 22304-submit <at> debbugs.gnu.org id=B22304.145203306116672
          (code B ref 22304); Tue, 05 Jan 2016 22:31:01 +0000
Received: (at 22304) by debbugs.gnu.org; 5 Jan 2016 22:31:01 +0000
Received: from localhost ([127.0.0.1]:39248 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1aGa84-0004Kp-TP
	for submit <at> debbugs.gnu.org; Tue, 05 Jan 2016 17:31:01 -0500
Received: from eggs.gnu.org ([208.118.235.92]:53901)
 by debbugs.gnu.org with esmtp (Exim 4.84)
 (envelope-from <ludo@HIDDEN>) id 1aGa83-0004Kb-Kq
 for 22304 <at> debbugs.gnu.org; Tue, 05 Jan 2016 17:30:59 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <ludo@HIDDEN>) id 1aGa7v-00007N-Dt
 for 22304 <at> debbugs.gnu.org; Tue, 05 Jan 2016 17:30:54 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD
 autolearn=disabled version=3.3.2
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:35701)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <ludo@HIDDEN>)
 id 1aGa7v-00007J-B7; Tue, 05 Jan 2016 17:30:51 -0500
Received: from reverse-83.fdn.fr ([80.67.176.83]:37832 helo=pluto)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128)
 (Exim 4.82) (envelope-from <ludo@HIDDEN>)
 id 1aGa7u-0000r0-KU; Tue, 05 Jan 2016 17:30:51 -0500
From: ludo@HIDDEN (Ludovic =?UTF-8?Q?Court=C3=A8s?=)
References: <idj1t9xia11.fsf@HIDDEN>
X-URL: http://www.fdn.fr/~lcourtes/
X-Revolutionary-Date: 16 =?UTF-8?Q?Niv=C3=B4se?= an 224 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
Date: Tue, 05 Jan 2016 23:30:48 +0100
In-Reply-To: <idj1t9xia11.fsf@HIDDEN> (Ricardo Wurmus's
 message of "Mon, 4 Jan 2016 17:28:42 +0100")
Message-ID: <8760z7k6av.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-Spam-Score: -5.0 (-----)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.0 (-----)

Ricardo Wurmus <ricardo.wurmus@HIDDEN> skribis:

> When building =E2=80=9Cjulia=E2=80=9D twice we get different binaries for
>
>   $out/lib/julia/sys.so
>
> and
>
>   $out/lib/julia/sys-debug.so

Apparently there=E2=80=99s no __DATE__ and __TIME__ in the C code.

I would check if the order of object files on the command line that
links those shared objects is always the same.

Ludo=E2=80=99.




Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#22304: Build for Julia is not reproducible
Resent-From: Ricardo Wurmus <ricardo.wurmus@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Thu, 04 Feb 2016 14:53:01 +0000
Resent-Message-ID: <handler.22304.B22304.145459752228858 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 22304
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
Cc: 22304 <at> debbugs.gnu.org
Received: via spool by 22304-submit <at> debbugs.gnu.org id=B22304.145459752228858
          (code B ref 22304); Thu, 04 Feb 2016 14:53:01 +0000
Received: (at 22304) by debbugs.gnu.org; 4 Feb 2016 14:52:02 +0000
Received: from localhost ([127.0.0.1]:59117 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1aRLGM-0007VO-Dr
	for submit <at> debbugs.gnu.org; Thu, 04 Feb 2016 09:52:02 -0500
Received: from sinope.bbbm.mdc-berlin.de ([141.80.25.23]:38109)
 by debbugs.gnu.org with esmtp (Exim 4.84)
 (envelope-from <Ricardo.Wurmus@HIDDEN>) id 1aRLGK-0007Uy-Gm
 for 22304 <at> debbugs.gnu.org; Thu, 04 Feb 2016 09:52:01 -0500
Received: from localhost (localhost [127.0.0.1])
 by sinope.bbbm.mdc-berlin.de (Postfix) with ESMTP id 0479C280616;
 Thu,  4 Feb 2016 15:51:59 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mdc-berlin.de; h=
 content-transfer-encoding:content-type:content-type:mime-version
 :message-id:date:date:in-reply-to:subject:subject:from:from
 :references:received:received:received; s=mdc; t=1454597512; x=
 1456411913; bh=IL6T0oqG9MOp3HRUyOxntyNNb/KfgJbGtjW5s/sU04o=; b=k
 7jrzmkcpGjjqZb3H1tKuHqYyT5fgFrJ0GE9akBd/+rrzCpILlSF5h+a+YIKTpc7C
 /5AVpAmAc+FOfyOD8QPSnjiHP3rge3rIRFyIsNb3VeWWzolhV/K2CTKQOFeqqlIc
 w2uGWw6yZHETdoYsDscM75rXbW1LVJTgbpBwUIpLEQ=
X-Virus-Scanned: amavisd-new at mdc-berlin.de
Received: from sinope.bbbm.mdc-berlin.de ([127.0.0.1])
 by localhost (sinope.bbbm.mdc-berlin.de [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id yTudPsZ99FoI; Thu,  4 Feb 2016 15:51:52 +0100 (CET)
Received: from HTCAONE.mdc-berlin.net (puck.citx.mdc-berlin.de [141.80.36.101])
 by sinope.bbbm.mdc-berlin.de (Postfix) with ESMTP;
 Thu,  4 Feb 2016 15:51:52 +0100 (CET)
Received: from localhost (141.80.180.135) by HTCAONE.mdc-berlin.net
 (141.80.180.125) with Microsoft SMTP Server (TLS) id 14.3.266.1; Thu, 4 Feb
 2016 15:51:51 +0100
References: <idj1t9xia11.fsf@HIDDEN>
 <8760z7k6av.fsf@HIDDEN>
From: Ricardo Wurmus <ricardo.wurmus@HIDDEN>
In-Reply-To: <8760z7k6av.fsf@HIDDEN>
Date: Thu, 4 Feb 2016 15:51:51 +0100
Message-ID: <idjzivg8r5k.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
X-Originating-IP: [141.80.180.135]
X-TM-AS-Product-Ver: SMEX-11.0.0.4255-8.000.1202-22112.000
X-TM-AS-Result: No--3.809900-0.000000-31
X-TM-AS-User-Approved-Sender: Yes
X-TM-AS-User-Blocked-Sender: No
X-Spam-Score: -5.5 (-----)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.5 (-----)


Ludovic Courtès <ludo@HIDDEN> writes:

> Ricardo Wurmus <ricardo.wurmus@HIDDEN> skribis:
>
>> When building “julia” twice we get different binaries for
>>
>>   $out/lib/julia/sys.so
>>
>> and
>>
>>   $out/lib/julia/sys-debug.so
>
> Apparently there’s no __DATE__ and __TIME__ in the C code.
>
> I would check if the order of object files on the command line that
> links those shared objects is always the same.

As far as I could tell the order of shared objects in two consecutive
runs is the same.

~~ Ricardo




Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#22304: Julia not reproducible
References: <idj1t9xia11.fsf@HIDDEN>
In-Reply-To: <idj1t9xia11.fsf@HIDDEN>
Resent-From: zimoun <zimon.toutoune@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Thu, 28 Nov 2019 17:15:01 +0000
Resent-Message-ID: <handler.22304.B22304.157496126126034 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 22304
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: 22304 <at> debbugs.gnu.org, Ricardo Wurmus <rekado@HIDDEN>,  Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
Received: via spool by 22304-submit <at> debbugs.gnu.org id=B22304.157496126126034
          (code B ref 22304); Thu, 28 Nov 2019 17:15:01 +0000
Received: (at 22304) by debbugs.gnu.org; 28 Nov 2019 17:14:21 +0000
Received: from localhost ([127.0.0.1]:59081 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1iaNMz-0006lo-Ao
	for submit <at> debbugs.gnu.org; Thu, 28 Nov 2019 12:14:21 -0500
Received: from mail-qv1-f49.google.com ([209.85.219.49]:33322)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <zimon.toutoune@HIDDEN>) id 1iaNMw-0006lW-6Z
 for 22304 <at> debbugs.gnu.org; Thu, 28 Nov 2019 12:14:19 -0500
Received: by mail-qv1-f49.google.com with SMTP id x14so10624699qvu.0
 for <22304 <at> debbugs.gnu.org>; Thu, 28 Nov 2019 09:14:18 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=mime-version:from:date:message-id:subject:to
 :content-transfer-encoding;
 bh=cfAxlLxKsK/lk9qkIkvrsEbXvho2F6XWpdq5z7krNXw=;
 b=Ic3Uba2U14bhD9mqz4+Gc6k2D5av68tGM4z4XGocstzNKDVAQs+fPIqK2aB6vA6Wlr
 eVDABHd2UY4XNcdQ7rlqJmh1Wv8B9kYxMZ81FzVz1ulO69Sdg3+p3teaY+Ob99wF3xlr
 h1fI5du02rgxsRw6lq5N/0JwXFO4xbfeCQ461ziwAbpiuLCua9lDW8gduTWrKcY9Elab
 c2oCsIzwHtdLGRFuEfqN5D9p/4wEBptNa+hs4T0u+0Ofgpqt0wThyMmK3/aIMmJDdhXt
 TBCj/dnZGydqRcBGldAsKXu5eFgCdzuNcM6gtK57O0Fy0RUMPj7qfZas3jsb40SsKrxo
 CQjw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:from:date:message-id:subject:to
 :content-transfer-encoding;
 bh=cfAxlLxKsK/lk9qkIkvrsEbXvho2F6XWpdq5z7krNXw=;
 b=ptuTPm/rM8jC90eAQIEdVAUyIgiSrxNw6ueYgy6UcGdtjt7XhGFKOnp1Ue1s5VTaQv
 4UtLnvqFbGNyLQr5QFy7YA+xJfGpY5/xjXkcSmpUKcxJnMp0jl5exm298FK6pPF6yqf0
 d46HiCR061eYYNSa7FCdSaM7rT6BwsdLOKzU0SUBmbnED5tc43xZJ7jP04HU0CewgJAT
 5z7mmGDo2xAfr3kjB6jrK+UhDlNThSYxhlR8+CLAE+a8Z31mSKI87XK1ur191JvUB/Jf
 5kE95Ok+XxAZDCcdtVN2llMAsWzCOcqcuz8xHAPvBSW21RVECgrn8bakA0YTeNKtw8LK
 ZJeQ==
X-Gm-Message-State: APjAAAWQvqgJF7c/b7Zk6Gu8sd97VPgm9K4qr3m5vVN4j4WOiP0ffP5N
 kU2MUSOr4q3+PhdihpSu6DQ6fmyWoacIJYZxOoa0myR9
X-Google-Smtp-Source: APXvYqxDK1DOWm9zrzWij6dNUhnz8A+RhX+Zu2M3CV1cLm4hdJZUHbXTc5qHK5oP4+ADlnwGTX4XZgMRwAabSSlqkts=
X-Received: by 2002:a05:6214:5ac:: with SMTP id
 by12mr7933122qvb.74.1574961251561; 
 Thu, 28 Nov 2019 09:14:11 -0800 (PST)
MIME-Version: 1.0
From: zimoun <zimon.toutoune@HIDDEN>
Date: Thu, 28 Nov 2019 18:14:00 +0100
Message-ID: <CAJ3okZ3i90aWjZgZmvZSNad6XbWoRqBsk6KQnxZXaWO8Tq53eQ@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Hi,

This bug [1] is still present even with the version 1.1.1 of Julia.

[1] http://issues.guix.gnu.org/issue/22304


--8<---------------cut here---------------start------------->8---
guix describe
Generation 57   Nov 25 2019 14:26:15    (current)
  guix b5d4d5b
    repository URL: https://git.savannah.gnu.org/git/guix.git
    branch: master
    commit: b5d4d5b9bcf267fddd02fcc14b88eac0bebf979f
--8<---------------cut here---------------end--------------->8---

--8<---------------cut here---------------start------------->8---
guix build julia # populate the store with dependencies
guix build julia --check -K --no-grafts
[...]
guix build: error: derivation
`/gnu/store/xdy3jjz7dzg1lr231b8zbss8xn44ldjj-julia-1.1.1.drv' may not
be deterministic: output
`/gnu/store/s2vj70fgv4v4wq66dbi797ss15f8xd3b-julia-1.1.1' differs from
=E2=80=98/gnu/store/s2vj70fgv4v4wq66dbi797ss15f8xd3b-julia-1.1.1-check=E2=
=80=99
--8<---------------cut here---------------end--------------->8---

--8<---------------cut here---------------start------------->8---
diff -r /gnu/store/s2vj70fgv4v4wq66dbi797ss15f8xd3b-julia-1.1.1
/gnu/store/s2vj70fgv4v4wq66dbi797ss15f8xd3b-julia-1.1.1-check
Binary files /gnu/store/s2vj70fgv4v4wq66dbi797ss15f8xd3b-julia-1.1.1/lib/ju=
lia/sys.so
and /gnu/store/s2vj70fgv4v4wq66dbi797ss15f8xd3b-julia-1.1.1-check/lib/julia=
/sys.so
differ
Binary files /gnu/store/s2vj70fgv4v4wq66dbi797ss15f8xd3b-julia-1.1.1/share/=
julia/test/depot/compiled/v1.1/Bar/HXSAn.ji
and /gnu/store/s2vj70fgv4v4wq66dbi797ss15f8xd3b-julia-1.1.1-check/share/jul=
ia/test/depot/compiled/v1.1/Bar/HXSAn.ji
differ
Binary files /gnu/store/s2vj70fgv4v4wq66dbi797ss15f8xd3b-julia-1.1.1/share/=
julia/test/depot/compiled/v1.1/Baz/rONVA.ji
and /gnu/store/s2vj70fgv4v4wq66dbi797ss15f8xd3b-julia-1.1.1-check/share/jul=
ia/test/depot/compiled/v1.1/Baz/rONVA.ji
differ
Binary files /gnu/store/s2vj70fgv4v4wq66dbi797ss15f8xd3b-julia-1.1.1/share/=
julia/test/depot/compiled/v1.1/Foo/MYb1d.ji
and /gnu/store/s2vj70fgv4v4wq66dbi797ss15f8xd3b-julia-1.1.1-check/share/jul=
ia/test/depot/compiled/v1.1/Foo/MYb1d.ji
differ
Binary files /gnu/store/s2vj70fgv4v4wq66dbi797ss15f8xd3b-julia-1.1.1/share/=
julia/test/depot/compiled/v1.1/Foo/TeeT6.ji
and /gnu/store/s2vj70fgv4v4wq66dbi797ss15f8xd3b-julia-1.1.1-check/share/jul=
ia/test/depot/compiled/v1.1/Foo/TeeT6.ji
differ
Binary files /gnu/store/s2vj70fgv4v4wq66dbi797ss15f8xd3b-julia-1.1.1/share/=
julia/test/depot/compiled/v1.1/Qux/YFfiR.ji
and /gnu/store/s2vj70fgv4v4wq66dbi797ss15f8xd3b-julia-1.1.1-check/share/jul=
ia/test/depot/compiled/v1.1/Qux/YFfiR.ji
differ
--8<---------------cut here---------------end--------------->8---


Well, then I try to explore with diffoscope but hum? I do not do
correctly because the resulting diff is 845MB ouch!


All the best,
simon




Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#22304: Julia not reproducible
Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Fri, 29 Nov 2019 16:20:01 +0000
Resent-Message-ID: <handler.22304.B22304.157504439818076 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 22304
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: zimoun <zimon.toutoune@HIDDEN>
Cc: Ricardo Wurmus <rekado@HIDDEN>, 22304 <at> debbugs.gnu.org
Received: via spool by 22304-submit <at> debbugs.gnu.org id=B22304.157504439818076
          (code B ref 22304); Fri, 29 Nov 2019 16:20:01 +0000
Received: (at 22304) by debbugs.gnu.org; 29 Nov 2019 16:19:58 +0000
Received: from localhost ([127.0.0.1]:33472 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1iaizt-0004hS-Ss
	for submit <at> debbugs.gnu.org; Fri, 29 Nov 2019 11:19:58 -0500
Received: from eggs.gnu.org ([209.51.188.92]:49567)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1iaizs-0004hG-AK
 for 22304 <at> debbugs.gnu.org; Fri, 29 Nov 2019 11:19:56 -0500
Received: from fencepost.gnu.org ([2001:470:142:3::e]:47423)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <ludo@HIDDEN>)
 id 1iaizk-0006jy-S7; Fri, 29 Nov 2019 11:19:48 -0500
Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (port=34040 helo=ribbon)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <ludo@HIDDEN>)
 id 1iaizk-0005gS-9V; Fri, 29 Nov 2019 11:19:48 -0500
From: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
References: <CAJ3okZ3i90aWjZgZmvZSNad6XbWoRqBsk6KQnxZXaWO8Tq53eQ@HIDDEN>
X-URL: http://www.fdn.fr/~lcourtes/
X-Revolutionary-Date: 9 Frimaire an 228 de la =?UTF-8?Q?R=C3=A9volution?=
X-PGP-Key-ID: 0x090B11993D9AEBB5
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-pc-linux-gnu
Date: Fri, 29 Nov 2019 17:19:46 +0100
In-Reply-To: <CAJ3okZ3i90aWjZgZmvZSNad6XbWoRqBsk6KQnxZXaWO8Tq53eQ@HIDDEN>
 (zimoun's message of "Thu, 28 Nov 2019 18:14:00 +0100")
Message-ID: <874kymsli5.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Spam-Score: -0.8 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.8 (-)

Hi,

zimoun <zimon.toutoune@HIDDEN> skribis:

> Binary files /gnu/store/s2vj70fgv4v4wq66dbi797ss15f8xd3b-julia-1.1.1/shar=
e/julia/test/depot/compiled/v1.1/Qux/YFfiR.ji
> and /gnu/store/s2vj70fgv4v4wq66dbi797ss15f8xd3b-julia-1.1.1-check/share/j=
ulia/test/depot/compiled/v1.1/Qux/YFfiR.ji
> differ
>
>
> Well, then I try to explore with diffoscope but hum? I do not do
> correctly because the resulting diff is 845MB ouch!

Pro tip: just run

  diffoscope \
  /gnu/store/s2vj70fgv4v4wq66dbi797ss15f8xd3b-julia-1.1.1{,-check}/share/ju=
lia/test/depot/compiled/v1.1/Qux/YFfiR.ji

That=E2=80=99ll already be enough info for a start!

Ludo=E2=80=99.




Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#22304: Julia not reproducible
Resent-From: zimoun <zimon.toutoune@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Mon, 02 Dec 2019 17:29:01 +0000
Resent-Message-ID: <handler.22304.B22304.157530773810941 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 22304
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
Cc: Ricardo Wurmus <rekado@HIDDEN>, 22304 <at> debbugs.gnu.org
Received: via spool by 22304-submit <at> debbugs.gnu.org id=B22304.157530773810941
          (code B ref 22304); Mon, 02 Dec 2019 17:29:01 +0000
Received: (at 22304) by debbugs.gnu.org; 2 Dec 2019 17:28:58 +0000
Received: from localhost ([127.0.0.1]:38866 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ibpVK-0002qP-2P
	for submit <at> debbugs.gnu.org; Mon, 02 Dec 2019 12:28:58 -0500
Received: from mail-qt1-f182.google.com ([209.85.160.182]:33154)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <zimon.toutoune@HIDDEN>) id 1ibpVH-0002qA-Tf
 for 22304 <at> debbugs.gnu.org; Mon, 02 Dec 2019 12:28:56 -0500
Received: by mail-qt1-f182.google.com with SMTP id d5so559873qto.0
 for <22304 <at> debbugs.gnu.org>; Mon, 02 Dec 2019 09:28:55 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=mime-version:references:in-reply-to:from:date:message-id:subject:to
 :cc:content-transfer-encoding;
 bh=orzp5tB5fmMuI+inxfiADcFxbqVjL80RWcwitzEgdtw=;
 b=CS4RkANxyd+iHaM4w+T5V36STw8Gf5DDJvOwWEE+x8yFVGRLkmpFkLoKqwp1/YKAe1
 MEHeEHJFYBCCE+xCPhdo8I5V5dn1bJM6OvyoQoKF2oKax7AgzQzD9BJ1H1y7kU+/k1GH
 AIN5NecgS2vM+qNzR9gi8FIc3iCvQ82cEQ/u/DaI+dradpe9dfCnJ/XGkt8SmR/Ealm7
 bX9cV9M8lQhMF60SPIwOvkCSUL6DKS3g1vYk5BBwo/6RRZot8SDVhKD/qxAwS35Y8qK7
 /eTG4wd+zO/N3ZbGI0T/jT9hreyDs8iephlwMT6tYx25P3EHnYF+IOUGDlvBpWanG6Ob
 UOHQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:references:in-reply-to:from:date
 :message-id:subject:to:cc:content-transfer-encoding;
 bh=orzp5tB5fmMuI+inxfiADcFxbqVjL80RWcwitzEgdtw=;
 b=PCVYZ2DXemBHaS4TVVMkYYDip1MYsMFzgr1QZNit47YMu4ExprbOlnLE3JBbF+dITc
 +WgLfwmP6AnRDXxuCm9FFjZuED5G3qJFaVeNMrCV8Fuc0Q6GcpMDmi3bsuqp1ne+G4pB
 l42oWrWN0ls5V+bj3poxC+4MReu2snK6uODrxSLa4DwKWUDQ8at46N2YT0EG4AaDTK1F
 gs7S7mq/OpXFsEEiSJx6tflKq62PpeIAl9Tqo1jOsr6DGTVushbPIMnxt5x3dUInjS+1
 f0t4aOYP7KfAbX5XYUrpNyG7RNO12mLv/C6Grvmdb4pHuJWOCWVjMPGvPmRgXevO3d3b
 3PMQ==
X-Gm-Message-State: APjAAAWXsVHlkV5Nmxsr6b3uqY3rV4FPyF8V63OYt1by5mU1KGWysZvF
 z7vi4c/XQAhWuxw8b+xwfmgmc7q7i9KrrFQcY+2krZZb
X-Google-Smtp-Source: APXvYqwOMJ6r6R+YKzy8HjgDVj/omvAVme7iADIarY4ssn2N1H9SfyFKtDh8TsPwGEXaq3sersx03f4fby/nBcU3HYQ=
X-Received: by 2002:ac8:7957:: with SMTP id r23mr408734qtt.211.1575307730300; 
 Mon, 02 Dec 2019 09:28:50 -0800 (PST)
MIME-Version: 1.0
References: <CAJ3okZ3i90aWjZgZmvZSNad6XbWoRqBsk6KQnxZXaWO8Tq53eQ@HIDDEN>
 <874kymsli5.fsf@HIDDEN>
In-Reply-To: <874kymsli5.fsf@HIDDEN>
From: zimoun <zimon.toutoune@HIDDEN>
Date: Mon, 2 Dec 2019 18:28:39 +0100
Message-ID: <CAJ3okZ0ZZQVqLWWYg=M9sHCfyScy=S9hyraydUbrF2GQwN5hPg@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Hi Ludo,

On Fri, 29 Nov 2019 at 17:19, Ludovic Court=C3=A8s <ludo@HIDDEN> wrote:

> Pro tip: just run

I think that I have already did the pro tip. :-)

--8<---------------cut here---------------end--------------->8---
diffoscope /gnu/store/s2vj70fgv4v4wq66dbi797ss15f8xd3b-julia-1.1.1{,-check}=
/lib/julia/sys.so
\
   > /tmp/sys.diffoscope
du -sh /tmp/sys.diffoscope
845M    /tmp/sys.diffoscope
--8<---------------cut here---------------end--------------->8---

Maybe I am doing incorrectly...

If I understand well [1], the file .ji are "precompiled" (analogy: .pyc). H=
um?!

[1] https://docs.julialang.org/en/v1/devdocs/sysimg/


Cheers,
simon




Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#22304: Julia not reproducible
Resent-From: zimoun <zimon.toutoune@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Fri, 24 Jan 2020 18:31:01 +0000
Resent-Message-ID: <handler.22304.B22304.157989063930997 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 22304
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
Cc: Ricardo Wurmus <rekado@HIDDEN>, 22304 <at> debbugs.gnu.org
Received: via spool by 22304-submit <at> debbugs.gnu.org id=B22304.157989063930997
          (code B ref 22304); Fri, 24 Jan 2020 18:31:01 +0000
Received: (at 22304) by debbugs.gnu.org; 24 Jan 2020 18:30:39 +0000
Received: from localhost ([127.0.0.1]:54746 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1iv3j4-00083t-Tn
	for submit <at> debbugs.gnu.org; Fri, 24 Jan 2020 13:30:39 -0500
Received: from mail-qt1-f196.google.com ([209.85.160.196]:36825)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <zimon.toutoune@HIDDEN>) id 1iv3j3-00083h-84
 for 22304 <at> debbugs.gnu.org; Fri, 24 Jan 2020 13:30:37 -0500
Received: by mail-qt1-f196.google.com with SMTP id t13so1867223qto.3
 for <22304 <at> debbugs.gnu.org>; Fri, 24 Jan 2020 10:30:37 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=mime-version:references:in-reply-to:from:date:message-id:subject:to
 :cc:content-transfer-encoding;
 bh=JmpBZsGn/5JzuCPFoadgGxKRx/IeNvX/DSQ4grvMMog=;
 b=jBhsGx9w05CMIgfsB9Lou8F+7C1IyPxIoncWlRuFouVm5UTNutKTa2nf4Ai4YbGGe/
 yLroBrwUT9e+C7tJt7AQB9V6ISJ7sXdbce+VsRK5ux2UpqHXxVKoTOyv4Mbw36nJXxos
 mOmut+jLXPxlyJU4NCy2mVCpsNkdyU4Vu6TucXPt3sQuivEvr37OLo06O7afuLh+rE/A
 qhGgS1AfkmdItK3+3xgeB42Dhe6mnH+usM6bhv3uPgmfELp9kUBiyJTuAj/NFT2j7rJX
 wtn+EmNX8ubByT8cTlzd91Od5wqmsuMzBxpHHq+7U8A7M2UHkRj9w0tm8voaaM14r8hf
 gnTA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:references:in-reply-to:from:date
 :message-id:subject:to:cc:content-transfer-encoding;
 bh=JmpBZsGn/5JzuCPFoadgGxKRx/IeNvX/DSQ4grvMMog=;
 b=tKly0+s8PcSOIorhsuoN/x4X02QNbiSx8pSAoY+lOeQ0YL12guixzdSUxPXQyQQaV3
 /57anDEgRFEa++clgv1lgcWZqtUApzjahlQp3tHT0zQXLLruM71rW26utGoJhuG1hCNr
 g+k9huavj+rfW1O1m+7Er46FcnudV+roXJDoUafTWyMvs1ebouNvtInuECiNxR1oOErt
 EYjwelMzHz4oe60+lwYBqBJG5Vrlex/nLsBABtX/BeedsmA00cQ0pJwd8p1K/t0+JC7u
 NDrMgODEGuylkiV/YzFBcM7R+IYqzp+rHLR0Qn1EwZOElAxwYSdWiVHDY1W6LLYRlBG/
 t0/Q==
X-Gm-Message-State: APjAAAUppaCPDJN/wzudU1uSsGlKBquBppaeUeCDYs/fZ3CDCHfkT0a8
 L5/9lc/Uz2aCx1eiRk95YYlNmIfKrav4QBit8mc=
X-Google-Smtp-Source: APXvYqxRaZcH3JArQp5ytOm94ArOXP0mlKNi2NDQ1+/X9/tGSM+979dDpsBMPjBadWq6N9HSjXQT0sqDLGX8Un/9XBE=
X-Received: by 2002:ac8:4890:: with SMTP id i16mr3486991qtq.211.1579890631705; 
 Fri, 24 Jan 2020 10:30:31 -0800 (PST)
MIME-Version: 1.0
References: <CAJ3okZ3i90aWjZgZmvZSNad6XbWoRqBsk6KQnxZXaWO8Tq53eQ@HIDDEN>
 <874kymsli5.fsf@HIDDEN>
 <CAJ3okZ0ZZQVqLWWYg=M9sHCfyScy=S9hyraydUbrF2GQwN5hPg@HIDDEN>
In-Reply-To: <CAJ3okZ0ZZQVqLWWYg=M9sHCfyScy=S9hyraydUbrF2GQwN5hPg@HIDDEN>
From: zimoun <zimon.toutoune@HIDDEN>
Date: Fri, 24 Jan 2020 19:30:20 +0100
Message-ID: <CAJ3okZ0Yx8+dveO5ooQUBkJe0jAwZHZuwk5rj_c1LKXYXberhg@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Hi,

On Mon, 2 Dec 2019 at 18:28, zimoun <zimon.toutoune@HIDDEN> wrote:

> If I understand well [1], the file .ji are "precompiled" (analogy: .pyc).=
 Hum?!

The non-determinism seems coming from these "precompiled" .ji files
and 2 bugs are opened upstream.

https://github.com/JuliaLang/julia/issues/25900
https://github.com/JuliaLang/julia/issues/34115

Thanks to Nicol=C3=B2 to pointing out these [1] when working on the version=
 update.

[1] https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D38546#80

With lengthy and clear details. :-)


Let start the container with everything useful.

--8<---------------cut here---------------start------------->8---
mkdir -p /tmp/test-julia && cd /tmp/test-julia

guix time-machine --commit=3Db5d4d5b \
   environment -u nixbld --no-cwd --container --network \
   --expose=3D$(realpath determinism) --share=3D/tmp/test-julia \
   --ad-hoc julia coreutils nss-certs curl tar gzip
--8<---------------cut here---------------end--------------->8---

Then, the path to reproduce is odd because there is no Julia packages
in Guix. So we need to use 'Pkg' from Julia which downloads from
elsewhere and the reproducibility of such is not well controlled but
it gives an idea. :-)

--8<---------------cut here---------------start------------->8---
export SSL_CERT_DIR=3D"$GUIX_ENVIRONMENT/etc/ssl/certs"
export SSL_CERT_FILE=3D"$SSL_CERT_DIR/ca-certificates.crt"
export GIT_SSL_CAINFO=3D"$SSL_CERT_FILE"

# populate the Julia package manager
julia --startup-file=3Dno -q -e 'using Pkg; Pkg.instantiate()'

# install something
julia --startup-file=3Dno -q -e 'using Pkg; Pkg.add("Compat")'

# use something / precompiled it
julia --startup-file=3Dno -q -e 'using Compat'

# check the .ji file
md5sum ~/.julia/compiled/v1.1/Compat/*
--8<---------------cut here---------------end--------------->8---


Then each time one runs this block, one gets different hash.


All the best,
simon




Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#22304: Julia v1.4.1 still not reproducible
Resent-From: zimoun <zimon.toutoune@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Wed, 13 May 2020 18:45:03 +0000
Resent-Message-ID: <handler.22304.B22304.158939549117743 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 22304
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: 22304 <at> debbugs.gnu.org, =?UTF-8?Q?Nicol=C3=B2?= Balzarotti <anothersms@HIDDEN>,  Efraim Flashner <efraim@HIDDEN>
Received: via spool by 22304-submit <at> debbugs.gnu.org id=B22304.158939549117743
          (code B ref 22304); Wed, 13 May 2020 18:45:03 +0000
Received: (at 22304) by debbugs.gnu.org; 13 May 2020 18:44:51 +0000
Received: from localhost ([127.0.0.1]:59527 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1jYwN9-0004c7-AT
	for submit <at> debbugs.gnu.org; Wed, 13 May 2020 14:44:51 -0400
Received: from mail-qt1-f169.google.com ([209.85.160.169]:46117)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <zimon.toutoune@HIDDEN>) id 1jYwN6-0004bt-Uy
 for 22304 <at> debbugs.gnu.org; Wed, 13 May 2020 14:44:49 -0400
Received: by mail-qt1-f169.google.com with SMTP id p12so657749qtn.13
 for <22304 <at> debbugs.gnu.org>; Wed, 13 May 2020 11:44:48 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=mime-version:references:in-reply-to:from:date:message-id:subject:to
 :content-transfer-encoding;
 bh=35oUJILBQkt1Xe8GWUIViu/zVr/TGBUE/Ohg6hW26ZE=;
 b=CiTq1cVqPx4ebL/+Gw7nNxFXe5s5onOlsR/SV95kuWf5XOS2iCZ28vwXQFMCo/drqj
 sGvcJtpwpG3rzDKaM/sEB6qGSIhCYsU+MKrLcKDyLlWUJ41fL6YzZZjxSiqPKazZdkMR
 mR8tjNaS6C2wHadKS2zmUT/d+nNs06p4DLWkqbPPEq2IBnSl9cTff8QAZKlI601/2Wx5
 pSbZUmqkj3jnqwWF/KH7qO1FkArFeinWAy9bgi2d/AW1kU6q/4p6b/P2W2AmUV3Cnhw5
 gqIpwP2mKBP7aA3EZze4UQpgOG1aHcjdEf6j4AEZCGn5jCy+XU7sNEdeXQjjKaGfATrF
 10wQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:references:in-reply-to:from:date
 :message-id:subject:to:content-transfer-encoding;
 bh=35oUJILBQkt1Xe8GWUIViu/zVr/TGBUE/Ohg6hW26ZE=;
 b=TYIgUSS/+GVMNoyWdCiwDrnvAzfHK0nRXK0AAFyzc++sCBDqZd2UbVnOrn1Jy389qn
 C1qm/u3m1SffOIumv5q31ev2Ln4eDJ1L+yR+OP/SgmisRpKPL1xX1RlT98VjS+LK13wm
 VYX4lCgtvAml/6HhKGKteotKEe9UjBsiL18FV8G6A5CwtljdjEJWMxjB2XP8yOTLiVu3
 oDy0b9aW+yOJsh3ogVDhw/uppugBEAvOvBEy4OpRREzr1p72ASGEyIMBeyWkR2ByaCyZ
 BGJCACf9QQCWXKwHbhPdGLH+HR2UQQ3RUTd47bQvRnvSHKCsviE8Pzh5vnLrFTVxKJuf
 iJ1Q==
X-Gm-Message-State: AOAM533DmJThAvifd+vILV6Kiucq68I+1FtwdgKZEsNsgZCpFw0xdPQl
 lucusY9RUdY3yvRodBRLLg7iPub49bgBkDRRRC84bg==
X-Google-Smtp-Source: ABdhPJyzd2ZYTY+mNKlhD13S789KoPjAXuJKpdSz+JjIcGBRu03OS3fjhKjYGNeHcISRbKg8zKJbCDV0knEfbpglIok=
X-Received: by 2002:aed:3949:: with SMTP id l67mr490397qte.313.1589395483291; 
 Wed, 13 May 2020 11:44:43 -0700 (PDT)
MIME-Version: 1.0
References: <873688i57c.fsf@HIDDEN>
 <CAJ3okZ0mhtva5ePoYZLYKrUfQeYHvVaC3c5qTBs2WGjZucFT0w@HIDDEN>
 <20200513110416.GE918@E5400>
 <CAJ3okZ3hjN6umT7bapg1CU4k+pChEio1rk78M0uz5j18oucbNA@HIDDEN>
In-Reply-To: <CAJ3okZ3hjN6umT7bapg1CU4k+pChEio1rk78M0uz5j18oucbNA@HIDDEN>
From: zimoun <zimon.toutoune@HIDDEN>
Date: Wed, 13 May 2020 20:44:32 +0200
Message-ID: <CAJ3okZ0_SORCsKtY3vvPnT3o+NOYwovHO+v9E6gcG=68ACEyfQ@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Hi Efraim,

On Wed, 13 May 2020 at 13:04, Efraim Flashner <efraim@HIDDEN> wrote=
:

> guix build: error: derivation `/gnu/store/z21c12ijspavaclcins5pja8z1s8wbm=
0-julia-1.4.1.drv' may not be deterministic: output `/gnu/store/ri931fk8hf5=
wvagk76zhmwbphq2pwgnp-julia-1.4.1' differs from ?/gnu/store/ri931fk8hf5wvag=
k76zhmwbphq2pwgnp-julia-1.4.1-check?
>
> I built it on bayfront twice. I'll get the diffoscope output once it
> finally builds.

Thank you.

Cheers,
simon




Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#22304: =?UTF-8?Q?[Nicol=C3=B2?= Balzarotti] Re: Julia v1.4.1 still not reproducible
In-Reply-To: <idj1t9xia11.fsf@HIDDEN>
Resent-From: anothersms@HIDDEN (=?UTF-8?Q?Nicol=C3=B2?= Balzarotti)
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Sun, 17 May 2020 13:56:01 +0000
Resent-Message-ID: <handler.22304.B22304.15897237431372 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 22304
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: 22304 <at> debbugs.gnu.org
Received: via spool by 22304-submit <at> debbugs.gnu.org id=B22304.15897237431372
          (code B ref 22304); Sun, 17 May 2020 13:56:01 +0000
Received: (at 22304) by debbugs.gnu.org; 17 May 2020 13:55:43 +0000
Received: from localhost ([127.0.0.1]:44178 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1jaJlM-0000M1-Ni
	for submit <at> debbugs.gnu.org; Sun, 17 May 2020 09:55:42 -0400
Received: from mail-wm1-f46.google.com ([209.85.128.46]:39902)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <anothersms@HIDDEN>) id 1jaJlK-0000Ea-Sh
 for 22304 <at> debbugs.gnu.org; Sun, 17 May 2020 09:55:31 -0400
Received: by mail-wm1-f46.google.com with SMTP id w64so7395639wmg.4
 for <22304 <at> debbugs.gnu.org>; Sun, 17 May 2020 06:55:30 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=from:to:subject:references:date:message-id:mime-version;
 bh=q5Gy5B0o70k1xjeMRCnsaGDYHaWRo4Q8hpzTMVK5Rkg=;
 b=g1CfxFfJxN0P0t7lx1hCb2ZiS1NR1ATMcFSNmmqYztCw40tX52JqJI4TDgTp1aEMbD
 rB2v5ugTCjyF+3VKVcAvUqbLdYJeRcCaD6Q/uC8SsOFzzSZ98fBXNEwbFUPVWSN2LYLY
 vcBCtBv8+RAb7vbFwaHVi4uq0FgrhTvmsF5ymWPzJomuz2P9gsxqK07J1irNnOfCmwg0
 X06uhNnyy5XnVqibiPcPptM0e/t3qGNbHkrJETHZDpPR4puDJzmjOLT8uFI2+jULuGxK
 k/M43lrTMnDhjKrr9dyQZDbRuA1ZUt+30BkYAvlSu7LL5SaH662DTo/Kuitcb4nNQf2W
 bhUQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:to:subject:references:date:message-id
 :mime-version;
 bh=q5Gy5B0o70k1xjeMRCnsaGDYHaWRo4Q8hpzTMVK5Rkg=;
 b=qije+YlvJktF0sWsgD7eFpZCdc0BTW9ylOwak/yPi6w0/bCrbDJj4XQvM+WQ0FDJa6
 SsBixIO8xgdtp3lKqThR/DIE6yA8qdYUwIa2HMZqp2+AIQKGdraTNeHKqMk0IriRzW9j
 X+fG1yZmVcEQnK+9cA1ZFvcNwXHJE97H9uwDMTDS/6XFdnuwRXC0TOyGRimMubZMxf4z
 3nzrZrxi37eA8b5OTyHljKKCwdLAPO2REDyisJKwW1i1+mc4ckRmSf27VwRr6owJX7Zs
 wepE9oaWJeSOg7Gi9HNtIsNkMZIIufPhqC1TxDmH8CJcmFh6KQFxLrVD0gcK7MwdfkES
 wokQ==
X-Gm-Message-State: AOAM533sqorGwXMgUf+olyrSFO/trTWeva4nBzJavEziIcTfmTQwcOy/
 zOoKBhYCFh6iJryzGzQihWe1WrB6
X-Google-Smtp-Source: ABdhPJxEYM8PXnIZnEypLI2Oazqon7VpdPIgGFn2HgpWK55e1+BCfNOzf2kXqu3hLc5rKVTnXqdbxQ==
X-Received: by 2002:a7b:cc84:: with SMTP id p4mr15091257wma.159.1589723724500; 
 Sun, 17 May 2020 06:55:24 -0700 (PDT)
Received: from guixSD (host77-80-dynamic.52-82-r.retail.telecomitalia.it.
 [82.52.80.77])
 by smtp.gmail.com with ESMTPSA id t14sm8146566wrs.1.2020.05.17.06.55.23
 for <22304 <at> debbugs.gnu.org>
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Sun, 17 May 2020 06:55:23 -0700 (PDT)
From: anothersms@HIDDEN (=?UTF-8?Q?Nicol=C3=B2?= Balzarotti)
References: <87y2pqwtyz.fsf@HIDDEN>
Date: Sun, 17 May 2020 15:55:22 +0200
Message-ID: <87v9kuwtrp.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

--=-=-=
Content-Type: text/plain


Ops, I sent it to 22304@HIDDEN instead of 22304 <at> debbugs.gnu.org


--=-=-=
Content-Type: message/rfc822
Content-Disposition: inline

From: =?utf-8?Q?Nicol=C3=B2?= Balzarotti <anothersms@HIDDEN>
To: Efraim Flashner <efraim@HIDDEN>, zimoun <zimon.toutoune@HIDDEN>
Cc: 22304@HIDDEN
Subject: Re: Julia v1.4.1 still not reproducible
In-Reply-To: <20200517134039.GF31833@E5400>
References: <873688i57c.fsf@HIDDEN> <CAJ3okZ0mhtva5ePoYZLYKrUfQeYHvVaC3c5qTBs2WGjZucFT0w@HIDDEN> <20200513110416.GE918@E5400> <CAJ3okZ3hjN6umT7bapg1CU4k+pChEio1rk78M0uz5j18oucbNA@HIDDEN> <20200517134039.GF31833@E5400>
Date: Sun, 17 May 2020 15:51:00 +0200
Message-ID: <87y2pqwtyz.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="====-=-="

--====-=-=
Content-Type: text/plain
Content-Disposition: inline

Hi Efraim, Simon,

The attached patches provide Simon's suggested julia-deterministic
build.

With this, I get deterministic julia build, *but* only on a single
machine.  Building on a different machine I get a different output.  I
still need to investigate why.  Also, some of the patches are probably
not needed at all.  In the near future, as discussed previously, I aim
at submitting required patches upstream.

I disabled tests in julia-deterministic, so it get built quite fast
(~10minutes).  If you want to try to see if this is reproducible//know
how to figure out what might be happening on different machines,
feedback is wellcome!

My ouptut is (patches applied on 75741af9b2):
guix hash -r /gnu/store/mp8hl7j09nfnsxbb3a6ka23ww44gq0z2-julia-deterministic-1.4.1
1k6mak38nkiaj0b9l6rcmxfcjwvbijmczxs703hgawwi6z0jikxl


--====-=-=
Content-Type: text/x-patch
Content-Disposition: attachment;
 filename=0001-gnu-julia-Specify-correct-llvm-version.patch

From baf3f3853079ae375342f626516945998c15f1ca Mon Sep 17 00:00:00 2001
From: nixo <nicolo@HIDDEN>
Date: Thu, 14 May 2020 17:17:08 +0200
Subject: [PATCH 1/2] gnu: julia: Specify correct llvm version.

---
 gnu/packages/julia.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/packages/julia.scm b/gnu/packages/julia.scm
index c636fa756b..8db5e66131 100644
--- a/gnu/packages/julia.scm
+++ b/gnu/packages/julia.scm
@@ -416,7 +416,7 @@ libraries.  It is also a bit like @code{ldd} and @code{otool -L}.")
                         (assoc-ref %build-inputs "utf8proc")
                         "/include")
          "USE_SYSTEM_LLVM=1"
-         "LLVM_VER=6.0.1"
+         "LLVM_VER=8.0.0"
 
          "USE_LLVM_SHLIB=1"
          "USE_SYSTEM_LIBUNWIND=1"
-- 
2.26.2


--====-=-=
Content-Type: text/x-patch
Content-Disposition: attachment;
 filename=0002-gnu-Add-julia-deterministic.patch

From fc0bd3f4e8d83898e64fe8cae8c4c61defa7ba4d Mon Sep 17 00:00:00 2001
From: nixo <nicolo@HIDDEN>
Date: Sat, 16 May 2020 11:56:26 +0200
Subject: [PATCH 2/2] gnu: Add julia-deterministic.

* gnu/packages/julia.scm (julia-deterministic): New variable.
---
 gnu/packages/julia.scm | 64 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 64 insertions(+)

diff --git a/gnu/packages/julia.scm b/gnu/packages/julia.scm
index 8db5e66131..0b4cb82966 100644
--- a/gnu/packages/julia.scm
+++ b/gnu/packages/julia.scm
@@ -493,3 +493,67 @@ computing environments.  It provides a sophisticated compiler, distributed
 parallel execution, numerical accuracy, and an extensive mathematical function
 library.")
     (license license:expat)))
+
+;; Deterministic build of the julia executable
+(define-public julia-deterministic
+  (package
+    (inherit julia)
+    (name "julia-deterministic")
+    (source
+     (origin
+       (inherit (package-source julia))
+       ;; I wrote this patches to get a deterministic build.
+       ;; We need to discuss the best way to add them upstream.
+       (patches
+        (list
+         (origin ; timefuncs: support SOURCE_DATE_EPOCH for reproducible builds
+           (method url-fetch)
+           (uri "https://github.com/nico202/julia/commit/1c56fb0975c7701596b5bdc9ad4e716a3e2fcfc9.patch")
+           (sha256 (base32 "0zw5554s0k38kgq8bgyxcjflrbjk6xqfrh8kidwsh6zvmpkmgnf5")))
+         (origin                ; don't use jl_hrtime to store module build_id
+           (method url-fetch)
+           (uri "https://github.com/nico202/julia/commit/c13691df6747849dec8f654180dabc55e8044a64.patch")
+           (sha256 (base32 "0n7mnbwzr411j9z557jrcib5vr8v8mgqbj5xdrxv7b2n0mrfcp5d")))
+         (origin ; contrib: generate_precompile: do not use random temporary files
+           (method url-fetch)
+           (uri "https://github.com/nico202/julia/commit/ae2929a5d3d1f724b421a7f04b6c7b84c9987583.patch")
+           (sha256 (base32 "00vpj4m9f4wzfkvd4flarki58jbfhi0zngw35zrhaph53mfi6y27")))
+         ;; (origin                        ; base: Base: deterministic random
+         ;;   (method url-fetch)
+         ;;   (uri "https://github.com/nico202/julia/commit/49a4edc26e9db110586c590c17df276301c344a7.patch")
+         ;;   (sha256 (base32 "16p4axwr3shf2jp6hq8dk19c9s1l667ki5a8bv3dbv5b0ji9w7ra")))
+         (origin                        ; remove some use of time()
+           (method url-fetch)
+           (uri "https://github.com/nico202/julia/commit/5561587256b29761fe3a7d8fac169b4305afa240.patch")
+           (sha256 (base32 "0s9b90x61jjrc057myqdck52yj4lb4xlm7ypjn5qvpypnxrbkz6b")))
+         (origin                  ; contrib: generate_precompile: bare minimum
+           (method url-fetch)
+           (uri "https://github.com/nico202/julia/commit/5cd454695e7f6a7e448c19d8f9b2d41fcdeb812e.patch")
+           (sha256 (base32 "0c9pz9ligd6wfhvra5wn7k2k2qr1zw3x67b2y9dhf108xf4z79sm")))
+         (origin          ; src: codegen: don't dump time to precompile stream
+           (method url-fetch)
+           (uri "https://github.com/nico202/julia/commit/5445b5dc2ea30f2f39acb0fb45ba552122a7e6f5.patch")
+           (sha256 (base32 "0sa1a73ajk8cm3a5l25hyc2bg8kq6l16r2vvdn2qbcnpnjff9skx")))
+         (origin                        ; do not import repl
+           (method url-fetch)
+           (uri "https://github.com/nico202/julia/commit/9a45d44ba387d7386b14abfe76e18f1f000eecc2.patch")
+           (sha256 (base32 "0k6yyxr8rd3dcj8rh32pjzlyc0izvi34xglmxsdhqq6q3j0rf0wb")))
+         (origin                        ; no more interactive
+           (method url-fetch)
+           (uri "https://github.com/nico202/julia/commit/e78f791e048ed5192d6cb3166fe089207e2e994d.patch")
+           (sha256 (base32 "1bvgiishhc0csypymknff46cik5dnanyx4q5kgipjk0a47wi80x2")))
+         (origin                        ; generate precompile: sort modules
+           (method url-fetch)
+           (uri "https://github.com/nico202/julia/commit/e5359e1ce383d549db87659ecd72dcb615eb649d.patch")
+           (sha256 (base32 "0slw4jczba88hpqyd0gq9x7jnw75yvq8wmbrl7dd8f83jmci8lzz")))))))
+    (arguments
+     (substitute-keyword-arguments (package-arguments julia)
+       ((#:phases phases '%standard-phases)
+        `(modify-phases ,phases
+           (delete 'check)
+           (add-after 'unpack 'generic-target
+             (lambda _
+               ;; Not sure is needed/is the best target
+               (substitute* "contrib/generate_precompile.jl"
+                 (("native") "generic"))
+               #t))))))))
-- 
2.26.2


--====-=-=
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable


Thanks, Nicol=C3=B2

Efraim Flashner <efraim@HIDDEN> writes:

> On Wed, May 13, 2020 at 08:43:08PM +0200, zimoun wrote:
>> Hi Efraim,
>>=20
>> On Wed, 13 May 2020 at 13:04, Efraim Flashner <efraim@HIDDEN> wr=
ote:
>>=20
>> > guix build: error: derivation `/gnu/store/z21c12ijspavaclcins5pja8z1s8=
wbm0-julia-1.4.1.drv' may not be deterministic: output `/gnu/store/ri931fk8=
hf5wvagk76zhmwbphq2pwgnp-julia-1.4.1' differs from ?/gnu/store/ri931fk8hf5w=
vagk76zhmwbphq2pwgnp-julia-1.4.1-check?
>> >
>> > I built it on bayfront twice. I'll get the diffoscope output once it
>> > finally builds.
>
> I wasn't able to provide the output of diffoscope, it turns out that the
> output was too large to attach.
>
> --=20
> Efraim Flashner   <efraim@HIDDEN>   =D7=90=D7=A4=D7=A8=D7=99=D7=
=9D =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8
> GPG key =3D A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
> Confidentiality cannot be guaranteed on emails sent or received unencrypt=
ed

--====-=-=--

--=-=-=--




Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#22304: Build for Julia is not reproducible
Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Sun, 27 Jun 2021 10:41:02 +0000
Resent-Message-ID: <handler.22304.B22304.162479042232217 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 22304
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: 22304 <at> debbugs.gnu.org
Received: via spool by 22304-submit <at> debbugs.gnu.org id=B22304.162479042232217
          (code B ref 22304); Sun, 27 Jun 2021 10:41:02 +0000
Received: (at 22304) by debbugs.gnu.org; 27 Jun 2021 10:40:22 +0000
Received: from localhost ([127.0.0.1]:48976 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lxSD8-0008NZ-Gn
	for submit <at> debbugs.gnu.org; Sun, 27 Jun 2021 06:40:22 -0400
Received: from eggs.gnu.org ([209.51.188.92]:54064)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1lxSD5-0008NL-U6
 for 22304 <at> debbugs.gnu.org; Sun, 27 Jun 2021 06:40:20 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:60978)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <ludo@HIDDEN>) id 1lxSD0-0000JS-MU
 for 22304 <at> debbugs.gnu.org; Sun, 27 Jun 2021 06:40:14 -0400
Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=42498 helo=ribbon)
 by fencepost.gnu.org with esmtpsa
 (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1)
 (envelope-from <ludo@HIDDEN>) id 1lxSD0-0006ro-Ei
 for 22304 <at> debbugs.gnu.org; Sun, 27 Jun 2021 06:40:14 -0400
From: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
References: <idj1t9xia11.fsf@HIDDEN>
 <CAJ3okZ3i90aWjZgZmvZSNad6XbWoRqBsk6KQnxZXaWO8Tq53eQ@HIDDEN>
Date: Sun, 27 Jun 2021 12:40:13 +0200
In-Reply-To: <CAJ3okZ3i90aWjZgZmvZSNad6XbWoRqBsk6KQnxZXaWO8Tq53eQ@HIDDEN>
 (zimoun's message of "Thu, 28 Nov 2019 18:14:00 +0100")
Message-ID: <87bl7r1tgy.fsf_-_@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Hi!

FWIW Julia 1.5.3 is also not reproducible:

--8<---------------cut here---------------start------------->8---
$ guix challenge julia
/gnu/store/d077a9ggqlcyhnhcg4ng2ibnlarxq8zf-julia-1.5.3 contents differ:
  no local build for '/gnu/store/d077a9ggqlcyhnhcg4ng2ibnlarxq8zf-julia-1.5=
.3'
  https://ci.guix.gnu.org/nar/lzip/d077a9ggqlcyhnhcg4ng2ibnlarxq8zf-julia-1=
.5.3: 097czl5kmmdbgljqjrmamkpzsfmkkpy578i1niwm2fizxslyxws6
  https://bordeaux.guix.gnu.org/nar/lzip/d077a9ggqlcyhnhcg4ng2ibnlarxq8zf-j=
ulia-1.5.3: 047bd3qgar4c17i9xp5g564xac4vsqy5h7hzd0ss824f367idh9c
  differing files:
    /share/julia/test/depot/compiled/v1.5/Qux/YFfiR_w3IH9.ji
    /share/julia/test/depot/compiled/v1.5/Foo/TeeT6_w3IH9.ji
    /share/julia/test/depot/compiled/v1.5/Foo/MYb1d_w3IH9.ji
    /share/julia/test/depot/compiled/v1.5/Baz/rONVA_w3IH9.ji
    /share/julia/test/depot/compiled/v1.5/Bar/HXSAn_w3IH9.ji
    /share/julia/stdlib/v1.5/REPL/src/Terminals.jl.6161.mem
    /share/julia/stdlib/v1.5/REPL/src/Terminals.jl.6152.mem
    /share/julia/stdlib/v1.5/REPL/src/Terminals.jl.6143.mem
    /share/julia/stdlib/v1.5/Logging/src/ConsoleLogger.jl.6161.mem
    /share/julia/stdlib/v1.5/Logging/src/ConsoleLogger.jl.6152.mem
    /share/julia/stdlib/v1.5/Logging/src/ConsoleLogger.jl.6143.mem
    /lib/julia/sys.so

1 store items were analyzed:
  - 0 (0.0%) were identical
  - 1 (100.0%) differed
  - 0 (0.0%) were inconclusive
$ guix describe
Generacio 186	Jun 25 2021 11:36:00	(nuna)
  guix e4305e4
    repository URL: https://git.savannah.gnu.org/git/guix.git
    branch: master
    commit: e4305e4562f1bcedf888d8a5473aad256df38e81
--8<---------------cut here---------------end--------------->8---

Ludo=E2=80=99.





Last modified: Sun, 27 Jun 2021 10:45:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.