- github
- ocaml
- opam-repository
- dd5533
- extras,opam-2.0-ocaml-4.14,dune-action-plugin.3.20.0~alpha2
(not at the head of any monitored branch or PR)
2025-08-05 13:46.18: New job: build dune-action-plugin.3.20.0~alpha2, using opam 2.0
from https://github.com/ocaml/opam-repository.git#refs/pull/28298/head (dd5533520fdcb5364efecb41d297e786ddcc1f76)
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/28298/head" && git reset --hard dd553352
git fetch origin master
git merge --no-edit 39155538b0d7654773a68bd42b0b7dbb8eb14ad7
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.14@sha256:b3b4d6d5643af6178c2c7da1f4185223f562d83280904781325cdf5798986a63
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 dune-action-plugin.3.20.0~alpha2 3.20.0~alpha2
RUN opam depext dune-action-plugin.3.20.0~alpha2 && opam reinstall dune-action-plugin.3.20.0~alpha2; \
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" != 'dune-action-plugin.3.20.0~alpha2' && 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-05 13:46.18: Using cache hint "ocaml/opam:debian-12-ocaml-4.14@sha256:b3b4d6d5643af6178c2c7da1f4185223f562d83280904781325cdf5798986a63-dune-action-plugin.3.20.0~alpha2-dd5533520fdcb5364efecb41d297e786ddcc1f76"
2025-08-05 13:46.18: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.14@sha256:b3b4d6d5643af6178c2c7da1f4185223f562d83280904781325cdf5798986a63)
(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 dune-action-plugin.3.20.0~alpha2 3.20.0~alpha2"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam depext dune-action-plugin.3.20.0~alpha2 && opam reinstall dune-action-plugin.3.20.0~alpha2;\
\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\" != 'dune-action-plugin.3.20.0~alpha2' && 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-05 13:46.18: Waiting for resource in pool OCluster
2025-08-05 13:54.51: Waiting for worker…
2025-08-05 13:56.08: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
HEAD is now at 39155538b0 Merge pull request #28292 from gildor478/release-ocamlmod-v0.1.1
Updating 39155538b0..dd5533520f
Fast-forward
.../chrome-trace/chrome-trace.3.20.0~alpha2/opam | 41 ++++++++++++
.../dune-action-plugin.3.20.0~alpha2/opam | 54 ++++++++++++++++
.../dune-build-info.3.20.0~alpha2/opam | 47 ++++++++++++++
.../dune-configurator.3.20.0~alpha2/opam | 51 +++++++++++++++
packages/dune-glob/dune-glob.3.20.0~alpha2/opam | 44 +++++++++++++
.../dune-private-libs.3.20.0~alpha2/opam | 52 +++++++++++++++
.../dune-rpc-lwt/dune-rpc-lwt.3.20.0~alpha2/opam | 43 +++++++++++++
packages/dune-rpc/dune-rpc.3.20.0~alpha2/opam | 45 +++++++++++++
packages/dune-site/dune-site.3.20.0~alpha2/opam | 39 ++++++++++++
packages/dune/dune.3.20.0~alpha2/opam | 74 ++++++++++++++++++++++
packages/dyn/dyn.3.20.0~alpha2/opam | 42 ++++++++++++
packages/ocamlc-loc/ocamlc-loc.3.20.0~alpha2/opam | 45 +++++++++++++
packages/ordering/ordering.3.20.0~alpha2/opam | 40 ++++++++++++
packages/stdune/stdune.3.20.0~alpha2/opam | 46 ++++++++++++++
packages/xdg/xdg.3.20.0~alpha2/opam | 41 ++++++++++++
15 files changed, 704 insertions(+)
create mode 100644 packages/chrome-trace/chrome-trace.3.20.0~alpha2/opam
create mode 100644 packages/dune-action-plugin/dune-action-plugin.3.20.0~alpha2/opam
create mode 100644 packages/dune-build-info/dune-build-info.3.20.0~alpha2/opam
create mode 100644 packages/dune-configurator/dune-configurator.3.20.0~alpha2/opam
create mode 100644 packages/dune-glob/dune-glob.3.20.0~alpha2/opam
create mode 100644 packages/dune-private-libs/dune-private-libs.3.20.0~alpha2/opam
create mode 100644 packages/dune-rpc-lwt/dune-rpc-lwt.3.20.0~alpha2/opam
create mode 100644 packages/dune-rpc/dune-rpc.3.20.0~alpha2/opam
create mode 100644 packages/dune-site/dune-site.3.20.0~alpha2/opam
create mode 100644 packages/dune/dune.3.20.0~alpha2/opam
create mode 100644 packages/dyn/dyn.3.20.0~alpha2/opam
create mode 100644 packages/ocamlc-loc/ocamlc-loc.3.20.0~alpha2/opam
create mode 100644 packages/ordering/ordering.3.20.0~alpha2/opam
create mode 100644 packages/stdune/stdune.3.20.0~alpha2/opam
create mode 100644 packages/xdg/xdg.3.20.0~alpha2/opam
(from ocaml/opam:debian-12-ocaml-4.14@sha256:b3b4d6d5643af6178c2c7da1f4185223f562d83280904781325cdf5798986a63)
Unable to find image 'ocaml/opam:debian-12-ocaml-4.14@sha256:b3b4d6d5643af6178c2c7da1f4185223f562d83280904781325cdf5798986a63' locally
docker.io/ocaml/opam@sha256:b3b4d6d5643af6178c2c7da1f4185223f562d83280904781325cdf5798986a63: Pulling from ocaml/opam
a77c4f4a24ac: Already exists
9d1a03aa3c71: Pulling fs layer
baba434270f2: Pulling fs layer
2a8a0f93626e: Pulling fs layer
f6ba2ed01176: Pulling fs layer
f6ba2ed01176: Waiting
2a8a0f93626e: Download complete
baba434270f2: Download complete
f6ba2ed01176: Verifying Checksum
f6ba2ed01176: Download complete
9d1a03aa3c71: Verifying Checksum
9d1a03aa3c71: Download complete
9d1a03aa3c71: Pull complete
baba434270f2: Pull complete
2a8a0f93626e: Pull complete
f6ba2ed01176: Pull complete
Digest: sha256:b3b4d6d5643af6178c2c7da1f4185223f562d83280904781325cdf5798986a63
Status: Downloaded newer image for ocaml/opam@sha256:b3b4d6d5643af6178c2c7da1f4185223f562d83280904781325cdf5798986a63
2025-08-05 14:16.56 ---> using "7f53aba96fd697ea92c7c7d3f6be48133fa7f3f6538a693606c4cbcecd7917b8" 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-05 14:16.56 ---> using "870b0d0ad516da6424be21612e8d251d98bcbccc2fa45d5e194bc6d43f03309f" 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-05 14:16.56 ---> using "541e91a0157719eb15a6b309ce557d03f77bba99787426199b8cc228a3201722" 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-05 14:16.57 ---> using "520acc36991581c4e7acd6b6d3f688b89a0e180f7052ea55d2d43d3204118280" 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-05 14:16.57 ---> using "b7f8138fb19ef9cd918098696a693ba3512b0599acfa6716b61b2f9627cf18c5" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2025-08-05 14:16.57 ---> using "6118317856728c5894a8aed6183fb69b1af05554ef84891620bf525459d3645c" from cache
/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-05 14:16.57 ---> using "6ca2f5435130a9363ce550127c7e9009c4858896dbb187ef3a607260adb9772b" from cache
/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 bookworm-updates/main amd64 Packages.diff/Index [19.6 kB]
Ign:4 http://deb.debian.org/debian bookworm-updates/main amd64 Packages.diff/Index
Get:5 http://deb.debian.org/debian bookworm-updates/main amd64 Packages [6916 B]
Get:6 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [272 kB]
Fetched 402 kB in 0s (1226 kB/s)
Reading package lists...
# OS package update successful
2025-08-05 14:16.57 ---> using "af19e7f03d75f703bfcdf3bfc9c8a80d841c9c9fce28beb3ad1a9ae37ec88f28" from cache
/home/opam: (run (shell "opam pin add -k version -yn dune-action-plugin.3.20.0~alpha2 3.20.0~alpha2"))
dune-action-plugin is now pinned to version 3.20.0~alpha2
2025-08-05 14:16.58 ---> saved as "44736e36132bf3aa759b121711a92e3b0a736f00b775f73b36ec215631be9473"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam depext dune-action-plugin.3.20.0~alpha2 && opam reinstall dune-action-plugin.3.20.0~alpha2;\
\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\" != 'dune-action-plugin.3.20.0~alpha2' && 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
# No extra OS packages requirements found.
# All required OS packages found.
dune-action-plugin.3.20.0~alpha2 is not installed. Install it? [Y/n] y
The following actions will be performed:
- install dune 3.20.0~alpha2 [required by dune-action-plugin]
- install xdg 3.20.0~alpha2 [required by dune-rpc]
- install pp 2.0.0 [required by dune-rpc]
- install ordering 3.20.0~alpha2 [required by dune-glob, dune-rpc]
- install csexp 1.5.2 [required by dune-action-plugin]
- install dyn 3.20.0~alpha2 [required by dune-glob, dune-rpc]
- install stdune 3.20.0~alpha2 [required by dune-action-plugin]
- install dune-rpc 3.20.0~alpha2 [required by dune-action-plugin]
- install dune-private-libs 3.20.0~alpha2 [required by dune-action-plugin]
- install dune-glob 3.20.0~alpha2 [required by dune-action-plugin]
- install dune-action-plugin 3.20.0~alpha2*
===== 11 to install =====
<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[csexp.1.5.2] found in cache
[dune.3.20.0~alpha2] found in cache
[dune-action-plugin.3.20.0~alpha2] found in cache
[dune-glob.3.20.0~alpha2] found in cache
[dune-private-libs.3.20.0~alpha2] found in cache
[dune-rpc.3.20.0~alpha2] found in cache
[dyn.3.20.0~alpha2] found in cache
[ordering.3.20.0~alpha2] found in cache
[pp.2.0.0] found in cache
[stdune.3.20.0~alpha2] found in cache
[xdg.3.20.0~alpha2] found in cache
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed dune.3.20.0~alpha2
-> installed csexp.1.5.2
-> installed pp.2.0.0
-> installed ordering.3.20.0~alpha2
-> installed xdg.3.20.0~alpha2
-> installed dyn.3.20.0~alpha2
-> installed stdune.3.20.0~alpha2
[ERROR] The compilation of dune-rpc failed at "/home/opam/.opam/opam-init/hooks/sandbox.sh build dune build -p dune-rpc -j 71 @install".
-> installed dune-private-libs.3.20.0~alpha2
-> installed dune-glob.3.20.0~alpha2
#=== ERROR while compiling dune-rpc.3.20.0~alpha2 =============================#
# context 2.0.10 | linux/x86_64 | ocaml-base-compiler.4.14.2 | file:///home/opam/opam-repository
# path ~/.opam/4.14/.opam-switch/build/dune-rpc.3.20.0~alpha2
# command ~/.opam/opam-init/hooks/sandbox.sh build dune build -p dune-rpc -j 71 @install
# exit-code 1
# env-file ~/.opam/log/dune-rpc-45-21b540.env
# output-file ~/.opam/log/dune-rpc-45-21b540.out
### output ###
# File "otherlibs/dune-rpc/private/dune", line 4, characters 22-32:
# 4 | (libraries csexp dyn ocamlc_loc ordering pp stdune unix xdg)
# ^^^^^^^^^^
# Error: Library "ocamlc_loc" not found.
# -> required by library "dune-rpc.private" in
# _build/default/otherlibs/dune-rpc/private
# -> required by _build/default/META.dune-rpc
# -> required by _build/install/default/lib/dune-rpc/META
# -> required by _build/default/dune-rpc.install
# -> required by alias install
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build dune-rpc 3.20.0~alpha2
+-
+- The following changes have been performed (the rest was aborted)
| - install csexp 1.5.2
| - install dune 3.20.0~alpha2
| - install dune-glob 3.20.0~alpha2
| - install dune-private-libs 3.20.0~alpha2
| - install dyn 3.20.0~alpha2
| - install ordering 3.20.0~alpha2
| - install pp 2.0.0
| - install stdune 3.20.0~alpha2
| - install xdg 3.20.0~alpha2
+-
# Run eval $(opam env) to update the current shell environment
The former state can be restored with:
opam switch import "/home/opam/.opam/4.14/.opam-switch/backup/state-20250805141701.export"
opam-repo-ci detected dependencies failing: dune-rpc.3.20.0~alpha2
"/usr/bin/env" "bash" "-c" "opam depext dune-action-plugin.3.20.0~alpha2 && opam reinstall dune-action-plugin.3.20.0~alpha2;
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" != 'dune-action-plugin.3.20.0~alpha2' && partial_fails="$partial_fails $pkg";
done;
test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}";
exit 1" failed with exit status 1
2025-08-05 14:17.55: Job failed: Failed: Build failed
2025-08-05 14:17.55: Log analysis:
2025-08-05 14:17.55: >>>
[ERROR] The compilation of dune-rpc failed at "/home/opam/.opam/opam-init/hooks/sandbox.sh build dune build -p dune-rpc -j 71 @install".
(score = 20)
2025-08-05 14:17.55: >>>
# Error: Library "ocamlc_loc" not found.
(score = 48)
2025-08-05 14:17.55: >>>
opam-repo-ci detected dependencies failing: dune-rpc.3.20.0~alpha2
(score = 75)
2025-08-05 14:17.55: dune-rpc.3.20.0~alpha2 failed to build