- github
- ocaml
- opam-repository
- adc5db
- distributions,archlinux-ocaml-5.4,ocaml-protoc.4.0
(not at the head of any monitored branch or PR)
2025-11-19 19:31.57: New job: build ocaml-protoc.4.0, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/28902/head (adc5db1552e3f9d4ca0762400bfebd1c1ac398e9)
on archlinux-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/28902/head" && git reset --hard adc5db15
git fetch origin master
git merge --no-edit fec8c490c3a00e719b359dce180fbfff342471f7
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:archlinux-ocaml-5.4@sha256:b8da9a22d80e7785aae3b22c625d7a6c4446e889035af008ab8209ed5d6a1763
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-protoc.4.0 4.0
RUN opam reinstall ocaml-protoc.4.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 "\"archlinux\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'ocaml-protoc.4.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 .
2025-11-19 19:31.57: Using cache hint "ocaml/opam:archlinux-ocaml-5.4@sha256:b8da9a22d80e7785aae3b22c625d7a6c4446e889035af008ab8209ed5d6a1763-ocaml-protoc.4.0-adc5db1552e3f9d4ca0762400bfebd1c1ac398e9"
2025-11-19 19:31.57: Using OBuilder spec:
((from ocaml/opam:archlinux-ocaml-5.4@sha256:b8da9a22d80e7785aae3b22c625d7a6c4446e889035af008ab8209ed5d6a1763)
(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-protoc.4.0 4.0"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall ocaml-protoc.4.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 \"\\\"archlinux\\\"\"; 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-protoc.4.0' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
)
2025-11-19 19:31.57: Waiting for resource in pool OCluster
2025-11-19 19:31.59: Waiting for worker…
2025-11-19 19:33.23: Got resource from pool OCluster
Building on clete
All commits already cached
HEAD is now at fec8c490c3 Merge pull request #28851 from jhjourdan/unison_release
Updating fec8c490c3..adc5db1552
Fast-forward
packages/ocaml-protoc/ocaml-protoc.4.0/opam | 42 +++++++++++++++++++++++++++
packages/pbrt/pbrt.4.0/opam | 40 +++++++++++++++++++++++++
packages/pbrt_services/pbrt_services.4.0/opam | 38 ++++++++++++++++++++++++
packages/pbrt_yojson/pbrt_yojson.4.0/opam | 41 ++++++++++++++++++++++++++
4 files changed, 161 insertions(+)
create mode 100644 packages/ocaml-protoc/ocaml-protoc.4.0/opam
create mode 100644 packages/pbrt/pbrt.4.0/opam
create mode 100644 packages/pbrt_services/pbrt_services.4.0/opam
create mode 100644 packages/pbrt_yojson/pbrt_yojson.4.0/opam
(from ocaml/opam:archlinux-ocaml-5.4@sha256:b8da9a22d80e7785aae3b22c625d7a6c4446e889035af008ab8209ed5d6a1763)
2025-11-19 19:33.34 ---> using "aafd3e91ab28f865a34acbef1a4958ad616a5ee06a7ffc437d1b6667e6df5827" from cache
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2025-11-19 19:33.34 ---> using "7d7052f13013f9ef0a6ecc0ceac3aa90db9e9247608e496246a1cf5a3f7c095d" 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.
Continue? [Y/n] y
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.
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-11-19 19:33.34 ---> using "965c8d5964da6f391a74fc2a4e48b39957c619a0e6407a108478c0704e51da60" 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~beta1
# self-upgrade no
# system arch=x86_64 os=linux os-distribution=arch os-version=20251019.0.436919
# 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
2025-11-19 19:33.34 ---> using "f8531677abe85a4c87cc5c48f9991ab87ccf55e060c7b03af1bca4d467435223" 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/"))
2025-11-19 19:33.34 ---> using "4e6d2211abb5fdf3829b3eb210bf5f68b72aec1bbbb5799819af226eedb28b16" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2025-11-19 19:33.42 ---> saved as "b02ebb610bf3e2d1fb97ba6a4becced0d434d89c630620e4917a5f9d2fda5297"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-11-19 19:34.04 ---> saved as "de289601b8075fd9175663dccf05174358e6ff8996523d7754553f39623eafec"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/sbin/sudo "pacman" "-Sy"
- :: Synchronizing package databases...
- core downloading...
- extra downloading...
2025-11-19 19:34.07 ---> saved as "756e9c2a8accd5d5f0e821998200a9274f891f915c7d401ee3dd7ad7445c33b9"
/home/opam: (run (shell "opam pin add -k version -yn ocaml-protoc.4.0 4.0"))
ocaml-protoc is now pinned to version 4.0
2025-11-19 19:34.08 ---> saved as "07d22f4ab6710748b0616c47ad77f46a21f4ebd99301cf9561c4586a5fec4e61"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall ocaml-protoc.4.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 \"\\\"archlinux\\\"\"; 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-protoc.4.0' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
ocaml-protoc.4.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 4 packages
∗ dune 3.20.2 [required by ocaml-protoc]
∗ ocaml-protoc 4.0 (pinned)
∗ pbrt 4.0 [required by ocaml-protoc]
∗ stdlib-shims 0.3.0 [required by pbrt]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
⬇ retrieved dune.3.20.2 (cached)
⬇ retrieved ocaml-protoc.4.0, pbrt.4.0 (cached)
⬇ retrieved stdlib-shims.0.3.0 (cached)
∗ installed dune.3.20.2
∗ installed stdlib-shims.0.3.0
∗ installed pbrt.4.0
∗ installed ocaml-protoc.4.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-11-19 19:34.42 ---> saved as "dc493f5066ad004b7663a1fc00981558028202fde886d3285a67af36d133ccc7"
Job succeeded
2025-11-19 19:34.57: Job succeeded