- github
- ocaml
- opam-repository
- adc5db
- distributions,ubuntu-22.04-ocaml-4.14,pbrt.4.0
(not at the head of any monitored branch or PR)
2025-11-19 19:31.57: New job: build pbrt.4.0, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/28902/head (adc5db1552e3f9d4ca0762400bfebd1c1ac398e9)
on ubuntu-22.04-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:ubuntu-22.04-ocaml-4.14@sha256:c999b7b330a33bb7c27e49b9f49c7da6b96baaaabb7f322f38a9f6edfabce79a
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.4.0 4.0
RUN opam reinstall pbrt.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 "\"ubuntu-22.04\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'pbrt.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:ubuntu-22.04-ocaml-4.14@sha256:c999b7b330a33bb7c27e49b9f49c7da6b96baaaabb7f322f38a9f6edfabce79a-pbrt.4.0-adc5db1552e3f9d4ca0762400bfebd1c1ac398e9"
2025-11-19 19:31.57: Using OBuilder spec:
((from ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:c999b7b330a33bb7c27e49b9f49c7da6b96baaaabb7f322f38a9f6edfabce79a)
(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.4.0 4.0"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall pbrt.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 \"\\\"ubuntu-22.04\\\"\"; 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.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:34.11: Got resource from pool OCluster
Building on laodoke.caelum.ci.dev
All commits already cached
Updating files: 87% (16392/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:ubuntu-22.04-ocaml-4.14@sha256:c999b7b330a33bb7c27e49b9f49c7da6b96baaaabb7f322f38a9f6edfabce79a)
2025-11-19 19:34.15 ---> using "0cee132d2d9b0429d6a015ea9492ec015474196f5b489dbe274724fcab6f8183" 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.15 ---> using "cf83209cfefeee8a92131c8c2924175bea173bc63fece940a2eab5d5818ef68f" 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.15 ---> using "60cb295674fa9dcaf1322daf2834651ccb839e0bd15a447e717e55117a57b56f" 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=ubuntu os-version=22.04
# 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.15 ---> using "0832c06a618b5bf68a2427f9805bb24927fbcc255b855d37d103a039f85f0227" 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.15 ---> using "42805601d36aa8eb6e6f075a012cd9ed4aa84d382ea8612ba2a5c4f93d8462d7" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2025-11-19 19:34.40 ---> saved as "70b62d1be9766f90f431d96ffccf75296c76bab9efdfbea902a71d0132b29a1c"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-11-19 19:35.04 ---> saved as "d5dd2382e5c6e28c023e5caafcdc4306f2b9d344693f285211836077b6eccdc5"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://archive.ubuntu.com/ubuntu jammy InRelease
- Get:2 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [128 kB]
- Get:3 http://security.ubuntu.com/ubuntu jammy-security InRelease [129 kB]
- Get:4 http://archive.ubuntu.com/ubuntu jammy-backports InRelease [127 kB]
- Get:5 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [1595 kB]
- Get:6 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [3864 kB]
- Get:7 http://archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 Packages [6188 kB]
- Get:8 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages [3532 kB]
- Get:9 http://security.ubuntu.com/ubuntu jammy-security/restricted amd64 Packages [5988 kB]
- Get:10 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 Packages [1290 kB]
- Fetched 22.8 MB in 2s (13.0 MB/s)
- Reading package lists...
-
2025-11-19 19:35.08 ---> saved as "9115e857b1b463cf08b71dbc0b258e00b72dbdb51028c0e62c13c0adc65657c1"
/home/opam: (run (shell "opam pin add -k version -yn pbrt.4.0 4.0"))
pbrt is now pinned to version 4.0
2025-11-19 19:35.08 ---> saved as "32a2f75637fc0f7f8036f967885d16f5acc050f9e2be2d60d45c61981112a8ba"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall pbrt.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 \"\\\"ubuntu-22.04\\\"\"; 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.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.4.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 3 packages
- install dune 3.20.2 [required by pbrt]
- install pbrt 4.0 (pinned)
- install stdlib-shims 0.3.0 [required by pbrt]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved dune.3.20.2 (cached)
-> retrieved 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
Done.
# To update the current shell environment, run: eval $(opam env)
2025-11-19 19:35.40 ---> saved as "bf13096f0d324619311ad7a5bf55a0ad900d83104aae13c95de388fa735608a0"
Job succeeded
2025-11-19 19:36.11: Job succeeded