- github
- ocaml
- opam-repository
- adc5db
- distributions,opensuse-tumbleweed-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 opensuse-tumbleweed-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:opensuse-tumbleweed-ocaml-5.4@sha256:bb8012403567c283bdd0b7f9f9544b7192305142881d2e2715faea3f2c5b9aa5
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 "\"opensuse-tumbleweed\""; 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:opensuse-tumbleweed-ocaml-5.4@sha256:bb8012403567c283bdd0b7f9f9544b7192305142881d2e2715faea3f2c5b9aa5-ocaml-protoc.4.0-adc5db1552e3f9d4ca0762400bfebd1c1ac398e9"
2025-11-19 19:31.56: Using OBuilder spec:
((from ocaml/opam:opensuse-tumbleweed-ocaml-5.4@sha256:bb8012403567c283bdd0b7f9f9544b7192305142881d2e2715faea3f2c5b9aa5)
(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 \"\\\"opensuse-tumbleweed\\\"\"; 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.58: Waiting for worker…
2025-11-19 19:32.01: 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:opensuse-tumbleweed-ocaml-5.4@sha256:bb8012403567c283bdd0b7f9f9544b7192305142881d2e2715faea3f2c5b9aa5)
Unable to find image 'ocaml/opam:opensuse-tumbleweed-ocaml-5.4@sha256:bb8012403567c283bdd0b7f9f9544b7192305142881d2e2715faea3f2c5b9aa5' locally
docker.io/ocaml/opam@sha256:bb8012403567c283bdd0b7f9f9544b7192305142881d2e2715faea3f2c5b9aa5: Pulling from ocaml/opam
98114c719d86: Pulling fs layer
c029f1a26d37: Pulling fs layer
c669a1e966d7: Pulling fs layer
0397bef0737c: Pulling fs layer
7464a5c047e1: Pulling fs layer
98114c719d86: Waiting
e13d2a6b8cac: Pulling fs layer
805b45c9b94a: Pulling fs layer
c029f1a26d37: Waiting
cbac078063bd: Pulling fs layer
0397bef0737c: Waiting
c669a1e966d7: Waiting
805b45c9b94a: Waiting
7464a5c047e1: Waiting
e13d2a6b8cac: Waiting
cbac078063bd: Waiting
c029f1a26d37: Verifying Checksum
c029f1a26d37: Download complete
c669a1e966d7: Download complete
0397bef0737c: Verifying Checksum
0397bef0737c: Download complete
98114c719d86: Verifying Checksum
98114c719d86: Download complete
e13d2a6b8cac: Verifying Checksum
e13d2a6b8cac: Download complete
805b45c9b94a: Verifying Checksum
805b45c9b94a: Download complete
cbac078063bd: Download complete
7464a5c047e1: Verifying Checksum
7464a5c047e1: Download complete
98114c719d86: Pull complete
c029f1a26d37: Pull complete
c669a1e966d7: Pull complete
0397bef0737c: Pull complete
7464a5c047e1: Pull complete
e13d2a6b8cac: Pull complete
805b45c9b94a: Pull complete
cbac078063bd: Pull complete
Digest: sha256:bb8012403567c283bdd0b7f9f9544b7192305142881d2e2715faea3f2c5b9aa5
Status: Downloaded newer image for ocaml/opam@sha256:bb8012403567c283bdd0b7f9f9544b7192305142881d2e2715faea3f2c5b9aa5
2025-11-19 19:36.00 ---> saved as "f859b69f6ccb03a1ca254e3dba56772abfd882fa354882665c2656412937fc7c"
/: (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:36.01 ---> saved as "02fc93e45247d7b180121693f9f504dbaabbb6c75a26e57b364513c03c20bda2"
/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:36.27 ---> saved as "c45187ed897f57a21e28941b78fdb55e07fef9fbf89c4e9459452a942525c8e5"
/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=opensuse-tumbleweed os-version=20251113
# 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.28 ---> saved as "f77522072a0687ff515aa1522d6a0e1e666de27a7031be2a59e673c9b89d70c8"
/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.57 ---> saved as "a19819f0858ba5e4367d76ca90ec39533f384af134ee6e8f8e590ca93080c0fb"
/home/opam: (copy (src .) (dst opam-repository/))
2025-11-19 19:37.20 ---> saved as "aef11266e1b0f6c4ccb7f319da43eaaa8a9300a8c59363ba124970327d3398e1"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-11-19 19:37.48 ---> saved as "a06e48c08f968a8940ae7abf9132c884a91ac7132a6773aed7f66c59a5cbb192"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "zypper" "--non-interactive" "refresh"
- Repository 'openSUSE-Tumbleweed-Update' is up to date.
- Retrieving repository 'openSUSE-Tumbleweed-Non-Oss' metadata [....
- Looking for gpg keys in repository openSUSE-Tumbleweed-Non-Oss.
- gpgkey=http://download.opensuse.org/tumbleweed/repo/non-oss/repodata/repomd.xml.key
- ...
- .......done]
- Building repository 'openSUSE-Tumbleweed-Non-Oss' cache [....done]
- Retrieving repository 'openSUSE-Tumbleweed-Oss' metadata [.
- ..
- Looking for gpg keys in repository openSUSE-Tumbleweed-Oss.
- gpgkey=http://download.opensuse.org/tumbleweed/repo/oss/repodata/repomd.xml.key
- ........
- .........
- .........
- ..........
- .........
- ..........
- .........
- .........
- ..........
- .......
- .
- .........
- .......
- ......
- ......
- .....
- ......
- ..........
- .........
- ..done]
- Building repository 'openSUSE-Tumbleweed-Oss' cache [..
- ..done]
- All repositories have been refreshed.
2025-11-19 19:38.30 ---> saved as "65c9565a700ab8b876af77eef5d37beb4f0ed3a6a8f5ef97eba8b41e90eb6a0d"
/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:38.31 ---> saved as "f7e32a83476bbebee58f0cb9e483fb0d5d307aab02b40dc5d3359623d8060804"
/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 \"\\\"opensuse-tumbleweed\\\"\"; 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:39.11 ---> saved as "3ca4492808d4d3dc4f6532a494580c2164c9a72d8794976b11a17fede4da27c7"
Job succeeded
2025-11-19 19:39.34: Job succeeded