- github
- ocaml
- opam-repository
- 9346fc
- distributions,ubuntu-22.04-ocaml-5.4,ocaml-option-clang-cl.1
(not at the head of any monitored branch or PR)
2026-03-23 00:43.59: New job: build ocaml-option-clang-cl.1, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/29582/head (9346fc968dbf5116a1b2dd2b5e0143bc06e9fa98)
on ubuntu-22.04-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/29582/head" && git reset --hard 9346fc96
git fetch origin master
git merge --no-edit 76bf2ed9443fdee37e6f046c6295d358be3f8598
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-22.04-ocaml-5.4@sha256:e4dfcae6e38f838fabf685c7211c2fe7c093177ca2950941eee47cbecc201af9
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 ocaml-option-clang-cl.1 1
RUN opam reinstall ocaml-option-clang-cl.1; \
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-22.04\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'ocaml-option-clang-cl.1' && 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-03-23 00:43.59: Using cache hint "ocaml/opam:ubuntu-22.04-ocaml-5.4@sha256:e4dfcae6e38f838fabf685c7211c2fe7c093177ca2950941eee47cbecc201af9-ocaml-option-clang-cl.1-9346fc968dbf5116a1b2dd2b5e0143bc06e9fa98"
2026-03-23 00:43.59: Using OBuilder spec:
((from ocaml/opam:ubuntu-22.04-ocaml-5.4@sha256:e4dfcae6e38f838fabf685c7211c2fe7c093177ca2950941eee47cbecc201af9)
(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 ocaml-option-clang-cl.1 1"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall ocaml-option-clang-cl.1;\
\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-22.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\" != 'ocaml-option-clang-cl.1' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
)
2026-03-23 00:43.59: Waiting for resource in pool OCluster
2026-03-23 00:51.02: Waiting for worker…
2026-03-23 00:55.53: Got resource from pool OCluster
Building on eumache
All commits already cached
Updating files: 70% (13023/18510)
Updating files: 71% (13143/18510)
Updating files: 72% (13328/18510)
Updating files: 73% (13513/18510)
Updating files: 74% (13698/18510)
Updating files: 75% (13883/18510)
Updating files: 76% (14068/18510)
Updating files: 77% (14253/18510)
Updating files: 78% (14438/18510)
Updating files: 79% (14623/18510)
Updating files: 80% (14808/18510)
Updating files: 81% (14994/18510)
Updating files: 82% (15179/18510)
Updating files: 83% (15364/18510)
Updating files: 84% (15549/18510)
Updating files: 85% (15734/18510)
Updating files: 86% (15919/18510)
Updating files: 87% (16104/18510)
Updating files: 88% (16289/18510)
Updating files: 89% (16474/18510)
Updating files: 90% (16659/18510)
Updating files: 91% (16845/18510)
Updating files: 92% (17030/18510)
Updating files: 93% (17215/18510)
Updating files: 94% (17400/18510)
Updating files: 95% (17585/18510)
Updating files: 96% (17770/18510)
Updating files: 97% (17955/18510)
Updating files: 98% (18140/18510)
Updating files: 99% (18325/18510)
Updating files: 100% (18510/18510)
Updating files: 100% (18510/18510), done.
HEAD is now at 76bf2ed944 Merge pull request #29572 from hannesm/release-letsencrypt-v2.0.0
Updating 76bf2ed944..9346fc968d
Fast-forward
packages/ocaml-compiler/ocaml-compiler.5.3.0/opam | 2 ++
packages/ocaml-compiler/ocaml-compiler.5.3/opam | 2 ++
packages/ocaml-compiler/ocaml-compiler.5.4.0/opam | 2 ++
packages/ocaml-compiler/ocaml-compiler.5.4.0~alpha1/opam | 2 ++
packages/ocaml-compiler/ocaml-compiler.5.4.0~beta1/opam | 2 ++
packages/ocaml-compiler/ocaml-compiler.5.4.0~beta2/opam | 2 ++
packages/ocaml-compiler/ocaml-compiler.5.4.0~rc1/opam | 2 ++
packages/ocaml-compiler/ocaml-compiler.5.4.1/opam | 2 ++
packages/ocaml-compiler/ocaml-compiler.5.4/opam | 2 ++
packages/ocaml-compiler/ocaml-compiler.5.5.0~alpha1/opam | 2 ++
packages/ocaml-compiler/ocaml-compiler.5.5/opam | 2 ++
packages/ocaml-compiler/ocaml-compiler.5.6/opam | 2 ++
packages/ocaml-option-clang-cl/ocaml-option-clang-cl.1/opam | 13 +++++++++++++
packages/ocaml-options-vanilla/ocaml-options-vanilla.1/opam | 1 +
packages/ocaml-variants/ocaml-variants.5.2.0+msvc/opam | 2 ++
15 files changed, 40 insertions(+)
create mode 100644 packages/ocaml-option-clang-cl/ocaml-option-clang-cl.1/opam
(from ocaml/opam:ubuntu-22.04-ocaml-5.4@sha256:e4dfcae6e38f838fabf685c7211c2fe7c093177ca2950941eee47cbecc201af9)
Unable to find image 'ocaml/opam:ubuntu-22.04-ocaml-5.4@sha256:e4dfcae6e38f838fabf685c7211c2fe7c093177ca2950941eee47cbecc201af9' locally
docker.io/ocaml/opam@sha256:e4dfcae6e38f838fabf685c7211c2fe7c093177ca2950941eee47cbecc201af9: Pulling from ocaml/opam
b1cba2e842ca: Already exists
421afdaed246: Already exists
4f870a39d887: Already exists
55a213a632b1: Already exists
45b4d0733e62: Already exists
3aeb1fde2a5c: Already exists
aafef83927b6: Already exists
bcf6200713a7: Already exists
44126a1f4f31: Already exists
640d0ce4ea89: Already exists
b5d13c755b81: Already exists
d4f408980979: Already exists
a89dafa13071: Already exists
636fd786dcef: Already exists
31dae2391bd4: Already exists
8b28883ae878: Already exists
4a187d75ee24: Already exists
4a187d75ee24: Already exists
4f4fb700ef54: Already exists
15ef0a4fe052: Already exists
81aef10b7468: Already exists
8492c04426b2: Already exists
4f4fb700ef54: Already exists
931be6b45df3: Already exists
b3b41b093e1c: Already exists
c66a499f18f1: Already exists
dc859d65a979: Already exists
f9a4b7e83cbc: Already exists
8406175b74f2: Already exists
d8a867e68b39: Already exists
1b4507b9d94f: Already exists
86753f729f41: Already exists
bb1554100fd0: Already exists
79f063451047: Already exists
af19aefa8c28: Already exists
18ae77be10c6: Already exists
23748796c9e7: Already exists
8a87c1d60ed6: Already exists
f59dc0679c75: Already exists
d71672fc129c: Already exists
44dd0ab5fdef: Already exists
edadc98b94f2: Already exists
5594968993e8: Already exists
9f6b7b34fd6d: Already exists
fae525a8fdf7: Already exists
250c7a686cbe: Already exists
5230fa14e4cf: Already exists
864dff2bbd6b: Already exists
Digest: sha256:e4dfcae6e38f838fabf685c7211c2fe7c093177ca2950941eee47cbecc201af9
Status: Downloaded newer image for ocaml/opam@sha256:e4dfcae6e38f838fabf685c7211c2fe7c093177ca2950941eee47cbecc201af9
2026-03-23 00:55.56 ---> using "a494baecbb94e7af4729d4c2ae860efde3ac6b3dc163dcb8423239dae5deadc4" 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-03-23 00:55.57 ---> saved as "6f2639a5564351e69f4f40c6c894e606e177ccae6e98ecabff0cad933b576055"
/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-03-23 00:56.39 ---> saved as "43265c4572944c82427162f15ebbccd25ab722131f4adf4abfdfd12224670816"
/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=ubuntu os-version=22.04
# 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
2026-03-23 00:56.41 ---> saved as "48e6eff73b2ea30793b4fb9be93fb662b27dfe06de97dc8dbac91023200c9e4e"
/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-03-23 00:56.52 ---> saved as "3025014d1a6a5c6d705fcf0d6762d698b02dee2a4e77830e395f8c4720c05ac5"
/home/opam: (copy (src .) (dst opam-repository/))
2026-03-23 00:57.03 ---> saved as "cdf2f82f141007973f654e5e87b55bd18f38c71f39ded992133bc0f35b87090b"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-03-23 00:57.28 ---> saved as "40b1e25a965cc9f4b470c72059b91ad0a793ede868baba3e0d9d3a0b10ad54e3"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://security.ubuntu.com/ubuntu jammy-security InRelease [129 kB]
- Get:2 http://security.ubuntu.com/ubuntu jammy-security/restricted amd64 Packages [6794 kB]
- Hit:3 http://archive.ubuntu.com/ubuntu jammy InRelease
- Get:4 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [128 kB]
- Get:5 http://archive.ubuntu.com/ubuntu jammy-backports InRelease [127 kB]
- Get:6 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [4170 kB]
- Get:7 http://archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 Packages [7002 kB]
- Get:8 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 Packages [1303 kB]
- Get:9 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages [3836 kB]
- Get:10 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [1615 kB]
- Get:11 http://archive.ubuntu.com/ubuntu jammy-backports/universe amd64 Packages [35.6 kB]
- Get:12 http://archive.ubuntu.com/ubuntu jammy-backports/main amd64 Packages [84.0 kB]
- Fetched 25.2 MB in 3s (10.0 MB/s)
- Reading package lists...
-
2026-03-23 00:57.34 ---> saved as "5d028dcd4a20cf18d492e91f44c25f084d211909a0fdf609ffba0c2a02418e61"
/home/opam: (run (shell "opam pin add -k version -yn ocaml-option-clang-cl.1 1"))
ocaml-option-clang-cl is now pinned to version 1
2026-03-23 00:57.36 ---> saved as "1186b72122806b1c0d3667b49c9d769090c37516bc5acc665a4cc8abdf9164a7"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall ocaml-option-clang-cl.1;\
\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-22.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\" != 'ocaml-option-clang-cl.1' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
[ERROR] ocaml-option-clang-cl = 1: unmet availability conditions: 'os = "win32"'
"/usr/bin/env" "bash" "-c" "opam reinstall ocaml-option-clang-cl.1;
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-22.04\""; then
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.";
fi;
test "$pkg" != 'ocaml-option-clang-cl.1' && 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
2026-03-23 00:57.48: Job failed: Failed: Build failed
2026-03-23 00:57.48: Log analysis:
2026-03-23 00:57.48: >>>
[ERROR] ocaml-option-clang-cl = 1: unmet availability conditions: 'os = "win32"'
(score = 100)
2026-03-23 00:57.48: [SKIP] Package not available