(for PR #28495)

2025-09-11 13:43.18: New job: build efl.1.18.0, using opam 2.3
                              from https://github.com/ocaml/opam-repository.git#refs/pull/28495/head (39ef1a8a5ad92f9e2f0d6857dbb4a91a15a9b4a6)
                              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/28495/head" && git reset --hard 39ef1a8a
git fetch origin master
git merge --no-edit 866bcd03cd164b928ac73b30e64dce324b9973f9
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:0834760f6b8634840e7e7d2b9e6f5731e662076bc587e17f1180e246d3cf1203
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-2.3 /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 efl.1.18.0 1.18.0
RUN opam reinstall efl.1.18.0; \
    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" != 'efl.1.18.0' && 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-09-11 13:43.18: Using cache hint "ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:0834760f6b8634840e7e7d2b9e6f5731e662076bc587e17f1180e246d3cf1203-efl.1.18.0-39ef1a8a5ad92f9e2f0d6857dbb4a91a15a9b4a6"
2025-09-11 13:43.18: Using OBuilder spec:
((from ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:0834760f6b8634840e7e7d2b9e6f5731e662076bc587e17f1180e246d3cf1203)
 (user (uid 1000) (gid 1000))
 (workdir /home/opam)
 (run (shell "sudo ln -f /usr/bin/opam-2.3 /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 efl.1.18.0 1.18.0"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall efl.1.18.0;\
             \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\" != 'efl.1.18.0' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2025-09-11 13:43.18: Connecting to build cluster…
2025-09-11 13:43.18: Waiting for resource in pool OCluster
2025-09-11 13:43.22: Waiting for worker…
2025-09-11 13:46.44: Got resource from pool OCluster
Building on riscv-bm-02.sw.ci.dev
All commits already cached
Updating files:  14% (2649/18224)
Updating files:  15% (2734/18224)
Updating files:  16% (2916/18224)
Updating files:  17% (3099/18224)
Updating files:  18% (3281/18224)
Updating files:  19% (3463/18224)
Updating files:  20% (3645/18224)
Updating files:  21% (3828/18224)
Updating files:  22% (4010/18224)
Updating files:  23% (4192/18224)
Updating files:  24% (4374/18224)
Updating files:  25% (4556/18224)
Updating files:  26% (4739/18224)
Updating files:  27% (4921/18224)
Updating files:  28% (5103/18224)
Updating files:  28% (5187/18224)
Updating files:  29% (5285/18224)
Updating files:  30% (5468/18224)
Updating files:  31% (5650/18224)
Updating files:  32% (5832/18224)
Updating files:  33% (6014/18224)
Updating files:  34% (6197/18224)
Updating files:  35% (6379/18224)
Updating files:  36% (6561/18224)
Updating files:  37% (6743/18224)
Updating files:  38% (6926/18224)
Updating files:  39% (7108/18224)
Updating files:  40% (7290/18224)
Updating files:  40% (7456/18224)
Updating files:  41% (7472/18224)
Updating files:  42% (7655/18224)
Updating files:  43% (7837/18224)
Updating files:  44% (8019/18224)
Updating files:  45% (8201/18224)
Updating files:  46% (8384/18224)
Updating files:  47% (8566/18224)
Updating files:  48% (8748/18224)
Updating files:  49% (8930/18224)
Updating files:  50% (9112/18224)
Updating files:  51% (9295/18224)
Updating files:  52% (9477/18224)
Updating files:  53% (9659/18224)
Updating files:  54% (9841/18224)
Updating files:  54% (9843/18224)
Updating files:  55% (10024/18224)
Updating files:  56% (10206/18224)
Updating files:  57% (10388/18224)
Updating files:  58% (10570/18224)
Updating files:  59% (10753/18224)
Updating files:  60% (10935/18224)
Updating files:  61% (11117/18224)
Updating files:  62% (11299/18224)
Updating files:  63% (11482/18224)
Updating files:  64% (11664/18224)
Updating files:  65% (11846/18224)
Updating files:  66% (12028/18224)
Updating files:  66% (12109/18224)
Updating files:  67% (12211/18224)
Updating files:  68% (12393/18224)
Updating files:  69% (12575/18224)
Updating files:  70% (12757/18224)
Updating files:  71% (12940/18224)
Updating files:  72% (13122/18224)
Updating files:  73% (13304/18224)
Updating files:  74% (13486/18224)
Updating files:  75% (13668/18224)
Updating files:  76% (13851/18224)
Updating files:  77% (14033/18224)
Updating files:  78% (14215/18224)
Updating files:  79% (14397/18224)
Updating files:  79% (14512/18224)
Updating files:  80% (14580/18224)
Updating files:  81% (14762/18224)
Updating files:  82% (14944/18224)
Updating files:  83% (15126/18224)
Updating files:  84% (15309/18224)
Updating files:  85% (15491/18224)
Updating files:  86% (15673/18224)
Updating files:  87% (15855/18224)
Updating files:  88% (16038/18224)
Updating files:  89% (16220/18224)
Updating files:  90% (16402/18224)
Updating files:  91% (16584/18224)
Updating files:  92% (16767/18224)
Updating files:  92% (16881/18224)
Updating files:  93% (16949/18224)
Updating files:  94% (17131/18224)
Updating files:  95% (17313/18224)
Updating files:  96% (17496/18224)
Updating files:  97% (17678/18224)
Updating files:  98% (17860/18224)
Updating files:  99% (18042/18224)
Updating files: 100% (18224/18224)
Updating files: 100% (18224/18224), done.
HEAD is now at 866bcd03cd Merge pull request #28488 from mdales/mwd-fix-claudius
Merge made by the 'ort' strategy.
 packages/efl/efl.1.12.0/opam | 3 ++-
 packages/efl/efl.1.13.0/opam | 3 ++-
 packages/efl/efl.1.17.0/opam | 3 ++-
 packages/efl/efl.1.18.0/opam | 3 ++-
 packages/efl/efl.1.19.0/opam | 3 ++-
 packages/efl/efl.1.20.0/opam | 3 ++-
 packages/efl/efl.1.22.0/opam | 3 ++-
 packages/efl/efl.1.24.0/opam | 3 ++-
 8 files changed, 16 insertions(+), 8 deletions(-)

(from ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:0834760f6b8634840e7e7d2b9e6f5731e662076bc587e17f1180e246d3cf1203)
Unable to find image 'ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:0834760f6b8634840e7e7d2b9e6f5731e662076bc587e17f1180e246d3cf1203' locally
docker.io/ocaml/opam@sha256:0834760f6b8634840e7e7d2b9e6f5731e662076bc587e17f1180e246d3cf1203: Pulling from ocaml/opam
6d2d7ce17575: Already exists
0d24dc36cd34: Already exists
a4bc79ad5bc4: Already exists
474e1fd5de1c: Already exists
acf44e967b11: Already exists
257f22cbf62c: Already exists
0d0a7974f493: Already exists
0e308475223b: Already exists
cb69731cb293: Already exists
6344a658c812: Already exists
1bf4fc35ad28: Already exists
7beab3ca85fb: Already exists
9317385a46f1: Already exists
ebedfbd7ed42: Already exists
db05cc0e2123: Already exists
885d6af44e3b: Already exists
885d6af44e3b: Already exists
8e28ea6894f5: Already exists
c49d6f8a21e3: Already exists
be9167f63813: Already exists
1fa41acf13f4: Already exists
4f4fb700ef54: Already exists
f11746fe876a: Already exists
ba6fb2b6325e: Already exists
12931af7be91: Already exists
022e9e40211a: Already exists
e15040da3c72: Already exists
d8edf14c9860: Already exists
c26c30dd7c65: Already exists
c9549cf67372: Already exists
4f5d6c2fe3f3: Already exists
a9e0e5d37f6e: Already exists
b3f695a70333: Already exists
daeaf7e4c504: Already exists
d77c2c98dfbd: Already exists
73099dc385f3: Already exists
319a7721c92f: Already exists
7eeb00242159: Already exists
78e6159abcf9: Already exists
8ade6c5da914: Already exists
45949ca71008: Pulling fs layer
fb565c67818d: Pulling fs layer
c044b75cb51a: Pulling fs layer
8c51c2791be2: Pulling fs layer
8c51c2791be2: Waiting
c044b75cb51a: Verifying Checksum
c044b75cb51a: Download complete
fb565c67818d: Verifying Checksum
8c51c2791be2: Verifying Checksum
8c51c2791be2: Download complete
45949ca71008: Verifying Checksum
45949ca71008: Download complete
45949ca71008: Pull complete
fb565c67818d: Pull complete
c044b75cb51a: Pull complete
8c51c2791be2: Pull complete
Digest: sha256:0834760f6b8634840e7e7d2b9e6f5731e662076bc587e17f1180e246d3cf1203
Status: Downloaded newer image for ocaml/opam@sha256:0834760f6b8634840e7e7d2b9e6f5731e662076bc587e17f1180e246d3cf1203
2025-09-11 13:46.55 ---> using "43023b64c80ed066b8474fe8daa5bbdfac6b2a235b38a0192eb22591a87bf8f4" from cache

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-09-11 13:46.55 ---> using "a01d3497ea862b6f88b6469209936630107657f27f3f379797a324b72450bb6a" 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, 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-09-11 13:46.55 ---> using "8cc846c4c9d432dbb2fb65848be54a433d62187c2fd2fa625bf97d83af888afe" 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.3.0 (35acd0c5abc5e66cdbd5be16ba77aa6c33a4c724)
# 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-09-11 13:46.55 ---> using "62f162e83114e0255693cc9f01c205ea5fdf26fb111f7ffdf38fd479442b5d25" 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-09-11 13:46.55 ---> using "b0ed19aad51038be0a92414f0901b63aeb095ad77d9624881af62e46fcdbdbb8" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2025-09-11 13:47.00 ---> using "f63465df978f7d0f942c27322e2d41af46842da6ecdfafea870a2abcc4f5b723" from cache

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-09-11 13:47.00 ---> using "997b38fdf316d60f28973a76cd8452d0803466d4f7f8c76b09e5fc236db30d13" 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/main riscv64 Packages [827 kB]
- Get:6 http://ports.ubuntu.com/ubuntu-ports noble-updates/universe riscv64 Packages [1439 kB]
- Get:7 http://ports.ubuntu.com/ubuntu-ports noble-security/main riscv64 Packages [505 kB]
- Get:8 http://ports.ubuntu.com/ubuntu-ports noble-security/universe riscv64 Packages [874 kB]
- Fetched 4025 kB in 2s (2094 kB/s)
- Reading package lists...
- 
2025-09-11 13:47.00 ---> using "4dcc03e2f5dc4ed562907d7f1d8adf9f0efd3e0e32f1b282e0a9af04d64df749" from cache

/home/opam: (run (shell "opam pin add -k version -yn efl.1.18.0 1.18.0"))
efl is now pinned to version 1.18.0
2025-09-11 13:47.00 ---> using "ab5d54f458389f71948b9087cb2454e9d2cdb3a58be7895c5ee8e298bf1f081b" from cache

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall efl.1.18.0;\
                        \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\" != 'efl.1.18.0' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
[ERROR] efl = 1.18.0: unmet availability conditions: 'opam-version < "2.2"'
"/usr/bin/env" "bash" "-c" "opam reinstall efl.1.18.0;
        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" != 'efl.1.18.0' && 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
2025-09-11 13:47.43: Job failed: Failed: Build failed
2025-09-11 13:47.43: Log analysis:
2025-09-11 13:47.43: >>> 
[ERROR] efl = 1.18.0: unmet availability conditions: 'opam-version < "2.2"'
 (score = 100)
2025-09-11 13:47.43: [SKIP] Package not available