- github
- ocaml
- opam-repository
- adc5db
- distributions,fedora-43-ocaml-4.14,pbrt_yojson.4.0
(not at the head of any monitored branch or PR)
2025-11-19 19:31.57: New job: build pbrt_yojson.4.0, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/28902/head (adc5db1552e3f9d4ca0762400bfebd1c1ac398e9)
on fedora-43-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/28902/head" && git reset --hard adc5db15
git fetch origin master
git merge --no-edit fec8c490c3a00e719b359dce180fbfff342471f7
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:fedora-43-ocaml-4.14@sha256:c2538b668bdb09c388cf33a32421565b093bd76bff7bd1f20d16f9cf30f87bf8
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 pbrt_yojson.4.0 4.0
RUN opam reinstall pbrt_yojson.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-43\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'pbrt_yojson.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:fedora-43-ocaml-4.14@sha256:c2538b668bdb09c388cf33a32421565b093bd76bff7bd1f20d16f9cf30f87bf8-pbrt_yojson.4.0-adc5db1552e3f9d4ca0762400bfebd1c1ac398e9"
2025-11-19 19:31.57: Using OBuilder spec:
((from ocaml/opam:fedora-43-ocaml-4.14@sha256:c2538b668bdb09c388cf33a32421565b093bd76bff7bd1f20d16f9cf30f87bf8)
(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 pbrt_yojson.4.0 4.0"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall pbrt_yojson.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-43\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'pbrt_yojson.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:32.00: Waiting for worker…
2025-11-19 19:34.25: Got resource from pool OCluster
Building on laodoke.caelum.ci.dev
All commits already cached
Updating files: 90% (16998/18783)
Updating files: 91% (17093/18783)
Updating files: 92% (17281/18783)
Updating files: 93% (17469/18783)
Updating files: 94% (17657/18783)
Updating files: 95% (17844/18783)
Updating files: 96% (18032/18783)
Updating files: 97% (18220/18783)
Updating files: 98% (18408/18783)
Updating files: 99% (18596/18783)
Updating files: 100% (18783/18783)
Updating files: 100% (18783/18783), done.
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-43-ocaml-4.14@sha256:c2538b668bdb09c388cf33a32421565b093bd76bff7bd1f20d16f9cf30f87bf8)
2025-11-19 19:34.27 ---> using "a51b0f106be4690b07e60d24f33e1310d1d782df2a7400a06464f0e0b48528b1" 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:34.27 ---> using "887c38cf2ea82918b27e1f83c28406a3b1220d7d4af51975406e66115a47b006" 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
2025-11-19 19:34.27 ---> using "be6b5e0778d930c5978d376e588c3ec62224a40d41a1a10b75bb005ccb7a9d8f" 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=fedora os-version=43
# 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
2025-11-19 19:34.27 ---> using "c99e33906c0618eff89f7c370add69fb0f98f88f34698de395db203cb85672b3" 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:34.27 ---> using "e0bda84d87b07d92aed767bd80c6f7bee777d6c64c0f3e52ef9b13e3b60e105e" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2025-11-19 19:34.55 ---> saved as "17cf5409a897bfd75d4cbc6fdf60597602221dfa2b1435ea4a789b1f746466d4"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-11-19 19:35.17 ---> saved as "40c19a2a14a41ef2b2de53f5843f856384cc6bc5c6a66b0db3f9a7744079b6ec"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/sbin/sudo "yum" "makecache"
- Updating and loading repositories:
- Fedora 43 - x86_64 - Updates 100% | 11.7 KiB/s | 20.7 KiB | 00m02s
- Repositories loaded.
- Metadata cache created.
2025-11-19 19:35.22 ---> saved as "dc0c12e2a97a40ae9b257e31c03c958a1a6d62cf2d9f979f812a3111e1fb9795"
/home/opam: (run (shell "opam pin add -k version -yn pbrt_yojson.4.0 4.0"))
pbrt_yojson is now pinned to version 4.0
2025-11-19 19:35.23 ---> saved as "b979169495023fc9c3646e0ba68f7427974f3c8d1c59e0040d43cb1637be78d6"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall pbrt_yojson.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-43\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'pbrt_yojson.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"))
pbrt_yojson.4.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 4 packages
- install base64 3.5.2 [required by pbrt_yojson]
- install dune 3.20.2 [required by pbrt_yojson]
- install pbrt_yojson 4.0 (pinned)
- install yojson 3.0.0 [required by pbrt_yojson]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved base64.3.5.2 (cached)
-> retrieved dune.3.20.2 (cached)
-> retrieved pbrt_yojson.4.0 (cached)
-> retrieved yojson.3.0.0 (cached)
-> installed dune.3.20.2
-> installed base64.3.5.2
-> installed yojson.3.0.0
-> installed pbrt_yojson.4.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-11-19 19:35.54 ---> saved as "1e2df13cac8502378a11601f36c3f6a347258cbf3d4f941ff21296ecfac363c7"
Job succeeded
2025-11-19 19:36.21: Job succeeded