(for PR #28495)
2025-10-17 13:54.23: New job: build efl.1.18.0, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/28495/head (39ef1a8a5ad92f9e2f0d6857dbb4a91a15a9b4a6)
on debian-unstable-ocaml-5.4/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 39ef1a8a
git fetch origin master
git merge --no-edit 5bf570252bd9fee71938b828ca0b86573c1e3355
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-unstable-ocaml-5.4@sha256:0c30ce84fcb12e10ba8476926a10dec2974d18e60bd5a8a435a11049c260eea0
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.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 "\"debian-unstable\""; 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-10-17 13:54.23: Using cache hint "ocaml/opam:debian-unstable-ocaml-5.4@sha256:0c30ce84fcb12e10ba8476926a10dec2974d18e60bd5a8a435a11049c260eea0-efl.1.18.0-39ef1a8a5ad92f9e2f0d6857dbb4a91a15a9b4a6"
2025-10-17 13:54.23: Using OBuilder spec:
((from ocaml/opam:debian-unstable-ocaml-5.4@sha256:0c30ce84fcb12e10ba8476926a10dec2974d18e60bd5a8a435a11049c260eea0)
(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.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 \"\\\"debian-unstable\\\"\"; 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-10-17 13:54.23: Connecting to build cluster…
2025-10-17 13:54.23: Waiting for resource in pool OCluster
2025-10-17 14:05.41: Waiting for worker…
2025-10-17 14:08.28: Got resource from pool OCluster
Building on toxis.caelum.ci.dev
All commits already cached
HEAD is now at 5bf570252b Merge pull request #28700 from drjdn/opam-publish-p5scm.0.5.0
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:debian-unstable-ocaml-5.4@sha256:0c30ce84fcb12e10ba8476926a10dec2974d18e60bd5a8a435a11049c260eea0)
Unable to find image 'ocaml/opam:debian-unstable-ocaml-5.4@sha256:0c30ce84fcb12e10ba8476926a10dec2974d18e60bd5a8a435a11049c260eea0' locally
docker.io/ocaml/opam@sha256:0c30ce84fcb12e10ba8476926a10dec2974d18e60bd5a8a435a11049c260eea0: Pulling from ocaml/opam
2e268ef41e67: Already exists
326b3609ce43: Already exists
7394737016a6: Already exists
185b28e1624b: Already exists
3e706423dfed: Already exists
7241f2237d13: Already exists
ac1427a34992: Already exists
74a2abdc75b2: Already exists
244f8b188d6f: Already exists
2cd3331ab10f: Already exists
859a64f8acb7: Already exists
04d0647ec61c: Already exists
5109f263045e: Already exists
5f85bb9d020c: Already exists
82cb2514d54d: Already exists
b69010dbda0a: Already exists
b69010dbda0a: Already exists
1ed400b2ff5b: Already exists
4c39ddc11631: Already exists
fbf105711af5: Already exists
5f6f7d5be619: Already exists
4f4fb700ef54: Already exists
140d996660e6: Already exists
264bd7378d82: Already exists
e5196f2b7a75: Already exists
207932b5f8f5: Already exists
16d1a39f001e: Already exists
818e3cd647a4: Already exists
90bd8dc55be2: Already exists
00d945754922: Already exists
aecaf2e50f38: Already exists
c0a762ad6f08: Already exists
f0497f025fb4: Already exists
0402684c4c01: Already exists
4d9d7a0688af: Already exists
2bfee3d59a95: Already exists
d5114fd4991c: Already exists
0db6bfc52f8c: Already exists
337f3d55661c: Already exists
f7ce143751ea: Already exists
ddeb22a78197: Pulling fs layer
3fc37411293b: Pulling fs layer
08b4c5ae83b9: Pulling fs layer
3a970ca19d5e: Pulling fs layer
48db61caba21: Pulling fs layer
c995c353dea9: Pulling fs layer
23048f86155e: Pulling fs layer
ddeb22a78197: Waiting
3a970ca19d5e: Waiting
08b4c5ae83b9: Waiting
3fc37411293b: Waiting
48db61caba21: Waiting
c995c353dea9: Waiting
23048f86155e: Waiting
ddeb22a78197: Download complete
08b4c5ae83b9: Verifying Checksum
08b4c5ae83b9: Download complete
ddeb22a78197: Pull complete
3fc37411293b: Verifying Checksum
3fc37411293b: Download complete
48db61caba21: Verifying Checksum
c995c353dea9: Verifying Checksum
c995c353dea9: Download complete
3fc37411293b: Pull complete
08b4c5ae83b9: Pull complete
23048f86155e: Verifying Checksum
23048f86155e: Download complete
3a970ca19d5e: Download complete
3a970ca19d5e: Pull complete
48db61caba21: Pull complete
c995c353dea9: Pull complete
23048f86155e: Pull complete
Digest: sha256:0c30ce84fcb12e10ba8476926a10dec2974d18e60bd5a8a435a11049c260eea0
Status: Downloaded newer image for ocaml/opam@sha256:0c30ce84fcb12e10ba8476926a10dec2974d18e60bd5a8a435a11049c260eea0
2025-10-17 14:08.34 ---> using "2ad21beb39436f35ee6e61f5fbb1401b26ef3cbda48339fe3bca5ee7b6a06290" from cache
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2025-10-17 14:08.34 ---> using "31d157e5f6200ef57533049e23c01f178a3281f6f076891b93dc02efcbfd275c" 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
[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
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-10-17 14:08.34 ---> using "b580b174de5073ef002e78fc418fcc681acd6dbeb618bd8f99104035b97a65a8" 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.4.1
# self-upgrade no
# system arch=x86_64 os=linux os-distribution=debian os-version=unknown
# solver builtin-0install
# install-criteria -changed,-count[avoid-version,solution]
# upgrade-criteria -count[avoid-version,solution]
# jobs 71
# repositories 1 (version-controlled)
# pinned 1 (version)
# current-switch 5.4
# invariant ["ocaml-base-compiler" {>= "5.4.0"}]
# compiler-packages ocaml-base-compiler.5.4.0, ocaml-compiler.5.4.0, 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.0
2025-10-17 14:08.34 ---> using "97c589f7967cefc49f6c09ce40c644a9ff54a490cabc822398d140dacb0ffb3b" 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-10-17 14:08.34 ---> using "ac129cb21e24acf7c90d88669a7bd130562256ad491cbe1cb6353ca3606db255" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2025-10-17 14:08.38 ---> saved as "9b4d9333e725619fc75ba01fc8c4312a772db165f38f0057d24204264ab51d20"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-10-17 14:08.57 ---> saved as "debc039456d53cafb73e1eacd489ecd27460581baf2e92ac259728c9742dd00a"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://deb.debian.org/debian unstable InRelease [207 kB]
- Get:2 http://deb.debian.org/debian unstable/main amd64 Packages.diff/Index [63.6 kB]
- Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2025-10-17-0808.00-F-2025-10-11-0806.55.pdiff [413 kB]
- Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2025-10-17-0808.00-F-2025-10-11-0806.55.pdiff [413 kB]
- Fetched 683 kB in 3s (215 kB/s)
- Reading package lists...
-
2025-10-17 14:09.02 ---> saved as "d0cb6d2a4bbb3335fa1e7010dfdeca44af00f5d8e681b992e4bc784ea73c81fa"
/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-10-17 14:09.03 ---> saved as "30b087cc0951b71bc4542739c96dab8158a87784cce1ff005bd69ef9dac0d4c0"
/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 \"\\\"debian-unstable\\\"\"; 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 "\"debian-unstable\""; 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-10-17 14:09.16: Job failed: Failed: Build failed
2025-10-17 14:09.16: Log analysis:
2025-10-17 14:09.16: >>>
[ERROR] efl = 1.18.0: unmet availability conditions: 'opam-version < "2.2"'
(score = 100)
2025-10-17 14:09.16: [SKIP] Package not available