Subject: Re: [bug#75075] [PATCH] gnu: Add julia-precompiletools.

From: Simon Tournier <[email-masked]>
Date: Mon, 06 Jan 2025 18:02:44 +0100

Hi,

On Tue, 24 Dec 2024 at 23:41, "King, Spencer" <[email-masked]> wrote:

> +    (build-system julia-build-system)
> +    ;; Tests try to download other repositories
> +    ;; Tests try to install "fake" packages
> +    (arguments
> +     (list
> +      #:tests? #f))

I think this is incorrect.  The error is about:

--8<---------------cut here---------------start------------->8---
┌ Error: Error during package callback
│   exception =
│    1-element ExceptionStack:
│    On worker 2:
│    ArgumentError: Package PC_A [13c4d82c-fea6-47db-9cd5-35bd2686c3b0] is required but does not seem to be installed:
│     - Run `Pkg.instantiate()` to install all recorded dependencies.
--8<---------------cut here---------------end--------------->8---

Coming from the call ’using PC_A’ in the file test/runtests.jl of the
test suite of the package PrecompileTools itself.

Well, the core issue seems that PrecompileTools requires Julia 1.9 and
the current version packaged by Guix is 1.8.3.

In other words, julia-build-system needs to be adjusted [2].

Cheers,
simon

PS: Please note the patch was also part of the series #75015 [1] with
the comment:

> +    (build-system julia-build-system)
> +    (arguments
> +     (list
> +      ;; Tets fail with error: caused by: GitError(Code:ERROR, Class:SSL,
> +      ;; OpenSSL error: failed to load certificates: error:80000002:system
> +      ;; library::No such file or directory).
> +      #:tests? #f))

1: [bug#75015] [PATCH 03/38] gnu: Add julia-precompiletools.
Sharlatan Hellseher <[email-masked]>
Sat, 21 Dec 2024 20:22:23 +0000
id:680[email-masked]
https://issues.guix.gnu.org/75015
https://issues.guix.gnu.org/msgid/680[email-masked]
https://yhetil.org/guix/680[email-masked]

2: [bug#73197] [PATCH] gnu: julia: Update to 1.9.3.
Simon Tournier <[email-masked]>
Mon, 06 Jan 2025 16:43:23 +0100
id:[email-masked]
https://issues.guix.gnu.org/73197
https://issues.guix.gnu.org/msgid/[email-masked]
https://yhetil.org/guix/[email-masked]