- github
- ocaml
- opam-repository
- 9cf353
- extras,opam-2.0-ocaml-5.4,passage.0.2.0
(not at the head of any monitored branch or PR)
2025-12-03 12:01.59: New job: build passage.0.2.0, using opam 2.0
from https://github.com/ocaml/opam-repository.git#refs/pull/28969/head (9cf3539900e79f39a61be41771d4a5225c9945c7)
on debian-13-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/28969/head" && git reset --hard 9cf35399
git fetch origin master
git merge --no-edit 2fd4164ca1e27b8c6027454c4844c1a1f6dca0bc
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-5.4@sha256:08ea1ae277f20c88280199a79d0eb38d0ce9ac4f0e6708b737375fbc9477b1b9
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 passage.0.2.0 0.2.0
RUN opam depext passage.0.2.0 && opam reinstall passage.0.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-13\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'passage.0.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-12-03 12:01.59: Using cache hint "ocaml/opam:debian-13-ocaml-5.4@sha256:08ea1ae277f20c88280199a79d0eb38d0ce9ac4f0e6708b737375fbc9477b1b9-passage.0.2.0-9cf3539900e79f39a61be41771d4a5225c9945c7"
2025-12-03 12:01.59: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-5.4@sha256:08ea1ae277f20c88280199a79d0eb38d0ce9ac4f0e6708b737375fbc9477b1b9)
(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 passage.0.2.0 0.2.0"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam depext passage.0.2.0 && opam reinstall passage.0.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-13\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'passage.0.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-12-03 12:01.59: Waiting for resource in pool OCluster
2025-12-03 12:01.59: Waiting for worker…
2025-12-03 12:02.01: Got resource from pool OCluster
Building on laodoke.caelum.ci.dev
All commits already cached
HEAD is now at 2fd4164ca1 Merge pull request #28961 from kit-ty-kate/update-repo-opam-2.5.0
Merge made by the 'ort' strategy.
packages/passage/passage.0.2.0/opam | 65 +++++++++++++++++++++++++++++++++++++
1 file changed, 65 insertions(+)
create mode 100644 packages/passage/passage.0.2.0/opam
(from ocaml/opam:debian-13-ocaml-5.4@sha256:08ea1ae277f20c88280199a79d0eb38d0ce9ac4f0e6708b737375fbc9477b1b9)
Unable to find image 'ocaml/opam:debian-13-ocaml-5.4@sha256:08ea1ae277f20c88280199a79d0eb38d0ce9ac4f0e6708b737375fbc9477b1b9' locally
docker.io/ocaml/opam@sha256:08ea1ae277f20c88280199a79d0eb38d0ce9ac4f0e6708b737375fbc9477b1b9: Pulling from ocaml/opam
53c88f1dfeb7: Already exists
f40653bbd569: Already exists
7810c66e401b: Already exists
d941667067ac: Already exists
6e099de50dbd: Already exists
45940f4cdce1: Already exists
cbbdea3b6efd: Already exists
4c34326b882a: Already exists
d8a1b7be7128: Already exists
b30719ba72c1: Already exists
eb031d51ba4a: Already exists
a59529ec7b26: Already exists
1049e4f3b9e4: Already exists
e2ab32c77566: Already exists
f6ef7bc31988: Already exists
28c3b5beaa3f: Already exists
83ebb7ec29e3: Already exists
186714418599: Already exists
5045c0de4fc9: Already exists
3312ff3bfd69: Already exists
335847f13b00: Already exists
4f4fb700ef54: Already exists
b7958021acdb: Already exists
d92ce1afae3a: Already exists
7842835bd039: Already exists
3a60e5befc90: Already exists
7efeca794a8f: Already exists
efc7f994cef1: Already exists
ba91afca1a0a: Already exists
8216b6db35fa: Already exists
229184d6690a: Already exists
40e4db8e45e7: Already exists
12fb3f269d42: Already exists
c0196b69a0ef: Already exists
b731bd241e4b: Already exists
53512a47261a: Already exists
b1be3290ddde: Already exists
fe5803a9f63d: Already exists
5cf61ec03f01: Already exists
d44c5e23965f: Already exists
53dfff7b55e7: Already exists
226ac640e811: Already exists
e36350d7ae89: Already exists
b01b68c301ae: Pulling fs layer
91861d0ec5c8: Pulling fs layer
3e8690fdc63e: Pulling fs layer
91861d0ec5c8: Waiting
88138091cc6e: Pulling fs layer
3e8690fdc63e: Waiting
88138091cc6e: Waiting
91861d0ec5c8: Verifying Checksum
91861d0ec5c8: Download complete
3e8690fdc63e: Verifying Checksum
3e8690fdc63e: Download complete
88138091cc6e: Download complete
b01b68c301ae: Verifying Checksum
b01b68c301ae: Download complete
b01b68c301ae: Pull complete
91861d0ec5c8: Pull complete
3e8690fdc63e: Pull complete
88138091cc6e: Pull complete
Digest: sha256:08ea1ae277f20c88280199a79d0eb38d0ce9ac4f0e6708b737375fbc9477b1b9
Status: Downloaded newer image for ocaml/opam@sha256:08ea1ae277f20c88280199a79d0eb38d0ce9ac4f0e6708b737375fbc9477b1b9
2025-12-03 12:03.32 ---> using "f1efaca4efe78a0f1c0c577ac466822c09dc6f46f3a7d5f2a65ad8e72e69d5b6" 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-12-03 12:03.32 ---> using "e2163f8bef1d6127ab4fb4dde6361dcd8e2ac54f06decad22a8813d7c1f71a57" 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-12-03 12:03.32 ---> using "138d2f3414841c2e7513e136b0e3bdd5c6547feb7e0b4b9c2ef2cca51c88008e" 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=13
# 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 5.4
2025-12-03 12:03.32 ---> using "2ec0dd656338d58056534159a57fe0d9fd166ef685f655c2b1314ec0f1d173a3" 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-12-03 12:03.32 ---> using "434d4e63ada51ff9fa4a59b85e7f467e72ec22b2e065159878473b976345158a" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2025-12-03 12:03.44 ---> saved as "14f9f8bdbf2fb825f25b45104a1f66cc28151fe3aa4dfd33a22e46bcb432885b"
/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-12-03 12:03.55 ---> saved as "76b7f9a8d45c36b0e80294c1c2ec3cfa5e4a65a09cd611bc2c37cf78a6906276"
/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 trixie InRelease
Get:2 http://deb.debian.org/debian trixie-updates InRelease [47.3 kB]
Get:3 http://deb.debian.org/debian-security trixie-security InRelease [43.4 kB]
Get:4 http://deb.debian.org/debian-security trixie-security/main amd64 Packages [80.7 kB]
Fetched 171 kB in 2s (96.3 kB/s)
Reading package lists...
# OS package update successful
2025-12-03 12:03.59 ---> saved as "0216d82c51e978bd2a9b414ac8b193460fd08e58b2bb23d7f7a874ce1fd34d29"
/home/opam: (run (shell "opam pin add -k version -yn passage.0.2.0 0.2.0"))
passage is now pinned to version 0.2.0
2025-12-03 12:03.59 ---> saved as "447cf5676701cfe5e2ca09a4f9ea8503c75aa8ff2443e7d868790b5aa32d013a"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam depext passage.0.2.0 && opam reinstall passage.0.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-13\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'passage.0.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:
age
g++
libcurl4-gnutls-dev
libevent-dev
libpcre3-dev
pkg-config
zlib1g-dev
The following command needs to be run through "sudo":
apt-get install -qq -yy age g++ libcurl4-gnutls-dev libevent-dev libpcre3-dev pkg-config zlib1g-dev
E: Package 'libpcre3-dev' has no installation candidate
OS package installation failed
"/usr/bin/env" "bash" "-c" "opam depext passage.0.2.0 && opam reinstall passage.0.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-13\""; then
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.";
fi;
test "$pkg" != 'passage.0.2.0' && 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-12-03 12:04.16: Job failed: Failed: Build failed