(for PR #29110)

2026-01-31 15:31.26: New job: build llvm.21-shared, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29110/head (e3b282a9c0eb1ef824245e3ffb935dc8fcc9b1ea)
                              on opensuse-15.6-ocaml-5.4/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 277244107784e7f5e6b57eaae2e769caae2a4906
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:opensuse-15.6-ocaml-5.4@sha256:31ee0b9101d5629413d2723eb5af6f39d5f8063c5bc5a43ceede6e651aaf7182
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-shared 21-shared
RUN opam reinstall llvm.21-shared; \
    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 "\"opensuse-15.6\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'llvm.21-shared' && 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.26: Using cache hint "ocaml/opam:opensuse-15.6-ocaml-5.4@sha256:31ee0b9101d5629413d2723eb5af6f39d5f8063c5bc5a43ceede6e651aaf7182-llvm.21-shared-e3b282a9c0eb1ef824245e3ffb935dc8fcc9b1ea"
2026-01-31 15:31.26: Using OBuilder spec:
((from ocaml/opam:opensuse-15.6-ocaml-5.4@sha256:31ee0b9101d5629413d2723eb5af6f39d5f8063c5bc5a43ceede6e651aaf7182)
 (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-shared 21-shared"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall llvm.21-shared;\
             \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 \"\\\"opensuse-15.6\\\"\"; 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-shared' && 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.26: Waiting for resource in pool OCluster
2026-01-31 15:31.29: Waiting for worker…
2026-01-31 15:33.19: Got resource from pool OCluster
Building on eumache
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:opensuse-15.6-ocaml-5.4@sha256:31ee0b9101d5629413d2723eb5af6f39d5f8063c5bc5a43ceede6e651aaf7182)
Unable to find image 'ocaml/opam:opensuse-15.6-ocaml-5.4@sha256:31ee0b9101d5629413d2723eb5af6f39d5f8063c5bc5a43ceede6e651aaf7182' locally
docker.io/ocaml/opam@sha256:31ee0b9101d5629413d2723eb5af6f39d5f8063c5bc5a43ceede6e651aaf7182: Pulling from ocaml/opam
625c79e3ae60: Already exists
ca6439633d2f: Already exists
3e61b5a3343d: Already exists
572d4bcd324d: Already exists
3994ff15a7b0: Already exists
1d676486d940: Already exists
1805f8e47dca: Already exists
3582d9a1382c: Already exists
ac0b974faa58: Already exists
67d656ab5910: Already exists
839cdf272e6c: Already exists
8689175d709f: Already exists
e40b27547779: Already exists
88cb140bc0e8: Already exists
ab3a4a69e4f4: Already exists
e4fd7a94954f: Already exists
92f036b4edea: Already exists
396a718de0b7: Already exists
396a718de0b7: Already exists
4f4fb700ef54: Already exists
0420ccc16eca: Already exists
cc2c69f374ef: Already exists
22899c47761b: Already exists
8faa077d3a79: Already exists
b972aa889009: Already exists
c6b297e7480d: Already exists
3bcaed3c075b: Already exists
e04276e867bb: Already exists
1abd543659d3: Already exists
cdfeed99d27a: Already exists
31a3fe0454c7: Already exists
27bd77ac4143: Already exists
83ee7dcdeec7: Already exists
1619bb7b4db1: Already exists
22f6e36aa5fa: Already exists
f64ad179410d: Already exists
8794b54faffb: Already exists
bb981eaa95e1: Already exists
0cbe93fb0728: Already exists
b3105619289d: Already exists
aebe306e59d6: Already exists
ceef5d7ebc9a: Already exists
7e9ee0b1a478: Already exists
b88b8e550922: Already exists
e966f1cdb38b: Already exists
Digest: sha256:31ee0b9101d5629413d2723eb5af6f39d5f8063c5bc5a43ceede6e651aaf7182
Status: Downloaded newer image for ocaml/opam@sha256:31ee0b9101d5629413d2723eb5af6f39d5f8063c5bc5a43ceede6e651aaf7182
2026-01-31 15:33.52 ---> using "eeb02d0e301505ac52494f279486f1c65765104baa595d699142692fa6cb00ff" 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:33.52 ---> using "e4e11bb8b105914f79d923c10299f35312641dde334264c3fdbb6f19aba93558" 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
[NOTE] The 'jobs' option was reset, its value was 255 and its new value will vary according to the current number of cores on your machine. You can restore the fixed value using:
           opam option jobs=255 --global
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2026-01-31 15:33.52 ---> using "9fbc8501c9e2836f9520761e8084205b2fa9d50053fa406b0db33fcce800517a" 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=opensuse-leap os-version=15.6
# 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       5.4
# invariant            ["ocaml-base-compiler" {>= "5.4.0"}]
# compiler-packages    ocaml-base-compiler.5.4.0, ocaml-compiler.5.4.0, ocaml-options-vanilla.1
# ocaml:native         true
# ocaml:native-tools   true
# ocaml:native-dynlink true
# ocaml:stubsdir       /home/opam/.opam/5.4/lib/ocaml/stublibs:/home/opam/.opam/5.4/lib/ocaml
# ocaml:preinstalled   false
# ocaml:compiler       5.4.0
2026-01-31 15:33.52 ---> using "d18235f6718f5bb2ec811691ab2d79c91808e6a58c0d835033d57a9f6cd62376" 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:33.52 ---> using "552759d083ceda1c07400726237530f833207c8fa6927c1bd892dc4cfcedadce" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2026-01-31 15:33.55 ---> saved as "5c68a0dff60a0c216dc6481ea883907c043f294f206a3a15995f5e0e52fb67f3"

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

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "zypper" "--non-interactive" "refresh"
- Retrieving repository 'Update repository of openSUSE Backports' metadata [..
- Looking for gpg keys in repository Update repository of openSUSE Backports.
-   gpgkey=http://download.opensuse.org/update/leap/15.6/backports/repodata/repomd.xml.key
- ....
- .....
- ....
- ........
- .......done]
- Building repository 'Update repository of openSUSE Backports' cache [..
- ..done]
- Retrieving repository 'Update repository with updates from SUSE Linux Enterprise 15' metadata [..
- Looking for gpg keys in repository Update repository with updates from SUSE Linux Enterprise 15.
-   gpgkey=http://download.opensuse.org/update/leap/15.6/sle/repodata/repomd.xml.key
- .....
- ....
- ....
- ........
- ..........
- ..........
- .......
- ......
- ........
- ..
- ...
- .
- .........
- ..........
- ..........
- ..........
- .........
- ..........
- ..........
- ..........
- .........
- .........
- ..........
- ........
- ...........
- done]
- Building repository 'Update repository with updates from SUSE Linux Enterprise 15' cache [..
- ..done]
- Repository 'Main Update Repository' is up to date.
- Repository 'Update Repository (Non-Oss)' is up to date.
- Repository 'Non-OSS Repository' is up to date.
- Repository 'Main Repository' is up to date.
- All repositories have been refreshed.
2026-01-31 15:35.24 ---> saved as "c748ad8b80b012667c5339eb0698d7fba76191c468d84591a30659d5e964b773"

/home/opam: (run (shell "opam pin add -k version -yn llvm.21-shared 21-shared"))
llvm is now pinned to version 21-shared
2026-01-31 15:35.30 ---> saved as "fee84e700086d96ce4198115f09da9149e64d85d7858f40905a53d6243fad232"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall llvm.21-shared;\
                        \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 \"\\\"opensuse-15.6\\\"\"; 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-shared' && 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-shared is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 11 packages
  - install conf-bash         1                  [required by conf-llvm-shared]
  - install conf-cmake        1                  [required by llvm]
  - install conf-llvm-shared  21                 [required by llvm]
  - install csexp             1.5.2              [required by dune-configurator]
  - install ctypes            0.24.0             [required by llvm]
  - install dune              3.21.0             [required by ctypes]
  - install dune-configurator 3.21.0             [required by ctypes]
  - install integers          0.7.0              [required by ctypes]
  - install llvm              21-shared (pinned)
  - install ocamlfind         1.9.8              [required by llvm]
  - install stdlib-shims      0.3.0              [required by integers]

The following system packages will first need to be installed:
    cmake llvm21-devel

<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>

opam believes some required external dependencies are missing. opam can:
> 1. Run zypper to install them (may need root/sudo access)
  2. Display the recommended zypper command and wait while you run it manually (e.g. in another terminal)
  3. Continue anyway, and, upon success, permanently register that this external dependency is present, but not detectable
  4. Abort the installation

[1/2/3/4] 1

+ /usr/bin/sudo "zypper" "--non-interactive" "install" "cmake" "llvm21-devel"
- Loading repository data...
- Reading installed packages...
- 'llvm21-devel' not found in package names. Trying capabilities.
- No provider of 'llvm21-devel' found.
[ERROR] System package install failed with exit code 104 at command:
            sudo zypper --non-interactive install cmake llvm21-devel
[ERROR] These packages are still missing: cmake llvm21-devel

[NOTE] You can retry with '--assume-depexts' to skip this check, or run 'opam option depext=false' to permanently disable handling of system packages.

"/usr/bin/env" "bash" "-c" "opam reinstall llvm.21-shared;
        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 "\"opensuse-15.6\""; then
            echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.";
          fi;
          test "$pkg" != 'llvm.21-shared' && partial_fails="$partial_fails $pkg";
        done;
        test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}";
        exit 1" failed with exit status 10
2026-01-31 15:35.44: Job failed: Failed: Build failed
2026-01-31 15:35.44: Log analysis:
2026-01-31 15:35.44: >>> 
[ERROR] System package install failed with exit code 104 at command:
 (score = 20)
2026-01-31 15:35.44: >>> 
[ERROR] These packages are still missing: cmake llvm21-devel
 (score = 20)
2026-01-31 15:35.44: System package install failed with exit code 104 at command: