(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 archlinux-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:archlinux-ocaml-5.4@sha256:2e9122d7b620a68432b52d6c3d8efbe2cfa3d76d7c06c35acea1d27d1b9b18be
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 "\"archlinux\""; 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:archlinux-ocaml-5.4@sha256:2e9122d7b620a68432b52d6c3d8efbe2cfa3d76d7c06c35acea1d27d1b9b18be-llvm.20-shared-e3b282a9c0eb1ef824245e3ffb935dc8fcc9b1ea"
2026-01-31 15:31.26: Using OBuilder spec:
((from ocaml/opam:archlinux-ocaml-5.4@sha256:2e9122d7b620a68432b52d6c3d8efbe2cfa3d76d7c06c35acea1d27d1b9b18be)
 (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 \"\\\"archlinux\\\"\"; 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:32.46: Waiting for worker…
2026-01-31 15:34.43: Got resource from pool OCluster
Building on clete
All commits already cached
Updating files:  96% (18745/19326)
Updating files:  97% (18747/19326)
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:archlinux-ocaml-5.4@sha256:2e9122d7b620a68432b52d6c3d8efbe2cfa3d76d7c06c35acea1d27d1b9b18be)
2026-01-31 15:35.33 ---> using "e9f93d460c80ee3579bf1131cb912687594e6d201f2dd6814c04cd3b7616e8af" 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:35.33 ---> using "f28417984800cb704f4db824854a0fdfd54068dc8d70ab4ef997bb6a93a2980f" 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:35.33 ---> using "6fc1a85a172cfd0fcecb0b5fb65cd729af4abffbc159b767305f094fdfa2a83d" 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=arch os-version=20260118.0.482696
# 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:35.33 ---> using "2de4dd81c2712516e082d8a8b8c2eac291d918d86c2f81bd2b36acb2d7913104" 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:35.33 ---> using "e72c7e650272ca7a309e1f0333497cb92275914e0e466d4377a2c0e18fbb5090" from cache

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

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

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/sbin/sudo "pacman" "-Sy"
- :: Synchronizing package databases...
-  core downloading...
-  extra downloading...
2026-01-31 15:35.56 ---> saved as "3b239d5296eef14d1fba274d805984b59e2de3a627cc1e4e2edfe053fbfff3a1"

/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:36.00 ---> saved as "1be45e1de6b5f5548ff57c6ae3739479f79dd4286d58ef132ead2ec1f7f04637"

/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 \"\\\"archlinux\\\"\"; 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
  ∗ conf-bash         1                  [required by conf-llvm-shared]
  ∗ conf-cmake        1                  [required by llvm]
  ∗ conf-llvm-shared  20                 [required by llvm]
  ∗ csexp             1.5.2              [required by dune-configurator]
  ∗ ctypes            0.24.0             [required by llvm]
  ∗ dune              3.21.0             [required by ctypes]
  ∗ dune-configurator 3.21.0             [required by ctypes]
  ∗ integers          0.7.0              [required by ctypes]
  ∗ llvm              20-shared (pinned)
  ∗ ocamlfind         1.9.8              [required by llvm]
  ∗ stdlib-shims      0.3.0              [required by integers]

The following system packages will first need to be installed:
    cmake llvm20

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

opam believes some required external dependencies are missing. opam can:
> 1. Run pacman to install them (may need root/sudo access)
  2. Display the recommended pacman 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 "pacman" "-Su" "--noconfirm" "cmake" "llvm20"
- :: Starting full system upgrade...
- resolving dependencies...
- looking for conflicting packages...
- 
- Package (18)              Old Version               New Version               Net Change  Download Size
- 
- extra/cppdap                                        1.58.0-2                    1.55 MiB       0.32 MiB
- core/cryptsetup           2.8.3-1                   2.8.4-1                     0.00 MiB       0.79 MiB
- core/curl                 8.18.0-2                  8.18.0-3                    0.00 MiB       1.23 MiB
- core/gettext              0.26-1                    1.0-1                       4.96 MiB       3.20 MiB
- core/glibc                2.42+r51+gcbf39c26b258-1  2.42+r51+gcbf39c26b258-2   -1.28 MiB      10.01 MiB
- extra/hicolor-icon-theme                            0.18-1                      0.05 MiB       0.01 MiB
- core/jansson              2.14.1-1                  2.15.0-1                    0.01 MiB       0.09 MiB
- extra/jsoncpp                                       1.9.6-3                     0.77 MiB       0.16 MiB
- core/libedit                                        20250104_3.1-1              0.26 MiB       0.11 MiB
- core/libunistring         1.3-1                     1.4.1-1                     0.04 MiB       0.71 MiB
- extra/libuv                                         1.51.0-1                    0.62 MiB       0.25 MiB
- extra/llvm20-libs                                   20.1.8-1                  150.00 MiB      37.77 MiB
- core/openssl              3.6.0-1                   3.6.1-1                    -0.16 MiB       5.35 MiB
- core/pam                  1.7.1-1                   1.7.2-2                     0.00 MiB       0.58 MiB
- core/procps-ng            4.0.5-3                   4.0.6-1                     0.18 MiB       0.97 MiB
- extra/rhash                                         1.4.6-1                     0.34 MiB       0.18 MiB
- extra/cmake                                         4.2.3-1                    92.90 MiB      13.78 MiB
- extra/llvm20                                        20.1.8-1                   72.15 MiB      14.01 MiB
- 
- Total Download Size:    89.52 MiB
- Total Installed Size:  413.66 MiB
- Net Upgrade Size:      322.41 MiB
- 
- :: Proceed with installation? [Y/n] 
- :: Retrieving packages...
-  llvm20-libs-20.1.8-1-x86_64 downloading...
-  llvm20-20.1.8-1-x86_64 downloading...
-  cmake-4.2.3-1-x86_64 downloading...
-  glibc-2.42+r51+gcbf39c26b258-2-x86_64 downloading...
-  openssl-3.6.1-1-x86_64 downloading...
-  gettext-1.0-1-x86_64 downloading...
-  curl-8.18.0-3-x86_64 downloading...
-  procps-ng-4.0.6-1-x86_64 downloading...
-  cryptsetup-2.8.4-1-x86_64 downloading...
-  libunistring-1.4.1-1-x86_64 downloading...
-  pam-1.7.2-2-x86_64 downloading...
-  cppdap-1.58.0-2-x86_64 downloading...
-  libuv-1.51.0-1-x86_64 downloading...
-  rhash-1.4.6-1-x86_64 downloading...
-  jsoncpp-1.9.6-3-x86_64 downloading...
-  libedit-20250104_3.1-1-x86_64 downloading...
-  jansson-2.15.0-1-x86_64 downloading...
-  hicolor-icon-theme-0.18-1-any downloading...
- checking keyring...
- checking package integrity...
- loading package files...
- checking for file conflicts...
- :: Processing package changes...
- upgrading glibc...
- Generating locales...
- Generation complete.
- installing cppdap...
- upgrading openssl...
- upgrading pam...
- upgrading libunistring...
- upgrading curl...
- installing hicolor-icon-theme...
- installing jsoncpp...
- Optional dependencies for jsoncpp
-     jsoncpp-doc: documentation
- installing libuv...
- installing rhash...
- installing cmake...
- Optional dependencies for cmake
-     make: for unix Makefile generator [installed]
-     ninja: for ninja generator
-     qt6-base: cmake-gui
- installing libedit...
- installing llvm20-libs...
- installing llvm20...
- upgrading cryptsetup...
- upgrading gettext...
- upgrading jansson...
- upgrading procps-ng...
- :: Running post-transaction hooks...
- (1/4) Creating temporary files...
- /usr/lib/tmpfiles.d/journal-nocow.conf:26: Failed to resolve specifier: uninitialized /etc/ detected, skipping.
- All rules containing unresolvable specifiers will be skipped.
- (2/4) Reloading system manager configuration...
- Failed to check for chroot() environment: Permission denied
-   Skipped: Current root is not booted.
- (3/4) Restarting marked services...
- Failed to check for chroot() environment: Permission denied
-   Skipped: Current root is not booted.
- (4/4) Arming ConditionNeedsUpdate...

<><> 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
[ERROR] The compilation of llvm.20-shared failed at "bash -ex install.sh build --llvm-config llvm-config-20 --libdir /home/opam/.opam/5.4/lib --cmake cmake --make make --link-mode shared".

#=== ERROR while compiling llvm.20-shared =====================================#
# context              2.5.0 | linux/x86_64 | ocaml-base-compiler.5.4.0 | pinned(https://github.com/llvm/llvm-project/releases/download/llvmorg-20.1.8/llvm-project-20.1.8.src.tar.xz)
# path                 ~/.opam/5.4/.opam-switch/build/llvm.20-shared
# command              ~/.opam/opam-init/hooks/sandbox.sh build bash -ex install.sh build --llvm-config llvm-config-20 --libdir /home/opam/.opam/5.4/lib --cmake cmake --make make --link-mode shared
# exit-code            1
# env-file             ~/.opam/log/llvm-7-f003c2.env
# output-file          ~/.opam/log/llvm-7-f003c2.out
### output ###
# + action=build
# + shift
# + llvm_config=
# + libdir=
# + cmake=
# + make=
# + link_mode=
# + use_homebrew=false
# + [[ 10 -gt 0 ]]
# + case $1 in
# + [[ 10 -lt 2 ]]
# + llvm_config=llvm-config-20
# + shift 2
# + [[ 8 -gt 0 ]]
# + case $1 in
# + [[ 8 -lt 2 ]]
# + libdir=/home/opam/.opam/5.4/lib
# + shift 2
# + [[ 6 -gt 0 ]]
# + case $1 in
# + [[ 6 -lt 2 ]]
# + cmake=cmake
# + shift 2
# + [[ 4 -gt 0 ]]
# + case $1 in
# + [[ 4 -lt 2 ]]
# + make=make
# + shift 2
# + [[ 2 -gt 0 ]]
# + case $1 in
# + [[ 2 -lt 2 ]]
# + link_mode=shared
# + shift 2
# + [[ 0 -gt 0 ]]
# + case "$action" in
# + llvm_build
# ++ llvm-config-20 --ldflags
# + ocaml_flags='-L/usr/lib/llvm20/lib '
# + [[ false = true ]]
# + mkdir build
# ++ llvm-config-20 --build-mode
# ++ llvm-config-20 --targets-built
# ++ filter_experimental_targets
# ++ sed 's/ /;/g'
# ++ sed s/CSKY//g
# ++ sed s/ARC//g
# ++ sed s/DirectX//g
# ++ sed s/SPIRV//g
# ++ sed s/M68k//g
# ++ sed s/Xtensa//g
# ++ xargs
# ++ '[' shared = shared ']'
# ++ echo TRUE
# + cmake -Bbuild -Sllvm -DCMAKE_BUILD_TYPE=Release '-DLLVM_TARGETS_TO_BUILD=AArch64;AMDGPU;ARM;AVR;BPF;Hexagon;Lanai;LoongArch;Mips;MSP430;NVPTX;PowerPC;RISCV;Sparc;SystemZ;VE;WebAssembly;X86;XCore' '-DLLVM_OCAML_LDFLAGS=-L/usr/lib/llvm20/lib ' -DLLVM_LINK_LLVM_DYLIB=TRUE -DLLVM_OCAML_OUT_OF_TREE=TRUE -DLLVM_OCAML_INSTALL_PATH=/home/opam/.opam/5.4/lib
# CMake Deprecation Warning at /home/opam/.opam/5.4/.opam-switch/build/llvm.20-shared/cmake/Modules/CMakePolicy.cmake:6 (cmake_policy):
#   The OLD behavior for policy CMP0116 will be removed from a future version
#   of CMake.
# 
#   The cmake-policies(7) manual explains that the OLD behaviors of all
#   policies are deprecated and that a policy should be set to OLD only under
#   specific short-term circumstances.  Projects should be ported to the NEW
#   behavior and not rely on setting a policy to OLD.
# Call Stack (most recent call first):
#   CMakeLists.txt:8 (include)
# 
# 
# -- The C compiler identification is GNU 15.2.1
# -- The CXX compiler identification is GNU 15.2.1
# -- The ASM compiler identification is GNU
# -- Found assembler: /usr/sbin/cc
# -- Detecting C compiler ABI info
# -- Detecting C compiler ABI info - done
# -- Check for working C compiler: /usr/sbin/cc - skipped
# -- Detecting C compile features
# -- Detecting C compile features - done
# -- Detecting CXX compiler ABI info
# -- Detecting CXX compiler ABI info - done
# -- Check for working CXX compiler: /usr/sbin/c++ - skipped
# -- Detecting CXX compile features
# -- Detecting CXX compile features - done
# CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:290 (message):
#   Could NOT find Python3 (missing: Python3_EXECUTABLE Interpreter) (Required
#   is at least version "3.8")
# Call Stack (most recent call first):
#   /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:654 (_FPHSA_FAILURE_MESSAGE)
#   /usr/share/cmake/Modules/FindPython/Support.cmake:4190 (find_package_handle_standard_args)
#   /usr/share/cmake/Modules/FindPython3.cmake:671 (include)
#   CMakeLists.txt:975 (find_package)
# 
# 
# -- Configuring incomplete, errors occurred!



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
┌─ The following actions failed
│ λ build llvm 20-shared
└─ 
┌─ The following changes have been performed
│ ∗ install conf-bash         1
│ ∗ install conf-cmake        1
│ ∗ install conf-llvm-shared  20
│ ∗ install csexp             1.5.2
│ ∗ install ctypes            0.24.0
│ ∗ install dune              3.21.0
│ ∗ install dune-configurator 3.21.0
│ ∗ install integers          0.7.0
│ ∗ install ocamlfind         1.9.8
│ ∗ install stdlib-shims      0.3.0
└─ 
# To update the current shell environment, run: eval $(opam env)

The former state can be restored with:
    /usr/bin/opam switch import "/home/opam/.opam/5.4/.opam-switch/backup/state-20260131153601.export"
[WARNING] OPAMCONFIRMLEVEL was ignored because CLI 2.0 was requested and it was introduced in 2.1.
[WARNING] OPAMCONFIRMLEVEL was ignored because CLI 2.0 was requested and it was introduced in 2.1.
"/usr/bin/env" "bash" "-c" "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 "\"archlinux\""; 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" failed with exit status 1
2026-01-31 15:37.50: Job failed: Failed: Build failed
2026-01-31 15:37.50: Log analysis:
2026-01-31 15:37.50: >>> 
[ERROR] The compilation of llvm.20-shared failed at "bash -ex install.sh build --llvm-config llvm-config-20 --libdir /home/opam/.opam/5.4/lib --cmake cmake --make make --link-mode shared".
 (score = 20)
2026-01-31 15:37.50: The compilation of llvm.20-shared failed at "bash -ex install.sh build --llvm-config llvm-config-20 --libdir /home/opam/.opam/5.4/lib --cmake cmake --make make --link-mode shared".