(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-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:opensuse-15.6-ocaml-5.4@sha256:d264460107c6d3e2f8985a5d118e650e094a56cfa6e08e5863583cb27018057e
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-5.4@sha256:d264460107c6d3e2f8985a5d118e650e094a56cfa6e08e5863583cb27018057e-restricted.1.2.0-d6c2a3a1ddf4f76798c0b8ca62fa72ad16336102"
2026-01-17 14:54.41: Using OBuilder spec:
((from ocaml/opam:opensuse-15.6-ocaml-5.4@sha256:d264460107c6d3e2f8985a5d118e650e094a56cfa6e08e5863583cb27018057e)
(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 asteria.caelum.ci.dev
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:opensuse-15.6-ocaml-5.4@sha256:d264460107c6d3e2f8985a5d118e650e094a56cfa6e08e5863583cb27018057e)
2026-01-17 14:54.55 ---> using "28b3298281fb409c07f0d4d506c2c35a70f345c5fce05d1013d4fc371b3d3230" 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:54.55 ---> using "373900a96601762f71b34f48e27d67b9936e6d0abf8cc865c9eb428547b83d0a" 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
[NOTE] The 'jobs' option was reset, its value was 71 and its new value will vary according to the current number of cores on your machine. You can restore the fixed value using:
opam option jobs=71 --global
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2026-01-17 14:54.55 ---> using "13ae9f9bf1ea4fc88b67ab95a632ad2fe580a934f060fcaf311ada5a15d09751" 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 255
# 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:54.55 ---> using "8ed9c6ea164d6f4d7bd44bdeb55ead526408768bfa795dddf59d41d13c65f254" 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:54.55 ---> using "ba2a0663b7e5cb5c2c99fd288205214e76e4d6d8cb93d6f38590fb9ef9b5b745" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2026-01-17 14:55.06 ---> saved as "42e19b3181273908ce19a1bae6103364714b89f713123c9c130ef6e4169b2431"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-01-17 14:55.24 ---> saved as "fe58a233348997106f991b454ddd71f526d9151c03e94ac1a01d0d662307e83f"
/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:56.53 ---> saved as "6f196e04072edb4cf1b341db3d6397b1e702188db4e98924c812d26d1396f582"
/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:56.53 ---> saved as "e71f829c68b246bbae0049830402bc5a4121073d546943e0fe5358adbdd4a2c5"
/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
The following actions will be performed:
=== install 27 packages
- install base v0.17.3 [required by ppx_inline_test]
- install csexp 1.5.2 [required by dune-configurator]
- install dune 3.21.0 [required by restricted]
- install dune-configurator 3.21.0 [required by base]
- install jane-street-headers v0.17.0 [required by time_now]
- install jst-config v0.17.0 [required by time_now]
- install ocaml-compiler-libs v0.17.0 [required by ppxlib]
- install ocaml_intrinsics_kernel v0.17.1 [required by base]
- install ppx_assert v0.17.0 [required by jst-config]
- install ppx_base v0.17.0 [required by time_now]
- install ppx_cold v0.17.0 [required by ppx_base]
- install ppx_compare v0.17.0 [required by ppx_base]
- install ppx_derivers 1.2.1 [required by ppxlib]
- install ppx_enumerate v0.17.0 [required by ppx_base]
- install ppx_globalize v0.17.2 [required by ppx_base]
- install ppx_hash v0.17.0 [required by ppx_base]
- install ppx_here v0.17.0 [required by ppx_assert]
- install ppx_inline_test v0.17.1 [required by restricted]
- install ppx_optcomp v0.17.1 [required by time_now]
- install ppx_sexp_conv v0.17.1 [required by ppx_base]
- install ppxlib 0.37.0 [required by ppx_inline_test]
- install ppxlib_jane v0.17.4 [required by ppx_globalize, ppx_enumerate, ppx_hash]
- install restricted 1.2.0 (pinned)
- install sexplib0 v0.17.0 [required by base, ppxlib]
- install stdio v0.17.0 [required by ppx_optcomp]
- install stdlib-shims 0.3.0 [required by ppxlib]
- install time_now v0.17.0 [required by ppx_inline_test]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved base.v0.17.3 (cached)
-> retrieved csexp.1.5.2 (cached)
-> retrieved dune.3.21.0, dune-configurator.3.21.0 (cached)
-> retrieved jane-street-headers.v0.17.0 (cached)
-> retrieved jst-config.v0.17.0 (cached)
-> retrieved ocaml-compiler-libs.v0.17.0 (cached)
-> retrieved ocaml_intrinsics_kernel.v0.17.1 (cached)
-> retrieved ppx_assert.v0.17.0 (cached)
-> retrieved ppx_base.v0.17.0 (cached)
-> retrieved ppx_cold.v0.17.0 (cached)
-> retrieved ppx_compare.v0.17.0 (cached)
-> retrieved ppx_derivers.1.2.1 (cached)
-> retrieved ppx_enumerate.v0.17.0 (cached)
-> retrieved ppx_globalize.v0.17.2 (cached)
-> retrieved ppx_hash.v0.17.0 (cached)
-> retrieved ppx_here.v0.17.0 (cached)
-> retrieved ppx_inline_test.v0.17.1 (cached)
-> retrieved ppx_optcomp.v0.17.1 (cached)
-> retrieved ppx_sexp_conv.v0.17.1 (cached)
-> retrieved ppxlib.0.37.0 (cached)
-> retrieved ppxlib_jane.v0.17.4 (cached)
-> retrieved restricted.1.2.0 (cached)
-> retrieved sexplib0.v0.17.0 (cached)
-> retrieved stdio.v0.17.0 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved time_now.v0.17.0 (cached)
-> installed dune.3.21.0
-> installed jane-street-headers.v0.17.0
-> installed ppx_derivers.1.2.1
-> installed csexp.1.5.2
-> installed ocaml-compiler-libs.v0.17.0
-> installed ocaml_intrinsics_kernel.v0.17.1
-> installed sexplib0.v0.17.0
-> installed stdlib-shims.0.3.0
-> installed dune-configurator.3.21.0
-> installed base.v0.17.3
-> installed stdio.v0.17.0
-> installed ppxlib.0.37.0
-> installed ppx_optcomp.v0.17.1
-> installed ppxlib_jane.v0.17.4
-> installed ppx_cold.v0.17.0
-> installed ppx_here.v0.17.0
-> installed ppx_enumerate.v0.17.0
-> installed ppx_globalize.v0.17.2
-> installed ppx_compare.v0.17.0
-> installed ppx_sexp_conv.v0.17.1
-> installed ppx_hash.v0.17.0
-> installed ppx_assert.v0.17.0
-> installed ppx_base.v0.17.0
-> installed jst-config.v0.17.0
-> installed time_now.v0.17.0
-> installed ppx_inline_test.v0.17.1
-> installed restricted.1.2.0
Done.
# To update the current shell environment, run: eval $(opam env)
2026-01-17 14:57.53 ---> saved as "303acf36eb4cb4f14bb6a719f86b0db8f73626b14e3725eca5a4fa116d1b88b4"
Job succeeded
2026-01-17 14:58.01: Job succeeded