(for PR #29233)
2026-01-17 14:54.41: New job: build restricted.1.2.0, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/29233/head (d6c2a3a1ddf4f76798c0b8ca62fa72ad16336102)
on ubuntu-25.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/29233/head" && git reset --hard d6c2a3a1
git fetch origin master
git merge --no-edit 6bda456f941d6c1e0773fcb1fd57c0eb54b8a2c1
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-25.10-ocaml-5.4@sha256:eab03cfc154e050134afb9324bfc335dd0f5cb340f1eb8b13fc682ed6f42164d
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 restricted.1.2.0 1.2.0
RUN opam reinstall restricted.1.2.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 "\"ubuntu-25.10\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'restricted.1.2.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-01-17 14:54.41: Using cache hint "ocaml/opam:ubuntu-25.10-ocaml-5.4@sha256:eab03cfc154e050134afb9324bfc335dd0f5cb340f1eb8b13fc682ed6f42164d-restricted.1.2.0-d6c2a3a1ddf4f76798c0b8ca62fa72ad16336102"
2026-01-17 14:54.41: Using OBuilder spec:
((from ocaml/opam:ubuntu-25.10-ocaml-5.4@sha256:eab03cfc154e050134afb9324bfc335dd0f5cb340f1eb8b13fc682ed6f42164d)
(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 restricted.1.2.0 1.2.0"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall restricted.1.2.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 \"\\\"ubuntu-25.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\" != 'restricted.1.2.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-01-17 14:54.41: Waiting for resource in pool OCluster
2026-01-17 14:54.41: Waiting for worker…
2026-01-17 14:54.41: Got resource from pool OCluster
Building on clete
All commits already cached
HEAD is now at 6bda456f94 Merge pull request #29229 from elias-utf8/opam-publish-qcaml.0.1.7
Updating 6bda456f94..d6c2a3a1dd
Fast-forward
packages/restricted/restricted.1.2.0/opam | 48 +++++++++++++++++++++++++++++++
1 file changed, 48 insertions(+)
create mode 100644 packages/restricted/restricted.1.2.0/opam
(from ocaml/opam:ubuntu-25.10-ocaml-5.4@sha256:eab03cfc154e050134afb9324bfc335dd0f5cb340f1eb8b13fc682ed6f42164d)
Unable to find image 'ocaml/opam:ubuntu-25.10-ocaml-5.4@sha256:eab03cfc154e050134afb9324bfc335dd0f5cb340f1eb8b13fc682ed6f42164d' locally
docker.io/ocaml/opam@sha256:eab03cfc154e050134afb9324bfc335dd0f5cb340f1eb8b13fc682ed6f42164d: Pulling from ocaml/opam
16c195d4c5e9: Already exists
ea8d6f284f52: Already exists
a590f1caf60c: Already exists
95a0aba17fe6: Already exists
24604fb30e30: Already exists
bb7bc1b8d84e: Already exists
b52bcdd4741a: Already exists
8c668707afec: Already exists
c4692dd3f67a: Already exists
5eaf747da0d4: Already exists
dacd9c5006da: Already exists
f4da334a65ba: Already exists
ac7668965f73: Already exists
34d1263af20a: Already exists
a86b2aea8581: Already exists
32d4d471ed96: Already exists
b77ed416f3dc: Already exists
b77ed416f3dc: Already exists
d1055a5d5025: Already exists
202c9ab5b2cc: Already exists
5c7364b10079: Already exists
f1b0581b7244: Already exists
4f4fb700ef54: Already exists
9fa3330063e0: Already exists
2713ff50a5c7: Already exists
42b31df89324: Already exists
cccb2a33229d: Already exists
f9eb1b0ba386: Already exists
cfa1b801ea0b: Already exists
731be0d7062d: Already exists
75483806616d: Already exists
61d580994fd0: Already exists
369979efbe7c: Already exists
3dcb2f554fbb: Already exists
e1eaa3dbc066: Already exists
bb45476b0f8e: Already exists
530fce115371: Already exists
fb7cddf53135: Already exists
fd3c4ec2a132: Already exists
809886565a24: Already exists
b7adeb70e5d2: Already exists
93d6b25a0f2c: Already exists
b7f94c26092e: Already exists
2f3c581aea92: Already exists
7c0e80be0075: Already exists
75b2f1ee103f: Already exists
5b17a385367e: Already exists
d4ded4b7f699: Already exists
Digest: sha256:eab03cfc154e050134afb9324bfc335dd0f5cb340f1eb8b13fc682ed6f42164d
Status: Downloaded newer image for ocaml/opam@sha256:eab03cfc154e050134afb9324bfc335dd0f5cb340f1eb8b13fc682ed6f42164d
2026-01-17 14:55.02 ---> using "af32c03474fe19e80e592c8693340c8ce6655469affb5fd3412b6c6978beb304" 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-01-17 14:55.02 ---> using "4199a8b9e11a60a06fae1a5ae84f5259a660635f8b1a4723ae73b8223226bdf0" 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-01-17 14:55.02 ---> using "dc624c7508a0cdbe53c66cb2ecc6002fd3b03c3935e091048061be5068ddcdcb" 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=ubuntu os-version=25.10
# 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-01-17 14:55.02 ---> using "82cd2557eb00afa796b715102cd874c4f648e237e8bd2c2ad86c4a214f186643" 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-01-17 14:55.02 ---> using "72492d224b5cf4e1869a9a128edee1fdc3bafed4770c474ca4244a8141660054" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2026-01-17 14:55.14 ---> saved as "3fb8edb1e9c52f110cdcc31fc0e0f9ccb1a4fef31e60f1b80a794cece97affca"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-01-17 14:55.34 ---> saved as "07d00293fdeddcbaa51d3b33517e8d6feac77f2236f795f1bbc207435d5daf0b"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://archive.ubuntu.com/ubuntu questing InRelease
- Get:2 http://archive.ubuntu.com/ubuntu questing-updates InRelease [136 kB]
- Get:3 http://security.ubuntu.com/ubuntu questing-security InRelease [136 kB]
- Get:4 http://archive.ubuntu.com/ubuntu questing-backports InRelease [133 kB]
- Get:5 http://security.ubuntu.com/ubuntu questing-security/restricted amd64 Packages [120 kB]
- Get:6 http://archive.ubuntu.com/ubuntu questing-updates/universe amd64 Packages [169 kB]
- Get:7 http://archive.ubuntu.com/ubuntu questing-updates/main amd64 Packages [295 kB]
- Get:8 http://security.ubuntu.com/ubuntu questing-security/main amd64 Packages [174 kB]
- Get:9 http://security.ubuntu.com/ubuntu questing-security/universe amd64 Packages [114 kB]
- Fetched 1277 kB in 0s (8216 kB/s)
- Reading package lists...
-
2026-01-17 14:55.35 ---> saved as "b790f93a1ec666da92785a42e0abe2c5c893072c0ac380acd4545e1f00b05f0b"
/home/opam: (run (shell "opam pin add -k version -yn restricted.1.2.0 1.2.0"))
restricted is now pinned to version 1.2.0
2026-01-17 14:55.36 ---> saved as "10b257ec345099f929ca99fac5e6d648b0363843bf286191b26704a053d98c60"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall restricted.1.2.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 \"\\\"ubuntu-25.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\" != 'restricted.1.2.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] restricted = 1.2.0: unmet availability conditions: 'os-family != "debian"'
"/usr/bin/env" "bash" "-c" "opam reinstall restricted.1.2.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 "\"ubuntu-25.10\""; then
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.";
fi;
test "$pkg" != 'restricted.1.2.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
2026-01-17 14:55.58: Job failed: Failed: Build failed
2026-01-17 14:55.58: Log analysis:
2026-01-17 14:55.58: >>>
[ERROR] restricted = 1.2.0: unmet availability conditions: 'os-family != "debian"'
(score = 100)
2026-01-17 14:55.58: [SKIP] Package not available