(for PR #29110)

2026-01-31 15:31.28: New job: build llvm.20-shared, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29110/head (e3b282a9c0eb1ef824245e3ffb935dc8fcc9b1ea)
                              on ubuntu-24.04-ocaml-5.4/riscv64

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:ubuntu-24.04-ocaml-5.4@sha256:20cfe0b35a2232fcb56c341e470708e5a88be8670d8773c9eb443df68e8d639a
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 "\"ubuntu-24.04\""; 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.28: Using cache hint "ocaml/opam:ubuntu-24.04-ocaml-5.4@sha256:20cfe0b35a2232fcb56c341e470708e5a88be8670d8773c9eb443df68e8d639a-llvm.20-shared-e3b282a9c0eb1ef824245e3ffb935dc8fcc9b1ea"
2026-01-31 15:31.28: Using OBuilder spec:
((from ocaml/opam:ubuntu-24.04-ocaml-5.4@sha256:20cfe0b35a2232fcb56c341e470708e5a88be8670d8773c9eb443df68e8d639a)
 (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 \"\\\"ubuntu-24.04\\\"\"; 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.28: Waiting for resource in pool OCluster
2026-01-31 15:31.29: Waiting for worker…
2026-01-31 15:59.38: Got resource from pool OCluster
Building on riscv-bm-03.sw.ci.dev
All commits already cached
Updating files:  13% (2702/19326)
Updating files:  14% (2706/19326)
Updating files:  15% (2899/19326)
Updating files:  16% (3093/19326)
Updating files:  17% (3286/19326)
Updating files:  18% (3479/19326)
Updating files:  19% (3672/19326)
Updating files:  20% (3866/19326)
Updating files:  21% (4059/19326)
Updating files:  22% (4252/19326)
Updating files:  23% (4445/19326)
Updating files:  24% (4639/19326)
Updating files:  25% (4832/19326)
Updating files:  26% (5025/19326)
Updating files:  27% (5219/19326)
Updating files:  27% (5291/19326)
Updating files:  28% (5412/19326)
Updating files:  29% (5605/19326)
Updating files:  30% (5798/19326)
Updating files:  31% (5992/19326)
Updating files:  32% (6185/19326)
Updating files:  33% (6378/19326)
Updating files:  34% (6571/19326)
Updating files:  35% (6765/19326)
Updating files:  36% (6958/19326)
Updating files:  37% (7151/19326)
Updating files:  38% (7344/19326)
Updating files:  39% (7538/19326)
Updating files:  40% (7731/19326)
Updating files:  40% (7804/19326)
Updating files:  41% (7924/19326)
Updating files:  42% (8117/19326)
Updating files:  43% (8311/19326)
Updating files:  44% (8504/19326)
Updating files:  45% (8697/19326)
Updating files:  46% (8890/19326)
Updating files:  47% (9084/19326)
Updating files:  48% (9277/19326)
Updating files:  49% (9470/19326)
Updating files:  50% (9663/19326)
Updating files:  51% (9857/19326)
Updating files:  51% (9898/19326)
Updating files:  52% (10050/19326)
Updating files:  53% (10243/19326)
Updating files:  54% (10437/19326)
Updating files:  55% (10630/19326)
Updating files:  56% (10823/19326)
Updating files:  57% (11016/19326)
Updating files:  58% (11210/19326)
Updating files:  59% (11403/19326)
Updating files:  60% (11596/19326)
Updating files:  61% (11789/19326)
Updating files:  62% (11983/19326)
Updating files:  62% (12169/19326)
Updating files:  63% (12176/19326)
Updating files:  64% (12369/19326)
Updating files:  65% (12562/19326)
Updating files:  66% (12756/19326)
Updating files:  67% (12949/19326)
Updating files:  68% (13142/19326)
Updating files:  69% (13335/19326)
Updating files:  70% (13529/19326)
Updating files:  71% (13722/19326)
Updating files:  72% (13915/19326)
Updating files:  73% (14108/19326)
Updating files:  74% (14302/19326)
Updating files:  75% (14495/19326)
Updating files:  75% (14529/19326)
Updating files:  76% (14688/19326)
Updating files:  77% (14882/19326)
Updating files:  78% (15075/19326)
Updating files:  79% (15268/19326)
Updating files:  80% (15461/19326)
Updating files:  81% (15655/19326)
Updating files:  82% (15848/19326)
Updating files:  83% (16041/19326)
Updating files:  84% (16234/19326)
Updating files:  85% (16428/19326)
Updating files:  86% (16621/19326)
Updating files:  87% (16814/19326)
Updating files:  87% (16940/19326)
Updating files:  88% (17007/19326)
Updating files:  89% (17201/19326)
Updating files:  90% (17394/19326)
Updating files:  91% (17587/19326)
Updating files:  92% (17780/19326)
Updating files:  93% (17974/19326)
Updating files:  94% (18167/19326)
Updating files:  95% (18360/19326)
Updating files:  96% (18553/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:ubuntu-24.04-ocaml-5.4@sha256:20cfe0b35a2232fcb56c341e470708e5a88be8670d8773c9eb443df68e8d639a)
Unable to find image 'ocaml/opam:ubuntu-24.04-ocaml-5.4@sha256:20cfe0b35a2232fcb56c341e470708e5a88be8670d8773c9eb443df68e8d639a' locally
docker.io/ocaml/opam@sha256:20cfe0b35a2232fcb56c341e470708e5a88be8670d8773c9eb443df68e8d639a: Pulling from ocaml/opam
f15139285886: Pulling fs layer
e26e66956cae: Pulling fs layer
4f306c750b46: Pulling fs layer
64a5fffbf9a8: Pulling fs layer
a9eebe3bfaa5: Pulling fs layer
cd6d6efc698e: Pulling fs layer
1c52eabf99a5: Pulling fs layer
6dba008e5679: Pulling fs layer
545d0085ef13: Pulling fs layer
99d323f6bd84: Pulling fs layer
97c031156f7c: Pulling fs layer
7b892960bda0: Pulling fs layer
abd2a9ec6058: Pulling fs layer
f196396876f0: Pulling fs layer
856e08924826: Pulling fs layer
8720d3a4cc0f: Pulling fs layer
8940fadae2ce: Pulling fs layer
4dc679ba40df: Pulling fs layer
3fd598e72267: Pulling fs layer
7ecaacef770a: Pulling fs layer
47b714601c25: Pulling fs layer
4f4fb700ef54: Pulling fs layer
455dd0e0479e: Pulling fs layer
a764d6948501: Pulling fs layer
493fe9266dda: Pulling fs layer
70955fafa2f5: Pulling fs layer
1e16acd42720: Pulling fs layer
4e3b6938a987: Pulling fs layer
1616bc88dc28: Pulling fs layer
401d508e1750: Pulling fs layer
c1b51755e60f: Pulling fs layer
747d1610b3fa: Pulling fs layer
e3e5146135cb: Pulling fs layer
47ab3074de7b: Pulling fs layer
c46cf4c06617: Pulling fs layer
8bab6f036e35: Pulling fs layer
475cee104833: Pulling fs layer
7c66ac26df77: Pulling fs layer
9e8824b5cb32: Pulling fs layer
1616bc88dc28: Waiting
cdc5f47365b3: Pulling fs layer
dbaef435216b: Pulling fs layer
12ad1212bea3: Pulling fs layer
5486e3c8de0e: Pulling fs layer
55602d6ce890: Pulling fs layer
50d0252d0db2: Pulling fs layer
acd7a13449c9: Pulling fs layer
d691cc1e6162: Pulling fs layer
47ab3074de7b: Waiting
c46cf4c06617: Waiting
8bab6f036e35: Waiting
475cee104833: Waiting
7c66ac26df77: Waiting
9e8824b5cb32: Waiting
cdc5f47365b3: Waiting
dbaef435216b: Waiting
12ad1212bea3: Waiting
5486e3c8de0e: Waiting
55602d6ce890: Waiting
50d0252d0db2: Waiting
acd7a13449c9: Waiting
d691cc1e6162: Waiting
8720d3a4cc0f: Waiting
8940fadae2ce: Waiting
4dc679ba40df: Waiting
3fd598e72267: Waiting
7ecaacef770a: Waiting
47b714601c25: Waiting
4f4fb700ef54: Waiting
455dd0e0479e: Waiting
a764d6948501: Waiting
493fe9266dda: Waiting
70955fafa2f5: Waiting
1e16acd42720: Waiting
4e3b6938a987: Waiting
401d508e1750: Waiting
c1b51755e60f: Waiting
747d1610b3fa: Waiting
e3e5146135cb: Waiting
99d323f6bd84: Waiting
abd2a9ec6058: Waiting
64a5fffbf9a8: Waiting
f196396876f0: Waiting
a9eebe3bfaa5: Waiting
856e08924826: Waiting
cd6d6efc698e: Waiting
97c031156f7c: Waiting
1c52eabf99a5: Waiting
545d0085ef13: Waiting
6dba008e5679: Waiting
7b892960bda0: Waiting
4f306c750b46: Verifying Checksum
e26e66956cae: Verifying Checksum
e26e66956cae: Download complete
4f306c750b46: Download complete
a9eebe3bfaa5: Verifying Checksum
a9eebe3bfaa5: Download complete
64a5fffbf9a8: Verifying Checksum
64a5fffbf9a8: Download complete
f15139285886: Verifying Checksum
f15139285886: Download complete
1c52eabf99a5: Verifying Checksum
1c52eabf99a5: Download complete
6dba008e5679: Verifying Checksum
6dba008e5679: Download complete
545d0085ef13: Verifying Checksum
545d0085ef13: Download complete
99d323f6bd84: Verifying Checksum
99d323f6bd84: Download complete
97c031156f7c: Verifying Checksum
97c031156f7c: Download complete
abd2a9ec6058: Download complete
7b892960bda0: Verifying Checksum
7b892960bda0: Download complete
856e08924826: Download complete
f196396876f0: Download complete
8720d3a4cc0f: Verifying Checksum
8720d3a4cc0f: Download complete
8940fadae2ce: Download complete
3fd598e72267: Verifying Checksum
3fd598e72267: Download complete
4dc679ba40df: Verifying Checksum
4dc679ba40df: Download complete
7ecaacef770a: Verifying Checksum
7ecaacef770a: Download complete
4f4fb700ef54: Download complete
455dd0e0479e: Download complete
47b714601c25: Download complete
a764d6948501: Verifying Checksum
a764d6948501: Download complete
493fe9266dda: Verifying Checksum
493fe9266dda: Download complete
1e16acd42720: Verifying Checksum
1e16acd42720: Download complete
70955fafa2f5: Download complete
4e3b6938a987: Verifying Checksum
4e3b6938a987: Download complete
f15139285886: Pull complete
e26e66956cae: Pull complete
4f306c750b46: Pull complete
401d508e1750: Download complete
1616bc88dc28: Verifying Checksum
1616bc88dc28: Download complete
747d1610b3fa: Verifying Checksum
747d1610b3fa: Download complete
c1b51755e60f: Verifying Checksum
c1b51755e60f: Download complete
64a5fffbf9a8: Pull complete
a9eebe3bfaa5: Pull complete
e3e5146135cb: Verifying Checksum
e3e5146135cb: Download complete
47ab3074de7b: Verifying Checksum
47ab3074de7b: Download complete
8bab6f036e35: Verifying Checksum
8bab6f036e35: Download complete
cd6d6efc698e: Verifying Checksum
cd6d6efc698e: Download complete
7c66ac26df77: Verifying Checksum
7c66ac26df77: Download complete
9e8824b5cb32: Verifying Checksum
9e8824b5cb32: Download complete
cdc5f47365b3: Download complete
c46cf4c06617: Verifying Checksum
c46cf4c06617: Download complete
12ad1212bea3: Verifying Checksum
12ad1212bea3: Download complete
dbaef435216b: Verifying Checksum
dbaef435216b: Download complete
5486e3c8de0e: Verifying Checksum
5486e3c8de0e: Download complete
50d0252d0db2: Verifying Checksum
50d0252d0db2: Download complete
acd7a13449c9: Verifying Checksum
acd7a13449c9: Download complete
d691cc1e6162: Verifying Checksum
d691cc1e6162: Download complete
475cee104833: Verifying Checksum
475cee104833: Download complete
55602d6ce890: Verifying Checksum
55602d6ce890: Download complete
cd6d6efc698e: Pull complete
1c52eabf99a5: Pull complete
6dba008e5679: Pull complete
545d0085ef13: Pull complete
99d323f6bd84: Pull complete
97c031156f7c: Pull complete
7b892960bda0: Pull complete
abd2a9ec6058: Pull complete
f196396876f0: Pull complete
856e08924826: Pull complete
8720d3a4cc0f: Pull complete
8940fadae2ce: Pull complete
4dc679ba40df: Pull complete
3fd598e72267: Pull complete
7ecaacef770a: Pull complete
47b714601c25: Pull complete
4f4fb700ef54: Pull complete
455dd0e0479e: Pull complete
a764d6948501: Pull complete
493fe9266dda: Pull complete
70955fafa2f5: Pull complete
1e16acd42720: Pull complete
4e3b6938a987: Pull complete
1616bc88dc28: Pull complete
401d508e1750: Pull complete
c1b51755e60f: Pull complete
747d1610b3fa: Pull complete
e3e5146135cb: Pull complete
47ab3074de7b: Pull complete
c46cf4c06617: Pull complete
8bab6f036e35: Pull complete
475cee104833: Pull complete
7c66ac26df77: Pull complete
9e8824b5cb32: Pull complete
cdc5f47365b3: Pull complete
dbaef435216b: Pull complete
12ad1212bea3: Pull complete
5486e3c8de0e: Pull complete
55602d6ce890: Pull complete
50d0252d0db2: Pull complete
acd7a13449c9: Pull complete
d691cc1e6162: Pull complete
Digest: sha256:20cfe0b35a2232fcb56c341e470708e5a88be8670d8773c9eb443df68e8d639a
Status: Downloaded newer image for ocaml/opam@sha256:20cfe0b35a2232fcb56c341e470708e5a88be8670d8773c9eb443df68e8d639a
2026-01-31 15:59.51 ---> using "da5b432da8439e2e1820afecf9f63a502791989c129b99f95dd532f06b564e82" 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:59.51 ---> using "49b1910a58c3f01d38ef8d81d7f33cf1c83053919ebd503d00a5824894f3faea" 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 ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2026-01-31 15:59.51 ---> using "793f4b8d5f71080a5a639a82d901f7e536473ebbcb50f4c84348b8d347aeea1e" 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=riscv64 os=linux os-distribution=ubuntu os-version=24.04
# solver               builtin-0install
# install-criteria     -changed,-count[avoid-version,solution]
# upgrade-criteria     -count[avoid-version,solution]
# jobs                 3
# 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:59.51 ---> using "2a9e3284deaefddd24d69d9c2c404e93d91f6bfe3c64927066af666425aec6cf" 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:59.51 ---> using "c8189e463c9de00c307dd3069a791d8fb77128f43f3b3f9fb1c863060ae22610" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2026-01-31 15:59.57 ---> using "7a65c21fc6109fad7e2fa34ff168aeea2cae2e6f85725d97ac7085e3150b5adb" from cache

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-01-31 15:59.57 ---> using "58010abb2c98730a430b75ee9afe32b805923eb79f1099d48215695a0ac3f3b2" from cache

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://ports.ubuntu.com/ubuntu-ports noble InRelease
- Get:2 http://ports.ubuntu.com/ubuntu-ports noble-updates InRelease [126 kB]
- Get:3 http://ports.ubuntu.com/ubuntu-ports noble-backports InRelease [126 kB]
- Get:4 http://ports.ubuntu.com/ubuntu-ports noble-security InRelease [126 kB]
- Get:5 http://ports.ubuntu.com/ubuntu-ports noble-updates/universe riscv64 Packages [1489 kB]
- Get:6 http://ports.ubuntu.com/ubuntu-ports noble-updates/main riscv64 Packages [915 kB]
- Get:7 http://ports.ubuntu.com/ubuntu-ports noble-security/main riscv64 Packages [588 kB]
- Get:8 http://ports.ubuntu.com/ubuntu-ports noble-security/universe riscv64 Packages [932 kB]
- Get:9 http://ports.ubuntu.com/ubuntu-ports noble-security/restricted riscv64 Packages [8717 B]
- Fetched 4310 kB in 2s (1900 kB/s)
- Reading package lists...
- 
2026-01-31 15:59.57 ---> using "435d4dd2a0199242d047c4d153e0291e5278008e991ca46661f07f8a4c488683" from cache

/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 16:00.00 ---> saved as "7f47496e14fe4f5a164078947daf47fb81935eaac8d9e303f2f2b9e172d140bd"

/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 \"\\\"ubuntu-24.04\\\"\"; 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-20-dev zlib1g-dev

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

opam believes some required external dependencies are missing. opam can:
> 1. Run apt-get to install them (may need root/sudo access)
  2. Display the recommended apt-get 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 "apt-get" "install" "-qq" "-yy" "cmake" "llvm-20-dev" "zlib1g-dev"
- debconf: delaying package configuration, since apt-utils is not installed
- Selecting previously unselected package libpython3.12-minimal:riscv64.
- (Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 16279 files and directories currently installed.)
- Preparing to unpack .../libpython3.12-minimal_3.12.3-1ubuntu0.10_riscv64.deb ...
- Unpacking libpython3.12-minimal:riscv64 (3.12.3-1ubuntu0.10) ...
- Selecting previously unselected package python3.12-minimal.
- Preparing to unpack .../python3.12-minimal_3.12.3-1ubuntu0.10_riscv64.deb ...
- Unpacking python3.12-minimal (3.12.3-1ubuntu0.10) ...
- Setting up libpython3.12-minimal:riscv64 (3.12.3-1ubuntu0.10) ...
- Setting up python3.12-minimal (3.12.3-1ubuntu0.10) ...
- Selecting previously unselected package python3-minimal.
- (Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 16590 files and directories currently installed.)
- Preparing to unpack .../0-python3-minimal_3.12.3-0ubuntu2.1_riscv64.deb ...
- Unpacking python3-minimal (3.12.3-0ubuntu2.1) ...
- Selecting previously unselected package media-types.
- Preparing to unpack .../1-media-types_10.1.0_all.deb ...
- Unpacking media-types (10.1.0) ...
- Selecting previously unselected package tzdata.
- Preparing to unpack .../2-tzdata_2025b-0ubuntu0.24.04.1_all.deb ...
- Unpacking tzdata (2025b-0ubuntu0.24.04.1) ...
- Selecting previously unselected package libpython3.12-stdlib:riscv64.
- Preparing to unpack .../3-libpython3.12-stdlib_3.12.3-1ubuntu0.10_riscv64.deb ...
- Unpacking libpython3.12-stdlib:riscv64 (3.12.3-1ubuntu0.10) ...
- Selecting previously unselected package python3.12.
- Preparing to unpack .../4-python3.12_3.12.3-1ubuntu0.10_riscv64.deb ...
- Unpacking python3.12 (3.12.3-1ubuntu0.10) ...
- Selecting previously unselected package libpython3-stdlib:riscv64.
- Preparing to unpack .../5-libpython3-stdlib_3.12.3-0ubuntu2.1_riscv64.deb ...
- Unpacking libpython3-stdlib:riscv64 (3.12.3-0ubuntu2.1) ...
- Setting up python3-minimal (3.12.3-0ubuntu2.1) ...
- Selecting previously unselected package python3.
- (Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 17553 files and directories currently installed.)
- Preparing to unpack .../00-python3_3.12.3-0ubuntu2.1_riscv64.deb ...
- Unpacking python3 (3.12.3-0ubuntu2.1) ...
- Selecting previously unselected package libpipeline1:riscv64.
- Preparing to unpack .../01-libpipeline1_1.5.7-2_riscv64.deb ...
- Unpacking libpipeline1:riscv64 (1.5.7-2) ...
- Selecting previously unselected package binfmt-support.
- Preparing to unpack .../02-binfmt-support_2.2.2-7_riscv64.deb ...
- Unpacking binfmt-support (2.2.2-7) ...
- Selecting previously unselected package libicu74:riscv64.
- Preparing to unpack .../03-libicu74_74.2-1ubuntu3.1_riscv64.deb ...
- Unpacking libicu74:riscv64 (74.2-1ubuntu3.1) ...
- Selecting previously unselected package libxml2:riscv64.
- Preparing to unpack .../04-libxml2_2.9.14+dfsg-1.3ubuntu3.7_riscv64.deb ...
- Unpacking libxml2:riscv64 (2.9.14+dfsg-1.3ubuntu3.7) ...
- Selecting previously unselected package libyaml-0-2:riscv64.
- Preparing to unpack .../05-libyaml-0-2_0.2.5-1build1_riscv64.deb ...
- Unpacking libyaml-0-2:riscv64 (0.2.5-1build1) ...
- Selecting previously unselected package python3-pkg-resources.
- Preparing to unpack .../06-python3-pkg-resources_68.1.2-2ubuntu1.2_all.deb ...
- Unpacking python3-pkg-resources (68.1.2-2ubuntu1.2) ...
- Selecting previously unselected package python3-pygments.
- Preparing to unpack .../07-python3-pygments_2.17.2+dfsg-1_all.deb ...
- Unpacking python3-pygments (2.17.2+dfsg-1) ...
- Selecting previously unselected package python3-yaml.
- Preparing to unpack .../08-python3-yaml_6.0.1-2build2_riscv64.deb ...
- Unpacking python3-yaml (6.0.1-2build2) ...
- Selecting previously unselected package libgpm2:riscv64.
- Preparing to unpack .../09-libgpm2_1.20.7-11_riscv64.deb ...
- Unpacking libgpm2:riscv64 (1.20.7-11) ...
- Selecting previously unselected package libncurses6:riscv64.
- Preparing to unpack .../10-libncurses6_6.4+20240113-1ubuntu2_riscv64.deb ...
- Unpacking libncurses6:riscv64 (6.4+20240113-1ubuntu2) ...
- Selecting previously unselected package libuv1t64:riscv64.
- Preparing to unpack .../11-libuv1t64_1.48.0-1.1build1_riscv64.deb ...
- Unpacking libuv1t64:riscv64 (1.48.0-1.1build1) ...
- Selecting previously unselected package libarchive13t64:riscv64.
- Preparing to unpack .../12-libarchive13t64_3.7.2-2ubuntu0.5_riscv64.deb ...
- Unpacking libarchive13t64:riscv64 (3.7.2-2ubuntu0.5) ...
- Selecting previously unselected package libjsoncpp25:riscv64.
- Preparing to unpack .../13-libjsoncpp25_1.9.5-6build1_riscv64.deb ...
- Unpacking libjsoncpp25:riscv64 (1.9.5-6build1) ...
- Selecting previously unselected package librhash0:riscv64.
- Preparing to unpack .../14-librhash0_1.4.3-3build1_riscv64.deb ...
- Unpacking librhash0:riscv64 (1.4.3-3build1) ...
- Selecting previously unselected package cmake-data.
- Preparing to unpack .../15-cmake-data_3.28.3-1build7_all.deb ...
- Unpacking cmake-data (3.28.3-1build7) ...
- Selecting previously unselected package cmake.
- Preparing to unpack .../16-cmake_3.28.3-1build7_riscv64.deb ...
- Unpacking cmake (3.28.3-1build7) ...
- Selecting previously unselected package icu-devtools.
- Preparing to unpack .../17-icu-devtools_74.2-1ubuntu3.1_riscv64.deb ...
- Unpacking icu-devtools (74.2-1ubuntu3.1) ...
- Selecting previously unselected package libllvm20:riscv64.
- Preparing to unpack .../18-libllvm20_1%3a20.1.2-0ubuntu1~24.04.2_riscv64.deb ...
- Unpacking libllvm20:riscv64 (1:20.1.2-0ubuntu1~24.04.2) ...
- Selecting previously unselected package libclang-cpp20.
- Preparing to unpack .../19-libclang-cpp20_1%3a20.1.2-0ubuntu1~24.04.2_riscv64.deb ...
- Unpacking libclang-cpp20 (1:20.1.2-0ubuntu1~24.04.2) ...
- Selecting previously unselected package libicu-dev:riscv64.
- Preparing to unpack .../20-libicu-dev_74.2-1ubuntu3.1_riscv64.deb ...
- Unpacking libicu-dev:riscv64 (74.2-1ubuntu3.1) ...
- Selecting previously unselected package libncurses-dev:riscv64.
- Preparing to unpack .../21-libncurses-dev_6.4+20240113-1ubuntu2_riscv64.deb ...
- Unpacking libncurses-dev:riscv64 (6.4+20240113-1ubuntu2) ...
- Selecting previously unselected package libxml2-dev:riscv64.
- Preparing to unpack .../22-libxml2-dev_2.9.14+dfsg-1.3ubuntu3.7_riscv64.deb ...
- Unpacking libxml2-dev:riscv64 (2.9.14+dfsg-1.3ubuntu3.7) ...
- Selecting previously unselected package llvm-20-runtime.
- Preparing to unpack .../23-llvm-20-runtime_1%3a20.1.2-0ubuntu1~24.04.2_riscv64.deb ...
- Unpacking llvm-20-runtime (1:20.1.2-0ubuntu1~24.04.2) ...
- Selecting previously unselected package llvm-20-linker-tools.
- Preparing to unpack .../24-llvm-20-linker-tools_1%3a20.1.2-0ubuntu1~24.04.2_riscv64.deb ...
- Unpacking llvm-20-linker-tools (1:20.1.2-0ubuntu1~24.04.2) ...
- Selecting previously unselected package libpfm4:riscv64.
- Preparing to unpack .../25-libpfm4_4.13.0+git32-g0d4ed0e-1_riscv64.deb ...
- Unpacking libpfm4:riscv64 (4.13.0+git32-g0d4ed0e-1) ...
- Selecting previously unselected package llvm-20.
- Preparing to unpack .../26-llvm-20_1%3a20.1.2-0ubuntu1~24.04.2_riscv64.deb ...
- Unpacking llvm-20 (1:20.1.2-0ubuntu1~24.04.2) ...
- Selecting previously unselected package libffi-dev:riscv64.
- Preparing to unpack .../27-libffi-dev_3.4.6-1build1_riscv64.deb ...
- Unpacking libffi-dev:riscv64 (3.4.6-1build1) ...
- Selecting previously unselected package llvm-20-tools.
- Preparing to unpack .../28-llvm-20-tools_1%3a20.1.2-0ubuntu1~24.04.2_riscv64.deb ...
- Unpacking llvm-20-tools (1:20.1.2-0ubuntu1~24.04.2) ...
- Selecting previously unselected package llvm-20-dev.
- Preparing to unpack .../29-llvm-20-dev_1%3a20.1.2-0ubuntu1~24.04.2_riscv64.deb ...
- Unpacking llvm-20-dev (1:20.1.2-0ubuntu1~24.04.2) ...
- Selecting previously unselected package zlib1g-dev:riscv64.
- Preparing to unpack .../30-zlib1g-dev_1%3a1.3.dfsg-3.1ubuntu2.1_riscv64.deb ...
- Unpacking zlib1g-dev:riscv64 (1:1.3.dfsg-3.1ubuntu2.1) ...
- Setting up media-types (10.1.0) ...
- Setting up libpipeline1:riscv64 (1.5.7-2) ...
- Setting up libgpm2:riscv64 (1.20.7-11) ...
- Setting up libyaml-0-2:riscv64 (0.2.5-1build1) ...
- Setting up libuv1t64:riscv64 (1.48.0-1.1build1) ...
- Setting up libffi-dev:riscv64 (3.4.6-1build1) ...
- Setting up tzdata (2025b-0ubuntu0.24.04.1) ...
- 
- Current default time zone: 'Europe/London'
- Local time is now:      Sat Jan 31 16:01:36 GMT 2026.
- Universal Time is now:  Sat Jan 31 16:01:36 UTC 2026.
- Run 'dpkg-reconfigure tzdata' if you wish to change it.
- 
- Setting up libpfm4:riscv64 (4.13.0+git32-g0d4ed0e-1) ...
- Setting up libncurses6:riscv64 (6.4+20240113-1ubuntu2) ...
- Setting up binfmt-support (2.2.2-7) ...
- invoke-rc.d: could not determine current runlevel
- invoke-rc.d: policy-rc.d denied execution of start.
- Setting up libjsoncpp25:riscv64 (1.9.5-6build1) ...
- Setting up libicu74:riscv64 (74.2-1ubuntu3.1) ...
- Setting up zlib1g-dev:riscv64 (1:1.3.dfsg-3.1ubuntu2.1) ...
- Setting up librhash0:riscv64 (1.4.3-3build1) ...
- Setting up cmake-data (3.28.3-1build7) ...
- Setting up libxml2:riscv64 (2.9.14+dfsg-1.3ubuntu3.7) ...
- Setting up libncurses-dev:riscv64 (6.4+20240113-1ubuntu2) ...
- Setting up libpython3.12-stdlib:riscv64 (3.12.3-1ubuntu0.10) ...
- Setting up python3.12 (3.12.3-1ubuntu0.10) ...
- Setting up libllvm20:riscv64 (1:20.1.2-0ubuntu1~24.04.2) ...
- Setting up icu-devtools (74.2-1ubuntu3.1) ...
- Setting up libarchive13t64:riscv64 (3.7.2-2ubuntu0.5) ...
- Setting up libicu-dev:riscv64 (74.2-1ubuntu3.1) ...
- Setting up libpython3-stdlib:riscv64 (3.12.3-0ubuntu2.1) ...
- Setting up llvm-20-runtime (1:20.1.2-0ubuntu1~24.04.2) ...
- Setting up python3 (3.12.3-0ubuntu2.1) ...
- running python rtupdate hooks for python3.12...
- running python post-rtupdate hooks for python3.12...
- Setting up llvm-20-linker-tools (1:20.1.2-0ubuntu1~24.04.2) ...
- Setting up libxml2-dev:riscv64 (2.9.14+dfsg-1.3ubuntu3.7) ...
- Setting up libclang-cpp20 (1:20.1.2-0ubuntu1~24.04.2) ...
- Setting up llvm-20 (1:20.1.2-0ubuntu1~24.04.2) ...
- Setting up cmake (3.28.3-1build7) ...
- Setting up python3-pkg-resources (68.1.2-2ubuntu1.2) ...
- Setting up python3-yaml (6.0.1-2build2) ...
- Setting up python3-pygments (2.17.2+dfsg-1) ...
- Setting up llvm-20-tools (1:20.1.2-0ubuntu1~24.04.2) ...
- Setting up llvm-20-dev (1:20.1.2-0ubuntu1~24.04.2) ...
- Processing triggers for libc-bin (2.39-0ubuntu8.6) ...

<><> 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 16:17.04 ---> saved as "0843a5e8e6700b4400f53b74470f85b8fa3513565e61a6ce94522c09957248ea"
Job succeeded
2026-01-31 16:17.44: Job succeeded