- github
- ocaml
- opam-repository
- adc5db
- distributions,debian-unstable-ocaml-5.4,pbrt_yojson.4.0
(not at the head of any monitored branch or PR)
2025-11-19 19:31.56: New job: build pbrt_yojson.4.0, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/28902/head (adc5db1552e3f9d4ca0762400bfebd1c1ac398e9)
on debian-unstable-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-unstable-ocaml-5.4@sha256:d41c26f6f54dcca3f4396b708b145b0daadb0ca8a202aaad950c78b76ac1e8ca
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 "\"debian-unstable\""; 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.56: Using cache hint "ocaml/opam:debian-unstable-ocaml-5.4@sha256:d41c26f6f54dcca3f4396b708b145b0daadb0ca8a202aaad950c78b76ac1e8ca-pbrt_yojson.4.0-adc5db1552e3f9d4ca0762400bfebd1c1ac398e9"
2025-11-19 19:31.56: Using OBuilder spec:
((from ocaml/opam:debian-unstable-ocaml-5.4@sha256:d41c26f6f54dcca3f4396b708b145b0daadb0ca8a202aaad950c78b76ac1e8ca)
(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 \"\\\"debian-unstable\\\"\"; 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.56: Waiting for resource in pool OCluster
2025-11-19 19:31.59: Waiting for worker…
2025-11-19 19:32.06: 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:debian-unstable-ocaml-5.4@sha256:d41c26f6f54dcca3f4396b708b145b0daadb0ca8a202aaad950c78b76ac1e8ca)
Unable to find image 'ocaml/opam:debian-unstable-ocaml-5.4@sha256:d41c26f6f54dcca3f4396b708b145b0daadb0ca8a202aaad950c78b76ac1e8ca' locally
docker.io/ocaml/opam@sha256:d41c26f6f54dcca3f4396b708b145b0daadb0ca8a202aaad950c78b76ac1e8ca: Pulling from ocaml/opam
7a726d77a015: Already exists
096b221ce420: Already exists
01d188e875b8: Already exists
6c26aef4008c: Already exists
faf1cc2e0017: Already exists
684ae348f22e: Already exists
697a517dcb94: Already exists
aabe8963b502: Already exists
626b31e7ef05: Already exists
2ccd0ee16f32: Already exists
a81bbee9d992: Already exists
22fb0eb169e8: Already exists
c1df4937c5c6: Already exists
568953b356e7: Already exists
7e0be313121d: Already exists
258458fea6e8: Already exists
258458fea6e8: Already exists
91d012ea0fe2: Already exists
fa6f40dd0f11: Already exists
781bf12e83e0: Already exists
fcd0602e567b: Already exists
4f4fb700ef54: Already exists
ea265120c4f9: Already exists
70cd454bfbc9: Already exists
fad5c90c7262: Already exists
adc90b1454b6: Already exists
59f4c932324a: Already exists
43a1caae8823: Already exists
6ee22797a2dd: Already exists
3d0fc2e8c4aa: Already exists
4bebe18058bc: Already exists
7ed8309c425e: Already exists
3f70a6c21283: Already exists
1c4f487dd20b: Already exists
ee1a43b13947: Already exists
931d27ec0647: Already exists
02699d250c68: Already exists
4880f9cdfe0a: Already exists
1ccf6b2c058b: Already exists
d6689a2f7308: Already exists
ca46e3f75520: Pulling fs layer
6e364c3b7385: Pulling fs layer
939f314b719c: Pulling fs layer
a30cf0ff2938: Pulling fs layer
3deaaf97f1e6: Pulling fs layer
aa675e169972: Pulling fs layer
28ba9c3664f3: Pulling fs layer
28ba9c3664f3: Waiting
aa675e169972: Waiting
a30cf0ff2938: Waiting
3deaaf97f1e6: Waiting
939f314b719c: Download complete
ca46e3f75520: Download complete
3deaaf97f1e6: Download complete
ca46e3f75520: Pull complete
aa675e169972: Verifying Checksum
aa675e169972: Download complete
28ba9c3664f3: Download complete
a30cf0ff2938: Verifying Checksum
a30cf0ff2938: Download complete
6e364c3b7385: Verifying Checksum
6e364c3b7385: Download complete
6e364c3b7385: Pull complete
939f314b719c: Pull complete
a30cf0ff2938: Pull complete
3deaaf97f1e6: Pull complete
aa675e169972: Pull complete
28ba9c3664f3: Pull complete
Digest: sha256:d41c26f6f54dcca3f4396b708b145b0daadb0ca8a202aaad950c78b76ac1e8ca
Status: Downloaded newer image for ocaml/opam@sha256:d41c26f6f54dcca3f4396b708b145b0daadb0ca8a202aaad950c78b76ac1e8ca
2025-11-19 19:35.34 ---> saved as "399b73928f5b10f2bbada27382636eefb8afa3f58f1911bcc75abe45fa8a08a1"
/: (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.34 ---> saved as "2bbe300becb6fb7addd203d68400db27ec96d9b9ead2ca71755f6b307d11684c"
/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.
[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
Continue? [Y/n] y
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-11-19 19:36.00 ---> saved as "514a32f44339ac919b287bb606c025e9079315ef68d26adcc09fa46e9ce8afe9"
/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=debian os-version=unknown
# 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:36.02 ---> saved as "d572349824a40786f294e67b7ff79181e57dfb6a76610de7d04c3b99fb171a9c"
/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.14 ---> saved as "4b54cad4f21bf473136f67f731f89b4612c0ce803bb037bdfa8352f3dbe3e840"
/home/opam: (copy (src .) (dst opam-repository/))
2025-11-19 19:36.33 ---> saved as "99101db77a1d2fcb09af1b92aabc90f48455958a501aa9f2e26da87712ba77d3"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-11-19 19:37.03 ---> saved as "f510427a5b7ca12857d2428e3f41be32d309f67f8af3097b2926d42ba9eef26e"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://deb.debian.org/debian unstable InRelease [176 kB]
- Get:2 http://deb.debian.org/debian unstable/main amd64 Packages.diff/Index [63.6 kB]
- Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2025-11-19-1410.07-F-2025-11-15-0804.21.pdiff [344 kB]
- Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2025-11-19-1410.07-F-2025-11-15-0804.21.pdiff [344 kB]
- Fetched 583 kB in 1s (400 kB/s)
- Reading package lists...
-
2025-11-19 19:37.06 ---> saved as "34ef55ade99102c6c4468d1da032e9f8ba8fde51af29fd32e0e09c82e4fcc4d0"
/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:37.07 ---> saved as "9b9268e75d6bfdd400bc8d414650b783b38de64c044dd0490a4eb003ce718fa3"
/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-unstable\\\"\"; 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:37.35 ---> saved as "11d59328dfe851b718f58e15035dc7e041dee13f0e3a4feca8bbb76742558eff"
Job succeeded
2025-11-19 19:38.10: Job succeeded