Subject: Re: [bug#73197] Status wip-julia-update (was Re: bug#73197: [PATCH] gnu: julia: Update to 1.9.3.)

From: Simon Tournier <[email-masked]>
Date: Wed, 05 Mar 2025 14:59:10 +0100

Hi,

On Fri, 14 Feb 2025 at 22:10, zimoun <[email-masked]> wrote:

> Bah… my creativity starts to be lacking…

Unexpected failures by Cuirass?!

For the record, if we consider the last evaluation [1] of the branch
wip-julia-upgrade on the top of 5f31c [2], Cuirass reports this failure
[3] about julia-abstractffts.

--8<---------------cut here---------------start------------->8---
starting phase `check'
running tests from '/gnu/store/w5iqv2y9yg12plyks3ppywyvq2ffirl8-julia-abstractffts-1.0.1/share/julia/loadpath/AbstractFFTs/test/runtests.jl'
ERROR: LoadError: ArgumentError: Package ConstructionBase [187b0558-2788-49d3-abe0-74a17ed4e7c9] is required but does not seem to be installed:
 - Run `Pkg.instantiate()` to install all recorded dependencies.

Stacktrace:
--8<---------------cut here---------------end--------------->8---

Hum?!  What do I miss?

Cuirass says the derivation and the output are:

    /gnu/store/pyvn3lmxizbhyvh29h8ladx8ycpsxbi6-julia-abstractffts-1.0.1.drv
    /gnu/store/w5iqv2y9yg12plyks3ppywyvq2ffirl8-julia-abstractffts-1.0.1

And on my local machine, using Guix 056910e, it just builds and the
’check’ phase just passes.

--8<---------------cut here---------------start------------->8---
$ guix build --check \
   /gnu/store/pyvn3lmxizbhyvh29h8ladx8ycpsxbi6-julia-abstractffts-1.0.1.drv

The following derivation will be built:
  /gnu/store/pyvn3lmxizbhyvh29h8ladx8ycpsxbi6-julia-abstractffts-1.0.1.drv
building /gnu/store/pyvn3lmxizbhyvh29h8ladx8ycpsxbi6-julia-abstractffts-1.0.1.drv...
starting phase `separate-from-pid1'
build process now running as PID 18
phase `separate-from-pid1' succeeded after 0.0 seconds

[...]

starting phase `check'
running tests from '/gnu/store/w5iqv2y9yg12plyks3ppywyvq2ffirl8-julia-abstractffts-1.0.1/share/julia/loadpath/AbstractFFTs/test/runtests.jl'
Test Summary: | Pass  Total  Time
rfft sizes    |    5      5  0.2s
Test Summary: | Pass  Total  Time
Custom Plan   |    4      4  0.5s
Test Summary:   | Pass  Total  Time
Shift functions |   14     14  0.3s
Test Summary:   | Pass  Total  Time
FFT Frequencies |   67     67  0.7s
Test Summary: | Pass  Total  Time
normalization |    1      1  0.0s
phase `check' succeeded after 13.2 seconds
starting phase `patch-shebangs'
phase `patch-shebangs' succeeded after 0.0 seconds
starting phase `strip'
phase `strip' succeeded after 0.0 seconds
starting phase `validate-runpath'
phase `validate-runpath' succeeded after 0.0 seconds
starting phase `validate-documentation-location'
phase `validate-documentation-location' succeeded after 0.0 seconds
starting phase `delete-info-dir-file'
phase `delete-info-dir-file' succeeded after 0.0 seconds
starting phase `patch-dot-desktop-files'
phase `patch-dot-desktop-files' succeeded after 0.0 seconds
starting phase `make-dynamic-linker-cache'
phase `make-dynamic-linker-cache' succeeded after 0.0 seconds
starting phase `install-license-files'
installing 1 license files from '.'
phase `install-license-files' succeeded after 0.0 seconds
starting phase `reset-gzip-timestamps'
phase `reset-gzip-timestamps' succeeded after 0.0 seconds
starting phase `compress-documentation'
phase `compress-documentation' succeeded after 0.0 seconds
guix build: error: derivation `/gnu/store/pyvn3lmxizbhyvh29h8ladx8ycpsxbi6-julia-abstractffts-1.0.1.drv' may not be deterministic: output `/gnu/store/w5iqv2y9yg12plyks3ppywyvq2ffirl8-julia-abstractffts-1.0.1' differs
--8<---------------cut here---------------end--------------->8---

The non-deterministic is expected; another story.

What could be twisted?  How is it possible?

Cheers,
simon

1: https://ci.guix.gnu.org/eval/2041608
2: https://git.savannah.gnu.org/cgit/guix.git/log/?id=5f31ce18b3655264e3d101eada5382bf22ac1cfa
3: https://ci.guix.gnu.org/build/9309544/details