(for PR #25002)

2025-11-10 16:56.52: New job: build llvm.16.0.6+nnp+fix-homebrew, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/25002/head (4d9fad21a5bc93fd3b1cd19733ce12ee7f259505)
                              on ubuntu-24.04-ocaml-4.14/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/25002/head" && git reset --hard 4d9fad21
git fetch origin master
git merge --no-edit b6a264c784afa1e19f7a926fc10d49010ad12be4
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:a4b0f03526a93faaa43334fd9da2b4b9d7cf267f7ac19a086c086710a2ea0a35
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.16.0.6+nnp+fix-homebrew 16.0.6+nnp+fix-homebrew
RUN opam reinstall llvm.16.0.6+nnp+fix-homebrew; \
    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.16.0.6+nnp+fix-homebrew' && 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 .

2025-11-10 16:56.52: Using cache hint "ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:a4b0f03526a93faaa43334fd9da2b4b9d7cf267f7ac19a086c086710a2ea0a35-llvm.16.0.6+nnp+fix-homebrew-4d9fad21a5bc93fd3b1cd19733ce12ee7f259505"
2025-11-10 16:56.52: Using OBuilder spec:
((from ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:a4b0f03526a93faaa43334fd9da2b4b9d7cf267f7ac19a086c086710a2ea0a35)
 (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.16.0.6+nnp+fix-homebrew 16.0.6+nnp+fix-homebrew"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall llvm.16.0.6+nnp+fix-homebrew;\
             \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.16.0.6+nnp+fix-homebrew' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2025-11-10 16:56.52: Waiting for resource in pool OCluster
2025-11-10 21:28.44: Waiting for worker…
2025-11-11 05:54.17: Got resource from pool OCluster
Building on riscv-bm-01.sw.ci.dev
All commits already cached
Updating files:  14% (2675/18706)
Updating files:  15% (2806/18706)
Updating files:  16% (2993/18706)
Updating files:  17% (3181/18706)
Updating files:  18% (3368/18706)
Updating files:  19% (3555/18706)
Updating files:  20% (3742/18706)
Updating files:  21% (3929/18706)
Updating files:  22% (4116/18706)
Updating files:  23% (4303/18706)
Updating files:  24% (4490/18706)
Updating files:  25% (4677/18706)
Updating files:  26% (4864/18706)
Updating files:  26% (4916/18706)
Updating files:  27% (5051/18706)
Updating files:  28% (5238/18706)
Updating files:  29% (5425/18706)
Updating files:  30% (5612/18706)
Updating files:  31% (5799/18706)
Updating files:  32% (5986/18706)
Updating files:  33% (6173/18706)
Updating files:  34% (6361/18706)
Updating files:  35% (6548/18706)
Updating files:  36% (6735/18706)
Updating files:  37% (6922/18706)
Updating files:  38% (7109/18706)
Updating files:  39% (7296/18706)
Updating files:  39% (7324/18706)
Updating files:  40% (7483/18706)
Updating files:  41% (7670/18706)
Updating files:  42% (7857/18706)
Updating files:  43% (8044/18706)
Updating files:  44% (8231/18706)
Updating files:  45% (8418/18706)
Updating files:  46% (8605/18706)
Updating files:  47% (8792/18706)
Updating files:  48% (8979/18706)
Updating files:  49% (9166/18706)
Updating files:  50% (9353/18706)
Updating files:  51% (9541/18706)
Updating files:  51% (9654/18706)
Updating files:  52% (9728/18706)
Updating files:  53% (9915/18706)
Updating files:  54% (10102/18706)
Updating files:  55% (10289/18706)
Updating files:  56% (10476/18706)
Updating files:  57% (10663/18706)
Updating files:  58% (10850/18706)
Updating files:  59% (11037/18706)
Updating files:  60% (11224/18706)
Updating files:  61% (11411/18706)
Updating files:  62% (11598/18706)
Updating files:  63% (11785/18706)
Updating files:  63% (11867/18706)
Updating files:  64% (11972/18706)
Updating files:  65% (12159/18706)
Updating files:  66% (12346/18706)
Updating files:  67% (12534/18706)
Updating files:  68% (12721/18706)
Updating files:  69% (12908/18706)
Updating files:  70% (13095/18706)
Updating files:  71% (13282/18706)
Updating files:  72% (13469/18706)
Updating files:  73% (13656/18706)
Updating files:  74% (13843/18706)
Updating files:  75% (14030/18706)
Updating files:  75% (14176/18706)
Updating files:  76% (14217/18706)
Updating files:  77% (14404/18706)
Updating files:  78% (14591/18706)
Updating files:  79% (14778/18706)
Updating files:  80% (14965/18706)
Updating files:  81% (15152/18706)
Updating files:  82% (15339/18706)
Updating files:  83% (15526/18706)
Updating files:  84% (15714/18706)
Updating files:  85% (15901/18706)
Updating files:  86% (16088/18706)
Updating files:  87% (16275/18706)
Updating files:  88% (16462/18706)
Updating files:  88% (16513/18706)
Updating files:  89% (16649/18706)
Updating files:  90% (16836/18706)
Updating files:  91% (17023/18706)
Updating files:  92% (17210/18706)
Updating files:  93% (17397/18706)
Updating files:  94% (17584/18706)
Updating files:  95% (17771/18706)
Updating files:  96% (17958/18706)
Updating files:  97% (18145/18706)
Updating files:  98% (18332/18706)
Updating files:  99% (18519/18706)
Updating files: 100% (18706/18706)
Updating files: 100% (18706/18706), done.
HEAD is now at b6a264c784 Merge pull request #28853 from AltGr/catala100
Merge made by the 'ort' strategy.
 packages/llvm/llvm.16.0.6+nnp+fix-homebrew/opam | 37 +++++++++++++++++++++++++
 1 file changed, 37 insertions(+)
 create mode 100644 packages/llvm/llvm.16.0.6+nnp+fix-homebrew/opam

(from ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:a4b0f03526a93faaa43334fd9da2b4b9d7cf267f7ac19a086c086710a2ea0a35)
Unable to find image 'ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:a4b0f03526a93faaa43334fd9da2b4b9d7cf267f7ac19a086c086710a2ea0a35' locally
docker.io/ocaml/opam@sha256:a4b0f03526a93faaa43334fd9da2b4b9d7cf267f7ac19a086c086710a2ea0a35: Pulling from ocaml/opam
ff47a256ba51: Already exists
07f865b4eced: Pulling fs layer
e5a6a81924d1: Pulling fs layer
d2993474f6c4: Pulling fs layer
be37240cea2e: Pulling fs layer
4c7a4c780d69: Pulling fs layer
949ffaae844f: Pulling fs layer
65007da87cd6: Pulling fs layer
376b4433eeaf: Pulling fs layer
e4c73e6a1fc1: Pulling fs layer
0f0889c64018: Pulling fs layer
436990646fd8: Pulling fs layer
cb9bd38ee801: Pulling fs layer
448d2014f999: Pulling fs layer
ea72d1803671: Pulling fs layer
3f795e13b111: Pulling fs layer
2137184b4e70: Pulling fs layer
ab9789196f84: Pulling fs layer
dbbe96a6bdee: Pulling fs layer
fb6f4e997127: Pulling fs layer
4f4fb700ef54: Pulling fs layer
78488e87ab1d: Pulling fs layer
1a2baa16ab41: Pulling fs layer
52441bed4375: Pulling fs layer
58cb70dff4c6: Pulling fs layer
43e3d939c3f3: Pulling fs layer
5ce97af1f60e: Pulling fs layer
8ffc91fd116a: Pulling fs layer
ff8c038c8028: Pulling fs layer
d57176bef7d7: Pulling fs layer
89b975f1d5f3: Pulling fs layer
921cd587cd96: Pulling fs layer
ae8ab1c95bad: Pulling fs layer
1fe2a75aa09d: Pulling fs layer
831d70711341: Pulling fs layer
07812c06f386: Pulling fs layer
859e3a9917cd: Pulling fs layer
25a638362d2e: Pulling fs layer
e81b913ad5a4: Pulling fs layer
91b5ea018c62: Pulling fs layer
fc1c54249f4d: Pulling fs layer
3530f0adc451: Pulling fs layer
bc237df4bbe3: Pulling fs layer
5ce97af1f60e: Waiting
8ffc91fd116a: Waiting
ff8c038c8028: Waiting
d57176bef7d7: Waiting
89b975f1d5f3: Waiting
921cd587cd96: Waiting
376b4433eeaf: Waiting
e4c73e6a1fc1: Waiting
0f0889c64018: Waiting
436990646fd8: Waiting
cb9bd38ee801: Waiting
448d2014f999: Waiting
ae8ab1c95bad: Waiting
ea72d1803671: Waiting
3f795e13b111: Waiting
1fe2a75aa09d: Waiting
be37240cea2e: Waiting
831d70711341: Waiting
07812c06f386: Waiting
859e3a9917cd: Waiting
25a638362d2e: Waiting
e81b913ad5a4: Waiting
2137184b4e70: Waiting
ab9789196f84: Waiting
dbbe96a6bdee: Waiting
91b5ea018c62: Waiting
fc1c54249f4d: Waiting
3530f0adc451: Waiting
fb6f4e997127: Waiting
bc237df4bbe3: Waiting
4c7a4c780d69: Waiting
4f4fb700ef54: Waiting
78488e87ab1d: Waiting
949ffaae844f: Waiting
65007da87cd6: Waiting
1a2baa16ab41: Waiting
52441bed4375: Waiting
58cb70dff4c6: Waiting
43e3d939c3f3: Waiting
e5a6a81924d1: Download complete
07f865b4eced: Verifying Checksum
07f865b4eced: Download complete
07f865b4eced: Pull complete
e5a6a81924d1: Pull complete
be37240cea2e: Verifying Checksum
be37240cea2e: Download complete
949ffaae844f: Verifying Checksum
949ffaae844f: Download complete
65007da87cd6: Download complete
376b4433eeaf: Verifying Checksum
376b4433eeaf: Download complete
4c7a4c780d69: Verifying Checksum
4c7a4c780d69: Download complete
0f0889c64018: Verifying Checksum
436990646fd8: Verifying Checksum
436990646fd8: Download complete
cb9bd38ee801: Download complete
448d2014f999: Verifying Checksum
448d2014f999: Download complete
ea72d1803671: Verifying Checksum
ea72d1803671: Download complete
3f795e13b111: Verifying Checksum
3f795e13b111: Download complete
2137184b4e70: Verifying Checksum
2137184b4e70: Download complete
ab9789196f84: Verifying Checksum
ab9789196f84: Download complete
dbbe96a6bdee: Verifying Checksum
dbbe96a6bdee: Download complete
fb6f4e997127: Verifying Checksum
fb6f4e997127: Download complete
4f4fb700ef54: Verifying Checksum
4f4fb700ef54: Download complete
78488e87ab1d: Verifying Checksum
78488e87ab1d: Download complete
1a2baa16ab41: Verifying Checksum
1a2baa16ab41: Download complete
52441bed4375: Verifying Checksum
52441bed4375: Download complete
58cb70dff4c6: Verifying Checksum
58cb70dff4c6: Download complete
43e3d939c3f3: Verifying Checksum
43e3d939c3f3: Download complete
5ce97af1f60e: Verifying Checksum
5ce97af1f60e: Download complete
8ffc91fd116a: Verifying Checksum
8ffc91fd116a: Download complete
ff8c038c8028: Verifying Checksum
ff8c038c8028: Download complete
d57176bef7d7: Verifying Checksum
d57176bef7d7: Download complete
89b975f1d5f3: Verifying Checksum
89b975f1d5f3: Download complete
921cd587cd96: Verifying Checksum
921cd587cd96: Download complete
ae8ab1c95bad: Verifying Checksum
ae8ab1c95bad: Download complete
d2993474f6c4: Verifying Checksum
d2993474f6c4: Download complete
831d70711341: Verifying Checksum
831d70711341: Download complete
d2993474f6c4: Pull complete
be37240cea2e: Pull complete
e4c73e6a1fc1: Verifying Checksum
e4c73e6a1fc1: Download complete
859e3a9917cd: Verifying Checksum
859e3a9917cd: Download complete
25a638362d2e: Verifying Checksum
25a638362d2e: Download complete
e81b913ad5a4: Verifying Checksum
e81b913ad5a4: Download complete
07812c06f386: Verifying Checksum
07812c06f386: Download complete
fc1c54249f4d: Verifying Checksum
fc1c54249f4d: Download complete
3530f0adc451: Verifying Checksum
3530f0adc451: Download complete
bc237df4bbe3: Verifying Checksum
bc237df4bbe3: Download complete
1fe2a75aa09d: Verifying Checksum
1fe2a75aa09d: Download complete
4c7a4c780d69: Pull complete
91b5ea018c62: Verifying Checksum
91b5ea018c62: Download complete
949ffaae844f: Pull complete
65007da87cd6: Pull complete
376b4433eeaf: Pull complete
e4c73e6a1fc1: Pull complete
0f0889c64018: Pull complete
436990646fd8: Pull complete
cb9bd38ee801: Pull complete
448d2014f999: Pull complete
ea72d1803671: Pull complete
3f795e13b111: Pull complete
2137184b4e70: Pull complete
ab9789196f84: Pull complete
dbbe96a6bdee: Pull complete
fb6f4e997127: Pull complete
4f4fb700ef54: Pull complete
78488e87ab1d: Pull complete
1a2baa16ab41: Pull complete
52441bed4375: Pull complete
58cb70dff4c6: Pull complete
43e3d939c3f3: Pull complete
5ce97af1f60e: Pull complete
8ffc91fd116a: Pull complete
ff8c038c8028: Pull complete
d57176bef7d7: Pull complete
89b975f1d5f3: Pull complete
921cd587cd96: Pull complete
ae8ab1c95bad: Pull complete
1fe2a75aa09d: Pull complete
831d70711341: Pull complete
07812c06f386: Pull complete
859e3a9917cd: Pull complete
25a638362d2e: Pull complete
e81b913ad5a4: Pull complete
91b5ea018c62: Pull complete
fc1c54249f4d: Pull complete
3530f0adc451: Pull complete
bc237df4bbe3: Pull complete
Digest: sha256:a4b0f03526a93faaa43334fd9da2b4b9d7cf267f7ac19a086c086710a2ea0a35
Status: Downloaded newer image for ocaml/opam@sha256:a4b0f03526a93faaa43334fd9da2b4b9d7cf267f7ac19a086c086710a2ea0a35
2025-11-11 05:54.29 ---> using "dc7796d32c406e97924e871350dc298f7be232a86ff5c28a159f9350d060021c" from cache

/: (user (uid 1000) (gid 1000))

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2025-11-11 05:54.29 ---> using "037ce974ac72ee5f9c8344ace179b7f65b68e76d95845855df35df81e4ede315" 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
2025-11-11 05:54.29 ---> using "4c30fffaa4bde6bf8370499b5854940ea0efe0048ff8c6c4246d52871702c6d9" 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~alpha1
# 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       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
2025-11-11 05:54.29 ---> using "272d9cb94d92ef110026429807c036170de8ce8b85763b50ca5c89b9c884db32" 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/"))
2025-11-11 05:54.29 ---> using "56981ccf6b5038ab6b94817b31b9196c0b943550a3ff0a96338ea302a3b93c4b" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2025-11-11 05:54.56 ---> saved as "9171ee0e4ae413ecc0714c50858f483411ac67444ce2bee748bad67849ed39b6"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-11-11 05:56.29 ---> saved as "e8b717006d6c95e5b85924be0a39098374a60044408b7f843168899b5ae2ab2f"

/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
- Hit:2 http://ports.ubuntu.com/ubuntu-ports noble-updates InRelease
- Hit:3 http://ports.ubuntu.com/ubuntu-ports noble-backports InRelease
- Hit:4 http://ports.ubuntu.com/ubuntu-ports noble-security InRelease
- Reading package lists...
- 
2025-11-11 05:56.37 ---> saved as "692b02a37d4298a018977347c135587966b7860c141153da15854c71f70c78b5"

/home/opam: (run (shell "opam pin add -k version -yn llvm.16.0.6+nnp+fix-homebrew 16.0.6+nnp+fix-homebrew"))
llvm is now pinned to version 16.0.6+nnp+fix-homebrew
2025-11-11 05:56.39 ---> saved as "a893ef8a11d67b0114b2ae36f1e34b342822560e855e2ffad0188e4a4c925157"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall llvm.16.0.6+nnp+fix-homebrew;\
                        \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.16.0.6+nnp+fix-homebrew' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
llvm.16.0.6+nnp+fix-homebrew is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 11 packages
  - install bigarray-compat   1.1.0                            [required by ctypes]
  - install conf-bash         1                                [required by conf-llvm]
  - install conf-llvm         16                               [required by llvm]
  - install conf-pkg-config   4                                [required by llvm]
  - install csexp             1.5.2                            [required by dune-configurator]
  - install ctypes            0.23.0                           [required by llvm]
  - install dune              3.20.2                           [required by llvm]
  - install dune-configurator 3.20.2                           [required by ctypes]
  - install integers          0.7.0                            [required by ctypes]
  - install llvm              16.0.6+nnp+fix-homebrew (pinned)
  - install stdlib-shims      0.3.0                            [required by integers]

The following system packages will first need to be installed:
    libzstd-dev llvm-16-dev pkg-config 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" "libzstd-dev" "llvm-16-dev" "pkg-config" "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 ... 16249 files and directories currently installed.)
- Preparing to unpack .../libpython3.12-minimal_3.12.3-1ubuntu0.8_riscv64.deb ...
- Unpacking libpython3.12-minimal:riscv64 (3.12.3-1ubuntu0.8) ...
- Selecting previously unselected package python3.12-minimal.
- Preparing to unpack .../python3.12-minimal_3.12.3-1ubuntu0.8_riscv64.deb ...
- Unpacking python3.12-minimal (3.12.3-1ubuntu0.8) ...
- Setting up libpython3.12-minimal:riscv64 (3.12.3-1ubuntu0.8) ...
- Setting up python3.12-minimal (3.12.3-1ubuntu0.8) ...
- 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 ... 16560 files and directories currently installed.)
- Preparing to unpack .../0-python3-minimal_3.12.3-0ubuntu2_riscv64.deb ...
- Unpacking python3-minimal (3.12.3-0ubuntu2) ...
- 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.8_riscv64.deb ...
- Unpacking libpython3.12-stdlib:riscv64 (3.12.3-1ubuntu0.8) ...
- Selecting previously unselected package python3.12.
- Preparing to unpack .../4-python3.12_3.12.3-1ubuntu0.8_riscv64.deb ...
- Unpacking python3.12 (3.12.3-1ubuntu0.8) ...
- Selecting previously unselected package libpython3-stdlib:riscv64.
- Preparing to unpack .../5-libpython3-stdlib_3.12.3-0ubuntu2_riscv64.deb ...
- Unpacking libpython3-stdlib:riscv64 (3.12.3-0ubuntu2) ...
- Setting up python3-minimal (3.12.3-0ubuntu2) ...
- 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 ... 17523 files and directories currently installed.)
- Preparing to unpack .../00-python3_3.12.3-0ubuntu2_riscv64.deb ...
- Unpacking python3 (3.12.3-0ubuntu2) ...
- 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.6_riscv64.deb ...
- Unpacking libxml2:riscv64 (2.9.14+dfsg-1.3ubuntu3.6) ...
- 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 icu-devtools.
- Preparing to unpack .../11-icu-devtools_74.2-1ubuntu3.1_riscv64.deb ...
- Unpacking icu-devtools (74.2-1ubuntu3.1) ...
- Selecting previously unselected package libllvm16t64:riscv64.
- Preparing to unpack .../12-libllvm16t64_1%3a16.0.6-23ubuntu4_riscv64.deb ...
- Unpacking libllvm16t64:riscv64 (1:16.0.6-23ubuntu4) ...
- Selecting previously unselected package libclang-cpp16t64.
- Preparing to unpack .../13-libclang-cpp16t64_1%3a16.0.6-23ubuntu4_riscv64.deb ...
- Unpacking libclang-cpp16t64 (1:16.0.6-23ubuntu4) ...
- Selecting previously unselected package libicu-dev:riscv64.
- Preparing to unpack .../14-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 .../15-libncurses-dev_6.4+20240113-1ubuntu2_riscv64.deb ...
- Unpacking libncurses-dev:riscv64 (6.4+20240113-1ubuntu2) ...
- Selecting previously unselected package libpkgconf3:riscv64.
- Preparing to unpack .../16-libpkgconf3_1.8.1-2build1_riscv64.deb ...
- Unpacking libpkgconf3:riscv64 (1.8.1-2build1) ...
- Selecting previously unselected package libxml2-dev:riscv64.
- Preparing to unpack .../17-libxml2-dev_2.9.14+dfsg-1.3ubuntu3.6_riscv64.deb ...
- Unpacking libxml2-dev:riscv64 (2.9.14+dfsg-1.3ubuntu3.6) ...
- Selecting previously unselected package libzstd-dev:riscv64.
- Preparing to unpack .../18-libzstd-dev_1.5.5+dfsg2-2build1.1_riscv64.deb ...
- Unpacking libzstd-dev:riscv64 (1.5.5+dfsg2-2build1.1) ...
- Selecting previously unselected package llvm-16-runtime.
- Preparing to unpack .../19-llvm-16-runtime_1%3a16.0.6-23ubuntu4_riscv64.deb ...
- Unpacking llvm-16-runtime (1:16.0.6-23ubuntu4) ...
- Selecting previously unselected package llvm-16-linker-tools.
- Preparing to unpack .../20-llvm-16-linker-tools_1%3a16.0.6-23ubuntu4_riscv64.deb ...
- Unpacking llvm-16-linker-tools (1:16.0.6-23ubuntu4) ...
- Selecting previously unselected package libpfm4:riscv64.
- Preparing to unpack .../21-libpfm4_4.13.0+git32-g0d4ed0e-1_riscv64.deb ...
- Unpacking libpfm4:riscv64 (4.13.0+git32-g0d4ed0e-1) ...
- Selecting previously unselected package llvm-16.
- Preparing to unpack .../22-llvm-16_1%3a16.0.6-23ubuntu4_riscv64.deb ...
- Unpacking llvm-16 (1:16.0.6-23ubuntu4) ...
- Selecting previously unselected package libffi-dev:riscv64.
- Preparing to unpack .../23-libffi-dev_3.4.6-1build1_riscv64.deb ...
- Unpacking libffi-dev:riscv64 (3.4.6-1build1) ...
- Selecting previously unselected package llvm-16-tools.
- Preparing to unpack .../24-llvm-16-tools_1%3a16.0.6-23ubuntu4_riscv64.deb ...
- Unpacking llvm-16-tools (1:16.0.6-23ubuntu4) ...
- Selecting previously unselected package libz3-4:riscv64.
- Preparing to unpack .../25-libz3-4_4.8.12-3.1build1_riscv64.deb ...
- Unpacking libz3-4:riscv64 (4.8.12-3.1build1) ...
- Selecting previously unselected package libz3-dev:riscv64.
- Preparing to unpack .../26-libz3-dev_4.8.12-3.1build1_riscv64.deb ...
- Unpacking libz3-dev:riscv64 (4.8.12-3.1build1) ...
- Selecting previously unselected package llvm-16-dev.
- Preparing to unpack .../27-llvm-16-dev_1%3a16.0.6-23ubuntu4_riscv64.deb ...
- Unpacking llvm-16-dev (1:16.0.6-23ubuntu4) ...
- Selecting previously unselected package pkgconf-bin.
- Preparing to unpack .../28-pkgconf-bin_1.8.1-2build1_riscv64.deb ...
- Unpacking pkgconf-bin (1.8.1-2build1) ...
- Selecting previously unselected package pkgconf:riscv64.
- Preparing to unpack .../29-pkgconf_1.8.1-2build1_riscv64.deb ...
- Unpacking pkgconf:riscv64 (1.8.1-2build1) ...
- Selecting previously unselected package pkg-config:riscv64.
- Preparing to unpack .../30-pkg-config_1.8.1-2build1_riscv64.deb ...
- Unpacking pkg-config:riscv64 (1.8.1-2build1) ...
- Selecting previously unselected package zlib1g-dev:riscv64.
- Preparing to unpack .../31-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 libzstd-dev:riscv64 (1.5.5+dfsg2-2build1.1) ...
- Setting up libyaml-0-2:riscv64 (0.2.5-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:      Tue Nov 11 05:58:08 GMT 2025.
- Universal Time is now:  Tue Nov 11 05:58:08 UTC 2025.
- Run 'dpkg-reconfigure tzdata' if you wish to change it.
- 
- Setting up libz3-4:riscv64 (4.8.12-3.1build1) ...
- Setting up libpkgconf3:riscv64 (1.8.1-2build1) ...
- 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 pkgconf-bin (1.8.1-2build1) ...
- Setting up libicu74:riscv64 (74.2-1ubuntu3.1) ...
- Setting up zlib1g-dev:riscv64 (1:1.3.dfsg-3.1ubuntu2.1) ...
- Setting up libxml2:riscv64 (2.9.14+dfsg-1.3ubuntu3.6) ...
- Setting up libz3-dev:riscv64 (4.8.12-3.1build1) ...
- Setting up libncurses-dev:riscv64 (6.4+20240113-1ubuntu2) ...
- Setting up libpython3.12-stdlib:riscv64 (3.12.3-1ubuntu0.8) ...
- Setting up python3.12 (3.12.3-1ubuntu0.8) ...
- Setting up pkgconf:riscv64 (1.8.1-2build1) ...
- Setting up libllvm16t64:riscv64 (1:16.0.6-23ubuntu4) ...
- Setting up icu-devtools (74.2-1ubuntu3.1) ...
- Setting up pkg-config:riscv64 (1.8.1-2build1) ...
- Setting up libicu-dev:riscv64 (74.2-1ubuntu3.1) ...
- Setting up libpython3-stdlib:riscv64 (3.12.3-0ubuntu2) ...
- Setting up llvm-16-runtime (1:16.0.6-23ubuntu4) ...
- Setting up python3 (3.12.3-0ubuntu2) ...
- running python rtupdate hooks for python3.12...
- running python post-rtupdate hooks for python3.12...
- Setting up libclang-cpp16t64 (1:16.0.6-23ubuntu4) ...
- Setting up llvm-16-linker-tools (1:16.0.6-23ubuntu4) ...
- Setting up libxml2-dev:riscv64 (2.9.14+dfsg-1.3ubuntu3.6) ...
- Setting up llvm-16 (1:16.0.6-23ubuntu4) ...
- 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-16-tools (1:16.0.6-23ubuntu4) ...
- Setting up llvm-16-dev (1:16.0.6-23ubuntu4) ...
- Processing triggers for libc-bin (2.39-0ubuntu8.6) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved bigarray-compat.1.1.0  (cached)
-> retrieved conf-llvm.16  (cached)
-> retrieved csexp.1.5.2  (cached)
-> installed conf-bash.1
-> installed conf-pkg-config.4
-> retrieved ctypes.0.23.0  (cached)
-> installed conf-llvm.16
-> retrieved dune.3.20.2, dune-configurator.3.20.2  (cached)
-> retrieved integers.0.7.0  (cached)
-> retrieved llvm.16.0.6+nnp+fix-homebrew  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> installed dune.3.20.2
-> installed stdlib-shims.0.3.0
-> installed bigarray-compat.1.1.0
-> installed csexp.1.5.2
-> installed integers.0.7.0
-> installed dune-configurator.3.20.2
-> installed ctypes.0.23.0
-> installed llvm.16.0.6+nnp+fix-homebrew
Done.
# To update the current shell environment, run: eval $(opam env)
2025-11-11 06:08.56 ---> saved as "e88a284a5acadad22164208fe55f6f5256b02c0d3572ded581e83423ca2757d5"
Job succeeded
2025-11-11 06:09.29: Job succeeded