- github
- ocaml
- opam-repository
- 4c2c38
- compilers,4.10,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.10/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.10@sha256:1a9df055b4bc0c853176f7519e9dc1d073a95a1b77f3032044467632a516df3f
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.10@sha256:1a9df055b4bc0c853176f7519e9dc1d073a95a1b77f3032044467632a516df3f-protocol-9p.2.1.0-4c2c3865cb3881d12741013ebd80a3bdb50869d1"
2025-08-24 14:15.25: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.10@sha256:1a9df055b4bc0c853176f7519e9dc1d073a95a1b77f3032044467632a516df3f)
(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.27: Got resource from pool OCluster
Building on eumache
All commits already cached
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.10@sha256:1a9df055b4bc0c853176f7519e9dc1d073a95a1b77f3032044467632a516df3f)
Unable to find image 'ocaml/opam:debian-12-ocaml-4.10@sha256:1a9df055b4bc0c853176f7519e9dc1d073a95a1b77f3032044467632a516df3f' locally
docker.io/ocaml/opam@sha256:1a9df055b4bc0c853176f7519e9dc1d073a95a1b77f3032044467632a516df3f: Pulling from ocaml/opam
aa21b7521b00: Already exists
e79736922687: Already exists
70cedf3b79e6: Already exists
d3c721f517c2: Already exists
b71093ad4da1: Already exists
Digest: sha256:1a9df055b4bc0c853176f7519e9dc1d073a95a1b77f3032044467632a516df3f
Status: Downloaded newer image for ocaml/opam@sha256:1a9df055b4bc0c853176f7519e9dc1d073a95a1b77f3032044467632a516df3f
2025-08-24 14:15.40 ---> using "395a27f12360f705b0899f23e76caef0744b677e5fb1be480898000d084e062d" 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.40 ---> using "609b5129fb9f2e78fbbb07fa5cb31cd231a23b312e5bee581cb2c0233a54b04b" 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.40 ---> using "276e9d1548bc510f9bb21b5bf4798db9ec775f2c7281923edc47ffe885e44756" 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.10
# invariant ["ocaml-base-compiler" {= "4.10.2"}]
# compiler-packages ocaml-base-compiler.4.10.2
# ocaml:native true
# ocaml:native-tools true
# ocaml:native-dynlink true
# ocaml:stubsdir /home/opam/.opam/4.10/lib/ocaml/stublibs:/home/opam/.opam/4.10/lib/ocaml
# ocaml:preinstalled false
# ocaml:compiler 4.10.2
2025-08-24 14:15.40 ---> using "cda4fff2eb18bd7dc7b359a32da97e799ac33b46d7bed07b1927ca44c93dfb1e" 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.40 ---> using "77b8c3afd232f65e2a55e71b752051adfd9a88c2395fcda75ff1024e99dad054" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2025-08-24 14:15.50 ---> saved as "916dc7f3ecb2dfaa3caa7b7bcf1795085e1ac9b288fe3161eb47e97b21a323d8"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-08-24 14:16.08 ---> saved as "32579563977c8db811d8c7cdb3504ca18ca358de25034182b5275d231abffbeb"
/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 0s (1240 kB/s)
- Reading package lists...
2025-08-24 14:16.10 ---> saved as "fdb3188320528bc10d07c68fc43cb472fd6df412bd613a92d0d5b8c25e7c58c4"
/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.11 ---> saved as "3ecfee9a1d2b95d7c4707499fdf3579cb77b25105df6fcb3e22ebd84a5761ea2"
/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.15.1 [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.15.0 [required by sexplib]
- install ppx_derivers 1.2.1 [required by ppxlib]
- install ppx_sexp_conv v0.15.1 [required by protocol-9p]
- install ppxlib 0.35.0 [required by ppx_sexp_conv]
- install protocol-9p 2.1.0 (pinned)
- install rresult 0.7.0 [required by protocol-9p]
- install sexplib v0.15.1 [required by protocol-9p]
- install sexplib0 v0.15.1 [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.15.1 (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.15.0 (cached)
-> retrieved ppx_derivers.1.2.1 (cached)
-> retrieved ppx_sexp_conv.v0.15.1 (cached)
-> retrieved ppxlib.0.35.0 (cached)
-> retrieved protocol-9p.2.1.0 (cached)
-> retrieved rresult.0.7.0 (cached)
-> retrieved sexplib.v0.15.1 (cached)
-> retrieved sexplib0.v0.15.1 (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.15.1
-> 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.15.1
-> installed parsexp.v0.15.0
-> installed sexplib.v0.15.1
-> installed cstruct-sexp.6.2.0
-> installed ppxlib.0.35.0
-> installed ppx_sexp_conv.v0.15.1
-> installed protocol-9p.2.1.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-08-24 14:17.13 ---> saved as "da1b601a837a895a0213f43fd463e15a5dc51d54271d3b10a9ca99e978f56aae"
Job succeeded
2025-08-24 14:17.19: Job succeeded