Makie Precompilation failed in Linux

Hi,

Starting this morning, when I test my package on Linux that relies on packages with Makie extensions, precompilation fails with the following error messages:

Precompiling for configuration --code-coverage=@/home/runner/work/TestParticle.jl/TestParticle.jl --color=yes --check-bounds=yes --warn-overwrite=yes --depwarn=yes --inline=yes --startup-file=no --track-allocation=none --check-bounds=yes --compiled-modules=yes --depwarn=yes
              ✗ Makie
              ✗ Measurements → MeasurementsMakieExt
              ✗ Meshes → MeshesMakieExt
              ✗ SciMLBase → SciMLBaseMakieExt
  0 dependencies successfully precompiled in 19 seconds. 402 already precompiled.

ERROR: LoadError: The following 2 direct dependencies failed to precompile:

Meshes → MeshesMakieExt --code-coverage=@/home/runner/work/TestParticle.jl/TestParticle.jl --color=yes --check-bounds=yes --warn-overwrite=yes --depwarn=yes --inline=yes --startup-file=no --track-allocation=none --check-bounds=yes --compiled-modules=yes --depwarn=yes 

Failed to precompile MeshesMakieExt [fd73dc56-13e7-52f5-a3bb-9f1608bf6b57] to "/home/runner/.julia/compiled/v1.12/MeshesMakieExt/jl_fPndcz".
ERROR: LoadError: InitError: could not load library "/home/runner/.julia/artifacts/654863f618f22eeb74ce2d1b4996666e65e596e4/lib/libgio-2.0.so"
/home/runner/.julia/artifacts/654863f618f22eeb74ce2d1b4996666e65e596e4/lib/libgobject-2.0.so.0: undefined symbol: g_string_copy

This only happens in the CI for Linux, but not for Windows or Mac. How can I solve this issue?

3 Likes

Should be fixed by: FreeType2: Do not load HarfBuzz dynamically by eschnett · Pull Request #13382 · JuliaPackaging/Yggdrasil · GitHub

3 Likes

That’s a quick fix! When should we be able precompile again with the correct version of glib? Is there a turnover time for these pushes?

Should be fixed once New version: FreeType2_jll v2.14.3+1 by jlbuild · Pull Request #151226 · JuliaRegistries/General · GitHub is merged, in 15 minutes or so (you’ll need to update your registry)

3 Likes

I was having this problem too, and once the above merged, the problem went away. Thanks for saving me a bunch of debugging by posting here!