Documenter build fails on CI with "OpenSSL_jll … not installed" error

Hi all — '’m hitting a puzzling failure building docs on Julia 1.12 where stdlib JLLs fail to load during precompilation. It happens in GitLab CI. Here’s the error

  julia --project=docs -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd()));
  Pkg.instantiate(); include("docs/make.jl")'

  Error (abridged)
  Precompiling packages...
  ✗ LibSSH2_jll
  ✗ LibGit2_jll
  ✗ LibCURL_jll
  ✗ LibGit2
  ✗ LibCURL
  ✗ Downloads
  Info Given Pkg was explicitly requested, output will be shown live
  ERROR: LoadError: ArgumentError: Package OpenSSL_jll [458c3c95-2e84-50aa-8efc-
  19380b2a3a95] is required but does not seem to be installed:

Here is the CI file. You can see the full GitLab job log. It not sure what went wrong by looking at it. Any suggestions?

Probably because your docs/Manifest.toml is for 1.11, but you’re using Julia 1.12? Updating (or removing) the manifest might fix it.

5 Likes