- github
- ocaml
- opam-repository
- 4c2c38
- compilers,4.08,protocol-9p.2.1.0
(not at the head of any monitored branch or PR)
2025-08-24 14:15.25: New job: build protocol-9p.2.1.0, using opam 2.3
from https://github.com/ocaml/opam-repository.git#refs/pull/28394/head (4c2c3865cb3881d12741013ebd80a3bdb50869d1)
on debian-12-ocaml-4.08/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/28394/head" && git reset --hard 4c2c3865
git fetch origin master
git merge --no-edit ee245280716d67a725ee0e077c693787eb6733e1
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.08@sha256:cc7a5986454e584df492ee1ad1d8fdefce7e2ac0119094e089d5a727481a029f
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-2.3 /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 protocol-9p.2.1.0 2.1.0
RUN opam reinstall protocol-9p.2.1.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" != 'protocol-9p.2.1.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-24 14:15.25: Using cache hint "ocaml/opam:debian-12-ocaml-4.08@sha256:cc7a5986454e584df492ee1ad1d8fdefce7e2ac0119094e089d5a727481a029f-protocol-9p.2.1.0-4c2c3865cb3881d12741013ebd80a3bdb50869d1"
2025-08-24 14:15.25: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.08@sha256:cc7a5986454e584df492ee1ad1d8fdefce7e2ac0119094e089d5a727481a029f)
(user (uid 1000) (gid 1000))
(workdir /home/opam)
(run (shell "sudo ln -f /usr/bin/opam-2.3 /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 protocol-9p.2.1.0 2.1.0"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall protocol-9p.2.1.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\" != 'protocol-9p.2.1.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-24 14:15.25: Waiting for resource in pool OCluster
2025-08-24 14:15.26: Waiting for worker…
2025-08-24 14:15.26: Got resource from pool OCluster
Building on eumache
HEAD is now at 4d7cf0f76a [new release] protocol-9p (3 packages) (2.1.0)
HEAD is now at ee24528071 Merge pull request #28383 from hannesm/release-tls-v2.0.2
Updating ee24528071..4c2c3865cb
Fast-forward
.../protocol-9p-tool/protocol-9p-tool.2.1.0/opam | 57 ++++++++++++++++++++++
.../protocol-9p-unix/protocol-9p-unix.2.1.0/opam | 51 +++++++++++++++++++
packages/protocol-9p/protocol-9p.2.1.0/opam | 49 +++++++++++++++++++
3 files changed, 157 insertions(+)
create mode 100644 packages/protocol-9p-tool/protocol-9p-tool.2.1.0/opam
create mode 100644 packages/protocol-9p-unix/protocol-9p-unix.2.1.0/opam
create mode 100644 packages/protocol-9p/protocol-9p.2.1.0/opam
(from ocaml/opam:debian-12-ocaml-4.08@sha256:cc7a5986454e584df492ee1ad1d8fdefce7e2ac0119094e089d5a727481a029f)
2025-08-24 14:15.32 ---> using "478c216f9ef71538b00b59c622d6627b870abf39da748960e0f1c425475bbe9e" from cache
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-08-24 14:15.32 ---> using "2ec11fb69de4616157d81755bd5936905d597e2415f79c9314d514af008e8542" 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.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-08-24 14:15.32 ---> using "b40d6b46329144e8c7d5f5f80436637eb1330786eb4db6a1522bb5a78cb6d916" 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.3.0 (35acd0c5abc5e66cdbd5be16ba77aa6c33a4c724)
# self-upgrade no
# system arch=x86_64 os=linux os-distribution=debian os-version=12
# 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.08
# invariant ["ocaml-base-compiler" {= "4.08.1"}]
# compiler-packages ocaml-base-compiler.4.08.1
# ocaml:native true
# ocaml:native-tools true
# ocaml:native-dynlink true
# ocaml:stubsdir /home/opam/.opam/4.08/lib/ocaml/stublibs:/home/opam/.opam/4.08/lib/ocaml
# ocaml:preinstalled false
# ocaml:compiler 4.08.1
2025-08-24 14:15.32 ---> using "3845ce3570c587aef37631b63c92fd3bdd1e6e6c4f9c1dbab4a8aef92671e583" 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-24 14:15.32 ---> using "dacf46cf8e17ab081488d3f69d26de4977c7ab575a2d43e2af408a555d9f7b0f" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2025-08-24 14:15.42 ---> saved as "3c61d57ed487ad9bc55466f4c7937a2c739157d82b72b1a41594e9ad7f58dd64"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-08-24 14:16.02 ---> saved as "acfc2e67d56a1550c0ab634f4b8bd85995c59b57ea4ff5cc48dd379b7266c26a"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/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 1s (653 kB/s)
- Reading package lists...
-
2025-08-24 14:16.03 ---> saved as "d1d169d391f7a947e26e73ea56ea0fe422583776dc55251e74e0dcdf9188f40a"
/home/opam: (run (shell "opam pin add -k version -yn protocol-9p.2.1.0 2.1.0"))
protocol-9p is now pinned to version 2.1.0
2025-08-24 14:16.05 ---> saved as "a847730868c0f4247ec4abc3afb0f1269627e7c968a2e49ba184b26894a1b163"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall protocol-9p.2.1.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\" != 'protocol-9p.2.1.0' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
protocol-9p.2.1.0 is not installed. Install it? [y/n] y
The following actions will be performed:
=== install 30 packages
- install astring 0.8.5 [required by protocol-9p]
- install base v0.14.3 [required by ppx_sexp_conv]
- install base-bytes base [required by protocol-9p]
- install cppo 1.8.0 [required by lwt]
- install csexp 1.5.2 [required by dune-configurator]
- install cstruct 6.2.0 [required by protocol-9p]
- install cstruct-sexp 6.2.0 [required by protocol-9p]
- install dune 3.20.0 [required by protocol-9p]
- install dune-configurator 3.20.0 [required by lwt]
- install fmt 0.11.0 [required by protocol-9p]
- install logs 0.8.0 [required by protocol-9p]
- install lwt 5.9.1 [required by protocol-9p]
- install mirage-channel 5.0.0 [required by protocol-9p]
- install mirage-flow 5.0.0 [required by protocol-9p]
- install num 1.6 [required by sexplib]
- install ocaml-compiler-libs v0.12.4 [required by ppxlib]
- install ocamlbuild 0.16.1 [required by logs, astring, rresult]
- install ocamlfind 1.9.8 [required by logs, astring, base-bytes, rresult]
- install ocplib-endian 1.2 [required by lwt]
- install parsexp v0.14.2 [required by sexplib]
- install ppx_derivers 1.2.1 [required by ppxlib]
- install ppx_sexp_conv v0.14.3 [required by protocol-9p]
- install ppxlib 0.25.1 [required by ppx_sexp_conv]
- install protocol-9p 2.1.0 (pinned)
- install rresult 0.7.0 [required by protocol-9p]
- install sexplib v0.14.0 [required by protocol-9p]
- install sexplib0 v0.14.0 [required by ppx_sexp_conv]
- install stdlib-shims 0.3.0 [required by ppxlib]
- install topkg 1.1.0 [required by logs, astring, rresult]
- install win-error 1.0 [required by protocol-9p]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved astring.0.8.5 (cached)
-> retrieved base.v0.14.3 (cached)
-> retrieved cppo.1.8.0 (cached)
-> retrieved csexp.1.5.2 (cached)
-> retrieved cstruct.6.2.0, cstruct-sexp.6.2.0 (cached)
-> retrieved dune.3.20.0, dune-configurator.3.20.0 (cached)
-> retrieved fmt.0.11.0 (cached)
-> retrieved logs.0.8.0 (cached)
-> retrieved lwt.5.9.1 (cached)
-> retrieved mirage-channel.5.0.0 (cached)
-> retrieved mirage-flow.5.0.0 (cached)
-> retrieved num.1.6 (cached)
-> retrieved ocaml-compiler-libs.v0.12.4 (cached)
-> retrieved ocamlbuild.0.16.1 (cached)
-> retrieved ocamlfind.1.9.8 (cached)
-> retrieved ocplib-endian.1.2 (cached)
-> retrieved parsexp.v0.14.2 (cached)
-> retrieved ppx_derivers.1.2.1 (cached)
-> retrieved ppx_sexp_conv.v0.14.3 (cached)
-> retrieved ppxlib.0.25.1 (cached)
-> retrieved protocol-9p.2.1.0 (cached)
-> retrieved rresult.0.7.0 (cached)
-> retrieved sexplib.v0.14.0 (cached)
-> retrieved sexplib0.v0.14.0 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved topkg.1.1.0 (cached)
-> retrieved win-error.1.0 (cached)
-> installed num.1.6
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed ocamlbuild.0.16.1
-> installed topkg.1.1.0
-> installed rresult.0.7.0
-> installed fmt.0.11.0
-> installed astring.0.8.5
-> installed dune.3.20.0
-> installed ppx_derivers.1.2.1
-> installed csexp.1.5.2
-> installed cppo.1.8.0
-> installed cstruct.6.2.0
-> installed ocaml-compiler-libs.v0.12.4
-> installed sexplib0.v0.14.0
-> installed stdlib-shims.0.3.0
-> installed win-error.1.0
-> installed ocplib-endian.1.2
-> installed dune-configurator.3.20.0
-> installed lwt.5.9.1
-> installed mirage-flow.5.0.0
-> installed logs.0.8.0
-> installed mirage-channel.5.0.0
-> installed base.v0.14.3
-> installed parsexp.v0.14.2
-> installed sexplib.v0.14.0
-> installed cstruct-sexp.6.2.0
-> installed ppxlib.0.25.1
-> installed ppx_sexp_conv.v0.14.3
-> installed protocol-9p.2.1.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-08-24 14:16.59 ---> saved as "f579cbbf187a7b1b2acbc00042a17795c0f4f0dc379639d9ff9f070aa6b95792"
Job succeeded
2025-08-24 14:17.05: Job succeeded