- github
- ocaml
- opam-repository
- 3ff349
- distributions,debian-12-ocaml-5.4,stdcompat.17
(not at the head of any monitored branch or PR)
2026-04-08 03:59.26: New job: build stdcompat.17, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/29667/head (3ff349ae2cd8702ef7a5124f6b5cdbaaf3350d51)
on debian-12-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/29667/head" && git reset --hard 3ff349ae
git fetch origin master
git merge --no-edit 67472cd54293d750a62d6d4423024d55f77268b0
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-5.4@sha256:8b9fb9d414534f4e1e59aa87f290f8ca6bd037f501fbdb26b199be5db9a79d54
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 stdcompat.17 17
RUN opam reinstall stdcompat.17; \
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-12\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'stdcompat.17' && 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-04-08 03:59.26: Using cache hint "ocaml/opam:debian-12-ocaml-5.4@sha256:8b9fb9d414534f4e1e59aa87f290f8ca6bd037f501fbdb26b199be5db9a79d54-stdcompat.17-3ff349ae2cd8702ef7a5124f6b5cdbaaf3350d51"
2026-04-08 03:59.26: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.4@sha256:8b9fb9d414534f4e1e59aa87f290f8ca6bd037f501fbdb26b199be5db9a79d54)
(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 stdcompat.17 17"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall stdcompat.17;\
\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-12\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'stdcompat.17' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
)
2026-04-08 03:59.26: Waiting for resource in pool OCluster
2026-04-08 04:13.16: Waiting for worker…
2026-04-08 04:14.24: Got resource from pool OCluster
Building on odawa.caelum.ci.dev
All commits already cached
HEAD is now at 67472cd542 Merge pull request #29652 from RyanGibb/master
Updating 67472cd542..3ff349ae2c
Fast-forward
packages/stdcompat/stdcompat.0/opam | 2 +-
packages/stdcompat/stdcompat.1/opam | 2 +-
packages/stdcompat/stdcompat.15/opam | 2 +-
packages/stdcompat/stdcompat.16/opam | 2 +-
packages/stdcompat/stdcompat.17/opam | 2 +-
packages/stdcompat/stdcompat.18/opam | 2 +-
packages/stdcompat/stdcompat.19/opam | 2 +-
packages/stdcompat/stdcompat.20.0/opam | 2 +-
packages/stdcompat/stdcompat.20.1/opam | 2 +-
packages/stdcompat/stdcompat.21.0/opam | 2 +-
packages/stdcompat/stdcompat.21.1/opam | 2 +-
11 files changed, 11 insertions(+), 11 deletions(-)
(from ocaml/opam:debian-12-ocaml-5.4@sha256:8b9fb9d414534f4e1e59aa87f290f8ca6bd037f501fbdb26b199be5db9a79d54)
Unable to find image 'ocaml/opam:debian-12-ocaml-5.4@sha256:8b9fb9d414534f4e1e59aa87f290f8ca6bd037f501fbdb26b199be5db9a79d54' locally
docker.io/ocaml/opam@sha256:8b9fb9d414534f4e1e59aa87f290f8ca6bd037f501fbdb26b199be5db9a79d54: Pulling from ocaml/opam
9d2f29087bcd: Already exists
101327095a5d: Already exists
98cc0db8782e: Already exists
9a1303601e6e: Already exists
80a3ba3c39f2: Already exists
6ffa83066c0d: Already exists
cd084dc2269b: Already exists
6387e3814e06: Already exists
dc5cd148c772: Already exists
05eb72e358de: Already exists
354ef4e48d44: Already exists
119252ebf51a: Already exists
53bd56e42b7e: Already exists
e2825bf868f2: Already exists
897e79ccfa99: Already exists
62519bb8e321: Already exists
0d043502090c: Already exists
342776e796e7: Already exists
6e021e6cce07: Already exists
32c75dee3288: Already exists
3d7f482cbe6c: Already exists
1d5eef19dce2: Already exists
4f4fb700ef54: Already exists
0f7d1fbe5ccd: Already exists
42bfbb5f040b: Already exists
607ddff156bd: Already exists
933b272ce764: Already exists
e310dc17a7b2: Already exists
81ec099b0323: Already exists
acb956666233: Already exists
d761168a5daf: Already exists
dee9f8fb3c11: Already exists
3268b5da1fd9: Already exists
b4345538540c: Already exists
0597523f21c8: Already exists
6ad3b96599c0: Already exists
bca510d57df4: Already exists
523a23e186ee: Already exists
64ce3d0617dd: Already exists
3cf630b9d453: Already exists
2286f0637105: Already exists
69d5c32a7431: Pulling fs layer
1d4dfd312d67: Pulling fs layer
2a45a710c27c: Pulling fs layer
ec4151db8b24: Pulling fs layer
fa62ef87998c: Pulling fs layer
ec4151db8b24: Waiting
9d0ed048168a: Pulling fs layer
6089c5804b91: Pulling fs layer
fa62ef87998c: Waiting
9d0ed048168a: Waiting
6089c5804b91: Waiting
1d4dfd312d67: Download complete
2a45a710c27c: Verifying Checksum
2a45a710c27c: Download complete
69d5c32a7431: Verifying Checksum
69d5c32a7431: Download complete
69d5c32a7431: Pull complete
1d4dfd312d67: Pull complete
2a45a710c27c: Pull complete
fa62ef87998c: Download complete
9d0ed048168a: Verifying Checksum
9d0ed048168a: Download complete
6089c5804b91: Download complete
ec4151db8b24: Verifying Checksum
ec4151db8b24: Download complete
ec4151db8b24: Pull complete
fa62ef87998c: Pull complete
9d0ed048168a: Pull complete
6089c5804b91: Pull complete
Digest: sha256:8b9fb9d414534f4e1e59aa87f290f8ca6bd037f501fbdb26b199be5db9a79d54
Status: Downloaded newer image for ocaml/opam@sha256:8b9fb9d414534f4e1e59aa87f290f8ca6bd037f501fbdb26b199be5db9a79d54
2026-04-08 04:14.25 ---> using "2c866d4a1715dab3be837cc5076487caeb8b60492621372308acf93b1854fe38" 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-04-08 04:14.25 ---> using "1d6ddae8b8c1a9f26aa6cd4669a84811c58686e28bc85762993f76681c839d0e" 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-04-08 04:14.25 ---> using "1242a861ca97c179aea0393024c189f372daf092bad8ea272c198f9ff43347fc" 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.0
# self-upgrade no
# system arch=x86_64 os=linux os-distribution=debian os-version=12
# solver builtin-0install
# install-criteria -changed,-count[avoid-version,solution]
# upgrade-criteria -count[avoid-version,solution]
# jobs 255
# 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-04-08 04:14.25 ---> using "e8fa3dc18231266a38e426e249ae4cdc977de4a8f4add3be959cbc54ae38ac98" 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-04-08 04:14.25 ---> using "fd5d02c45d2a4ccbb1a73e78b7e7c5c9d94cfcd825341cb180cd7b54d4b40507" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2026-04-08 04:14.31 ---> saved as "e5771c4216720e0207e0dcf5043000406a1d4dd983cf5c00728d329412a86e45"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-04-08 04:14.48 ---> saved as "25ae523f72621e6cce3a39437ab92fee734064e981a009dcdab3d0809d1398d9"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian bookworm InRelease
- Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
- Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
- Get:4 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [294 kB]
- Fetched 398 kB in 0s (1361 kB/s)
- Reading package lists...
2026-04-08 04:14.48 ---> saved as "9652a040b90e2b64b254cb26b663a423b2a04ee19d60ae33d910f0d4f4d8687a"
/home/opam: (run (shell "opam pin add -k version -yn stdcompat.17 17"))
stdcompat is now pinned to version 17
2026-04-08 04:14.49 ---> saved as "99d1b86860c13f2f7eb0621fa9147b1db392f7a2b0f1c589937a0b5f01d79fe5"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall stdcompat.17;\
\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-12\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'stdcompat.17' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
stdcompat.17 is not installed. Install it? [Y/n] y
* Incompatible packages:
- (invariant) -> ocaml-base-compiler = 5.4.1
- stdcompat = 17 -> ocaml < 5.0 -> dkml-base-compiler
You can temporarily relax the switch invariant with `--update-invariant'
* Incompatible packages:
- (invariant) -> ocaml-base-compiler = 5.4.1
- stdcompat = 17 -> ocaml < 5.0 -> ocaml-variants
* Missing dependency:
- stdcompat = 17 -> ocaml < 5.0 -> 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:
- stdcompat = 17 -> ocaml < 5.0 -> ocaml-variants -> ocaml-beta
unmet availability conditions: 'enable-ocaml-beta-repository'
* Missing dependency:
- stdcompat = 17 -> ocaml < 5.0 -> ocaml-variants -> system-msvc
unmet availability conditions: 'os = "win32"'
No solution found, exiting
"/usr/bin/env" "bash" "-c" "opam reinstall stdcompat.17;
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-12\""; then
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.";
fi;
test "$pkg" != 'stdcompat.17' && 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-04-08 04:15.04: Job failed: Failed: Build failed
2026-04-08 04:15.04: Log analysis:
2026-04-08 04:15.04: >>>
No solution found, exiting
(score = 100)
2026-04-08 04:15.04: [SKIP] Package not available