(for PR #28495)

2026-05-04 08:20.06: New job: build efl.1.24.0, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/28495/head (f8e3c652f6bedf44059eb5199142f50d0ff975ef)
                              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/28495/head" && git reset --hard f8e3c652
git fetch origin master
git merge --no-edit 7d5cbdbc1151b699e44529b13fd680723b359453
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-24.04-ocaml-5.4@sha256:dc51e43301e96cd9f3cbb9165cfc2d504861bd7a1f7dbb213c49a6e9b70ae2e4
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 efl.1.24.0 1.24.0
RUN opam reinstall efl.1.24.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.24.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 .

2026-05-04 08:20.06: Using cache hint "ocaml/opam:ubuntu-24.04-ocaml-5.4@sha256:dc51e43301e96cd9f3cbb9165cfc2d504861bd7a1f7dbb213c49a6e9b70ae2e4-efl.1.24.0-f8e3c652f6bedf44059eb5199142f50d0ff975ef"
2026-05-04 08:20.06: Using OBuilder spec:
((from ocaml/opam:ubuntu-24.04-ocaml-5.4@sha256:dc51e43301e96cd9f3cbb9165cfc2d504861bd7a1f7dbb213c49a6e9b70ae2e4)
 (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 efl.1.24.0 1.24.0"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall efl.1.24.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.24.0' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2026-05-04 08:20.06: Waiting for resource in pool OCluster
2026-05-04 08:20.07: Waiting for worker…
2026-05-04 08:20.35: Got resource from pool OCluster
Building on riscv-bm-03.sw.ci.dev
Updating files:  13% (2555/18899)
Updating files:  14% (2646/18899)
Updating files:  15% (2835/18899)
Updating files:  16% (3024/18899)
Updating files:  17% (3213/18899)
Updating files:  18% (3402/18899)
Updating files:  19% (3591/18899)
Updating files:  20% (3780/18899)
Updating files:  21% (3969/18899)
Updating files:  22% (4158/18899)
Updating files:  23% (4347/18899)
Updating files:  24% (4536/18899)
Updating files:  25% (4725/18899)
Updating files:  26% (4914/18899)
Updating files:  26% (5034/18899)
Updating files:  27% (5103/18899)
Updating files:  28% (5292/18899)
Updating files:  29% (5481/18899)
Updating files:  30% (5670/18899)
Updating files:  31% (5859/18899)
Updating files:  32% (6048/18899)
Updating files:  33% (6237/18899)
Updating files:  34% (6426/18899)
Updating files:  35% (6615/18899)
Updating files:  36% (6804/18899)
Updating files:  37% (6993/18899)
Updating files:  38% (7182/18899)
Updating files:  38% (7346/18899)
Updating files:  39% (7371/18899)
Updating files:  40% (7560/18899)
Updating files:  41% (7749/18899)
Updating files:  42% (7938/18899)
Updating files:  43% (8127/18899)
Updating files:  44% (8316/18899)
Updating files:  45% (8505/18899)
Updating files:  46% (8694/18899)
Updating files:  47% (8883/18899)
Updating files:  48% (9072/18899)
Updating files:  49% (9261/18899)
Updating files:  50% (9450/18899)
Updating files:  51% (9639/18899)
Updating files:  51% (9726/18899)
Updating files:  52% (9828/18899)
Updating files:  53% (10017/18899)
Updating files:  54% (10206/18899)
Updating files:  55% (10395/18899)
Updating files:  56% (10584/18899)
Updating files:  57% (10773/18899)
Updating files:  58% (10962/18899)
Updating files:  59% (11151/18899)
Updating files:  60% (11340/18899)
Updating files:  61% (11529/18899)
Updating files:  62% (11718/18899)
Updating files:  63% (11907/18899)
Updating files:  63% (12027/18899)
Updating files:  64% (12096/18899)
Updating files:  65% (12285/18899)
Updating files:  66% (12474/18899)
Updating files:  67% (12663/18899)
Updating files:  68% (12852/18899)
Updating files:  69% (13041/18899)
Updating files:  70% (13230/18899)
Updating files:  71% (13419/18899)
Updating files:  72% (13608/18899)
Updating files:  73% (13797/18899)
Updating files:  74% (13986/18899)
Updating files:  75% (14175/18899)
Updating files:  75% (14341/18899)
Updating files:  76% (14364/18899)
Updating files:  77% (14553/18899)
Updating files:  78% (14742/18899)
Updating files:  79% (14931/18899)
Updating files:  80% (15120/18899)
Updating files:  81% (15309/18899)
Updating files:  82% (15498/18899)
Updating files:  83% (15687/18899)
Updating files:  84% (15876/18899)
Updating files:  85% (16065/18899)
Updating files:  86% (16254/18899)
Updating files:  87% (16443/18899)
Updating files:  88% (16632/18899)
Updating files:  88% (16734/18899)
Updating files:  89% (16821/18899)
Updating files:  90% (17010/18899)
Updating files:  91% (17199/18899)
Updating files:  92% (17388/18899)
Updating files:  93% (17577/18899)
Updating files:  94% (17766/18899)
Updating files:  95% (17955/18899)
Updating files:  96% (18144/18899)
Updating files:  97% (18333/18899)
Updating files:  98% (18522/18899)
Updating files:  99% (18711/18899)
Updating files: 100% (18899/18899)
Updating files: 100% (18899/18899), done.
HEAD is now at aff76af978 Package ez_api.2.2.0
HEAD is now at 7d5cbdbc11 Merge pull request #29840 from mtelvers/opam-publish-dockerfile-cmd.8.3.7
Merge made by the 'ort' strategy.
 packages/efl/efl.1.12.0/opam | 2 +-
 packages/efl/efl.1.13.0/opam | 2 +-
 packages/efl/efl.1.17.0/opam | 2 +-
 packages/efl/efl.1.18.0/opam | 2 +-
 packages/efl/efl.1.19.0/opam | 2 +-
 packages/efl/efl.1.20.0/opam | 2 +-
 packages/efl/efl.1.22.0/opam | 2 +-
 packages/efl/efl.1.24.0/opam | 2 +-
 8 files changed, 8 insertions(+), 8 deletions(-)

(from ocaml/opam:ubuntu-24.04-ocaml-5.4@sha256:dc51e43301e96cd9f3cbb9165cfc2d504861bd7a1f7dbb213c49a6e9b70ae2e4)
2026-05-04 08:21.03 ---> using "707560050ad9b0c890bcc6f4f60bff3716d19cd6fc50da95384e605427042ee0" 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-05-04 08:21.03 ---> using "54a222fde3a35ed3830f2550127260c43e5d3222a9d19ad31eb59a62a3359fbe" 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-05-04 08:21.03 ---> using "b410e0a59cf0b6fb3cf627ffc1548411b886fc95769f6d6799d474ea2c01c4b0" 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.1
# 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.1"}]
# compiler-packages    ocaml-base-compiler.5.4.1, ocaml-compiler.5.4.1, 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.1
2026-05-04 08:21.03 ---> using "c1b6d6c078ed991d77fdf240239d89ef60a7309ac383e0e5d756993bb7fe7ffb" 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-05-04 08:21.03 ---> using "7a7266bf0fe225a081e2b141090fc8188699daf03cd6a0e7dcf9b36fbe220f5f" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2026-05-04 08:21.29 ---> saved as "15efe998a50344f2f922a01daec9e8541c0a02373e6627f9ca4bc2424c61426f"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-05-04 08:23.08 ---> saved as "318663f8efc77c840057fcde76fd1685279430b4a1b6fdb2bf66a4c60b3ac15f"

/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 [958 kB]
- Get:6 http://ports.ubuntu.com/ubuntu-ports noble-updates/universe riscv64 Packages [1596 kB]
- Get:7 http://ports.ubuntu.com/ubuntu-ports noble-updates/restricted riscv64 Packages [11.5 kB]
- Get:8 http://ports.ubuntu.com/ubuntu-ports noble-backports/universe riscv64 Packages [33.6 kB]
- Get:9 http://ports.ubuntu.com/ubuntu-ports noble-backports/main riscv64 Packages [77.7 kB]
- Get:10 http://ports.ubuntu.com/ubuntu-ports noble-security/universe riscv64 Packages [1119 kB]
- Get:11 http://ports.ubuntu.com/ubuntu-ports noble-security/main riscv64 Packages [639 kB]
- Fetched 4813 kB in 3s (1772 kB/s)
- Reading package lists...
- 
2026-05-04 08:23.16 ---> saved as "5fd86137fae417caf219b5cfbe344ea53366ac14ca37e1bcdec15be970007fc8"

/home/opam: (run (shell "opam pin add -k version -yn efl.1.24.0 1.24.0"))
efl is now pinned to version 1.24.0
2026-05-04 08:23.19 ---> saved as "95fd6efd8a301628a67b32f77953516e8748c701b3d0b6161dc2a5917266db07"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall efl.1.24.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.24.0' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
efl.1.24.0 is not installed. Install it? [Y/n] y
  * Incompatible packages:
    - (invariant) -> ocaml-base-compiler = 5.4.1
    - efl >= 1.24.0 -> ocaml < 5.3 -> ocaml-variants (< 4.05.2~ | >= 4.06.0)
    You can temporarily relax the switch invariant with `--update-invariant'
  * Missing dependency:
    - efl >= 1.24.0 -> ocaml < 5.3 -> ocaml-base-compiler (<= 3.07+1 | = 3.07+2 | = 3.08.0 | = 3.08.1 | = 3.08.2 | = 3.08.3 | = 3.08.4 | = 3.09.0) | ocaml-system (<= 3.07+1 | = 3.07+2 | >= 3.08.0) | ocaml-variants < 3.09.1~
    not available because the package is pinned to version 5.4.1
    unmet availability conditions, e.g. 'sys-ocaml-version = "5.4.1" & (os != "win32" | sys-ocaml-libc = "msvc")'
    no matching version
  * Missing dependency:
    - efl >= 1.24.0 -> ocaml < 5.3 -> ocaml-variants >= 4.06.0 -> ocaml-beta
    unmet availability conditions: 'enable-ocaml-beta-repository'
  * Missing dependency:
    - efl >= 1.24.0 -> ocaml < 5.3 -> ocaml-variants >= 4.06.0 -> system-msvc
    unmet availability conditions: 'os = "win32"'

No solution found, exiting
"/usr/bin/env" "bash" "-c" "opam reinstall efl.1.24.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.24.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 20
2026-05-04 08:24.39: Job failed: Failed: Build failed
2026-05-04 08:24.39: Log analysis:
2026-05-04 08:24.39: >>> 
No solution found, exiting
 (score = 100)
2026-05-04 08:24.39: [SKIP] Package not available