JuliaLang / julia

The Julia Programming Language
https://julialang.org/
MIT License
45.41k stars 5.45k forks source link

julia 1.10.2 fails to add Makie and Plots #54158

Closed JuanVargas closed 4 months ago

JuanVargas commented 4 months ago
  1. OS: Linux Ubuntu 22.04.4 LTS
  2. I download the Julia 1.10.2 tar file, expand, and install under /usr/local/julia
  3. Launch Julia from xTerm
  4. import Pkg; Pkg.update()
  5. Pkg.add("Makie") : Downloads several artifacts, including Cairo_jll, HarfBuzz_jll, libass_jll, FFMPEG_jll
  6. Precompile fails with Cairo_jll, HarfBuzz_jll, libass_jll, FFMPEG_jll.

Error message:

Precompiling project...
  ✗ Cairo_jll
  ✗ HarfBuzz_jll
  ✗ libass_jll
  ✗ FFMPEG_jll
  ✗ Makie
  235 dependencies successfully precompiled in 70 seconds. 9 already precompiled.
  1 dependency had output during precompilation:
┌ MKL_jll
│   Downloading artifact: MKL
│  
│  [pid 7471] waiting for IO to finish:
│   Handle type        uv_handle_t->data
│   timer              0x25d80b0->0x760ad2821030
│  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 7471] waiting for IO to finish:
│   Handle type        uv_handle_t->data
│   timer              0x25d80b0->0x760ad2821030
│  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.
└  
  5 dependencies errored.

versioninfo()

Julia Version 1.10.2
Commit bd47eca2c8a (2024-03-01 10:14 UTC)
Build Info:
  Official https://julialang.org/ release
Platform Info:
  OS: Linux (x86_64-linux-gnu)
  CPU: 24 × AMD Ryzen 9 5900X 12-Core Processor
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-15.0.7 (ORCJIT, znver3)
Threads: 1 default, 0 interactive, 1 GC (on 24 virtual cores)
Environment:
  LD_LIBRARY_PATH = :/usr/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu/libcudnn_8
giordano commented 4 months ago

You aren't showing the actual error message, as suggested by the text at the end of the add command that you removed. But my educated guess is that this is due to you setting LD_LIBRARY_PATH, as shown by the output of versioninfo, we can't do anything when you do that.

JuanVargas commented 4 months ago

Yes, I had to change the definition of LD_LIBRARY_PATH to deal with an issue I had with Tensorflow. When I went back to the original definition the issue that I reported in Julia went away.

I will close this issue now. Thank you.