(for PR #28495)

2026-05-04 08:20.06: New job: build efl.1.12.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.12.0 1.12.0
RUN opam reinstall efl.1.12.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.12.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.12.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.12.0 1.12.0"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall efl.1.12.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.12.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:33.48: Got resource from pool OCluster
Building on riscv-bm-01.sw.ci.dev
All commits already cached
Updating files:  13% (2645/18902)
Updating files:  14% (2647/18902)
Updating files:  15% (2836/18902)
Updating files:  16% (3025/18902)
Updating files:  17% (3214/18902)
Updating files:  18% (3403/18902)
Updating files:  19% (3592/18902)
Updating files:  20% (3781/18902)
Updating files:  21% (3970/18902)
Updating files:  22% (4159/18902)
Updating files:  23% (4348/18902)
Updating files:  24% (4537/18902)
Updating files:  25% (4726/18902)
Updating files:  26% (4915/18902)
Updating files:  27% (5104/18902)
Updating files:  27% (5191/18902)
Updating files:  28% (5293/18902)
Updating files:  29% (5482/18902)
Updating files:  30% (5671/18902)
Updating files:  31% (5860/18902)
Updating files:  32% (6049/18902)
Updating files:  33% (6238/18902)
Updating files:  34% (6427/18902)
Updating files:  35% (6616/18902)
Updating files:  36% (6805/18902)
Updating files:  37% (6994/18902)
Updating files:  38% (7183/18902)
Updating files:  39% (7372/18902)
Updating files:  40% (7561/18902)
Updating files:  40% (7708/18902)
Updating files:  41% (7750/18902)
Updating files:  42% (7939/18902)
Updating files:  43% (8128/18902)
Updating files:  44% (8317/18902)
Updating files:  45% (8506/18902)
Updating files:  46% (8695/18902)
Updating files:  47% (8884/18902)
Updating files:  48% (9073/18902)
Updating files:  49% (9262/18902)
Updating files:  50% (9451/18902)
Updating files:  51% (9641/18902)
Updating files:  52% (9830/18902)
Updating files:  53% (10019/18902)
Updating files:  53% (10049/18902)
Updating files:  54% (10208/18902)
Updating files:  55% (10397/18902)
Updating files:  56% (10586/18902)
Updating files:  57% (10775/18902)
Updating files:  58% (10964/18902)
Updating files:  59% (11153/18902)
Updating files:  60% (11342/18902)
Updating files:  61% (11531/18902)
Updating files:  62% (11720/18902)
Updating files:  63% (11909/18902)
Updating files:  64% (12098/18902)
Updating files:  65% (12287/18902)
Updating files:  65% (12395/18902)
Updating files:  66% (12476/18902)
Updating files:  67% (12665/18902)
Updating files:  68% (12854/18902)
Updating files:  69% (13043/18902)
Updating files:  70% (13232/18902)
Updating files:  71% (13421/18902)
Updating files:  72% (13610/18902)
Updating files:  73% (13799/18902)
Updating files:  74% (13988/18902)
Updating files:  75% (14177/18902)
Updating files:  76% (14366/18902)
Updating files:  77% (14555/18902)
Updating files:  78% (14744/18902)
Updating files:  78% (14843/18902)
Updating files:  79% (14933/18902)
Updating files:  80% (15122/18902)
Updating files:  81% (15311/18902)
Updating files:  82% (15500/18902)
Updating files:  83% (15689/18902)
Updating files:  84% (15878/18902)
Updating files:  85% (16067/18902)
Updating files:  86% (16256/18902)
Updating files:  87% (16445/18902)
Updating files:  88% (16634/18902)
Updating files:  89% (16823/18902)
Updating files:  90% (17012/18902)
Updating files:  91% (17201/18902)
Updating files:  91% (17247/18902)
Updating files:  92% (17390/18902)
Updating files:  93% (17579/18902)
Updating files:  94% (17768/18902)
Updating files:  95% (17957/18902)
Updating files:  96% (18146/18902)
Updating files:  97% (18335/18902)
Updating files:  98% (18524/18902)
Updating files:  99% (18713/18902)
Updating files: 100% (18902/18902)
Updating files: 100% (18902/18902), done.
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:34.00 ---> 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:34.00 ---> 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:34.00 ---> 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:34.00 ---> 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:34.00 ---> using "7a7266bf0fe225a081e2b141090fc8188699daf03cd6a0e7dcf9b36fbe220f5f" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2026-05-04 08:34.05 ---> using "15efe998a50344f2f922a01daec9e8541c0a02373e6627f9ca4bc2424c61426f" from cache

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-05-04 08:34.05 ---> using "318663f8efc77c840057fcde76fd1685279430b4a1b6fdb2bf66a4c60b3ac15f" 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 [1596 kB]
- Get:6 http://ports.ubuntu.com/ubuntu-ports noble-updates/main riscv64 Packages [958 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 (1845 kB/s)
- Reading package lists...
- 
2026-05-04 08:34.05 ---> using "5fd86137fae417caf219b5cfbe344ea53366ac14ca37e1bcdec15be970007fc8" from cache

/home/opam: (run (shell "opam pin add -k version -yn efl.1.12.0 1.12.0"))
efl is now pinned to version 1.12.0
2026-05-04 08:34.09 ---> saved as "0f38157035609e8178989c94c75409cddf18169fcf54d8585fc2dd6a07b2044a"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall efl.1.12.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.12.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.12.0 is not installed. Install it? [Y/n] y
  * Incompatible packages:
    - (invariant) -> ocaml-base-compiler = 5.4.1
    - efl < 1.13.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.13.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.13.0 -> ocaml < 5.3 -> ocaml-variants >= 4.06.0 -> ocaml-beta
    unmet availability conditions: 'enable-ocaml-beta-repository'
  * Missing dependency:
    - efl < 1.13.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.12.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.12.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:36.24: Job failed: Failed: Build failed
2026-05-04 08:36.24: Log analysis:
2026-05-04 08:36.24: >>> 
No solution found, exiting
 (score = 100)
2026-05-04 08:36.24: [SKIP] Package not available