(for PR #28495)

2026-05-04 08:20.06: New job: build efl.1.19.0, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/28495/head (f8e3c652f6bedf44059eb5199142f50d0ff975ef)
                              on alpine-3.23-ocaml-4.14/amd64

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:alpine-3.23-ocaml-4.14@sha256:5162069eda7ca5d8a1e48f7dbc6cee4967dca2d22b8eabf22d2fa5983e59bbe6
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.19.0 1.19.0
RUN opam reinstall efl.1.19.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 "\"alpine-3.23\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'efl.1.19.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:alpine-3.23-ocaml-4.14@sha256:5162069eda7ca5d8a1e48f7dbc6cee4967dca2d22b8eabf22d2fa5983e59bbe6-efl.1.19.0-f8e3c652f6bedf44059eb5199142f50d0ff975ef"
2026-05-04 08:20.06: Using OBuilder spec:
((from ocaml/opam:alpine-3.23-ocaml-4.14@sha256:5162069eda7ca5d8a1e48f7dbc6cee4967dca2d22b8eabf22d2fa5983e59bbe6)
 (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.19.0 1.19.0"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall efl.1.19.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 \"\\\"alpine-3.23\\\"\"; 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.19.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:32.08: Waiting for worker…
2026-05-04 08:36.47: Got resource from pool OCluster
Building on phoebe.caelum.ci.dev
All commits already cached
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:alpine-3.23-ocaml-4.14@sha256:5162069eda7ca5d8a1e48f7dbc6cee4967dca2d22b8eabf22d2fa5983e59bbe6)
Unable to find image 'ocaml/opam:alpine-3.23-ocaml-4.14@sha256:5162069eda7ca5d8a1e48f7dbc6cee4967dca2d22b8eabf22d2fa5983e59bbe6' locally
docker.io/ocaml/opam@sha256:5162069eda7ca5d8a1e48f7dbc6cee4967dca2d22b8eabf22d2fa5983e59bbe6: Pulling from ocaml/opam
6a0ac1617861: Already exists
9630673831f3: Already exists
4cffb540229a: Already exists
aa3cee094119: Already exists
f2700202f619: Already exists
33135c7375d5: Already exists
1ea4b64ae955: Already exists
ca34ef70eda1: Already exists
d4998b6f8f35: Already exists
4a43cfe8648c: Already exists
453dd28eaace: Already exists
a962f0379f0a: Already exists
b68882dcbbd8: Already exists
3f63b4eac828: Already exists
0720e1e1068a: Already exists
0676d4d6023a: Already exists
0ab690805f49: Already exists
fc0af979c0fe: Already exists
4f4fb700ef54: Already exists
63f1d0bef8ae: Already exists
43fd6995d88f: Already exists
c775bfb331ab: Already exists
a7a9b5ed8780: Already exists
86ac791930d3: Already exists
2e34d70b785c: Already exists
56c554cb0baa: Already exists
0109b7ea4beb: Already exists
a72aa581a14e: Already exists
0b969b88b90b: Already exists
d1ae0e2bf910: Already exists
cfd8efe5a061: Already exists
cac47c5c71ca: Pulling fs layer
0789edf993f4: Pulling fs layer
bfdb5e6b1847: Pulling fs layer
58bc33feccda: Pulling fs layer
1a9fb6ceaf2b: Pulling fs layer
3ebd1efd1da6: Pulling fs layer
3ea7ddd77985: Pulling fs layer
b04845a2549f: Pulling fs layer
d6167d6a1fea: Pulling fs layer
4c6a70392f33: Pulling fs layer
58bc33feccda: Waiting
1a9fb6ceaf2b: Waiting
7570e2181945: Pulling fs layer
3ebd1efd1da6: Waiting
3ea7ddd77985: Waiting
b04845a2549f: Waiting
4c6a70392f33: Waiting
7570e2181945: Waiting
d6167d6a1fea: Waiting
0789edf993f4: Download complete
58bc33feccda: Verifying Checksum
58bc33feccda: Download complete
1a9fb6ceaf2b: Verifying Checksum
1a9fb6ceaf2b: Download complete
3ebd1efd1da6: Verifying Checksum
3ebd1efd1da6: Download complete
bfdb5e6b1847: Verifying Checksum
bfdb5e6b1847: Download complete
cac47c5c71ca: Verifying Checksum
cac47c5c71ca: Download complete
d6167d6a1fea: Verifying Checksum
d6167d6a1fea: Download complete
4c6a70392f33: Download complete
7570e2181945: Download complete
3ea7ddd77985: Verifying Checksum
3ea7ddd77985: Download complete
cac47c5c71ca: Pull complete
0789edf993f4: Pull complete
bfdb5e6b1847: Pull complete
58bc33feccda: Pull complete
1a9fb6ceaf2b: Pull complete
3ebd1efd1da6: Pull complete
3ea7ddd77985: Pull complete
b04845a2549f: Verifying Checksum
b04845a2549f: Download complete
b04845a2549f: Pull complete
d6167d6a1fea: Pull complete
4c6a70392f33: Pull complete
7570e2181945: Pull complete
Digest: sha256:5162069eda7ca5d8a1e48f7dbc6cee4967dca2d22b8eabf22d2fa5983e59bbe6
Status: Downloaded newer image for ocaml/opam@sha256:5162069eda7ca5d8a1e48f7dbc6cee4967dca2d22b8eabf22d2fa5983e59bbe6
2026-05-04 08:40.42 ---> saved as "3913b3eb49fa4ad082c783ae88154f6bc86153a1201a2c6aaa38113afe4b8bbe"

/: (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:40.43 ---> saved as "d027af0de5cae637bc4addffd12cb9588c2ce7412d0dd47f27da9e3dc21ba6e3"

/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.

[NOTE] The 'jobs' option was reset, its value was 255 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=255 --global
Continue? [Y/n] y
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[ocaml-patches-overlay] no changes from git+https://github.com/ocurrent/opam-repository#patches
[default] Initialised
2026-05-04 08:41.11 ---> saved as "5370882278501711b6527ff15a89076330015608716679a3190ecbe5f5006848"

/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=x86_64 os=linux os-distribution=alpine os-version=3.23.4
# solver               builtin-0install
# install-criteria     -changed,-count[avoid-version,solution]
# upgrade-criteria     -count[avoid-version,solution]
# jobs                 71
# repositories         2 (version-controlled)
# pinned               1 (version)
# current-switch       4.14
# invariant            ["ocaml-base-compiler" {= "4.14.3"}]
# compiler-packages    ocaml-base-compiler.4.14.3, 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.3
2026-05-04 08:41.12 ---> saved as "0fad35771adfbd17bfe7a975784c86f0ca7576ad66bddbb5fc5192c8b8f161af"

/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:41.21 ---> saved as "564c3f25ad89d7d43071c39a7971291ac56bee07878e218e19b831e0779774a3"

/home/opam: (copy (src .) (dst opam-repository/))
2026-05-04 08:41.38 ---> saved as "20c5276ca6d2eb738be075659184a454989827c7284a883ee26033df11051561"

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

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "apk" "update"
- v3.23.4-127-g72ab63c5ff9 [https://dl-cdn.alpinelinux.org/alpine/v3.23/main]
- v3.23.4-128-g29f1ba9349e [https://dl-cdn.alpinelinux.org/alpine/v3.23/community]
- v20260127-8963-g231c77559d5 [https://dl-cdn.alpinelinux.org/alpine/edge/main]
- v20260127-8975-g89e19d37855 [https://dl-cdn.alpinelinux.org/alpine/edge/community]
- v20260127-8971-g32eea0c6795 [https://dl-cdn.alpinelinux.org/alpine/edge/testing]
- OK: 62169 distinct packages available
2026-05-04 08:42.53 ---> saved as "2f17bcf344a35c83ed9eb14ab831e1c21b2f1fdb591dd24452d2b4925e50d078"

/home/opam: (run (shell "opam pin add -k version -yn efl.1.19.0 1.19.0"))
efl is now pinned to version 1.19.0
2026-05-04 08:42.55 ---> saved as "9ae05e6f16e48afb80da3e6cf331cf03e15b0104de3567d926523c20a4c607be"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall efl.1.19.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 \"\\\"alpine-3.23\\\"\"; 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.19.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.19.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 5 packages
  - install conf-efl        1.8             [required by efl]
  - install conf-pkg-config 4               [required by conf-efl]
  - install efl             1.19.0 (pinned)
  - install ocamlbuild      0.16.1          [required by efl]
  - install ocamlfind       1.9.8           [required by efl]

The following system packages will first need to be installed:
    efl-dev

<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>

opam believes some required external dependencies are missing. opam can:
> 1. Run apk to install them (may need root/sudo access)
  2. Display the recommended apk 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 "apk" "add" "efl-dev"
- ERROR: unable to select packages:
-   efl-1.28.1-r2:
-     masked in: @testing
-     satisfies: efl-dev-1.28.1-r2[efl=1.28.1-r2]
-   efl-dev-1.28.1-r2:
-     masked in: @testing
-     satisfies: world[efl-dev]
[ERROR] System package install failed with exit code 2 at command:
            sudo apk add efl-dev
[ERROR] These packages are still missing: efl-dev

[NOTE] You can retry with '--assume-depexts' to skip this check, or run 'opam option depext=false' to permanently disable handling of system packages.

"/usr/bin/env" "bash" "-c" "opam reinstall efl.1.19.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 "\"alpine-3.23\""; then
            echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.";
          fi;
          test "$pkg" != 'efl.1.19.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 10
2026-05-04 08:44.13: Job failed: Failed: Build failed
2026-05-04 08:44.13: Log analysis:
2026-05-04 08:44.13: >>> 
[ERROR] System package install failed with exit code 2 at command:
 (score = 20)
2026-05-04 08:44.13: >>> 
[ERROR] These packages are still missing: efl-dev
 (score = 20)
2026-05-04 08:44.13: System package install failed with exit code 2 at command: