- github
- ocaml
- opam-repository
- adc5db
- extras,opam-2.1-ocaml-5.4,pbrt_yojson.4.0
(not at the head of any monitored branch or PR)
2025-11-19 19:31.58: New job: build pbrt_yojson.4.0, using opam 2.1
from https://github.com/ocaml/opam-repository.git#refs/pull/28902/head (adc5db1552e3f9d4ca0762400bfebd1c1ac398e9)
on debian-13-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:debian-13-ocaml-5.4@sha256:57c83c9f9a1885d6982e64ff7d1de47223738f31f635056b0165042eaec3081f
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-2.1 /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 "\"debian-13\""; 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.58: Using cache hint "ocaml/opam:debian-13-ocaml-5.4@sha256:57c83c9f9a1885d6982e64ff7d1de47223738f31f635056b0165042eaec3081f-pbrt_yojson.4.0-adc5db1552e3f9d4ca0762400bfebd1c1ac398e9"
2025-11-19 19:31.58: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-5.4@sha256:57c83c9f9a1885d6982e64ff7d1de47223738f31f635056b0165042eaec3081f)
(user (uid 1000) (gid 1000))
(workdir /home/opam)
(run (shell "sudo ln -f /usr/bin/opam-2.1 /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 \"\\\"debian-13\\\"\"; 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.58: Waiting for resource in pool OCluster
2025-11-19 19:32.10: Waiting for worker…
2025-11-19 19:35.54: Got resource from pool OCluster
Building on clete
All commits already cached
Updating files: 74% (13942/18783)
Updating files: 75% (14088/18783)
Updating files: 76% (14276/18783)
Updating files: 77% (14463/18783)
Updating files: 78% (14651/18783)
Updating files: 79% (14839/18783)
Updating files: 80% (15027/18783)
Updating files: 81% (15215/18783)
Updating files: 82% (15403/18783)
Updating files: 83% (15590/18783)
Updating files: 84% (15778/18783)
Updating files: 85% (15966/18783)
Updating files: 86% (16154/18783)
Updating files: 87% (16342/18783)
Updating files: 88% (16530/18783)
Updating files: 89% (16717/18783)
Updating files: 90% (16905/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:debian-13-ocaml-5.4@sha256:57c83c9f9a1885d6982e64ff7d1de47223738f31f635056b0165042eaec3081f)
2025-11-19 19:36.02 ---> using "9e1915ffb50e2d100090b64fd44ae95ca325d8eb9d61c3d158d7a2820cdf10df" from cache
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam"))
2025-11-19 19:36.02 ---> using "85a2c24e2e883b01411c14cf5f90430901390d22ad6d06421da8e197353377aa" 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 development version of opam requires an update to the layout of /home/opam/.opam from version 2.0 to version 2.1, 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:36.02 ---> using "39890f27132a74fff318a6ed19086653ce6f1760619cb89c57ba857a28d749bd" 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.1.6 (263921263e1f745613e2882745114b7b08f3608b)
# self-upgrade no
# system arch=x86_64 os=linux os-distribution=debian os-version=13
# solver builtin-0install
# install-criteria
# upgrade-criteria
# jobs 71
# repositories 1 (version-controlled)
# pinned 1 (version)
# current-switch 5.4
# 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:36.02 ---> using "f5cdb4642a8d355d4e3259b209c9aff36aa19824df5e06d8d76911d046533c61" 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:36.02 ---> using "c9be906e9ddf1de7e4e8c6d6eb34947d19a3a09db9a4939a377d6113d42c29e4" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2025-11-19 19:36.29 ---> saved as "c9e49325bd4d56f614f096cb1511f876261d0ea6d6ea12d413ff9270261d5a3d"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-11-19 19:36.43 ---> saved as "a05c3cf774df2aff15980acc10c6393bc9bbd3e325b684af5bc92d2c57865893"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://deb.debian.org/debian trixie InRelease [140 kB]
- Get:2 http://deb.debian.org/debian trixie-updates InRelease [47.3 kB]
- Get:3 http://deb.debian.org/debian-security trixie-security InRelease [43.4 kB]
- Get:4 http://deb.debian.org/debian trixie/main amd64 Packages [9670 kB]
- Get:5 http://deb.debian.org/debian-security trixie-security/main amd64 Packages [71.8 kB]
- Fetched 9973 kB in 1s (7069 kB/s)
- Reading package lists...
-
2025-11-19 19:36.48 ---> saved as "b6fe62cda81b912050a6a0e5b086d37c26753b85c255d2ffcc93536684c7cb97"
/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:36.49 ---> saved as "1681fb326506e9f00accd9c84eb5168f8c706f6a183f63985b9fd1dba6ad2695"
/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 \"\\\"debian-13\\\"\"; 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 dune 3.20.2 [required by pbrt_yojson]
- install yojson 3.0.0 [required by pbrt_yojson]
- install base64 3.5.2 [required by pbrt_yojson]
- install pbrt_yojson 4.0*
===== 4 to install =====
<><> 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.
# Run eval $(opam env) to update the current shell environment
2025-11-19 19:37.33 ---> saved as "61fd6430a2909c802c029837100af526ed95aa9382c5d569f81aae0d0e3f913e"
Job succeeded
2025-11-19 19:37.43: Job succeeded