- github
- ocaml
- opam-repository
- 20c5f5
- extras,opam-2.0-ocaml-4.14,ocaml-protoc-plugin.6.2.0
(not at the head of any monitored branch or PR)
2025-08-28 19:41.12: New job: build ocaml-protoc-plugin.6.2.0, using opam 2.0
from https://github.com/ocaml/opam-repository.git#refs/pull/28412/head (20c5f5682f4cbf3fd87881cf101e0a2484e6f0f5)
on debian-12-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/28412/head" && git reset --hard 20c5f568
git fetch origin master
git merge --no-edit f2cd184cfc6f3b25d3bda0873beb3e8b254806ec
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.14@sha256:3637f37beb7011ead9c99fba6755b8c027c79834b8531a4b137463f2d3d7b75c
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-2.0 /usr/bin/opam
RUN opam init --reinit -ni
RUN 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 depext -u || true
RUN opam pin add -k version -yn ocaml-protoc-plugin.6.2.0 6.2.0
RUN opam depext ocaml-protoc-plugin.6.2.0 && opam reinstall ocaml-protoc-plugin.6.2.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-12\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'ocaml-protoc-plugin.6.2.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-08-28 19:41.12: Using cache hint "ocaml/opam:debian-12-ocaml-4.14@sha256:3637f37beb7011ead9c99fba6755b8c027c79834b8531a4b137463f2d3d7b75c-ocaml-protoc-plugin.6.2.0-20c5f5682f4cbf3fd87881cf101e0a2484e6f0f5"
2025-08-28 19:41.12: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.14@sha256:3637f37beb7011ead9c99fba6755b8c027c79834b8531a4b137463f2d3d7b75c)
(user (uid 1000) (gid 1000))
(workdir /home/opam)
(run (shell "sudo ln -f /usr/bin/opam-2.0 /usr/bin/opam"))
(run (network host)
(shell "opam init --reinit --config .opamrc-sandbox -ni"))
(run (shell "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 depext -u || true"))
(run (shell "opam pin add -k version -yn ocaml-protoc-plugin.6.2.0 6.2.0"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam depext ocaml-protoc-plugin.6.2.0 && opam reinstall ocaml-protoc-plugin.6.2.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-12\\\"\"; 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-plugin.6.2.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-08-28 19:41.12: Waiting for resource in pool OCluster
2025-08-28 19:41.13: Waiting for worker…
2025-08-28 19:41.49: Got resource from pool OCluster
Building on odawa.caelum.ci.dev
All commits already cached
HEAD is now at f2cd184cfc Merge pull request #28399 from filipeom/opam-publish-smtml.0.10.0
Updating f2cd184cfc..20c5f5682f
Fast-forward
.../conf-protoc-dev/conf-protoc-dev.6.2.0/opam | 46 ++++++++++++++++
packages/conf-protoc/conf-protoc.6.2.0/opam | 43 +++++++++++++++
.../ocaml-protoc-plugin.6.2.0/opam | 64 ++++++++++++++++++++++
3 files changed, 153 insertions(+)
create mode 100644 packages/conf-protoc-dev/conf-protoc-dev.6.2.0/opam
create mode 100644 packages/conf-protoc/conf-protoc.6.2.0/opam
create mode 100644 packages/ocaml-protoc-plugin/ocaml-protoc-plugin.6.2.0/opam
(from ocaml/opam:debian-12-ocaml-4.14@sha256:3637f37beb7011ead9c99fba6755b8c027c79834b8531a4b137463f2d3d7b75c)
2025-08-28 19:43.13 ---> using "09ac5de9cc61c43675474112381643450005329487739e9205d48bb1724eccf1" from cache
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.0 /usr/bin/opam"))
2025-08-28 19:43.13 ---> using "d19435c61b858eed30624fd42cb5eb213055447542eefc78a603ef01d03263e6" from cache
/home/opam: (run (network host)
(shell "opam init --reinit --config .opamrc-sandbox -ni"))
[NOTE] Will configure 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.
[WARNING] Recommended dependencies -- most packages rely on these:
- m4
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
default (at git+file:///home/opam/opam-repository):
[INFO] opam 2.1 and 2.2 include many performance and security improvements over 2.0; please consider upgrading (https://opam.ocaml.org/doc/Install.html)
2025-08-28 19:43.13 ---> using "970ecaf444cd214631b074b1b7d5211b010c7e798498b457848a21e029678dec" from cache
/home/opam: (run (shell "opam config report"))
# opam config report
# opam-version 2.0.10 (adc1e1829a2bef5b240746df80341b508290fe3b)
# self-upgrade no
# system arch=x86_64 os=linux os-distribution=debian os-version=12
# solver builtin-mccs+glpk
# install-criteria -removed,-count[version-lag,request],-count[version-lag,changed],-changed
# upgrade-criteria -removed,-count[version-lag,solution],-new
# jobs 71
# repositories 1 (version-controlled)
# pinned 1 (version)
# current-switch 4.14
2025-08-28 19:43.13 ---> using "c39c2ec6bfe213150a79e17f9539334a92ef5a0ad345cd3289e08c3dfab2c6c4" 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-08-28 19:43.13 ---> using "47e80ef725e7bf27ed71a8e5266150b96809f39d0d9a899bc339221d7e83a40f" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2025-08-28 19:43.18 ---> saved as "79d1a83b2d14cfbb7b80d57a32f3e966e642945089a3dbf533ff337dc2689f46"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
default (at file:///home/opam/opam-repository):
[INFO] opam 2.1 and 2.2 include many performance and security improvements over 2.0; please consider upgrading (https://opam.ocaml.org/doc/Install.html)
2025-08-28 19:43.28 ---> saved as "0ca68b296ebe796887f20336eb074aea608b0dad1551ca6c6e686463f4e022c6"
/home/opam: (run (network host)
(shell "opam depext -u || true"))
# Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian
# No extra OS packages requirements found.
# All required OS packages found.
The following command needs to be run through "sudo":
apt-get update
Hit:1 http://deb.debian.org/debian bookworm InRelease
Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
Get:4 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [277 kB]
Fetched 380 kB in 0s (1366 kB/s)
Reading package lists...
# OS package update successful
2025-08-28 19:43.30 ---> saved as "7df292c6efb44450f34dd1856be6f8e25822cc49bbf4670b8bf215c30c601aa2"
/home/opam: (run (shell "opam pin add -k version -yn ocaml-protoc-plugin.6.2.0 6.2.0"))
ocaml-protoc-plugin is now pinned to version 6.2.0
2025-08-28 19:43.30 ---> saved as "8c46ac8aa67c8f3ce0119d6ad3e18d1305a20724d2ac812b8d2a9194a18c1f67"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam depext ocaml-protoc-plugin.6.2.0 && opam reinstall ocaml-protoc-plugin.6.2.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-12\\\"\"; 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-plugin.6.2.0' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
# Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian
# The following system packages are needed:
libprotobuf-dev
pkg-config
protobuf-compiler
The following command needs to be run through "sudo":
apt-get install -qq -yy libprotobuf-dev pkg-config protobuf-compiler
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package libpkgconf3:amd64.
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 18747 files and directories currently installed.)
Preparing to unpack .../0-libpkgconf3_1.8.1-1_amd64.deb ...
Unpacking libpkgconf3:amd64 (1.8.1-1) ...
Selecting previously unselected package zlib1g-dev:amd64.
Preparing to unpack .../1-zlib1g-dev_1%3a1.2.13.dfsg-1_amd64.deb ...
Unpacking zlib1g-dev:amd64 (1:1.2.13.dfsg-1) ...
Selecting previously unselected package libprotobuf32:amd64.
Preparing to unpack .../2-libprotobuf32_3.21.12-3_amd64.deb ...
Unpacking libprotobuf32:amd64 (3.21.12-3) ...
Selecting previously unselected package libprotobuf-lite32:amd64.
Preparing to unpack .../3-libprotobuf-lite32_3.21.12-3_amd64.deb ...
Unpacking libprotobuf-lite32:amd64 (3.21.12-3) ...
Selecting previously unselected package libprotobuf-dev:amd64.
Preparing to unpack .../4-libprotobuf-dev_3.21.12-3_amd64.deb ...
Unpacking libprotobuf-dev:amd64 (3.21.12-3) ...
Selecting previously unselected package libprotoc32:amd64.
Preparing to unpack .../5-libprotoc32_3.21.12-3_amd64.deb ...
Unpacking libprotoc32:amd64 (3.21.12-3) ...
Selecting previously unselected package pkgconf-bin.
Preparing to unpack .../6-pkgconf-bin_1.8.1-1_amd64.deb ...
Unpacking pkgconf-bin (1.8.1-1) ...
Selecting previously unselected package pkgconf:amd64.
Preparing to unpack .../7-pkgconf_1.8.1-1_amd64.deb ...
Unpacking pkgconf:amd64 (1.8.1-1) ...
Selecting previously unselected package pkg-config:amd64.
Preparing to unpack .../8-pkg-config_1.8.1-1_amd64.deb ...
Unpacking pkg-config:amd64 (1.8.1-1) ...
Selecting previously unselected package protobuf-compiler.
Preparing to unpack .../9-protobuf-compiler_3.21.12-3_amd64.deb ...
Unpacking protobuf-compiler (3.21.12-3) ...
Setting up libpkgconf3:amd64 (1.8.1-1) ...
Setting up pkgconf-bin (1.8.1-1) ...
Setting up zlib1g-dev:amd64 (1:1.2.13.dfsg-1) ...
Setting up libprotobuf32:amd64 (3.21.12-3) ...
Setting up libprotobuf-lite32:amd64 (3.21.12-3) ...
Setting up libprotoc32:amd64 (3.21.12-3) ...
Setting up protobuf-compiler (3.21.12-3) ...
Setting up pkgconf:amd64 (1.8.1-1) ...
Setting up libprotobuf-dev:amd64 (3.21.12-3) ...
Setting up pkg-config:amd64 (1.8.1-1) ...
Processing triggers for libc-bin (2.36-9+deb12u10) ...
# OS packages installation successful
ocaml-protoc-plugin.6.2.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
- install ocamlbuild 0.16.1 [required by ptime]
- install seq base [required by re]
- install dune 3.20.1 [required by ocaml-protoc-plugin]
- install conf-protoc 6.2.0 [required by ocaml-protoc-plugin]
- install conf-pkg-config 4 [required by ocaml-protoc-plugin]
- install ocamlfind 1.9.8 [required by ptime]
- install stdlib-shims 0.3.0 [required by ppxlib]
- install sexplib0 v0.15.1 [required by base]
- install re 1.13.2 [required by ppx_expect]
- install ppx_derivers 1.2.1 [required by ppxlib]
- install omd 2.0.0~alpha2 [required by ocaml-protoc-plugin]
- install ocaml-compiler-libs v0.12.4 [required by ppxlib]
- install jane-street-headers v0.15.0 [required by time_now]
- install csexp 1.5.2 [required by dune-configurator]
- install base64 3.5.1 [required by ocaml-protoc-plugin]
- install topkg 1.1.0 [required by ptime]
- install ppxlib 0.35.0 [required by ppx_expect]
- install dune-configurator 3.20.1 [required by base]
- install ptime 1.2.0 [required by ocaml-protoc-plugin]
- install base v0.15.1 [required by ppx_expect]
- install stdio v0.15.0 [required by ppx_expect]
- install ppx_sexp_conv v0.15.1 [required by ppx_base]
- install ppx_here v0.15.0 [required by ppx_expect]
- install ppx_enumerate v0.15.0 [required by ppx_base]
- install ppx_compare v0.15.0 [required by ppx_base]
- install ppx_cold v0.15.0 [required by ppx_base]
- install ppx_optcomp v0.15.0 [required by time_now]
- install ppx_hash v0.15.0 [required by ppx_base]
- install ppx_assert v0.15.0 [required by jst-config]
- install ppx_base v0.15.0 [required by time_now]
- install jst-config v0.15.1 [required by time_now]
- install time_now v0.15.0 [required by ppx_inline_test]
- install ppx_inline_test v0.15.1 [required by ocaml-protoc-plugin]
- install ppx_expect v0.15.1 [required by ocaml-protoc-plugin]
- install ocaml-protoc-plugin 6.2.0*
===== 35 to install =====
<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[base.v0.15.1] found in cache
[base64.3.5.1] found in cache
[conf-protoc.6.2.0] found in cache
[csexp.1.5.2] found in cache
[dune.3.20.1] found in cache
[dune-configurator.3.20.1] found in cache
[jane-street-headers.v0.15.0] found in cache
[jst-config.v0.15.1] found in cache
[ocaml-compiler-libs.v0.12.4] found in cache
[ocaml-protoc-plugin.6.2.0] found in cache
[ocamlbuild.0.16.1] found in cache
[ocamlfind.1.9.8] found in cache
[omd.2.0.0~alpha2] found in cache
[ppx_assert.v0.15.0] found in cache
[ppx_base.v0.15.0] found in cache
[ppx_cold.v0.15.0] found in cache
[ppx_compare.v0.15.0] found in cache
[ppx_derivers.1.2.1] found in cache
[ppx_enumerate.v0.15.0] found in cache
[ppx_expect.v0.15.1] found in cache
[ppx_hash.v0.15.0] found in cache
[ppx_here.v0.15.0] found in cache
[ppx_inline_test.v0.15.1] found in cache
[ppx_optcomp.v0.15.0] found in cache
[ppx_sexp_conv.v0.15.1] found in cache
[ppxlib.0.35.0] found in cache
[ptime.1.2.0] found in cache
[re.1.13.2] found in cache
[sexplib0.v0.15.1] found in cache
[stdio.v0.15.0] found in cache
[stdlib-shims.0.3.0] found in cache
[time_now.v0.15.0] found in cache
[topkg.1.1.0] found in cache
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed seq.base
-> installed conf-pkg-config.4
-> installed conf-protoc.6.2.0
-> installed ocamlfind.1.9.8
-> installed ocamlbuild.0.16.1
-> installed topkg.1.1.0
-> installed ptime.1.2.0
-> installed dune.3.20.1
-> installed jane-street-headers.v0.15.0
-> installed csexp.1.5.2
-> installed base64.3.5.1
-> installed ocaml-compiler-libs.v0.12.4
-> installed ppx_derivers.1.2.1
-> installed re.1.13.2
-> installed omd.2.0.0~alpha2
-> installed sexplib0.v0.15.1
-> installed stdlib-shims.0.3.0
-> installed dune-configurator.3.20.1
-> installed base.v0.15.1
-> installed stdio.v0.15.0
-> installed ppxlib.0.35.0
-> installed ppx_optcomp.v0.15.0
-> installed ppx_cold.v0.15.0
-> installed ppx_enumerate.v0.15.0
-> installed ppx_here.v0.15.0
-> installed ppx_compare.v0.15.0
-> installed ppx_sexp_conv.v0.15.1
-> installed ppx_hash.v0.15.0
-> installed ppx_assert.v0.15.0
-> installed ppx_base.v0.15.0
-> installed jst-config.v0.15.1
-> installed time_now.v0.15.0
-> installed ppx_inline_test.v0.15.1
-> installed ppx_expect.v0.15.1
-> installed ocaml-protoc-plugin.6.2.0
Done.
# Run eval $(opam env) to update the current shell environment
2025-08-28 19:44.30 ---> saved as "82e9f50ff2ba09a4e6e4d563cb94e3c1b248c8fbf47a4ee38a6197bbf0d01416"
Job succeeded
2025-08-28 19:44.36: Job succeeded