JuliaPackaging / Yggdrasil

Collection of builder repositories for BinaryBuilder.jl
https://binarybuilder.org
Other
310 stars 557 forks source link

XSLT_jll fails precompilation on Linux/WSL2 #9895

Open hellemo opened 2 days ago

hellemo commented 2 days ago

The latest release of XSLT_jll (v1.1.42) doesn't work for me under WSL2/openSUSE-Tumbleweed and breaks things like Makie. Rolling back to v1.1.41 seems to fix the issue:

(@v1.11) pkg> activate --temp
  Activating new project at `/tmp/jl_oGyBEF`

(jl_oGyBEF) pkg> add XSLT_jll
   Resolving package versions...
    Updating `/tmp/jl_oGyBEF/Project.toml`
  [aed1982a] + XSLT_jll v1.1.42+0
    Updating `/tmp/jl_oGyBEF/Manifest.toml`
  [692b3bcd] + JLLWrappers v1.6.1
  [21216c6a] + Preferences v1.4.3
  [d4300ac3] + Libgcrypt_jll v1.11.0+0
  [7add5ba3] + Libgpg_error_jll v1.50.0+0
  [94ce4f54] + Libiconv_jll v1.17.0+1
  [02c8fc9c] + XML2_jll v2.13.5+0
  [aed1982a] + XSLT_jll v1.1.42+0
  [56f22d72] + Artifacts v1.11.0
  [ade2ca70] + Dates v1.11.0
  [8f399da3] + Libdl v1.11.0
  [de0858da] + Printf v1.11.0
  [fa267f1f] + TOML v1.0.3
  [4ec0a83e] + Unicode v1.11.0
  [83775a58] + Zlib_jll v1.2.13+1
Precompiling project...
  ✗ XSLT_jll
  0 dependencies successfully precompiled in 3 seconds. 11 already precompiled.
  1 dependency errored.
  For a report of the errors see `julia> err`. To retry use `pkg> precompile`

julia> err
PkgPrecompileError: The following 1 direct dependency failed to precompile:

XSLT_jll

Failed to precompile XSLT_jll [aed1982a-8fda-507f-9586-7b0439959a61] to "/home/hellemo/.julia/compiled/v1.11/XSLT_jll/jl_Yjfhfk".
ERROR: LoadError: XSLT_jll [aed1982a-8fda-507f-9586-7b0439959a61] did not define the expected module `XSLT_jll`, check for typos in package module name
Stacktrace:
 [1] error(s::String)
   @ Base ./error.jl:35
 [2] check_package_module_loaded
   @ ./loading.jl:2805 [inlined]
 [3] include_package_for_output(pkg::Base.PkgId, input::String, depot_path::Vector{String}, dl_load_path::Vector{String}, load_path::Vector{String}, concrete_deps::Vector{Pair{Base.PkgId, UInt128}}, source::Nothing)
   @ Base ./loading.jl:2799
 [4] top-level scope
   @ stdin:5
in expression starting at stdin:

(jl_oGyBEF) pkg> precompile
Precompiling project...
  ✗ XSLT_jll
  0 dependencies successfully precompiled in 2 seconds. 11 already precompiled.

ERROR: The following 1 direct dependency failed to precompile:

XSLT_jll

Failed to precompile XSLT_jll [aed1982a-8fda-507f-9586-7b0439959a61] to "/home/hellemo/.julia/compiled/v1.11/XSLT_jll/jl_umwwbQ".
ERROR: LoadError: XSLT_jll [aed1982a-8fda-507f-9586-7b0439959a61] did not define the expected module `XSLT_jll`, check for typos in package module name
Stacktrace:
 [1] error(s::String)
   @ Base ./error.jl:35
 [2] check_package_module_loaded
   @ ./loading.jl:2805 [inlined]
 [3] include_package_for_output(pkg::Base.PkgId, input::String, depot_path::Vector{String}, dl_load_path::Vector{String}, load_path::Vector{String}, concrete_deps::Vector{Pair{Base.PkgId, UInt128}}, source::Nothing)
   @ Base ./loading.jl:2799
 [4] top-level scope
   @ stdin:5
in expression starting at stdin:

(jl_oGyBEF) pkg> add XSLT_jll@1.1.41
   Resolving package versions...
    Updating `/tmp/jl_oGyBEF/Project.toml`
⌃ [aed1982a] ↓ XSLT_jll v1.1.42+0 ⇒ v1.1.41+0
    Updating `/tmp/jl_oGyBEF/Manifest.toml`
⌃ [aed1982a] ↓ XSLT_jll v1.1.42+0 ⇒ v1.1.41+0
        Info Packages marked with ⌃ have new versions available and may be upgradable.

(jl_oGyBEF) pkg> precompile

julia> using XSLT_jll

julia> versioninfo()
Julia Version 1.11.1
Commit 8f5b7ca12ad (2024-10-16 10:53 UTC)
Build Info:
  Official https://julialang.org/ release
Platform Info:
  OS: Linux (x86_64-linux-gnu)
  CPU: 8 × Intel(R) Core(TM) i7-8665U CPU @ 1.90GHz
  WORD_SIZE: 64
  LLVM: libLLVM-16.0.6 (ORCJIT, skylake)
Threads: 1 default, 0 interactive, 1 GC (on 8 virtual cores)
giordano commented 2 days ago

Seems to be a Julia issue?