- github
- ocaml
- opam-repository
- adc5db
- distributions,fedora-42-ocaml-5.4,ocaml-protoc.4.0
(not at the head of any monitored branch or PR)
2025-11-19 19:31.56: New job: build ocaml-protoc.4.0, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/28902/head (adc5db1552e3f9d4ca0762400bfebd1c1ac398e9)
on fedora-42-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:fedora-42-ocaml-5.4@sha256:f49bef803714d93fa07ceba2146de61d915921b91acaf477152a8b7d199120a6
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 "\"fedora-42\""; 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.56: Using cache hint "ocaml/opam:fedora-42-ocaml-5.4@sha256:f49bef803714d93fa07ceba2146de61d915921b91acaf477152a8b7d199120a6-ocaml-protoc.4.0-adc5db1552e3f9d4ca0762400bfebd1c1ac398e9"
2025-11-19 19:31.56: Using OBuilder spec:
((from ocaml/opam:fedora-42-ocaml-5.4@sha256:f49bef803714d93fa07ceba2146de61d915921b91acaf477152a8b7d199120a6)
(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 \"\\\"fedora-42\\\"\"; 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.56: Waiting for resource in pool OCluster
2025-11-19 19:31.59: Waiting for worker…
2025-11-19 19:32.04: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
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:fedora-42-ocaml-5.4@sha256:f49bef803714d93fa07ceba2146de61d915921b91acaf477152a8b7d199120a6)
Unable to find image 'ocaml/opam:fedora-42-ocaml-5.4@sha256:f49bef803714d93fa07ceba2146de61d915921b91acaf477152a8b7d199120a6' locally
docker.io/ocaml/opam@sha256:f49bef803714d93fa07ceba2146de61d915921b91acaf477152a8b7d199120a6: Pulling from ocaml/opam
36fff8136b8f: Already exists
c6afda4f8977: Pulling fs layer
90199dcf0bc2: Pulling fs layer
c6afda4f8977: Waiting
9bac13b94950: Pulling fs layer
e64924156c65: Pulling fs layer
90199dcf0bc2: Waiting
5ba6b09ff03a: Pulling fs layer
9bac13b94950: Waiting
e64924156c65: Waiting
5ba6b09ff03a: Waiting
c6afda4f8977: Download complete
c6afda4f8977: Pull complete
9bac13b94950: Verifying Checksum
9bac13b94950: Download complete
e64924156c65: Download complete
5ba6b09ff03a: Download complete
90199dcf0bc2: Verifying Checksum
90199dcf0bc2: Download complete
90199dcf0bc2: Pull complete
9bac13b94950: Pull complete
e64924156c65: Pull complete
5ba6b09ff03a: Pull complete
Digest: sha256:f49bef803714d93fa07ceba2146de61d915921b91acaf477152a8b7d199120a6
Status: Downloaded newer image for ocaml/opam@sha256:f49bef803714d93fa07ceba2146de61d915921b91acaf477152a8b7d199120a6
2025-11-19 19:35.06 ---> saved as "2a9cc73d8fa625428a41b3e2995ed89b8f4dbf344a4fde8dde60a4e56679d9f2"
/: (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:35.07 ---> saved as "1032dca7d3e9a4957ed2382aba9466e134e8be63869a0f7f4dd6d40843c7fba8"
/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
2025-11-19 19:35.42 ---> saved as "b2584211dc50ae133fae0e62f70e59ae2f50f24a7044e652c29ffe052dc123b5"
/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=fedora os-version=42
# 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
2025-11-19 19:35.43 ---> saved as "de33366d277982b53424b1de0c50449ac5a6d63b4313a4d568688c3880b02da7"
/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:35.59 ---> saved as "b1ffde186ab3daba195d513b45aa1c5668bcf71ad5146da09288db80f08e715a"
/home/opam: (copy (src .) (dst opam-repository/))
2025-11-19 19:36.08 ---> saved as "fab119edba59d2f80ae4b57ec2d07c9ea7e061aaf245999d58c86e6c8defd730"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-11-19 19:36.28 ---> saved as "bc8b6481372ae1e07faa93125388325dd08a868142a145e468f98ce91eb625d8"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/sbin/sudo "yum" "makecache"
- Updating and loading repositories:
- Fedora 42 - x86_64 - Updates 100% | 47.3 KiB/s | 21.3 KiB | 00m00s
- Repositories loaded.
- Metadata cache created.
2025-11-19 19:36.33 ---> saved as "6450d0107957b830c34b4a7d724db733e4b1882a37d60770aa4ca0212ac11722"
/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:36.34 ---> saved as "f63573628a6ab589e341cacfd3661d740dd53d190c709797b6dc3943c0a89478"
/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 \"\\\"fedora-42\\\"\"; 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
- install dune 3.20.2 [required by ocaml-protoc]
- install ocaml-protoc 4.0 (pinned)
- install pbrt 4.0 [required by ocaml-protoc]
- install 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:37.03 ---> saved as "b45599c7aa3f2f2238315dea7ee3b526ce42a6c2ec5f3778c1431dc79c3a2f72"
Job succeeded
2025-11-19 19:37.30: Job succeeded