- github
- ocaml
- opam-repository
- 3ff349
- distributions,centos-10-ocaml-5.4,stdcompat.20.0
(not at the head of any monitored branch or PR)
2026-04-08 03:59.26: New job: build stdcompat.20.0, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/29667/head (3ff349ae2cd8702ef7a5124f6b5cdbaaf3350d51)
on centos-10-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:centos-10-ocaml-5.4@sha256:3df8ea95f3a1a29bc6054c6ae4135d638fcbcd3bced114f5ef8a492d1c5705b5
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.20.0 20.0
RUN opam reinstall stdcompat.20.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 "\"centos-10\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'stdcompat.20.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-04-08 03:59.26: Using cache hint "ocaml/opam:centos-10-ocaml-5.4@sha256:3df8ea95f3a1a29bc6054c6ae4135d638fcbcd3bced114f5ef8a492d1c5705b5-stdcompat.20.0-3ff349ae2cd8702ef7a5124f6b5cdbaaf3350d51"
2026-04-08 03:59.26: Using OBuilder spec:
((from ocaml/opam:centos-10-ocaml-5.4@sha256:3df8ea95f3a1a29bc6054c6ae4135d638fcbcd3bced114f5ef8a492d1c5705b5)
(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.20.0 20.0"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall stdcompat.20.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 \"\\\"centos-10\\\"\"; 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.20.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-04-08 03:59.26: Waiting for resource in pool OCluster
2026-04-08 04:13.27: Waiting for worker…
2026-04-08 04:14.25: 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:centos-10-ocaml-5.4@sha256:3df8ea95f3a1a29bc6054c6ae4135d638fcbcd3bced114f5ef8a492d1c5705b5)
Unable to find image 'ocaml/opam:centos-10-ocaml-5.4@sha256:3df8ea95f3a1a29bc6054c6ae4135d638fcbcd3bced114f5ef8a492d1c5705b5' locally
docker.io/ocaml/opam@sha256:3df8ea95f3a1a29bc6054c6ae4135d638fcbcd3bced114f5ef8a492d1c5705b5: Pulling from ocaml/opam
389319a4fdad: Already exists
ea3c761fa9fe: Already exists
f484e802f90f: Already exists
91a9e9cef4df: Already exists
a5da9e6ce421: Already exists
1ae8e23b13b7: Already exists
20b25ae12b8e: Already exists
0f3616e39c05: Already exists
b3dc15898c46: Already exists
d20bd6c6fd95: Already exists
fe40943cd426: Already exists
e2df2bc9928f: Already exists
dbb2bc376d4d: Already exists
b8962c94fa34: Already exists
de277c3ed471: Already exists
0e23d428ec56: Already exists
0c43a4f87178: Already exists
5e2672fa552b: Already exists
5e2672fa552b: Already exists
d42a484616d0: Already exists
ad3631267861: Already exists
41c9a141625d: Already exists
bc09b3f946f9: Already exists
4f4fb700ef54: Already exists
833c7dc17211: Already exists
b7c7e42680b2: Already exists
96003706115c: Already exists
0beeb1bbed27: Already exists
535d3457fbf9: Already exists
af893af48cc7: Already exists
36ea7bc623af: Already exists
db86fd53d6b3: Already exists
6aff0ae9cc98: Already exists
4b17ecca9ee3: Already exists
ffdfe6acc837: Already exists
e0b24a5fde0d: Already exists
052405e3adc8: Already exists
ac971714f745: Already exists
c0c70709cdd7: Already exists
5076d2321f36: Already exists
266804a2087d: Already exists
589430d93f7d: Already exists
0d648297eaa3: Pulling fs layer
b5f1cadbed62: Pulling fs layer
8ec066557f07: Pulling fs layer
aacd17c8d557: Pulling fs layer
22e79693c8ad: Pulling fs layer
aacd17c8d557: Waiting
22e79693c8ad: Waiting
8ec066557f07: Download complete
aacd17c8d557: Download complete
0d648297eaa3: Verifying Checksum
0d648297eaa3: Download complete
0d648297eaa3: Pull complete
22e79693c8ad: Verifying Checksum
22e79693c8ad: Download complete
b5f1cadbed62: Verifying Checksum
b5f1cadbed62: Download complete
b5f1cadbed62: Pull complete
8ec066557f07: Pull complete
aacd17c8d557: Pull complete
22e79693c8ad: Pull complete
Digest: sha256:3df8ea95f3a1a29bc6054c6ae4135d638fcbcd3bced114f5ef8a492d1c5705b5
Status: Downloaded newer image for ocaml/opam@sha256:3df8ea95f3a1a29bc6054c6ae4135d638fcbcd3bced114f5ef8a492d1c5705b5
2026-04-08 04:14.52 ---> using "88880de3da5b8c322fa1ecbe905a8452c3b2ec69609c34286b83043c69b71ae2" 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.52 ---> using "f0f597da2a5fdae3656dc4447d8e7f2ea093f59fa531e148d7daed286696219c" 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.52 ---> using "8bcb729a55208b5f2eace737e1804bbfcaf5f914aeea3456c822735c32734841" 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=centos os-version=10
# 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.52 ---> using "1a9e9285c6ca841c0ece37a211302cdaffda21187ca180895636cc4f51b2657b" 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.52 ---> using "154a7402b918b18d517a0e77ecd324294030561883518915d047c0846720bdba" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2026-04-08 04:14.52 ---> using "cdf3a62c0b28bb68d80e95fc184151508a4c1ef9f5700aea38ee7620233bf62d" from cache
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-04-08 04:15.06 ---> saved as "80a7ecf2155eea0e54aad1d1a68bea176824afcf9955ecb571206fb8023a7b08"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "yum" "makecache"
- CentOS Stream 10 - BaseOS 19 kB/s | 10 kB 00:00
- CentOS Stream 10 - BaseOS 5.7 MB/s | 6.9 MB 00:01
- CentOS Stream 10 - AppStream 22 kB/s | 11 kB 00:00
- CentOS Stream 10 - AppStream 8.4 MB/s | 3.6 MB 00:00
- CentOS Stream 10 - CRB 118 kB/s | 10 kB 00:00
- CentOS Stream 10 - CRB 1.5 MB/s | 834 kB 00:00
- CentOS Stream 10 - Extras packages 174 kB/s | 16 kB 00:00
- Metadata cache created.
2026-04-08 04:15.12 ---> saved as "8e98fbd4488cfba6ffdebb8a7455a4f3381266d8751ac5a40942417982027354"
/home/opam: (run (shell "opam pin add -k version -yn stdcompat.20.0 20.0"))
stdcompat is now pinned to version 20.0
2026-04-08 04:15.12 ---> saved as "208eef44a38f663f6bc8d57c68b5ce0adeb74a6d2703d3e0120adef771001aa1"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall stdcompat.20.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 \"\\\"centos-10\\\"\"; 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.20.0' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
stdcompat.20.0 is not installed. Install it? [Y/n] y
* Incompatible packages:
- (invariant) -> ocaml-base-compiler = 5.4.1
- stdcompat = 20.0 -> ocaml < 5.3 -> dkml-base-compiler
You can temporarily relax the switch invariant with `--update-invariant'
* Incompatible packages:
- (invariant) -> ocaml-base-compiler = 5.4.1
- stdcompat = 20.0 -> ocaml < 5.3 -> ocaml-variants (< 4.05.2~ | >= 4.06.0)
* Missing dependency:
- stdcompat = 20.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:
- stdcompat = 20.0 -> ocaml < 5.3 -> ocaml-variants >= 4.06.0 -> ocaml-beta
unmet availability conditions: 'enable-ocaml-beta-repository'
* Missing dependency:
- stdcompat = 20.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 stdcompat.20.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 "\"centos-10\""; then
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.";
fi;
test "$pkg" != 'stdcompat.20.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-04-08 04:15.33: Job failed: Failed: Build failed
2026-04-08 04:15.33: Log analysis:
2026-04-08 04:15.33: >>>
No solution found, exiting
(score = 100)
2026-04-08 04:15.33: [SKIP] Package not available