(for PR #29110)

2026-01-31 15:31.27: New job: build llvm.21-static, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29110/head (e3b282a9c0eb1ef824245e3ffb935dc8fcc9b1ea)
                              on fedora-43-ocaml-4.14/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:fedora-43-ocaml-4.14@sha256:9e6c80fd3e66edbd102620ac3d84ee1d2bf4d5149ee37d74db7ad0a159e540b0
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 "\"fedora-43\""; 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-31 15:31.27: Using cache hint "ocaml/opam:fedora-43-ocaml-4.14@sha256:9e6c80fd3e66edbd102620ac3d84ee1d2bf4d5149ee37d74db7ad0a159e540b0-llvm.21-static-e3b282a9c0eb1ef824245e3ffb935dc8fcc9b1ea"
2026-01-31 15:31.27: Using OBuilder spec:
((from ocaml/opam:fedora-43-ocaml-4.14@sha256:9e6c80fd3e66edbd102620ac3d84ee1d2bf4d5149ee37d74db7ad0a159e540b0)
 (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 \"\\\"fedora-43\\\"\"; 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-31 15:31.27: Waiting for resource in pool OCluster
2026-01-31 15:33.57: Waiting for worker…
2026-01-31 15:36.26: Got resource from pool OCluster
Building on laodoke.caelum.ci.dev
All commits already cached
Updating files:  98% (18940/19326)
Updating files:  99% (19133/19326)
Updating files: 100% (19326/19326)
Updating files: 100% (19326/19326), done.
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:fedora-43-ocaml-4.14@sha256:9e6c80fd3e66edbd102620ac3d84ee1d2bf4d5149ee37d74db7ad0a159e540b0)
2026-01-31 15:36.47 ---> using "0bd9fa698af8407547ca59e2b542177f5cd6fc6366561ff0da07b7d1854fa962" 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:36.47 ---> using "5fdab99ec438cc33278e4976199880b9b9ec0ad08bdbec21e448a90fe6c0e2a6" 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:36.47 ---> using "7dd68a15395130a4cf3c319688e14cffd046c9e98c026b86c3f71919bbd25350" 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=fedora os-version=43
# 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-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:36.47 ---> using "8c18a446b00f2d4cc77aec4b1aca6e7e8f38b5b4f49b5a3745e77c5ed46dd8d4" 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:36.47 ---> using "3162ef818bc1e4cfbffa437ce7a2d22ad889e86cb7eb26f6441ce1f74aafa42e" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2026-01-31 15:37.02 ---> saved as "274a6144e15d643ed42eb6b84e2fcea0242ad187bab3a5e5c99a638ea652dcd0"

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

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/sbin/sudo "yum" "makecache"
- Updating and loading repositories:
-  Fedora 43 - x86_64                     100% |  63.9 KiB/s |  22.6 KiB |  00m00s
-  Fedora 43 - x86_64 - Updates           100% | 107.4 KiB/s |  20.3 KiB |  00m00s
- Repositories loaded.
- Metadata cache created.
2026-01-31 15:37.26 ---> saved as "ef4e73443b5ddc85cb6450d0af3b363f2f56c9ed2668082e9aa902cd394e83be"

/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-31 15:37.27 ---> saved as "c7b8fd68478fe86e8a5b371bff3c954f919f86c2cbeda9088e5848850a01b716"

/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 \"\\\"fedora-43\\\"\"; 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
The following actions will be performed:
=== install 11 packages
  - install conf-bash         1                  [required by conf-llvm-static]
  - install conf-cmake        1                  [required by llvm]
  - install conf-llvm-static  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-static (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 llvm-devel

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

opam believes some required external dependencies are missing. opam can:
> 1. Run yum to install them (may need root/sudo access)
  2. Display the recommended yum 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/sbin/sudo "yum" "install" "-y" "cmake" "llvm-devel"
- Updating and loading repositories:
- Repositories loaded.
- Package                      Arch   Version                 Repository      Size
- Upgrading:
-  llvm-filesystem             x86_64 21.1.8-4.fc43           updates      0.0   B
-    replacing llvm-filesystem x86_64 21.1.8-3.fc43           updates      0.0   B
-  llvm-libs                   x86_64 21.1.8-4.fc43           updates    138.6 MiB
-    replacing llvm-libs       x86_64 21.1.8-3.fc43           updates    138.6 MiB
- Installing:
-  cmake                       x86_64 3.31.10-3.fc43          updates     34.5 MiB
-  llvm-devel                  x86_64 21.1.8-4.fc43           updates     33.5 MiB
- Installing dependencies:
-  cmake-data                  noarch 3.31.10-3.fc43          updates      8.5 MiB
-  cmake-filesystem            x86_64 3.31.10-3.fc43          updates      0.0   B
-  jsoncpp                     x86_64 1.9.6-2.fc43            fedora     257.6 KiB
-  libedit-devel               x86_64 3.1-57.20251016cvs.fc43 updates     59.4 KiB
-  libuv                       x86_64 1:1.51.0-2.fc43         fedora     570.2 KiB
-  libzstd-devel               x86_64 1.5.7-2.fc43            fedora     208.0 KiB
-  llvm                        x86_64 21.1.8-4.fc43           updates     89.3 MiB
-  llvm-googletest             x86_64 21.1.8-4.fc43           updates      2.4 MiB
-  llvm-static                 x86_64 21.1.8-4.fc43           updates    377.5 MiB
-  llvm-test                   x86_64 21.1.8-4.fc43           updates      2.3 MiB
-  ncurses-c++-libs            x86_64 6.5-7.20250614.fc43     fedora     153.6 KiB
-  ncurses-devel               x86_64 6.5-7.20250614.fc43     fedora     893.4 KiB
-  rhash                       x86_64 1.4.5-3.fc43            fedora     351.1 KiB
-  vim-filesystem              noarch 2:9.1.2086-1.fc43       updates     40.0   B
- 
- Transaction Summary:
-  Installing:        16 packages
-  Upgrading:          2 packages
-  Replacing:          2 packages
- 
- Total size of inbound packages is 133 MiB. Need to download 133 MiB.
- After this operation, 550 MiB extra will be used (install 689 MiB, remove 139 MiB).
- [ 1/18] jsoncpp-0:1.9.6-2.fc43.x86_64   100% | 623.8 KiB/s | 101.1 KiB |  00m00s
- [ 2/18] rhash-0:1.4.5-3.fc43.x86_64     100% | 951.4 KiB/s | 197.9 KiB |  00m00s
- [ 3/18] libuv-1:1.51.0-2.fc43.x86_64    100% | 645.8 KiB/s | 266.1 KiB |  00m00s
- [ 4/18] cmake-filesystem-0:3.31.10-3.fc 100% | 990.7 KiB/s |  13.9 KiB |  00m00s
- [ 5/18] cmake-data-0:3.31.10-3.fc43.noa 100% |   1.4 MiB/s |   2.5 MiB |  00m02s
- [ 6/18] llvm-devel-0:21.1.8-4.fc43.x86_ 100% | 229.4 KiB/s |   5.4 MiB |  00m24s
- [ 7/18] llvm-googletest-0:21.1.8-4.fc43 100% | 302.3 KiB/s | 444.1 KiB |  00m01s
- [ 8/18] cmake-0:3.31.10-3.fc43.x86_64   100% | 192.2 KiB/s |  12.2 MiB |  01m05s
- [ 9/18] llvm-test-0:21.1.8-4.fc43.x86_6 100% | 219.2 KiB/s | 744.8 KiB |  00m03s
- [10/18] libedit-devel-0:3.1-57.20251016 100% | 217.3 KiB/s |  40.6 KiB |  00m00s
- [11/18] ncurses-devel-0:6.5-7.20250614. 100% | 423.4 KiB/s | 590.2 KiB |  00m01s
- [12/18] ncurses-c++-libs-0:6.5-7.202506 100% | 228.6 KiB/s |  37.7 KiB |  00m00s
- [13/18] libzstd-devel-0:1.5.7-2.fc43.x8 100% | 287.4 KiB/s |  52.9 KiB |  00m00s
- [14/18] vim-filesystem-2:9.1.2086-1.fc4 100% |  46.5 KiB/s |  15.3 KiB |  00m00s
- [15/18] llvm-0:21.1.8-4.fc43.x86_64     100% | 214.9 KiB/s |  24.6 MiB |  01m57s
- [16/18] llvm-filesystem-0:21.1.8-4.fc43 100% |  68.2 KiB/s |  14.9 KiB |  00m00s
- [17/18] llvm-libs-0:21.1.8-4.fc43.x86_6 100% | 418.7 KiB/s |  34.9 MiB |  01m25s
- [18/18] llvm-static-0:21.1.8-4.fc43.x86 100% | 390.6 KiB/s |  50.6 MiB |  02m13s
- --------------------------------------------------------------------------------
- [18/18] Total                           100% | 854.0 KiB/s | 132.6 MiB |  02m39s
- Running transaction
- [ 1/22] Verify package files            100% |  11.0   B/s |  18.0   B |  00m02s
- [ 2/22] Prepare transaction             100% | 120.0   B/s |  20.0   B |  00m00s
- [ 3/22] Upgrading llvm-filesystem-0:21. 100% |   1.0 MiB/s |   1.1 KiB |  00m00s
- [ 4/22] Upgrading llvm-libs-0:21.1.8-4. 100% | 158.6 MiB/s | 138.6 MiB |  00m01s
- [ 5/22] Installing cmake-filesystem-0:3 100% |   1.5 MiB/s |   7.6 KiB |  00m00s
- [ 6/22] Installing llvm-0:21.1.8-4.fc43 100% | 142.8 MiB/s |  89.4 MiB |  00m01s
- [ 7/22] Installing llvm-test-0:21.1.8-4 100% |  60.8 MiB/s |   2.3 MiB |  00m00s
- [ 8/22] Installing llvm-googletest-0:21 100% | 106.3 MiB/s |   2.4 MiB |  00m00s
- [ 9/22] Installing llvm-static-0:21.1.8 100% | 174.0 MiB/s | 377.5 MiB |  00m02s
- [10/22] Installing vim-filesystem-2:9.1 100% | 337.1 KiB/s |   4.7 KiB |  00m00s
- [11/22] Installing libzstd-devel-0:1.5. 100% |  68.0 MiB/s | 208.8 KiB |  00m00s
- [12/22] Installing ncurses-c++-libs-0:6 100% |  30.2 MiB/s | 154.8 KiB |  00m00s
- [13/22] Installing ncurses-devel-0:6.5- 100% |  26.8 MiB/s |   1.0 MiB |  00m00s
- [14/22] Installing libedit-devel-0:3.1- 100% |  32.7 MiB/s |  67.0 KiB |  00m00s
- [15/22] Installing rhash-0:1.4.5-3.fc43 100% |  13.9 MiB/s | 356.4 KiB |  00m00s
- [16/22] Installing libuv-1:1.51.0-2.fc4 100% | 111.9 MiB/s | 573.0 KiB |  00m00s
- [17/22] Installing jsoncpp-0:1.9.6-2.fc 100% |  63.3 MiB/s | 259.2 KiB |  00m00s
- [18/22] Installing cmake-0:3.31.10-3.fc 100% | 124.2 MiB/s |  34.5 MiB |  00m00s
- [19/22] Installing cmake-data-0:3.31.10 100% |  28.2 MiB/s |   9.1 MiB |  00m00s
- [20/22] Installing llvm-devel-0:21.1.8- 100% |  61.5 MiB/s |  34.2 MiB |  00m01s
- [21/22] Removing llvm-libs-0:21.1.8-3.f 100% |   7.8 KiB/s |  24.0   B |  00m00s
- [22/22] Removing llvm-filesystem-0:21.1 100% |  60.0   B/s |   7.0   B |  00m00s
- Complete!
+ /usr/sbin/rpm "-q" "--whatprovides" "cmake" "llvm-devel"
- cmake-3.31.10-3.fc43.x86_64
- llvm-devel-21.1.8-4.fc43.x86_64

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved conf-cmake.1  (cached)
-> retrieved conf-llvm-static.21  (cached)
-> retrieved csexp.1.5.2  (cached)
-> installed conf-bash.1
-> installed conf-cmake.1
-> retrieved ctypes.0.24.0  (cached)
-> installed conf-llvm-static.21
-> retrieved dune.3.21.0, dune-configurator.3.21.0  (cached)
-> retrieved integers.0.7.0  (cached)
-> retrieved llvm.21-static  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> installed dune.3.21.0
-> installed stdlib-shims.0.3.0
-> installed csexp.1.5.2
-> installed integers.0.7.0
-> installed dune-configurator.3.21.0
-> installed ocamlfind.1.9.8
-> installed ctypes.0.24.0
-> installed llvm.21-static
Done.
# To update the current shell environment, run: eval $(opam env)
2026-01-31 15:42.28 ---> saved as "cd16e0228d326158308284f3f3c5edf30a02adccc0c1d9c74e737afbc84218d9"
Job succeeded
2026-01-31 15:42.33: Job succeeded