(for PR #29110)

2026-01-31 15:31.26: New job: build llvm.20-shared, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29110/head (e3b282a9c0eb1ef824245e3ffb935dc8fcc9b1ea)
                              on fedora-42-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:fedora-42-ocaml-5.4@sha256:b74751ba6ac22a6f19a91dfb20696498aab52c04a5ce04357ab0a12279da8e89
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.20-shared 20-shared
RUN opam reinstall llvm.20-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 "\"fedora-42\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'llvm.20-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:fedora-42-ocaml-5.4@sha256:b74751ba6ac22a6f19a91dfb20696498aab52c04a5ce04357ab0a12279da8e89-llvm.20-shared-e3b282a9c0eb1ef824245e3ffb935dc8fcc9b1ea"
2026-01-31 15:31.26: Using OBuilder spec:
((from ocaml/opam:fedora-42-ocaml-5.4@sha256:b74751ba6ac22a6f19a91dfb20696498aab52c04a5ce04357ab0a12279da8e89)
 (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.20-shared 20-shared"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall llvm.20-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 \"\\\"fedora-42\\\"\"; 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.20-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.32: Waiting for worker…
2026-01-31 15:33.38: Got resource from pool OCluster
Building on odawa.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:fedora-42-ocaml-5.4@sha256:b74751ba6ac22a6f19a91dfb20696498aab52c04a5ce04357ab0a12279da8e89)
2026-01-31 15:37.45 ---> using "8776fb0af6fc53898862b86f46ca8cee0489b257aca99b5899191e17bb0d5004" 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:37.45 ---> using "b8cca8bfd23834fb7e090e3c27f2170eb8281a065e79536f1e430ddc1b1c8118" 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 71 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=71 --global
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2026-01-31 15:37.45 ---> using "3585d06f098553452479d6c335da00495554b93675451a57278a9271d623ff6d" 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=42
# solver               builtin-0install
# install-criteria     -changed,-count[avoid-version,solution]
# upgrade-criteria     -count[avoid-version,solution]
# jobs                 255
# 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:37.45 ---> using "f5857c76864baf8cb3e699c519d757325cd57ff2fcd775d702006da4494b4c41" 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:37.45 ---> using "b6df9f59c19836f991f70bcd0501fd40466d07d3a25be361fb57a3445396f9a6" from cache

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

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

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/sbin/sudo "yum" "makecache"
- Updating and loading repositories:
-  Fedora 42 - x86_64 - Updates           100% |  49.0 KiB/s |  20.6 KiB |  00m00s
-  Fedora 42 - x86_64                     100% |  81.6 KiB/s |  22.9 KiB |  00m00s
-  Fedora 42 openh264 (From Cisco) - x86_ 100% |   7.5 KiB/s | 986.0   B |  00m00s
- Repositories loaded.
- Metadata cache created.
2026-01-31 15:38.32 ---> saved as "4e961b3d8f74c402ba542287d90c66517e5018f1b0ed9379f8d72649526796fa"

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

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall llvm.20-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 \"\\\"fedora-42\\\"\"; 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.20-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.20-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  20                 [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              20-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 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
- Installing:
-  cmake            x86_64 3.31.6-2.fc42           fedora      34.2 MiB
-  llvm-devel       x86_64 20.1.8-4.fc42           updates     28.9 MiB
- Installing dependencies:
-  cmake-data       noarch 3.31.6-2.fc42           fedora       8.5 MiB
-  cmake-filesystem x86_64 3.31.6-2.fc42           fedora       0.0   B
-  jsoncpp          x86_64 1.9.6-1.fc42            fedora     261.6 KiB
-  libedit-devel    x86_64 3.1-56.20251016cvs.fc42 updates     59.4 KiB
-  libuv            x86_64 1:1.51.0-1.fc42         updates    570.2 KiB
-  libzstd-devel    x86_64 1.5.7-1.fc42            fedora     208.0 KiB
-  llvm             x86_64 20.1.8-4.fc42           updates     89.7 MiB
-  llvm-googletest  x86_64 20.1.8-4.fc42           updates      2.4 MiB
-  llvm-static      x86_64 20.1.8-4.fc42           updates    365.1 MiB
-  llvm-test        x86_64 20.1.8-4.fc42           updates      2.1 MiB
-  ncurses-c++-libs x86_64 6.5-5.20250125.fc42     fedora     153.6 KiB
-  ncurses-devel    x86_64 6.5-5.20250125.fc42     fedora     883.7 KiB
-  rhash            x86_64 1.4.5-2.fc42            fedora     351.0 KiB
-  vim-filesystem   noarch 2:9.1.2086-1.fc42       updates     40.0   B
- 
- Transaction Summary:
-  Installing:        16 packages
- 
- Total size of inbound packages is 93 MiB. Need to download 93 MiB.
- After this operation, 533 MiB extra will be used (install 533 MiB, remove 0 B).
- [ 1/16] cmake-filesystem-0:3.31.6-2.fc4 100% |  41.1 KiB/s |  17.6 KiB |  00m00s
- [ 2/16] jsoncpp-0:1.9.6-1.fc42.x86_64   100% | 383.3 KiB/s | 103.5 KiB |  00m00s
- [ 3/16] rhash-0:1.4.5-2.fc42.x86_64     100% | 438.6 KiB/s | 198.7 KiB |  00m00s
- [ 4/16] cmake-data-0:3.31.6-2.fc42.noar 100% |   1.7 MiB/s |   2.5 MiB |  00m01s
- [ 5/16] llvm-devel-0:20.1.8-4.fc42.x86_ 100% | 253.5 KiB/s |   4.8 MiB |  00m19s
- [ 6/16] llvm-googletest-0:20.1.8-4.fc42 100% | 377.3 KiB/s | 445.2 KiB |  00m01s
- [ 7/16] cmake-0:3.31.6-2.fc42.x86_64    100% | 272.2 KiB/s |  12.2 MiB |  00m46s
- [ 8/16] llvm-test-0:20.1.8-4.fc42.x86_6 100% |   1.2 MiB/s | 723.1 KiB |  00m01s
- [ 9/16] libedit-devel-0:3.1-56.20251016 100% |   1.2 MiB/s |  40.5 KiB |  00m00s
- [10/16] ncurses-devel-0:6.5-5.20250125. 100% |   2.4 MiB/s | 583.5 KiB |  00m00s
- [11/16] ncurses-c++-libs-0:6.5-5.202501 100% |   1.1 MiB/s |  37.9 KiB |  00m00s
- [12/16] libzstd-devel-0:1.5.7-1.fc42.x8 100% |   1.3 MiB/s |  53.1 KiB |  00m00s
- [13/16] vim-filesystem-2:9.1.2086-1.fc4 100% | 390.8 KiB/s |  15.2 KiB |  00m00s
- [14/16] libuv-1:1.51.0-1.fc42.x86_64    100% |   1.0 MiB/s | 266.3 KiB |  00m00s
- [15/16] llvm-0:20.1.8-4.fc42.x86_64     100% | 312.0 KiB/s |  23.2 MiB |  01m16s
- [16/16] llvm-static-0:20.1.8-4.fc42.x86 100% | 587.4 KiB/s |  48.3 MiB |  01m24s
- --------------------------------------------------------------------------------
- [16/16] Total                           100% | 899.0 KiB/s |  93.5 MiB |  01m46s
- Running transaction
- [ 1/18] Verify package files            100% |  53.0   B/s |  16.0   B |  00m00s
- [ 2/18] Prepare transaction             100% | 160.0   B/s |  16.0   B |  00m00s
- [ 3/18] Installing cmake-filesystem-0:3 100% |   1.5 MiB/s |   7.6 KiB |  00m00s
- [ 4/18] Installing llvm-0:20.1.8-4.fc42 100% | 302.4 MiB/s |  89.8 MiB |  00m00s
- [ 5/18] Installing llvm-test-0:20.1.8-4 100% | 100.3 MiB/s |   2.1 MiB |  00m00s
- [ 6/18] Installing libuv-1:1.51.0-1.fc4 100% | 186.5 MiB/s | 573.0 KiB |  00m00s
- [ 7/18] Installing vim-filesystem-2:9.1 100% | 235.9 KiB/s |   4.7 KiB |  00m00s
- [ 8/18] Installing libzstd-devel-0:1.5. 100% | 203.9 MiB/s | 208.8 KiB |  00m00s
- [ 9/18] Installing ncurses-c++-libs-0:6 100% |  50.4 MiB/s | 154.8 KiB |  00m00s
- [10/18] Installing ncurses-devel-0:6.5- 100% |  40.3 MiB/s |   1.0 MiB |  00m00s
- [11/18] Installing libedit-devel-0:3.1- 100% |  32.7 MiB/s |  67.0 KiB |  00m00s
- [12/18] Installing llvm-static-0:20.1.8 100% | 437.4 MiB/s | 365.2 MiB |  00m01s
- [13/18] Installing llvm-googletest-0:20 100% | 176.2 MiB/s |   2.5 MiB |  00m00s
- [14/18] Installing rhash-0:1.4.5-2.fc42 100% |  18.3 MiB/s | 356.4 KiB |  00m00s
- [15/18] Installing jsoncpp-0:1.9.6-1.fc 100% |  25.7 MiB/s | 263.1 KiB |  00m00s
- [16/18] Installing cmake-data-0:3.31.6- 100% |  34.1 MiB/s |   9.1 MiB |  00m00s
- [17/18] Installing cmake-0:3.31.6-2.fc4 100% | 267.4 MiB/s |  34.2 MiB |  00m00s
- [18/18] Installing llvm-devel-0:20.1.8- 100% |  64.9 MiB/s |  29.6 MiB |  00m00s
- Complete!
+ /usr/sbin/rpm "-q" "--whatprovides" "cmake" "llvm-devel"
- cmake-3.31.6-2.fc42.x86_64
- llvm-devel-20.1.8-4.fc42.x86_64

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