Build:
  1. 0
2026-01-29 17:54.41: New job: build llvm.21-static, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29110/head (fd0e9f3f187512b200bbbaef1b3eece0f6b26b04)
                              on debian-13-ocaml-4.14-flambda-fp/amd64

To reproduce locally:

cd $(mktemp -d)
git clone --recursive "https://github.com/ocaml/opam-repository.git" && cd "opam-repository" && git fetch origin "refs/pull/29110/head" && git reset --hard fd0e9f3f
git fetch origin master
git merge --no-edit 84bda4afb0feea0c4e527d27c05e9f998163fad2
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-4.14-flambda-fp@sha256:011dda6f08e658b3fef7393a7edfb0bf3f9805afc65b21cca9443032f7ce5011
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-dev /usr/bin/opam
RUN opam init --reinit -ni
RUN opam option solver=builtin-0install && opam config report
ENV OPAMDOWNLOADJOBS="1"
ENV OPAMERRLOGLEN="0"
ENV OPAMPRECISETRACKING="1"
ENV CI="true"
ENV OPAM_REPO_CI="true"
RUN rm -rf opam-repository/
COPY --chown=1000:1000 . opam-repository/
RUN opam repository set-url --strict default opam-repository/
RUN opam update --depexts || true
RUN opam pin add -k version -yn llvm.21-static 21-static
RUN opam reinstall llvm.21-static; \
    res=$?; \
    test "$res" != 31 && exit "$res"; \
    export OPAMCLI=2.0; \
    build_dir=$(opam var prefix)/.opam-switch/build; \
    failed=$(ls "$build_dir"); \
    partial_fails=""; \
    for pkg in $failed; do \
    if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"debian-13\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'llvm.21-static' && partial_fails="$partial_fails $pkg"; \
    done; \
    test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
    exit 1

END-OF-DOCKERFILE
docker build -f ../Dockerfile .

2026-01-29 17:54.41: Using cache hint "ocaml/opam:debian-13-ocaml-4.14-flambda-fp@sha256:011dda6f08e658b3fef7393a7edfb0bf3f9805afc65b21cca9443032f7ce5011-llvm.21-static-fd0e9f3f187512b200bbbaef1b3eece0f6b26b04"
2026-01-29 17:54.41: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.14-flambda-fp@sha256:011dda6f08e658b3fef7393a7edfb0bf3f9805afc65b21cca9443032f7ce5011)
 (user (uid 1000) (gid 1000))
 (workdir /home/opam)
 (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
 (run (network host)
      (shell "opam init --reinit --config .opamrc-sandbox -ni"))
 (run (shell "opam option solver=builtin-0install && opam config report"))
 (env OPAMDOWNLOADJOBS 1)
 (env OPAMERRLOGLEN 0)
 (env OPAMPRECISETRACKING 1)
 (env CI true)
 (env OPAM_REPO_CI true)
 (run (shell "rm -rf opam-repository/"))
 (copy (src .) (dst opam-repository/))
 (run (shell "opam repository set-url --strict default opam-repository/"))
 (run (network host)
      (shell "opam update --depexts || true"))
 (run (shell "opam pin add -k version -yn llvm.21-static 21-static"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall llvm.21-static;\
             \n        res=$?;\
             \n        test \"$res\" != 31 && exit \"$res\";\
             \n        export OPAMCLI=2.0;\
             \n        build_dir=$(opam var prefix)/.opam-switch/build;\
             \n        failed=$(ls \"$build_dir\");\
             \n        partial_fails=\"\";\
             \n        for pkg in $failed; do\
             \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-13\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'llvm.21-static' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2026-01-29 17:54.41: Waiting for resource in pool OCluster
2026-01-29 18:09.17: Waiting for worker…
2026-01-29 18:11.42: Got resource from pool OCluster
Building on bremusa.ocamllabs.io
All commits already cached
Updating files:  41% (7941/19302)
Updating files:  42% (8107/19302)
Updating files:  43% (8300/19302)
Updating files:  44% (8493/19302)
Updating files:  45% (8686/19302)
Updating files:  46% (8879/19302)
Updating files:  47% (9072/19302)
Updating files:  48% (9265/19302)
Updating files:  49% (9458/19302)
Updating files:  50% (9651/19302)
Updating files:  51% (9845/19302)
Updating files:  52% (10038/19302)
Updating files:  53% (10231/19302)
Updating files:  54% (10424/19302)
Updating files:  55% (10617/19302)
Updating files:  56% (10810/19302)
Updating files:  57% (11003/19302)
Updating files:  58% (11196/19302)
Updating files:  59% (11389/19302)
Updating files:  60% (11582/19302)
Updating files:  61% (11775/19302)
Updating files:  62% (11968/19302)
Updating files:  63% (12161/19302)
Updating files:  64% (12354/19302)
Updating files:  65% (12547/19302)
Updating files:  66% (12740/19302)
Updating files:  67% (12933/19302)
Updating files:  68% (13126/19302)
Updating files:  69% (13319/19302)
Updating files:  70% (13512/19302)
Updating files:  71% (13705/19302)
Updating files:  72% (13898/19302)
Updating files:  73% (14091/19302)
Updating files:  74% (14284/19302)
Updating files:  75% (14477/19302)
Updating files:  76% (14670/19302)
Updating files:  77% (14863/19302)
Updating files:  78% (15056/19302)
Updating files:  79% (15249/19302)
Updating files:  80% (15442/19302)
Updating files:  81% (15635/19302)
Updating files:  82% (15828/19302)
Updating files:  83% (16021/19302)
Updating files:  84% (16214/19302)
Updating files:  85% (16407/19302)
Updating files:  86% (16600/19302)
Updating files:  86% (16605/19302)
Updating files:  87% (16793/19302)
Updating files:  88% (16986/19302)
Updating files:  89% (17179/19302)
Updating files:  90% (17372/19302)
Updating files:  91% (17565/19302)
Updating files:  92% (17758/19302)
Updating files:  93% (17951/19302)
Updating files:  94% (18144/19302)
Updating files:  95% (18337/19302)
Updating files:  96% (18530/19302)
Updating files:  97% (18723/19302)
Updating files:  98% (18916/19302)
Updating files:  99% (19109/19302)
Updating files: 100% (19302/19302)
Updating files: 100% (19302/19302), done.
HEAD is now at 84bda4afb0 Merge pull request #29306 from ocaml/fix-catala-format-install
Merge made by the 'ort' strategy.
 packages/conf-llvm-shared/conf-llvm-shared.20/opam | 34 +++++++++++
 packages/conf-llvm-shared/conf-llvm-shared.21/opam | 34 +++++++++++
 packages/conf-llvm-static/conf-llvm-static.20/opam | 34 +++++++++++
 packages/conf-llvm-static/conf-llvm-static.21/opam | 34 +++++++++++
 packages/llvm/llvm.20-shared/opam                  | 67 ++++++++++++++++++++++
 packages/llvm/llvm.20-static/opam                  | 67 ++++++++++++++++++++++
 packages/llvm/llvm.21-shared/opam                  | 67 ++++++++++++++++++++++
 packages/llvm/llvm.21-static/opam                  | 67 ++++++++++++++++++++++
 8 files changed, 404 insertions(+)
 create mode 100644 packages/conf-llvm-shared/conf-llvm-shared.20/opam
 create mode 100644 packages/conf-llvm-shared/conf-llvm-shared.21/opam
 create mode 100644 packages/conf-llvm-static/conf-llvm-static.20/opam
 create mode 100644 packages/conf-llvm-static/conf-llvm-static.21/opam
 create mode 100644 packages/llvm/llvm.20-shared/opam
 create mode 100644 packages/llvm/llvm.20-static/opam
 create mode 100644 packages/llvm/llvm.21-shared/opam
 create mode 100644 packages/llvm/llvm.21-static/opam

(from ocaml/opam:debian-13-ocaml-4.14-flambda-fp@sha256:011dda6f08e658b3fef7393a7edfb0bf3f9805afc65b21cca9443032f7ce5011)
2026-01-29 18:12.21 ---> using "fa00bf3066d9f1771cad94f21fb1ef64ebf3a82b0af78b853dbb542c17584773" from cache

/: (user (uid 1000) (gid 1000))

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2026-01-29 18:12.21 ---> using "496d5081a693e981673f3f952172683376118486098ebf4c7e84d1a2b2df5327" from cache

/home/opam: (run (network host)
                 (shell "opam init --reinit --config .opamrc-sandbox -ni"))
Configuring from /home/opam/.opamrc-sandbox, then /home/opam/.opamrc, and finally from built-in defaults.
Checking for available remotes: rsync and local, git.
  - you won't be able to use mercurial repositories unless you install the hg command on your system.
  - you won't be able to use darcs repositories unless you install the darcs command on your system.

This version of opam requires an update to the layout of /home/opam/.opam from version 2.0 to version 2.2, which can't be reverted.
You may want to back it up before going further.

Continue? [Y/n] y
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2026-01-29 18:12.21 ---> using "771572836eb0bbaf6a4f9ffa22d61d81c7bc4b59e5fff0082f5f247778fe57bd" from cache

/home/opam: (run (shell "opam option solver=builtin-0install && opam config report"))
Set to 'builtin-0install' the field solver in global configuration
# opam config report
# opam-version         2.5.0
# self-upgrade         no
# system               arch=x86_64 os=linux os-distribution=debian os-version=13
# solver               builtin-0install
# install-criteria     -changed,-count[avoid-version,solution]
# upgrade-criteria     -count[avoid-version,solution]
# jobs                 71
# repositories         1 (version-controlled)
# pinned               1 (version)
# current-switch       4.14
# invariant            ["ocaml-options-only-flambda-fp"]
# compiler-packages    ocaml-option-flambda.1, ocaml-option-fp.1, ocaml-options-only-flambda-fp.1, ocaml-variants.4.14.2+options
# ocaml:native         true
# ocaml:native-tools   true
# ocaml:native-dynlink true
# ocaml:stubsdir       /home/opam/.opam/4.14/lib/ocaml/stublibs:/home/opam/.opam/4.14/lib/ocaml
# ocaml:preinstalled   false
# ocaml:compiler       4.14.2+options+fp+flambda
2026-01-29 18:12.21 ---> using "ea9ad235d097464c3d091eb653f44fdab299e629fe4297931e6df3a7004b52c4" from cache

/home/opam: (env OPAMDOWNLOADJOBS 1)

/home/opam: (env OPAMERRLOGLEN 0)

/home/opam: (env OPAMPRECISETRACKING 1)

/home/opam: (env CI true)

/home/opam: (env OPAM_REPO_CI true)

/home/opam: (run (shell "rm -rf opam-repository/"))
2026-01-29 18:12.21 ---> using "6ad8c203fa2da66f7eef958e7e800c6c21e16ce79da307a3f269157bc89407ab" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2026-01-29 18:16.24 ---> saved as "af11e309a3a492e95fbf761c1cd168065132984460aaf0a9725b7da7f8e27eb2"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-01-29 18:16.47 ---> saved as "99789652e876f313006270dd91fd7a0d5473bb78cecd84bcfab2ba1a3f97a4c6"

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian trixie InRelease
- Get:2 http://deb.debian.org/debian trixie-updates InRelease [47.3 kB]
- Get:3 http://deb.debian.org/debian-security trixie-security InRelease [43.4 kB]
- Get:4 http://deb.debian.org/debian-security trixie-security/main amd64 Packages [98.2 kB]
- Fetched 189 kB in 0s (1640 kB/s)
- Reading package lists...
2026-01-29 18:16.48 ---> saved as "4f8758d76d240b9c0f2714f0d1cb545f26820b70f30ee22f10baa365674c7be9"

/home/opam: (run (shell "opam pin add -k version -yn llvm.21-static 21-static"))
llvm is now pinned to version 21-static
2026-01-29 18:16.50 ---> saved as "4a6b5f84e038390a94a36275545c77ef21746146a5f2b6f75ffea07a434f6542"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall llvm.21-static;\
                        \n        res=$?;\
                        \n        test \"$res\" != 31 && exit \"$res\";\
                        \n        export OPAMCLI=2.0;\
                        \n        build_dir=$(opam var prefix)/.opam-switch/build;\
                        \n        failed=$(ls \"$build_dir\");\
                        \n        partial_fails=\"\";\
                        \n        for pkg in $failed; do\
                        \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-13\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'llvm.21-static' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
llvm.21-static is not installed. Install it? [Y/n] y
  * Missing dependency:
    - llvm >= 21-static -> conf-llvm-static >= 21
    depends on the unavailable system package 'llvm-21-dev'. Use `--no-depexts' to attempt installation anyway, or it is possible that a depext package name in the opam file is incorrect.

No solution found, exiting
"/usr/bin/env" "bash" "-c" "opam reinstall llvm.21-static;
        res=$?;
        test "$res" != 31 && exit "$res";
        export OPAMCLI=2.0;
        build_dir=$(opam var prefix)/.opam-switch/build;
        failed=$(ls "$build_dir");
        partial_fails="";
        for pkg in $failed; do
          if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"debian-13\""; then
            echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.";
          fi;
          test "$pkg" != 'llvm.21-static' && partial_fails="$partial_fails $pkg";
        done;
        test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}";
        exit 1" failed with exit status 20
2026-01-29 18:17.10: Job failed: Failed: Build failed
2026-01-29 18:17.10: Log analysis:
2026-01-29 18:17.10: >>> 
No solution found, exiting
 (score = 100)
2026-01-29 18:17.10: [SKIP] Package not available