(for PR #29110)

2026-04-27 07:45.26: New job: build conf-llvm-shared.20, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29110/head (e3b282a9c0eb1ef824245e3ffb935dc8fcc9b1ea)
                              on debian-13-ocaml-5.5-beta1/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 e3b282a9
git fetch origin master
git merge --no-edit d5058a91d400180e2118d7eeefa040cfcee45d2c
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-5.5-beta1@sha256:2f03876e840edf3bcf2cd33a6b5b1e9ee40ad45e5d26f5be08f5d20a90f4bcf6
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-shared.20 20
RUN opam reinstall conf-llvm-shared.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-shared.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-04-27 07:45.26: Using cache hint "ocaml/opam:debian-13-ocaml-5.5-beta1@sha256:2f03876e840edf3bcf2cd33a6b5b1e9ee40ad45e5d26f5be08f5d20a90f4bcf6-conf-llvm-shared.20-e3b282a9c0eb1ef824245e3ffb935dc8fcc9b1ea"
2026-04-27 07:45.26: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-5.5-beta1@sha256:2f03876e840edf3bcf2cd33a6b5b1e9ee40ad45e5d26f5be08f5d20a90f4bcf6)
 (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-shared.20 20"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall conf-llvm-shared.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-shared.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-04-27 07:45.26: Connecting to build cluster…
2026-04-27 07:45.26: Waiting for resource in pool OCluster
2026-04-27 08:00.51: Waiting for worker…
2026-04-27 08:03.06: Got resource from pool OCluster
Building on eumache.caelum.ci.dev
All commits already cached
Updating files:  92% (17472/18869)
Updating files:  93% (17549/18869)
Updating files:  94% (17737/18869)
Updating files:  95% (17926/18869)
Updating files:  96% (18115/18869)
Updating files:  97% (18303/18869)
Updating files:  98% (18492/18869)
Updating files:  99% (18681/18869)
Updating files: 100% (18869/18869)
Updating files: 100% (18869/18869), done.
HEAD is now at d5058a91d4 Merge pull request #29801 from YuriyKrasilnikov/opam-publish-idna.0.4.0
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-5.5-beta1@sha256:2f03876e840edf3bcf2cd33a6b5b1e9ee40ad45e5d26f5be08f5d20a90f4bcf6)
Unable to find image 'ocaml/opam:debian-13-ocaml-5.5-beta1@sha256:2f03876e840edf3bcf2cd33a6b5b1e9ee40ad45e5d26f5be08f5d20a90f4bcf6' locally
docker.io/ocaml/opam@sha256:2f03876e840edf3bcf2cd33a6b5b1e9ee40ad45e5d26f5be08f5d20a90f4bcf6: Pulling from ocaml/opam
3b32e3bb7338: Pulling fs layer
745aa02d649b: Pulling fs layer
bc737f5d3c43: Pulling fs layer
435aae15a5aa: Pulling fs layer
0c18c39f6bae: Pulling fs layer
eef74b82df23: Pulling fs layer
f7d9cf0406d8: Pulling fs layer
01a1dc37e798: Pulling fs layer
4960811e07ec: Pulling fs layer
be2894c36d5e: Pulling fs layer
b5a017ae191d: Pulling fs layer
3ba39ce4e9c9: Pulling fs layer
1db570dbe1c8: Pulling fs layer
435aae15a5aa: Waiting
753bb4b44994: Pulling fs layer
f7d9cf0406d8: Waiting
01a1dc37e798: Waiting
b5a1e811909d: Pulling fs layer
4960811e07ec: Waiting
6f3d83ba47b6: Pulling fs layer
002305272cbf: Pulling fs layer
249535cd82cd: Pulling fs layer
be2894c36d5e: Waiting
b5a1e811909d: Waiting
b5a017ae191d: Waiting
6f3d83ba47b6: Waiting
87fe8c2a0989: Pulling fs layer
3ba39ce4e9c9: Waiting
1db570dbe1c8: Waiting
0c18c39f6bae: Waiting
753bb4b44994: Waiting
b6932f04a343: Pulling fs layer
002305272cbf: Waiting
17b274223ca8: Pulling fs layer
87fe8c2a0989: Waiting
4f4fb700ef54: Pulling fs layer
249535cd82cd: Waiting
b6932f04a343: Waiting
17b274223ca8: Waiting
924952a8fbf8: Pulling fs layer
4f4fb700ef54: Waiting
17671b650f63: Pulling fs layer
924952a8fbf8: Waiting
9fe75d873195: Pulling fs layer
24216535046d: Pulling fs layer
17671b650f63: Waiting
9fe75d873195: Waiting
ac2e1c9e90df: Pulling fs layer
c2126be13b26: Pulling fs layer
24216535046d: Waiting
ac2e1c9e90df: Waiting
01ff22a5eb70: Pulling fs layer
50415235a68f: Pulling fs layer
c2126be13b26: Waiting
01ff22a5eb70: Waiting
deb6182b549b: Pulling fs layer
ad728fb9a18c: Pulling fs layer
50415235a68f: Waiting
deb6182b549b: Waiting
a36bcae85a3d: Pulling fs layer
1c746fdc6a3a: Pulling fs layer
ad728fb9a18c: Waiting
a36bcae85a3d: Waiting
4351b787b295: Pulling fs layer
380abb093977: Pulling fs layer
1c746fdc6a3a: Waiting
4351b787b295: Waiting
0fc1b10f3fd9: Pulling fs layer
966bc35978c3: Pulling fs layer
380abb093977: Waiting
0fc1b10f3fd9: Waiting
ae53b61ccb9e: Pulling fs layer
966bc35978c3: Waiting
d8ada9072f1a: Pulling fs layer
ae53b61ccb9e: Waiting
d8ada9072f1a: Waiting
6a1b081b98a3: Pulling fs layer
32a4a4edd914: Pulling fs layer
6a1b081b98a3: Waiting
51561b4147fc: Pulling fs layer
23328e1884b9: Pulling fs layer
120c50bc5d19: Pulling fs layer
628c53885d4c: Pulling fs layer
44ef7e84e1ef: Pulling fs layer
0ebf89ef9ee0: Pulling fs layer
32a4a4edd914: Waiting
51561b4147fc: Waiting
23328e1884b9: Waiting
120c50bc5d19: Waiting
628c53885d4c: Waiting
44ef7e84e1ef: Waiting
0ebf89ef9ee0: Waiting
745aa02d649b: Verifying Checksum
745aa02d649b: Download complete
bc737f5d3c43: Verifying Checksum
bc737f5d3c43: Download complete
0c18c39f6bae: Download complete
3b32e3bb7338: Verifying Checksum
3b32e3bb7338: Download complete
f7d9cf0406d8: Verifying Checksum
f7d9cf0406d8: Download complete
01a1dc37e798: Verifying Checksum
01a1dc37e798: Download complete
4960811e07ec: Verifying Checksum
4960811e07ec: Download complete
be2894c36d5e: Verifying Checksum
be2894c36d5e: Download complete
eef74b82df23: Download complete
3ba39ce4e9c9: Verifying Checksum
3ba39ce4e9c9: Download complete
b5a017ae191d: Verifying Checksum
b5a017ae191d: Download complete
1db570dbe1c8: Verifying Checksum
1db570dbe1c8: Download complete
753bb4b44994: Verifying Checksum
753bb4b44994: Download complete
b5a1e811909d: Verifying Checksum
b5a1e811909d: Download complete
6f3d83ba47b6: Verifying Checksum
6f3d83ba47b6: Download complete
435aae15a5aa: Verifying Checksum
435aae15a5aa: Download complete
002305272cbf: Verifying Checksum
002305272cbf: Download complete
3b32e3bb7338: Pull complete
745aa02d649b: Pull complete
bc737f5d3c43: Pull complete
249535cd82cd: Verifying Checksum
249535cd82cd: Download complete
87fe8c2a0989: Verifying Checksum
87fe8c2a0989: Download complete
b6932f04a343: Verifying Checksum
b6932f04a343: Download complete
17b274223ca8: Verifying Checksum
17b274223ca8: Download complete
4f4fb700ef54: Verifying Checksum
4f4fb700ef54: Download complete
924952a8fbf8: Verifying Checksum
924952a8fbf8: Download complete
17671b650f63: Verifying Checksum
17671b650f63: Download complete
9fe75d873195: Verifying Checksum
9fe75d873195: Download complete
435aae15a5aa: Pull complete
24216535046d: Verifying Checksum
24216535046d: Download complete
0c18c39f6bae: Pull complete
ac2e1c9e90df: Verifying Checksum
ac2e1c9e90df: Download complete
c2126be13b26: Verifying Checksum
c2126be13b26: Download complete
01ff22a5eb70: Verifying Checksum
01ff22a5eb70: Download complete
50415235a68f: Verifying Checksum
50415235a68f: Download complete
deb6182b549b: Verifying Checksum
deb6182b549b: Download complete
ad728fb9a18c: Verifying Checksum
ad728fb9a18c: Download complete
a36bcae85a3d: Verifying Checksum
a36bcae85a3d: Download complete
1c746fdc6a3a: Verifying Checksum
1c746fdc6a3a: Download complete
380abb093977: Download complete
966bc35978c3: Verifying Checksum
966bc35978c3: Download complete
ae53b61ccb9e: Download complete
d8ada9072f1a: Verifying Checksum
d8ada9072f1a: Download complete
6a1b081b98a3: Download complete
32a4a4edd914: Verifying Checksum
32a4a4edd914: Download complete
51561b4147fc: Verifying Checksum
51561b4147fc: Download complete
23328e1884b9: Verifying Checksum
23328e1884b9: Download complete
120c50bc5d19: Verifying Checksum
120c50bc5d19: Download complete
0fc1b10f3fd9: Verifying Checksum
0fc1b10f3fd9: Download complete
628c53885d4c: Download complete
44ef7e84e1ef: Download complete
0ebf89ef9ee0: Download complete
eef74b82df23: Pull complete
f7d9cf0406d8: Pull complete
01a1dc37e798: Pull complete
4960811e07ec: Pull complete
be2894c36d5e: Pull complete
b5a017ae191d: Pull complete
3ba39ce4e9c9: Pull complete
1db570dbe1c8: Pull complete
753bb4b44994: Pull complete
b5a1e811909d: Pull complete
6f3d83ba47b6: Pull complete
002305272cbf: Pull complete
249535cd82cd: Pull complete
87fe8c2a0989: Pull complete
b6932f04a343: Pull complete
17b274223ca8: Pull complete
4f4fb700ef54: Pull complete
924952a8fbf8: Pull complete
17671b650f63: Pull complete
9fe75d873195: Pull complete
24216535046d: Pull complete
ac2e1c9e90df: Pull complete
c2126be13b26: Pull complete
01ff22a5eb70: Pull complete
50415235a68f: Pull complete
deb6182b549b: Pull complete
ad728fb9a18c: Pull complete
a36bcae85a3d: Pull complete
1c746fdc6a3a: Pull complete
4351b787b295: Verifying Checksum
4351b787b295: Download complete
4351b787b295: Pull complete
380abb093977: Pull complete
0fc1b10f3fd9: Pull complete
966bc35978c3: Pull complete
ae53b61ccb9e: Pull complete
d8ada9072f1a: Pull complete
6a1b081b98a3: Pull complete
32a4a4edd914: Pull complete
51561b4147fc: Pull complete
23328e1884b9: Pull complete
120c50bc5d19: Pull complete
628c53885d4c: Pull complete
44ef7e84e1ef: Pull complete
0ebf89ef9ee0: Pull complete
Digest: sha256:2f03876e840edf3bcf2cd33a6b5b1e9ee40ad45e5d26f5be08f5d20a90f4bcf6
Status: Downloaded newer image for ocaml/opam@sha256:2f03876e840edf3bcf2cd33a6b5b1e9ee40ad45e5d26f5be08f5d20a90f4bcf6
2026-04-27 08:03.12 ---> using "603f02c023a1426d4a02d87570a93b0933bb94d7f12e9f446094d14bd1f75796" 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-04-27 08:03.12 ---> using "8ce252bfd2c4cf43a63a513025094ad47f7fe6cf78104b2f6dc84d2ccba189d7" 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 ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[beta] no changes from git+https://github.com/ocaml/ocaml-beta-repository
[default] Initialised
2026-04-27 08:03.12 ---> using "65103e86f93946d6fffc139b5128a8f8f419133508ace1b49b5ca6c6bfb41888" 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.1
# 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         2 (version-controlled)
# pinned               1 (version)
# current-switch       5.5~beta1
# invariant            ["ocaml-base-compiler" {>= "5.5.0~beta1"}]
# compiler-packages    compiler-cloning.enabled, ocaml-base-compiler.5.5.0~beta1, ocaml-compiler.5.5.0~beta1, ocaml-options-vanilla.1
# ocaml:native         true
# ocaml:native-tools   true
# ocaml:native-dynlink true
# ocaml:stubsdir       /home/opam/.opam/5.5~beta1/lib/ocaml/../stublibs:/home/opam/.opam/5.5~beta1/lib/ocaml/stublibs:/home/opam/.opam/5.5~beta1/lib/ocaml
# ocaml:preinstalled   false
# ocaml:compiler       5.5.0~beta1
# ocaml-compiler:cloned false
# ocaml-compiler:clone-source 
# ocaml-compiler:clone-mechanism 
2026-04-27 08:03.12 ---> using "7163d9da28693b30b794bf44b1e4b9442e8bb15713526255cdecf572aba2ad74" 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-04-27 08:03.12 ---> using "16ab57e36a0ab7eab172ccff2678d7fbd1b69103081527d595051c8b3b2afe92" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2026-04-27 08:03.12 ---> using "4b60d16256b886e28d14407e901d74f83cf5a2af5f881d7b5cdf1601391ad29e" from cache

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-04-27 08:03.25 ---> saved as "86cca228b284d85024e28953adc2cbb5be5ed03e79b12a3069415350ef21f68e"

/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]
- Fetched 90.7 kB in 0s (1254 kB/s)
- Reading package lists...
2026-04-27 08:03.26 ---> saved as "02c48e6a516fdb6a79f7d0b7690381244ccc36e7c2c826959f6cdec0a50b023c"

/home/opam: (run (shell "opam pin add -k version -yn conf-llvm-shared.20 20"))
conf-llvm-shared is now pinned to version 20
2026-04-27 08:03.26 ---> saved as "84b7a6a80d6a0c36dd2407d086e77a0514c96ff433c384c27b52ac1a589ab636"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall conf-llvm-shared.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-shared.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-shared.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-shared.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-shared.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-04-27 08:03.44: Job failed: Failed: Build failed
2026-04-27 08:03.44: Log analysis:
2026-04-27 08:03.44: >>> 
[ERROR] Package conf-llvm-shared.20 depends on the unavailable system package 'llvm-20-dev'. You can use `--no-depexts' to attempt installation anyway.
 (score = 100)
2026-04-27 08:03.44: [SKIP] Package not available