Documenter build fails

I am getting an error when I try to run a CI Job on GitLab using Documenter:

ERROR: LoadError: ArgumentError: Package OpenSSL_jll [458c3c95-2e84-50aa-8efc-19380b2a3a95] is required but does not seem to be installed:

(It is the same error as here https://discourse.julialang.org/t/documenter-build-fails-on-ci-with-openssl-jll-not-installed-error/133505, but as far as I can tell my project and docs manifest refer to Julia 1.11 so the cause should be something else)

The difference between the old (working) (full log: pages (#2206220) · Jobs · Magnus Borstad Lilledahl / AggregatorX · GitLab )

Setting up xauth (1:1.1.2-1.1) ...
Setting up liberror-perl (0.17030-1) ...
Setting up git (1:2.47.3-0+deb13u1) ...
Processing triggers for libc-bin (2.41-12) ...
$ julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd()));Pkg.instantiate()'
  Installing known registries into `~/.julia`
       Added `General` registry to ~/.julia/registries
   Resolving package versions...
   Installed IrrationalConstants ───── v0.2.4
   Installed RegistryInstances ─────── v0.1.0
   Installed DiffRules ─────────────── v1.15.1
   Installed MarkdownAST ───────────── v0.1.2

new (failing) (full log: pages (#2141902) · Jobs · Magnus Borstad Lilledahl / AggregatorX · GitLab)

Setting up xauth (1:1.1.2-1.1) ...
Setting up liberror-perl (0.17030-1) ...
Setting up git (1:2.47.3-0+deb13u1) ...
Processing triggers for libc-bin (2.41-12) ...
$ julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd()));Pkg.instantiate()'
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:

Any suggesion for what is wrong. I have a feeling that the error started occuring when I started pushing the local git repo to two different gitlab repos (here Magnus Borstad Lilledahl / AggregatorX · GitLab and here SecurEL / SecurEL WP2 / AggregatorX · GitLab). Could this have anything to do with it?

Any help greatly appreciated

Wow, that is magic (well, probably just impressively deep insight). Worked straight away when I removed the manifests. Removed it first from the main package, but had to also remove the manifest from the docs/ folder (maybe the later would have been sufficient).

I am curious to what actually caused to problem to suddenly appear. Could it be that GitLab upgraded to Julia 1.12 and then tried to read my 1.11 manifest?

Out of curiosity, what is the ‘correct’ way to recreate an environment from the Manifest.toml? Should you first check manually what Julia version is used, then download that Julia version and run Pkg.instantiate() from that version.

I think one plan for Juliaup is to automatically use the Julia version indicated by the manifest, but this feature doesn’t exist yet, so in a sense what you’re suggesting is one way to do it, if you want to strictly reproduce the same computing environment somewhere else.

Note that starting from Julia v1.11, you can different manifests for different Julia (minor) versions, in case you want to allow the environment to be safely instantiated by different versions (of course only v1.11+). In this way you can let the user pick their favourite version, the only annoying bit is that you’d need to make sure the manifests are “in sync”, I don’t think there’s an easy way to “refresh” all manifests for all versions at once with a single julia process.