From: zimoun <zimon.toutoune@gmail.com>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: 22304@debbugs.gnu.org
Subject: bug#22304: Julia not reproducible
Date: Fri, 24 Jan 2020 19:30:20 +0100 [thread overview]
Message-ID: <CAJ3okZ0Yx8+dveO5ooQUBkJe0jAwZHZuwk5rj_c1LKXYXberhg@mail.gmail.com> (raw)
In-Reply-To: <CAJ3okZ0ZZQVqLWWYg=M9sHCfyScy=S9hyraydUbrF2GQwN5hPg@mail.gmail.com>
Hi,
On Mon, 2 Dec 2019 at 18:28, zimoun <zimon.toutoune@gmail.com> 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ò to pointing out these [1] when working on the version update.
[1] https://debbugs.gnu.org/cgi/bugreport.cgi?bug=38546#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=b5d4d5b \
environment -u nixbld --no-cwd --container --network \
--expose=$(realpath determinism) --share=/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="$GUIX_ENVIRONMENT/etc/ssl/certs"
export SSL_CERT_FILE="$SSL_CERT_DIR/ca-certificates.crt"
export GIT_SSL_CAINFO="$SSL_CERT_FILE"
# populate the Julia package manager
julia --startup-file=no -q -e 'using Pkg; Pkg.instantiate()'
# install something
julia --startup-file=no -q -e 'using Pkg; Pkg.add("Compat")'
# use something / precompiled it
julia --startup-file=no -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
next prev parent reply other threads:[~2020-01-24 18:31 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <87y2pqwtyz.fsf@guixSD.i-did-not-set--mail-host-address--so-tickle-me>
2016-01-04 16:28 ` bug#22304: Build for Julia is not reproducible Ricardo Wurmus
2016-01-05 22:30 ` Ludovic Courtès
2016-02-04 14:51 ` Ricardo Wurmus
2019-11-28 17:14 ` bug#22304: Julia " zimoun
2019-11-29 16:19 ` Ludovic Courtès
2019-12-02 17:28 ` zimoun
2020-01-24 18:30 ` zimoun [this message]
2021-06-27 10:40 ` bug#22304: Build for Julia is " Ludovic Courtès
2020-05-17 13:55 ` bug#22304: [Nicolò Balzarotti] Re: Julia v1.4.1 still " Nicolò Balzarotti
2023-11-01 9:39 ` bug#22304: Julia Christopher Baines
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAJ3okZ0Yx8+dveO5ooQUBkJe0jAwZHZuwk5rj_c1LKXYXberhg@mail.gmail.com \
--to=zimon.toutoune@gmail.com \
--cc=22304@debbugs.gnu.org \
--cc=ludo@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.