(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 opensuse-15.6-ocaml-4.14/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:opensuse-15.6-ocaml-4.14@sha256:ac94a3f6dbf24bc7d405e09fb4697a6f82ff2e417e3adb63dd8491c1141ab4a3
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 "\"opensuse-15.6\""; 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:opensuse-15.6-ocaml-4.14@sha256:ac94a3f6dbf24bc7d405e09fb4697a6f82ff2e417e3adb63dd8491c1141ab4a3-restricted.1.2.0-d6c2a3a1ddf4f76798c0b8ca62fa72ad16336102"
2026-01-17 14:54.41: Using OBuilder spec:
((from ocaml/opam:opensuse-15.6-ocaml-4.14@sha256:ac94a3f6dbf24bc7d405e09fb4697a6f82ff2e417e3adb63dd8491c1141ab4a3)
(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 \"\\\"opensuse-15.6\\\"\"; 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.42: Got resource from pool OCluster
Building on eumache
All commits already cached
Updating files: 99% (19110/19221)
Updating files: 100% (19221/19221)
Updating files: 100% (19221/19221), done.
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:opensuse-15.6-ocaml-4.14@sha256:ac94a3f6dbf24bc7d405e09fb4697a6f82ff2e417e3adb63dd8491c1141ab4a3)
Unable to find image 'ocaml/opam:opensuse-15.6-ocaml-4.14@sha256:ac94a3f6dbf24bc7d405e09fb4697a6f82ff2e417e3adb63dd8491c1141ab4a3' locally
docker.io/ocaml/opam@sha256:ac94a3f6dbf24bc7d405e09fb4697a6f82ff2e417e3adb63dd8491c1141ab4a3: Pulling from ocaml/opam
bda279763dd4: Already exists
3c0ad83811e0: Already exists
993a24bb2a91: Already exists
2361a40c83ee: Already exists
eb940a926d29: Already exists
706b78ba2c28: Already exists
8d31a58854d5: Already exists
88ff135c9e24: Already exists
20b7fd69972e: Already exists
de3ebe8e9aa0: Already exists
a3d2c9773717: Already exists
5e9f2456efd2: Already exists
75590365950e: Already exists
c77c8680ed71: Already exists
47e6b543e314: Already exists
e2884a169069: Already exists
fa121332de89: Already exists
28995ffe8f0e: Already exists
28995ffe8f0e: Already exists
4f4fb700ef54: Already exists
4f9440c5ea6c: Already exists
3888436df689: Already exists
7d6a7e5eeb4b: Already exists
70c75d201502: Already exists
d7fc77799b19: Already exists
769c169e20e5: Already exists
384c31d15508: Already exists
2ab704f88309: Already exists
ba5471b75ac5: Already exists
8a397a786bf2: Already exists
d0efcce756ae: Already exists
c550c123b37a: Already exists
6b2dc5f63275: Already exists
a2abff838657: Already exists
b64a70232a2d: Already exists
b3f01f597b41: Already exists
5d8330d550d8: Already exists
bc391a03af1f: Already exists
978553827aa0: Already exists
509cb7a960b9: Already exists
882fae9ce323: Already exists
d31d7a67648a: Already exists
Digest: sha256:ac94a3f6dbf24bc7d405e09fb4697a6f82ff2e417e3adb63dd8491c1141ab4a3
Status: Downloaded newer image for ocaml/opam@sha256:ac94a3f6dbf24bc7d405e09fb4697a6f82ff2e417e3adb63dd8491c1141ab4a3
2026-01-17 14:55.35 ---> using "4ecc09ac574f9a47d0ca76f242542d4a7f46fa9cb39d830d6a64fa07f6bb372d" 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.35 ---> using "79a8c071f2a96539a96e28ad7bb696251839d1221e6dd6b6b507c388b04ad227" 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.35 ---> using "e6ad25e9c09cef88e89831fe38784bc88a6599606cc2e65290674c1e022effd5" 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=opensuse-leap os-version=15.6
# 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 4.14
# invariant ["ocaml-base-compiler" {= "4.14.2"}]
# compiler-packages ocaml-base-compiler.4.14.2, ocaml-options-vanilla.1
# ocaml:native true
# ocaml:native-tools true
# ocaml:native-dynlink true
# ocaml:stubsdir /home/opam/.opam/4.14/lib/ocaml/stublibs:/home/opam/.opam/4.14/lib/ocaml
# ocaml:preinstalled false
# ocaml:compiler 4.14.2
2026-01-17 14:55.35 ---> using "4e28f9e56aeab603c0e61ad80e0f75748ae986a8f09c544f7dd7ffa0fec82576" 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.35 ---> using "d2baa7d8655b643a50fa379dd11cee556c24b92eb848d27db007298b7fcd9861" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2026-01-17 14:55.44 ---> saved as "47768f1f50244df5382e240e0ca21cb68b09c0395523872b8b953afd0cb70e18"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-01-17 14:56.04 ---> saved as "8dfda089c837f1f103b79af9d548bb9970b59d9e6a189563c6b56b58fb4005a0"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "zypper" "--non-interactive" "refresh"
- Retrieving repository 'Update repository of openSUSE Backports' metadata [..
- Looking for gpg keys in repository Update repository of openSUSE Backports.
- gpgkey=http://download.opensuse.org/update/leap/15.6/backports/repodata/repomd.xml.key
- ....
- ....
- ....
- ...........done]
- Building repository 'Update repository of openSUSE Backports' cache [..
- ..done]
- Retrieving repository 'Update repository with updates from SUSE Linux Enterprise 15' metadata [..
- Looking for gpg keys in repository Update repository with updates from SUSE Linux Enterprise 15.
- gpgkey=http://download.opensuse.org/update/leap/15.6/sle/repodata/repomd.xml.key
- .
- ......
- ....
- ...........
- .....
- .....
- .........
- .........
- ........
- .........
- .........
- ........
- ..........
- ........
- ....
- ......
- ........
- ........
- .........
- ........
- ........
- ...........
- .done]
- Building repository 'Update repository with updates from SUSE Linux Enterprise 15' cache [..
- ..done]
- Retrieving repository 'Main Update Repository' metadata [..
- Looking for gpg keys in repository Main Update Repository.
- gpgkey=http://download.opensuse.org/update/leap/15.6/oss/repodata/repomd.xml.key
- .....
- ....
- ......
- ........done]
- Building repository 'Main Update Repository' cache [....done]
- Retrieving repository 'Update Repository (Non-Oss)' metadata [..
- Looking for gpg keys in repository Update Repository (Non-Oss).
- gpgkey=http://download.opensuse.org/update/leap/15.6/non-oss/repodata/repomd.xml.key
- .
- ......
- ....
- ............done]
- Building repository 'Update Repository (Non-Oss)' cache [....done]
- Repository 'Non-OSS Repository' is up to date.
- Repository 'Main Repository' is up to date.
- All repositories have been refreshed.
2026-01-17 14:57.05 ---> saved as "932ee48b83c36cf85bde5a380dd19e2e3790ab0e2bf8cb3d0dcaa6ddc9565afe"
/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:57.06 ---> saved as "5e61bdea664add789939489c7c385e98f82929bc7c597a134d9b54baea4083f2"
/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 \"\\\"opensuse-15.6\\\"\"; 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"))
restricted.1.2.0 is not installed. Install it? [Y/n] y
* No agreement on the version of ocaml:
- (invariant) -> ocaml-base-compiler = 4.14.2 -> ocaml = 4.14.2
- restricted >= 1.2.0 -> ocaml >= 5.1.0
You can temporarily relax the switch invariant with `--update-invariant'
* Incompatible packages:
- (invariant) -> ocaml-base-compiler = 4.14.2
- restricted >= 1.2.0 -> ocaml >= 5.1.0 -> ocaml-variants >= 5.4.1~
No solution found, exiting
"/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 "\"opensuse-15.6\""; 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 20
2026-01-17 14:57.17: Job failed: Failed: Build failed
2026-01-17 14:57.17: Log analysis:
2026-01-17 14:57.17: >>>
No solution found, exiting
(score = 100)
2026-01-17 14:57.17: [SKIP] Package not available