Precompilation warning - in which package should it be fixed?

ufechner7
Fri, 23 Aug 2024 07:19:45 +0000
General Usage

If I run the following script:

#!/bin/bash -eu
rm -rf /tmp/testdepot
mkdir /tmp/testdepot
rm -rf /tmp/test
mkdir /tmp/test
cd /tmp/test
export JULIA_DEPOT_PATH=/tmp/testdepot
julia --project="." -e "using Pkg; Pkg.add(\"LinearSolve\"); using LinearSolve"
cd ..

I get the following output:

Precompiling project...
  99 dependencies successfully precompiled in 46 seconds
  1 dependency had output during precompilation:
┌ MKL_jll
│   Downloading artifact: MKL
│
│  [pid 37681] waiting for IO to finish:
│   Handle type        uv_handle_t->data
│   timer              0x140ead0->0x73bd1b5c4460
│  This means that a package has started a background task or event source that has not finished running. For precompilation to complete successfully, the event source needs to be closed explicitly. See the developer documentation on fixing precompilation hangs for more help.
│
│  [pid 37681] waiting for IO to finish:
│   Handle type        uv_handle_t->data
│   timer              0x140ead0->0x73bd1b5c4460
│  This means that a package has started a background task or event source that has not finished running. For precompilation to complete successfully, the event source needs to be closed explicitly. See the developer documentation on fixing precompilation hangs for more help.

Is this a bug in mkl_jll, or in LinearSolve, or in Pkg?

I filed a bug report: mkl_jll hangs during precompilation · Issue #9281 · JuliaPackaging/Yggdrasil · GitHub

and was told that the bug would have been fixed in Pkg already, but it is not fixed.

Any idea?

10 posts - 5 participants