(for PR #29110)

2026-01-31 15:31.28: New job: build conf-llvm-static.20, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29110/head (e3b282a9c0eb1ef824245e3ffb935dc8fcc9b1ea)
                              on debian-13-ocaml-4.14/arm64

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 e3b282a9
git fetch origin master
git merge --no-edit 277244107784e7f5e6b57eaae2e769caae2a4906
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-4.14@sha256:41bd2fb4e9adc9b0343c9fe2be7bddc36bd0778e47dbde16f256b03c2ad5d52e
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 conf-llvm-static.20 20
RUN opam reinstall conf-llvm-static.20; \
    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" != 'conf-llvm-static.20' && 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-31 15:31.28: Using cache hint "ocaml/opam:debian-13-ocaml-4.14@sha256:41bd2fb4e9adc9b0343c9fe2be7bddc36bd0778e47dbde16f256b03c2ad5d52e-conf-llvm-static.20-e3b282a9c0eb1ef824245e3ffb935dc8fcc9b1ea"
2026-01-31 15:31.28: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.14@sha256:41bd2fb4e9adc9b0343c9fe2be7bddc36bd0778e47dbde16f256b03c2ad5d52e)
 (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 conf-llvm-static.20 20"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall conf-llvm-static.20;\
             \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\" != 'conf-llvm-static.20' && 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-31 15:31.28: Waiting for resource in pool OCluster
2026-01-31 15:31.29: Waiting for worker…
2026-01-31 15:32.42: Got resource from pool OCluster
Building on kydoime.caelum.ci.dev
All commits already cached
HEAD is now at 2772441077 Merge pull request #29314 from jmid/more-fstar-ocaml-upper-bounds
Merge made by the 'ort' strategy.
 packages/conf-llvm-shared/conf-llvm-shared.20/opam | 38 +++++++++++
 packages/conf-llvm-shared/conf-llvm-shared.21/opam | 38 +++++++++++
 packages/conf-llvm-static/conf-llvm-static.20/opam | 38 +++++++++++
 packages/conf-llvm-static/conf-llvm-static.21/opam | 38 +++++++++++
 packages/llvm/llvm.20-shared/opam                  | 77 ++++++++++++++++++++++
 packages/llvm/llvm.20-static/opam                  | 76 +++++++++++++++++++++
 packages/llvm/llvm.21-shared/opam                  | 77 ++++++++++++++++++++++
 packages/llvm/llvm.21-static/opam                  | 76 +++++++++++++++++++++
 8 files changed, 458 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@sha256:41bd2fb4e9adc9b0343c9fe2be7bddc36bd0778e47dbde16f256b03c2ad5d52e)
Unable to find image 'ocaml/opam:debian-13-ocaml-4.14@sha256:41bd2fb4e9adc9b0343c9fe2be7bddc36bd0778e47dbde16f256b03c2ad5d52e' locally
docker.io/ocaml/opam@sha256:41bd2fb4e9adc9b0343c9fe2be7bddc36bd0778e47dbde16f256b03c2ad5d52e: Pulling from ocaml/opam
5582010cab7f: Already exists
9b798cd21d29: Pulling fs layer
62242c05e654: Pulling fs layer
aefae530c4fd: Pulling fs layer
2dc6489f56a8: Pulling fs layer
d90b79da342e: Pulling fs layer
e24347d92b55: Pulling fs layer
33d57a8cf6c0: Pulling fs layer
45dda2ca70cb: Pulling fs layer
f8f680546d5d: Pulling fs layer
ddac4d704d74: Pulling fs layer
d90b79da342e: Waiting
cee39124cad6: Pulling fs layer
c1fa4f86d53b: Pulling fs layer
3915fd288398: Pulling fs layer
6de275a377f1: Pulling fs layer
5f3f6f241043: Pulling fs layer
a4dc0e3d21db: Pulling fs layer
e24347d92b55: Waiting
c94335e8c01d: Pulling fs layer
6f86968ce989: Pulling fs layer
33d57a8cf6c0: Waiting
f2f6db2385e8: Pulling fs layer
45dda2ca70cb: Waiting
52abd854319a: Pulling fs layer
f8f680546d5d: Waiting
4f4fb700ef54: Pulling fs layer
ddac4d704d74: Waiting
624066e68113: Pulling fs layer
cee39124cad6: Waiting
f853ba94574c: Pulling fs layer
c1fa4f86d53b: Waiting
5f3f6f241043: Waiting
6de275a377f1: Waiting
3915fd288398: Waiting
20e31f8fc784: Pulling fs layer
2dc6489f56a8: Waiting
30b22254b79c: Pulling fs layer
a4dc0e3d21db: Waiting
d1b72675808c: Pulling fs layer
f2f6db2385e8: Waiting
6f86968ce989: Waiting
07b774a1566a: Pulling fs layer
c94335e8c01d: Waiting
52abd854319a: Waiting
20e31f8fc784: Waiting
beccdfe3284a: Pulling fs layer
f853ba94574c: Waiting
624066e68113: Waiting
4f4fb700ef54: Waiting
30b22254b79c: Waiting
da26ad0927f2: Pulling fs layer
d1b72675808c: Waiting
b17189e16fec: Pulling fs layer
07b774a1566a: Waiting
beccdfe3284a: Waiting
da26ad0927f2: Waiting
aa35df0b4305: Pulling fs layer
b17189e16fec: Waiting
00a4659eb029: Pulling fs layer
aa35df0b4305: Waiting
55f193e0a707: Pulling fs layer
00a4659eb029: Waiting
f887b7f016e3: Pulling fs layer
55f193e0a707: Waiting
72f527f3bc68: Pulling fs layer
f887b7f016e3: Waiting
6f3957157a91: Pulling fs layer
72f527f3bc68: Waiting
223bbf60b323: Pulling fs layer
6f3957157a91: Waiting
29d984e20eb6: Pulling fs layer
c28d433558e2: Pulling fs layer
fcda92bca909: Pulling fs layer
191dc117f0d3: Pulling fs layer
c28d433558e2: Waiting
29d984e20eb6: Waiting
1f0270810397: Pulling fs layer
3d2acbb48ee0: Pulling fs layer
1f0270810397: Waiting
3d2acbb48ee0: Waiting
9b798cd21d29: Verifying Checksum
9b798cd21d29: Download complete
62242c05e654: Verifying Checksum
62242c05e654: Download complete
9b798cd21d29: Pull complete
62242c05e654: Pull complete
2dc6489f56a8: Verifying Checksum
2dc6489f56a8: Download complete
aefae530c4fd: Verifying Checksum
aefae530c4fd: Download complete
e24347d92b55: Verifying Checksum
e24347d92b55: Download complete
aefae530c4fd: Pull complete
2dc6489f56a8: Pull complete
45dda2ca70cb: Verifying Checksum
45dda2ca70cb: Download complete
33d57a8cf6c0: Verifying Checksum
33d57a8cf6c0: Download complete
f8f680546d5d: Verifying Checksum
f8f680546d5d: Download complete
ddac4d704d74: Download complete
c1fa4f86d53b: Verifying Checksum
c1fa4f86d53b: Download complete
cee39124cad6: Verifying Checksum
cee39124cad6: Download complete
d90b79da342e: Verifying Checksum
d90b79da342e: Download complete
6de275a377f1: Download complete
5f3f6f241043: Verifying Checksum
5f3f6f241043: Download complete
3915fd288398: Verifying Checksum
3915fd288398: Download complete
a4dc0e3d21db: Verifying Checksum
a4dc0e3d21db: Download complete
c94335e8c01d: Verifying Checksum
c94335e8c01d: Download complete
6f86968ce989: Download complete
f2f6db2385e8: Download complete
4f4fb700ef54: Download complete
52abd854319a: Verifying Checksum
52abd854319a: Download complete
624066e68113: Verifying Checksum
624066e68113: Download complete
f853ba94574c: Verifying Checksum
f853ba94574c: Download complete
20e31f8fc784: Verifying Checksum
20e31f8fc784: Download complete
30b22254b79c: Verifying Checksum
30b22254b79c: Download complete
07b774a1566a: Verifying Checksum
07b774a1566a: Download complete
d1b72675808c: Verifying Checksum
d1b72675808c: Download complete
beccdfe3284a: Verifying Checksum
beccdfe3284a: Download complete
b17189e16fec: Verifying Checksum
b17189e16fec: Download complete
da26ad0927f2: Download complete
aa35df0b4305: Verifying Checksum
aa35df0b4305: Download complete
55f193e0a707: Verifying Checksum
55f193e0a707: Download complete
00a4659eb029: Download complete
72f527f3bc68: Download complete
223bbf60b323: Verifying Checksum
223bbf60b323: Download complete
29d984e20eb6: Verifying Checksum
29d984e20eb6: Download complete
c28d433558e2: Verifying Checksum
c28d433558e2: Download complete
6f3957157a91: Download complete
191dc117f0d3: Download complete
1f0270810397: Verifying Checksum
1f0270810397: Download complete
3d2acbb48ee0: Download complete
d90b79da342e: Pull complete
e24347d92b55: Pull complete
33d57a8cf6c0: Pull complete
45dda2ca70cb: Pull complete
f8f680546d5d: Pull complete
ddac4d704d74: Pull complete
cee39124cad6: Pull complete
c1fa4f86d53b: Pull complete
3915fd288398: Pull complete
6de275a377f1: Pull complete
5f3f6f241043: Pull complete
a4dc0e3d21db: Pull complete
c94335e8c01d: Pull complete
6f86968ce989: Pull complete
f2f6db2385e8: Pull complete
52abd854319a: Pull complete
4f4fb700ef54: Pull complete
624066e68113: Pull complete
f853ba94574c: Pull complete
20e31f8fc784: Pull complete
30b22254b79c: Pull complete
d1b72675808c: Pull complete
07b774a1566a: Pull complete
beccdfe3284a: Pull complete
da26ad0927f2: Pull complete
b17189e16fec: Pull complete
aa35df0b4305: Pull complete
00a4659eb029: Pull complete
55f193e0a707: Pull complete
fcda92bca909: Verifying Checksum
fcda92bca909: Download complete
f887b7f016e3: Verifying Checksum
f887b7f016e3: Download complete
f887b7f016e3: Pull complete
72f527f3bc68: Pull complete
6f3957157a91: Pull complete
223bbf60b323: Pull complete
29d984e20eb6: Pull complete
c28d433558e2: Pull complete
fcda92bca909: Pull complete
191dc117f0d3: Pull complete
1f0270810397: Pull complete
3d2acbb48ee0: Pull complete
Digest: sha256:41bd2fb4e9adc9b0343c9fe2be7bddc36bd0778e47dbde16f256b03c2ad5d52e
Status: Downloaded newer image for ocaml/opam@sha256:41bd2fb4e9adc9b0343c9fe2be7bddc36bd0778e47dbde16f256b03c2ad5d52e
2026-01-31 15:32.54 ---> using "b7383d5d3faca445ae77e6c428d3086fb3c80ebb585e04d595de96df2f3e44a5" 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-31 15:32.54 ---> using "fc8a575aecb71653805f8fc125c886726c538016ede6c540c321f9b1545ea30d" 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-31 15:32.54 ---> using "20cf9b12382cf9466dccd07a2029808dba194ce20f17ae34ec3c831b82e7ed8d" 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=arm64 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                 79
# repositories         1 (version-controlled)
# pinned               1 (version)
# current-switch       4.14
# invariant            ["ocaml-base-compiler" {= "4.14.2"}]
# compiler-packages    ocaml-base-compiler.4.14.2, ocaml-options-vanilla.1
# 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
2026-01-31 15:32.54 ---> using "c2892f75509c46f0605dc69146fe257e1612897f8722435780f3b566a78e572f" 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-31 15:32.54 ---> using "ba877a42fb474602988e119a25def7a362beeaac4d886423a9c488c0dbc5f8d7" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2026-01-31 15:32.55 ---> using "3564779c0caa01dc0fa0f499d49e5989b7dbb8bfe17d2228b42705621306c763" from cache

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-01-31 15:33.09 ---> saved as "e21af718a768ed534ce5270b5985d44afa82d36fb50ebb484a79a8d216676ac6"

/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 arm64 Packages [98.8 kB]
- Fetched 190 kB in 0s (1601 kB/s)
- Reading package lists...
2026-01-31 15:33.10 ---> saved as "d71ba0650e506ad573a894d5e63612eb49f2cd1aa11b97417e93c5eb6e1d2bd3"

/home/opam: (run (shell "opam pin add -k version -yn conf-llvm-static.20 20"))
conf-llvm-static is now pinned to version 20
2026-01-31 15:33.11 ---> saved as "dbc0c12bb92b02a98a82052f6052f2d2e9e8b6075932c729b1ffe01c0c888c81"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall conf-llvm-static.20;\
                        \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\" != 'conf-llvm-static.20' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
[ERROR] Package conf-llvm-static.20 depends on the unavailable system package 'llvm-20-dev'. You can use `--no-depexts' to attempt installation anyway.
"/usr/bin/env" "bash" "-c" "opam reinstall conf-llvm-static.20;
        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" != 'conf-llvm-static.20' && partial_fails="$partial_fails $pkg";
        done;
        test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}";
        exit 1" failed with exit status 5
2026-01-31 15:33.19: Job failed: Failed: Build failed
2026-01-31 15:33.19: Log analysis:
2026-01-31 15:33.19: >>> 
[ERROR] Package conf-llvm-static.20 depends on the unavailable system package 'llvm-20-dev'. You can use `--no-depexts' to attempt installation anyway.
 (score = 100)
2026-01-31 15:33.19: [SKIP] Package not available