Julia packages are not reproducible

  • Open
  • quality assurance status badge
Details
3 participants
  • Ludovic Courtès
  • King, Spencer
  • Simon Tournier
Owner
unassigned
Submitted by
Ludovic Courtès
Severity
normal
Merged with
L
L
Ludovic Courtès wrote on 3 Sep 13:56 +0200
(address . bug-guix@gnu.org)
87v7zdeys8.fsf@inria.fr
Currently Julia packages, as built with Julia 1.8.3, are not
reproducible. Here’s a small sample:

Toggle snippet (31 lines)
$ guix challenge julia-csv julia-preferences julia-crayons
/gnu/store/6yh8jmdbgnz41rgqk898629jhhxsgksi-julia-crayons-4.1.1 contents differ:
no local build for '/gnu/store/6yh8jmdbgnz41rgqk898629jhhxsgksi-julia-crayons-4.1.1'
https://ci.guix.gnu.org/nar/lzip/6yh8jmdbgnz41rgqk898629jhhxsgksi-julia-crayons-4.1.1: 1hjz4h51g42fqzwq3z28bddc8sfs5cyv2xsmw5gscapjhlkg1whc
https://bordeaux.guix.gnu.org/nar/lzip/6yh8jmdbgnz41rgqk898629jhhxsgksi-julia-crayons-4.1.1: 01aiycvx8yp68fsssszaqnlkxabh63v542l0x6q5z2sf85n2317m
differing file:
/share/julia/compiled/v1.8/Crayons/TXPcU_FeJYN.ji
/gnu/store/cz3pk9ch9xkrrq9dxhb390z3vgifjhm8-julia-preferences-1.2.2 contents differ:
no local build for '/gnu/store/cz3pk9ch9xkrrq9dxhb390z3vgifjhm8-julia-preferences-1.2.2'
https://ci.guix.gnu.org/nar/lzip/cz3pk9ch9xkrrq9dxhb390z3vgifjhm8-julia-preferences-1.2.2: 0m4x1cmy6ff5zi9i3cvmssry45g6d9x4cvmdnj1dnx6dyni4dc9n
https://bordeaux.guix.gnu.org/nar/lzip/cz3pk9ch9xkrrq9dxhb390z3vgifjhm8-julia-preferences-1.2.2: 1xk0nhl12wgdwmbh4xinagk9s1qm58fzz84iirjnwq5162sl90ci
differing file:
/share/julia/compiled/v1.8/Preferences/pWSk8_CTiKV.ji
/gnu/store/s7qnqsig3d43z412arw4802yrb98drj8-julia-csv-0.10.4 contents differ:
no local build for '/gnu/store/s7qnqsig3d43z412arw4802yrb98drj8-julia-csv-0.10.4'
https://ci.guix.gnu.org/nar/lzip/s7qnqsig3d43z412arw4802yrb98drj8-julia-csv-0.10.4: 0cw248s4wviy52bb2j04gf2pwih2am1mkyf37289br625sw3k7vb
https://bordeaux.guix.gnu.org/nar/lzip/s7qnqsig3d43z412arw4802yrb98drj8-julia-csv-0.10.4: 00b0agj1mncji8j5v9k4cq4lw46iviz7xcrrm5s6sr22ay6hvphn
differing file:
/share/julia/compiled/v1.8/CSV/HHBkp_Mz514.ji

3 store items were analyzed:
- 0 (0.0%) were identical
- 3 (100.0%) differed
- 0 (0.0%) were inconclusive
$ guix describe
Generation 316 Sep 01 2024 23:38:54 (current)
guix f88a946
repository URL: https://git.savannah.gnu.org/git/guix.git
commit: f88a946249d75b9e8fa310471e7f2fec91d9790b

Ludo’.
K
K
King, Spencer wrote on 3 Sep 18:05 +0200
(name . 73002@debbugs.gnu.org)(address . 73002@debbugs.gnu.org)
CH3PR02MB97461BC65783B61BB7B1AE5990932@CH3PR02MB9746.namprd02.prod.outlook.com
For what it's worth I had been running into reproducibility issues with a couple of Julia packages I was working on as well, one example being https://issues.guix.gnu.org/72896.I assume the cause is the same as what you're seeing here.

Best,
Spencer
S
S
Simon Tournier wrote on 4 Sep 13:00 +0200
874j6vzns8.fsf@gmail.com
Hi Ludo,

On Tue, 03 Sep 2024 at 13:56, Ludovic Courtès <ludovic.courtes@inria.fr> wrote:

Toggle quote (3 lines)
> Currently Julia packages, as built with Julia 1.8.3, are not
> reproducible. Here’s a small sample:

Duplicate with:

bug#47354: (build-system julia) not reproducible
zimoun <zimon.toutoune@gmail.com>
Wed, 24 Mar 2021 01:37:07 +0100
id:86o8f9idzg.fsf@gmail.com

Please also consider:

bug#22304: Build for Julia is not reproducible
Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de>
Mon, 04 Jan 2016 17:28:42 +0100
id:idj1t9xia11.fsf@bimsb-sys02.mdc-berlin.net

Well, IIRC, upstream was not receptive about tackling that problem, see
upstream issue#34753.


Somehow, it’s seem the same kind of situation as Guile and
non-reproducible .go. ;-) Tackling the problem implies a deep-dive into
the compiler’s internals that requires a lot of efforts without the help
of core upstream.

Please note that Julia had been removed from Debian on 2022 [1], thus it
does not seem under the radar of ReproducibleBuilds.

Cheers,
simon

S
S
Simon Tournier wrote on 4 Sep 12:35 +0200
control message for bug #73002
(address . control@debbugs.gnu.org)
877cbrzoyu.fsf@gmail.com
merge 73002 47354
quit
?
Your comment

Commenting via the web interface is currently disabled.

To comment on this conversation send an email to 73002@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 73002
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch