(for PR #27360)
2025-10-17 13:54.18: New job: build ocaml-rocksdb.0.02, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/27360/head (879cce6341a5b8d26f5989e5001751782571cb8b)
on debian-13-ocaml-5.4-flambda/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/27360/head" && git reset --hard 879cce63
git fetch origin master
git merge --no-edit 5bf570252bd9fee71938b828ca0b86573c1e3355
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-5.4-flambda@sha256:b10e731b679d2485b1482699fb17dd36b43a14f95196e0eb312902d9973244b8
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-dev /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 ocaml-rocksdb.0.02 0.02
RUN opam reinstall ocaml-rocksdb.0.02; \
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" != 'ocaml-rocksdb.0.02' && 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-10-17 13:54.18: Using cache hint "ocaml/opam:debian-13-ocaml-5.4-flambda@sha256:b10e731b679d2485b1482699fb17dd36b43a14f95196e0eb312902d9973244b8-ocaml-rocksdb.0.02-879cce6341a5b8d26f5989e5001751782571cb8b"
2025-10-17 13:54.18: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-5.4-flambda@sha256:b10e731b679d2485b1482699fb17dd36b43a14f95196e0eb312902d9973244b8)
(user (uid 1000) (gid 1000))
(workdir /home/opam)
(run (shell "sudo ln -f /usr/bin/opam-dev /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 ocaml-rocksdb.0.02 0.02"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall ocaml-rocksdb.0.02;\
\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\" != 'ocaml-rocksdb.0.02' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
)
2025-10-17 13:54.18: Connecting to build cluster…
2025-10-17 13:54.18: Waiting for resource in pool OCluster
2025-10-17 14:27.49: Waiting for worker…
2025-10-17 14:31.05: Got resource from pool OCluster
Building on doris.caelum.ci.dev
All commits already cached
HEAD is now at 5bf570252b Merge pull request #28700 from drjdn/opam-publish-p5scm.0.5.0
Merge made by the 'ort' strategy.
.../conf-rocksdb-ge-5-17-2.5.17.2/opam | 37 ++++++++++++++
packages/ocaml-rocksdb/ocaml-rocksdb.0.02/opam | 59 ++++++++++++++++++++++
2 files changed, 96 insertions(+)
create mode 100644 packages/conf-rocksdb-ge-5-17-2/conf-rocksdb-ge-5-17-2.5.17.2/opam
create mode 100644 packages/ocaml-rocksdb/ocaml-rocksdb.0.02/opam
(from ocaml/opam:debian-13-ocaml-5.4-flambda@sha256:b10e731b679d2485b1482699fb17dd36b43a14f95196e0eb312902d9973244b8)
Unable to find image 'ocaml/opam:debian-13-ocaml-5.4-flambda@sha256:b10e731b679d2485b1482699fb17dd36b43a14f95196e0eb312902d9973244b8' locally
docker.io/ocaml/opam@sha256:b10e731b679d2485b1482699fb17dd36b43a14f95196e0eb312902d9973244b8: Pulling from ocaml/opam
cae3b572364a: Already exists
820d433882fc: Already exists
8f6112f72fa5: Already exists
f06108004adb: Already exists
f34ea90e6bf7: Already exists
b44a65709156: Already exists
4c25908bbac9: Already exists
f76df728146d: Already exists
1fee769dfcf3: Already exists
9089a7f69af3: Already exists
6f758b47b2a0: Already exists
16b225bbb395: Already exists
abbf3ec39b68: Already exists
1a61521655a9: Already exists
6a8565a9e443: Already exists
c059a4cbd7b9: Already exists
3a00fdc9e291: Already exists
a0b62589bd38: Already exists
6e8d713bf843: Already exists
bca1fd5341ba: Already exists
34b9849c2772: Already exists
4f4fb700ef54: Already exists
d8d3d0744e38: Already exists
788c7ce0e0e5: Already exists
a297eab0ca3b: Already exists
2e79af39acdb: Already exists
8858e600236c: Already exists
9efe23d1fe7d: Already exists
47d185934312: Already exists
64a949a6caff: Already exists
c9d6a7c18bb1: Already exists
e4fde4815f0c: Already exists
d1f759c16950: Already exists
f3dd45bf195f: Already exists
3985a6049101: Already exists
aae849592418: Already exists
6173459dc6b2: Already exists
7f16ef63bee0: Already exists
fe355de6a899: Already exists
b0bc5a15bc9d: Already exists
5ef8881599f6: Pulling fs layer
43070a8c11bb: Pulling fs layer
50f4a5d16176: Pulling fs layer
85feb710c969: Pulling fs layer
501294b0489e: Pulling fs layer
951363dabe9e: Pulling fs layer
73c433af7360: Pulling fs layer
501294b0489e: Waiting
951363dabe9e: Waiting
85feb710c969: Waiting
73c433af7360: Waiting
43070a8c11bb: Verifying Checksum
43070a8c11bb: Download complete
50f4a5d16176: Verifying Checksum
50f4a5d16176: Download complete
5ef8881599f6: Verifying Checksum
5ef8881599f6: Download complete
5ef8881599f6: Pull complete
43070a8c11bb: Pull complete
50f4a5d16176: Pull complete
501294b0489e: Verifying Checksum
501294b0489e: Download complete
951363dabe9e: Verifying Checksum
951363dabe9e: Download complete
73c433af7360: Verifying Checksum
73c433af7360: Download complete
85feb710c969: Verifying Checksum
85feb710c969: Download complete
85feb710c969: Pull complete
501294b0489e: Pull complete
951363dabe9e: Pull complete
73c433af7360: Pull complete
Digest: sha256:b10e731b679d2485b1482699fb17dd36b43a14f95196e0eb312902d9973244b8
Status: Downloaded newer image for ocaml/opam@sha256:b10e731b679d2485b1482699fb17dd36b43a14f95196e0eb312902d9973244b8
2025-10-17 14:31.30 ---> using "d21589b27306a25e1289a252dbb56f9b4e0c864d9281d0d63aabbaa4d2fa3aef" from cache
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2025-10-17 14:31.30 ---> using "c710f09d590a6e05b552639651fdb385a9ae9f1eefd5a5516928db68368ddd94" 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 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
[NOTE] The 'jobs' option was reset, its value was 71 and its new value will vary according to the current number of cores on your machine. You can restore the fixed value using:
opam option jobs=71 --global
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-10-17 14:31.30 ---> using "dfbc421db79649f79ef9e94ce86e55cd0bd190a4ebcfa288e70f14ba0ea9222b" 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.4.1
# self-upgrade no
# system arch=x86_64 os=linux os-distribution=debian os-version=13
# solver builtin-0install
# install-criteria -changed,-count[avoid-version,solution]
# upgrade-criteria -count[avoid-version,solution]
# jobs 255
# repositories 1 (version-controlled)
# pinned 1 (version)
# current-switch 5.4
# invariant ["ocaml-variants" {= "5.4.0+options"}]
# compiler-packages ocaml-compiler.5.4.0, ocaml-option-flambda.1, ocaml-options-only-flambda.1, ocaml-variants.5.4.0+options
# ocaml:native true
# ocaml:native-tools true
# ocaml:native-dynlink true
# ocaml:stubsdir /home/opam/.opam/5.4/lib/ocaml/stublibs:/home/opam/.opam/5.4/lib/ocaml
# ocaml:preinstalled false
# ocaml:compiler 5.4.0+options+flambda
2025-10-17 14:31.30 ---> using "d19e876632a2ac441afeb6f7fea8d82709b09a2c9fee7795a68922b0a0fb88ae" 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-10-17 14:31.30 ---> using "c3945921ea95f7da0ef7d9caa6fd506c572d2bacb5a9cad258355c3feb763e59" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2025-10-17 14:31.47 ---> saved as "ff157c748a7502d039f75358314c2b1e9c438e5e22517c3183332106c13ed31e"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-10-17 14:32.05 ---> saved as "0eb6ec2fdba206ff38d9450c39f2401b8f845fa1bd64780e42b0a7e7c187f7ed"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/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 [56.5 kB]
- Fetched 147 kB in 0s (1474 kB/s)
- Reading package lists...
2025-10-17 14:32.07 ---> saved as "a9848e4de97e5fbff19e0c41acc9116588b115374cd6cea296ec21751941babc"
/home/opam: (run (shell "opam pin add -k version -yn ocaml-rocksdb.0.02 0.02"))
ocaml-rocksdb is now pinned to version 0.02
2025-10-17 14:32.08 ---> saved as "f030208589db389449988b684c77d22faa0d347e5a74e6fc921a57929b168174"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall ocaml-rocksdb.0.02;\
\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\" != 'ocaml-rocksdb.0.02' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
ocaml-rocksdb.0.02 is not installed. Install it? [Y/n] y
* Missing dependency:
- ocaml-rocksdb -> cppffigen -> pcre >= 7.5.0 -> conf-libpcre
depends on the unavailable system package 'libpcre3-dev'. Use `--no-depexts' to attempt installation anyway, or it is possible that a depext package name in the opam file is incorrect.
No solution found, exiting
"/usr/bin/env" "bash" "-c" "opam reinstall ocaml-rocksdb.0.02;
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" != 'ocaml-rocksdb.0.02' && partial_fails="$partial_fails $pkg";
done;
test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}";
exit 1" failed with exit status 20
2025-10-17 14:33.06: Job failed: Failed: Build failed
2025-10-17 14:33.06: Log analysis:
2025-10-17 14:33.06: >>>
No solution found, exiting
(score = 100)
2025-10-17 14:33.06: [SKIP] Package not available