(for PR #25889)

2024-07-03 07:53.58: New job: build conf-libclang.10, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/25889/head (93450bab6f4ccfda0b50177b39c9218bc8e47470)
                              on ubuntu-24.04-ocaml-5.2/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/25889/head" && git reset --hard 93450bab
git fetch origin master
git merge --no-edit f11abb6589b7c157b8bd91c5d5fcb5a92da6d892
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-24.04-ocaml-5.2@sha256:f9f811935222182a8ba5feef71c4aea016d4b2e0fa4c30966f6b671d3a9ac9a9
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-dev /usr/bin/opam
RUN opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
ENV OPAMDOWNLOADJOBS="1"
ENV OPAMERRLOGLEN="0"
ENV OPAMSOLVERTIMEOUT="500"
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 conf-libclang.10 10
RUN opam reinstall conf-libclang.10; \
    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" != 'conf-libclang.10' && 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 .

2024-07-03 07:53.58: Using cache hint "ocaml/opam:ubuntu-24.04-ocaml-5.2@sha256:f9f811935222182a8ba5feef71c4aea016d4b2e0fa4c30966f6b671d3a9ac9a9-conf-libclang.10-93450bab6f4ccfda0b50177b39c9218bc8e47470"
2024-07-03 07:53.58: Using OBuilder spec:
((from ocaml/opam:ubuntu-24.04-ocaml-5.2@sha256:f9f811935222182a8ba5feef71c4aea016d4b2e0fa4c30966f6b671d3a9ac9a9)
 (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 "uname -rs && opam exec -- ocaml -version && opam --version"))
 (env OPAMDOWNLOADJOBS 1)
 (env OPAMERRLOGLEN 0)
 (env OPAMSOLVERTIMEOUT 500)
 (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 conf-libclang.10 10"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall conf-libclang.10;\
             \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\" != 'conf-libclang.10' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2024-07-03 07:53.58: Waiting for resource in pool OCluster
2024-07-03 10:33.30: Waiting for worker…
2024-07-03 13:46.30: Got resource from pool OCluster
Building on riscv-bm-a1.sw.ocaml.org
All commits already cached
Updating files:   9% (2900/31667)
Updating files:  10% (3167/31667)
Updating files:  11% (3484/31667)
Updating files:  12% (3801/31667)
Updating files:  13% (4117/31667)
Updating files:  14% (4434/31667)
Updating files:  15% (4751/31667)
Updating files:  16% (5067/31667)
Updating files:  17% (5384/31667)
Updating files:  17% (5575/31667)
Updating files:  18% (5701/31667)
Updating files:  19% (6017/31667)
Updating files:  20% (6334/31667)
Updating files:  21% (6651/31667)
Updating files:  22% (6967/31667)
Updating files:  23% (7284/31667)
Updating files:  24% (7601/31667)
Updating files:  25% (7917/31667)
Updating files:  25% (8117/31667)
Updating files:  26% (8234/31667)
Updating files:  27% (8551/31667)
Updating files:  28% (8867/31667)
Updating files:  29% (9184/31667)
Updating files:  30% (9501/31667)
Updating files:  31% (9817/31667)
Updating files:  32% (10134/31667)
Updating files:  33% (10451/31667)
Updating files:  33% (10605/31667)
Updating files:  34% (10767/31667)
Updating files:  35% (11084/31667)
Updating files:  36% (11401/31667)
Updating files:  37% (11717/31667)
Updating files:  38% (12034/31667)
Updating files:  39% (12351/31667)
Updating files:  40% (12667/31667)
Updating files:  41% (12984/31667)
Updating files:  41% (13126/31667)
Updating files:  42% (13301/31667)
Updating files:  43% (13617/31667)
Updating files:  44% (13934/31667)
Updating files:  45% (14251/31667)
Updating files:  46% (14567/31667)
Updating files:  47% (14884/31667)
Updating files:  48% (15201/31667)
Updating files:  49% (15517/31667)
Updating files:  49% (15646/31667)
Updating files:  50% (15834/31667)
Updating files:  51% (16151/31667)
Updating files:  52% (16467/31667)
Updating files:  53% (16784/31667)
Updating files:  54% (17101/31667)
Updating files:  55% (17417/31667)
Updating files:  56% (17734/31667)
Updating files:  57% (18051/31667)
Updating files:  57% (18217/31667)
Updating files:  58% (18367/31667)
Updating files:  59% (18684/31667)
Updating files:  60% (19001/31667)
Updating files:  61% (19317/31667)
Updating files:  62% (19634/31667)
Updating files:  63% (19951/31667)
Updating files:  64% (20267/31667)
Updating files:  65% (20584/31667)
Updating files:  65% (20643/31667)
Updating files:  66% (20901/31667)
Updating files:  67% (21217/31667)
Updating files:  68% (21534/31667)
Updating files:  69% (21851/31667)
Updating files:  70% (22167/31667)
Updating files:  71% (22484/31667)
Updating files:  72% (22801/31667)
Updating files:  73% (23117/31667)
Updating files:  73% (23118/31667)
Updating files:  74% (23434/31667)
Updating files:  75% (23751/31667)
Updating files:  76% (24067/31667)
Updating files:  77% (24384/31667)
Updating files:  78% (24701/31667)
Updating files:  79% (25017/31667)
Updating files:  80% (25334/31667)
Updating files:  80% (25524/31667)
Updating files:  81% (25651/31667)
Updating files:  82% (25967/31667)
Updating files:  83% (26284/31667)
Updating files:  84% (26601/31667)
Updating files:  85% (26917/31667)
Updating files:  86% (27234/31667)
Updating files:  87% (27551/31667)
Updating files:  88% (27867/31667)
Updating files:  88% (27932/31667)
Updating files:  89% (28184/31667)
Updating files:  90% (28501/31667)
Updating files:  91% (28817/31667)
Updating files:  92% (29134/31667)
Updating files:  93% (29451/31667)
Updating files:  94% (29767/31667)
Updating files:  94% (29807/31667)
Updating files:  95% (30084/31667)
Updating files:  96% (30401/31667)
Updating files:  97% (30717/31667)
Updating files:  98% (31034/31667)
Updating files:  99% (31351/31667)
Updating files: 100% (31667/31667)
Updating files: 100% (31667/31667), done.
HEAD is now at f11abb6589 Merge pull request #26180 from mseri/fix-async_ssl
Merge made by the 'ort' strategy.
 packages/conf-libclang/conf-libclang.10/opam | 52 +++++++++++++-----
 packages/conf-libclang/conf-libclang.11/opam | 54 ++++++++++++++-----
 packages/conf-libclang/conf-libclang.12/opam | 52 ++++++++++++------
 packages/conf-libclang/conf-libclang.13/opam | 60 ++++++++++++---------
 packages/conf-libclang/conf-libclang.14/opam | 61 +++++++++++++--------
 packages/conf-libclang/conf-libclang.15/opam | 62 +++++++++++++--------
 packages/conf-libclang/conf-libclang.16/opam | 76 ++++++++++++++++++++++++++
 packages/conf-libclang/conf-libclang.17/opam | 78 +++++++++++++++++++++++++++
 packages/conf-libclang/conf-libclang.18/opam | 80 ++++++++++++++++++++++++++++
 9 files changed, 461 insertions(+), 114 deletions(-)
 create mode 100644 packages/conf-libclang/conf-libclang.16/opam
 create mode 100644 packages/conf-libclang/conf-libclang.17/opam
 create mode 100644 packages/conf-libclang/conf-libclang.18/opam

(from ocaml/opam:ubuntu-24.04-ocaml-5.2@sha256:f9f811935222182a8ba5feef71c4aea016d4b2e0fa4c30966f6b671d3a9ac9a9)
Unable to find image 'ocaml/opam:ubuntu-24.04-ocaml-5.2@sha256:f9f811935222182a8ba5feef71c4aea016d4b2e0fa4c30966f6b671d3a9ac9a9' locally
docker.io/ocaml/opam@sha256:f9f811935222182a8ba5feef71c4aea016d4b2e0fa4c30966f6b671d3a9ac9a9: Pulling from ocaml/opam
20610b79a554: Already exists
217fc0794516: Already exists
531069be4a91: Already exists
1d51f5ed7948: Already exists
2b4c2bc481b2: Already exists
6dd7a3d45fdf: Already exists
752ce29f1ad0: Already exists
119b8a7492be: Already exists
5f1d55d4b0bf: Already exists
2a2d87faa0ea: Already exists
7a98e44724b4: Already exists
6b1d21281866: Already exists
9da9811aac19: Already exists
dd2e69230b4d: Already exists
dd2e69230b4d: Already exists
4f4fb700ef54: Already exists
1acedef9dc48: Already exists
e17f393a5793: Already exists
c1b0adaab70b: Already exists
4f4fb700ef54: Already exists
98f99e5b9680: Already exists
14e1883db0ec: Already exists
21fc2a82893a: Already exists
09cf74d2e123: Already exists
f2cb7dcfcad9: Already exists
7d4e40686178: Already exists
68fe1d7c7181: Already exists
e7f5834e7ec3: Already exists
9fec7e840963: Already exists
4d5fad0df08a: Already exists
69df95c3f0e9: Already exists
3cd7a5a370c6: Already exists
73629908fc60: Already exists
f1d6c4457cd7: Already exists
87799d52463b: Already exists
2b61d36e91d1: Already exists
98787d5a55f1: Already exists
5cc275377070: Pulling fs layer
bceb6718907d: Pulling fs layer
0d72cc9a24b7: Pulling fs layer
e7b7b7d60bcc: Pulling fs layer
8fcdb7fc7355: Pulling fs layer
9b728cce53b2: Pulling fs layer
a1253e5af865: Pulling fs layer
e7b7b7d60bcc: Waiting
8fcdb7fc7355: Waiting
9b728cce53b2: Waiting
a1253e5af865: Waiting
bceb6718907d: Verifying Checksum
bceb6718907d: Download complete
5cc275377070: Verifying Checksum
5cc275377070: Download complete
8fcdb7fc7355: Verifying Checksum
8fcdb7fc7355: Download complete
0d72cc9a24b7: Verifying Checksum
0d72cc9a24b7: Download complete
a1253e5af865: Verifying Checksum
a1253e5af865: Download complete
5cc275377070: Pull complete
9b728cce53b2: Verifying Checksum
9b728cce53b2: Download complete
bceb6718907d: Pull complete
0d72cc9a24b7: Pull complete
e7b7b7d60bcc: Verifying Checksum
e7b7b7d60bcc: Download complete
e7b7b7d60bcc: Pull complete
8fcdb7fc7355: Pull complete
9b728cce53b2: Pull complete
a1253e5af865: Pull complete
Digest: sha256:f9f811935222182a8ba5feef71c4aea016d4b2e0fa4c30966f6b671d3a9ac9a9
Status: Downloaded newer image for ocaml/opam@sha256:f9f811935222182a8ba5feef71c4aea016d4b2e0fa4c30966f6b671d3a9ac9a9
2024-07-03 13:46.49 ---> using "0ce8b665352e7d63c506ae7533375fd10a4b85011477852c7603b0cd58277ad4" from cache

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2024-07-03 13:46.49 ---> using "61e0af4f2f52e2c5719343062ca06c6410e9f0622f2a17cf1ee551fc075968b8" 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 development version of opam requires an update to the layout of /home/opam/.opam from version 2.0 to version 2.2~beta, 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 7 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=7 --global
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2024-07-03 13:46.49 ---> using "cb662002755bb7cd7830dc7ed3df2802872882837c375c2b8ea6891864d6ba75" from cache

/home/opam: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.10.113+
The OCaml toplevel, version 5.2.0
2.2.0~rc1
2024-07-03 13:46.49 ---> using "8cda48bc9f6b01ff12c97390e58d904487bb43180d36bbdd762b8d38f7a09844" from cache

/home/opam: (env OPAMDOWNLOADJOBS 1)

/home/opam: (env OPAMERRLOGLEN 0)

/home/opam: (env OPAMSOLVERTIMEOUT 500)

/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/"))
2024-07-03 13:46.49 ---> using "daaa8e44e617d624eb01665de08d48f104f34000e53483292d485a182892c84f" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2024-07-03 13:46.58 ---> using "3fdce4f19d9021a381e7f52036dabfbcb577777c82c87b0e14d87520672869b0" from cache

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2024-07-03 13:46.58 ---> using "99021a066fe0fba31514918a0d57f83561ea655f6ab741fcf802edd3090ae8a9" 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
- Reading package lists...
- 
2024-07-03 13:46.58 ---> using "2475680846a799102d3440b526c77b57081d0e614a2209c882d1abdef5b158d2" from cache

/home/opam: (run (shell "opam pin add -k version -yn conf-libclang.10 10"))
conf-libclang is now pinned to version 10
2024-07-03 13:47.03 ---> saved as "c7585a76c045bf43e10149aa68514d4ab9aee6e37892ce5fce2e259af0167f29"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall conf-libclang.10;\
                        \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\" != 'conf-libclang.10' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
[ERROR] Package conf-libclang.10 depends on the unavailable system packages 'libclang-10-dev', 'libclang-cpp10-dev' and 'llvm-10-dev'. You can use `--no-depexts' to attempt installation anyway.
"/usr/bin/env" "bash" "-c" "opam reinstall conf-libclang.10;
        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" != 'conf-libclang.10' && partial_fails="$partial_fails $pkg";
        done;
        test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}";
        exit 1" failed with exit status 5
2024-07-03 13:48.01: Job failed: Failed: Build failed
2024-07-03 13:48.01: Log analysis:
2024-07-03 13:48.01: >>> 
[ERROR] Package conf-libclang.10 depends on the unavailable system packages 'libclang-10-dev', 'libclang-cpp10-dev' and 'llvm-10-dev'. You can use `--no-depexts' to attempt installation anyway.
 (score = 100)
2024-07-03 13:48.01: [SKIP] Package not available