(for PR #27360)
2025-11-10 16:55.42: New job: build conf-rocksdb-ge-5-17-2.5.17.2, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/27360/head (879cce6341a5b8d26f5989e5001751782571cb8b)
on centos-9-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/27360/head" && git reset --hard 879cce63
git fetch origin master
git merge --no-edit b6a264c784afa1e19f7a926fc10d49010ad12be4
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:centos-9-ocaml-5.4@sha256:4ff6eaf91a3dc04a84bbe30f720632fd35a391fd7e1ad02090894c030fcdcbdf
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 conf-rocksdb-ge-5-17-2.5.17.2 5.17.2
RUN opam reinstall conf-rocksdb-ge-5-17-2.5.17.2; \
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 "\"centos-9\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'conf-rocksdb-ge-5-17-2.5.17.2' && 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-11-10 16:55.42: Using cache hint "ocaml/opam:centos-9-ocaml-5.4@sha256:4ff6eaf91a3dc04a84bbe30f720632fd35a391fd7e1ad02090894c030fcdcbdf-conf-rocksdb-ge-5-17-2.5.17.2-879cce6341a5b8d26f5989e5001751782571cb8b"
2025-11-10 16:55.42: Using OBuilder spec:
((from ocaml/opam:centos-9-ocaml-5.4@sha256:4ff6eaf91a3dc04a84bbe30f720632fd35a391fd7e1ad02090894c030fcdcbdf)
(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 conf-rocksdb-ge-5-17-2.5.17.2 5.17.2"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall conf-rocksdb-ge-5-17-2.5.17.2;\
\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 \"\\\"centos-9\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'conf-rocksdb-ge-5-17-2.5.17.2' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
)
2025-11-10 16:55.42: Waiting for resource in pool OCluster
2025-11-10 21:11.40: Waiting for worker…
2025-11-10 21:15.24: Got resource from pool OCluster
Building on laodoke.caelum.ci.dev
All commits already cached
HEAD is now at b6a264c784 Merge pull request #28853 from AltGr/catala100
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:centos-9-ocaml-5.4@sha256:4ff6eaf91a3dc04a84bbe30f720632fd35a391fd7e1ad02090894c030fcdcbdf)
Unable to find image 'ocaml/opam:centos-9-ocaml-5.4@sha256:4ff6eaf91a3dc04a84bbe30f720632fd35a391fd7e1ad02090894c030fcdcbdf' locally
docker.io/ocaml/opam@sha256:4ff6eaf91a3dc04a84bbe30f720632fd35a391fd7e1ad02090894c030fcdcbdf: Pulling from ocaml/opam
57b9d01e960d: Pulling fs layer
da52121e5e0b: Pulling fs layer
c05df575a06c: Pulling fs layer
8cfc90e460aa: Pulling fs layer
c60a1e8f5888: Pulling fs layer
8cfc90e460aa: Waiting
ca0e671ea73e: Pulling fs layer
c60a1e8f5888: Waiting
e54b92dc9e35: Pulling fs layer
ca0e671ea73e: Waiting
7d4d3d6e6c4a: Pulling fs layer
e54b92dc9e35: Waiting
9cd615a5705c: Pulling fs layer
7d4d3d6e6c4a: Waiting
9cd615a5705c: Waiting
217e727fdb67: Pulling fs layer
c616fd6f9fe5: Pulling fs layer
217e727fdb67: Waiting
749e4a8d7aa8: Pulling fs layer
c616fd6f9fe5: Waiting
749e4a8d7aa8: Waiting
887d75ac7460: Pulling fs layer
c21eab48b10c: Pulling fs layer
887d75ac7460: Waiting
c21eab48b10c: Waiting
cfa8b743b537: Pulling fs layer
a8b55ebe1144: Pulling fs layer
6277abf0fa65: Pulling fs layer
cfa8b743b537: Waiting
a8b55ebe1144: Waiting
6277abf0fa65: Waiting
fed75d1b612a: Pulling fs layer
837723d4ad87: Pulling fs layer
fed75d1b612a: Waiting
7bcd03e2514d: Pulling fs layer
837723d4ad87: Waiting
a69850e6646e: Pulling fs layer
7bcd03e2514d: Waiting
4f4fb700ef54: Pulling fs layer
a69850e6646e: Waiting
efccd7c97283: Pulling fs layer
4f4fb700ef54: Waiting
31f216d9d3b3: Pulling fs layer
efccd7c97283: Waiting
c4573d4bbe34: Pulling fs layer
31f216d9d3b3: Waiting
e06c70a4f3ef: Pulling fs layer
c4573d4bbe34: Waiting
460db5e656f6: Pulling fs layer
e06c70a4f3ef: Waiting
a83f006fe519: Pulling fs layer
460db5e656f6: Waiting
e1a027d5760a: Pulling fs layer
a83f006fe519: Waiting
c38907b9f7dc: Pulling fs layer
e1a027d5760a: Waiting
7cdc0adb205c: Pulling fs layer
c38907b9f7dc: Waiting
a7902f56f5a2: Pulling fs layer
7cdc0adb205c: Waiting
e5d4a6f522db: Pulling fs layer
a7902f56f5a2: Waiting
3474abb8d0a9: Pulling fs layer
e5d4a6f522db: Waiting
b29181a67751: Pulling fs layer
3474abb8d0a9: Waiting
db07ca603c12: Pulling fs layer
b29181a67751: Waiting
e49d51456537: Pulling fs layer
db07ca603c12: Waiting
dad0df8ee568: Pulling fs layer
e49d51456537: Waiting
ebb259a4580a: Pulling fs layer
dad0df8ee568: Waiting
96b1f5e97da2: Pulling fs layer
ebb259a4580a: Waiting
593ae4477d39: Pulling fs layer
96b1f5e97da2: Waiting
b07f166692bd: Pulling fs layer
593ae4477d39: Waiting
b5e9777c5684: Pulling fs layer
b07f166692bd: Waiting
9c55f0ef151e: Pulling fs layer
b5e9777c5684: Waiting
8e3861304469: Pulling fs layer
9c55f0ef151e: Waiting
8e3861304469: Waiting
da52121e5e0b: Download complete
57b9d01e960d: Verifying Checksum
57b9d01e960d: Download complete
57b9d01e960d: Pull complete
da52121e5e0b: Pull complete
c60a1e8f5888: Verifying Checksum
c60a1e8f5888: Download complete
ca0e671ea73e: Verifying Checksum
ca0e671ea73e: Download complete
e54b92dc9e35: Verifying Checksum
e54b92dc9e35: Download complete
7d4d3d6e6c4a: Verifying Checksum
7d4d3d6e6c4a: Download complete
9cd615a5705c: Verifying Checksum
9cd615a5705c: Download complete
217e727fdb67: Verifying Checksum
217e727fdb67: Download complete
c05df575a06c: Verifying Checksum
c05df575a06c: Download complete
c616fd6f9fe5: Verifying Checksum
c616fd6f9fe5: Download complete
749e4a8d7aa8: Verifying Checksum
749e4a8d7aa8: Download complete
887d75ac7460: Verifying Checksum
887d75ac7460: Download complete
c21eab48b10c: Verifying Checksum
c21eab48b10c: Download complete
c05df575a06c: Pull complete
cfa8b743b537: Verifying Checksum
cfa8b743b537: Download complete
a8b55ebe1144: Verifying Checksum
a8b55ebe1144: Download complete
6277abf0fa65: Verifying Checksum
6277abf0fa65: Download complete
fed75d1b612a: Download complete
837723d4ad87: Download complete
7bcd03e2514d: Verifying Checksum
7bcd03e2514d: Download complete
a69850e6646e: Verifying Checksum
a69850e6646e: Download complete
4f4fb700ef54: Download complete
31f216d9d3b3: Verifying Checksum
31f216d9d3b3: Download complete
efccd7c97283: Download complete
c4573d4bbe34: Verifying Checksum
c4573d4bbe34: Download complete
e06c70a4f3ef: Verifying Checksum
e06c70a4f3ef: Download complete
460db5e656f6: Verifying Checksum
460db5e656f6: Download complete
a83f006fe519: Download complete
e1a027d5760a: Verifying Checksum
e1a027d5760a: Download complete
c38907b9f7dc: Verifying Checksum
c38907b9f7dc: Download complete
7cdc0adb205c: Verifying Checksum
7cdc0adb205c: Download complete
a7902f56f5a2: Verifying Checksum
a7902f56f5a2: Download complete
e5d4a6f522db: Verifying Checksum
e5d4a6f522db: Download complete
3474abb8d0a9: Verifying Checksum
3474abb8d0a9: Download complete
db07ca603c12: Download complete
b29181a67751: Verifying Checksum
b29181a67751: Download complete
dad0df8ee568: Verifying Checksum
dad0df8ee568: Download complete
ebb259a4580a: Download complete
96b1f5e97da2: Verifying Checksum
96b1f5e97da2: Download complete
8cfc90e460aa: Download complete
593ae4477d39: Verifying Checksum
593ae4477d39: Download complete
b5e9777c5684: Download complete
9c55f0ef151e: Verifying Checksum
9c55f0ef151e: Download complete
8e3861304469: Verifying Checksum
8e3861304469: Download complete
e49d51456537: Verifying Checksum
e49d51456537: Download complete
b07f166692bd: Verifying Checksum
b07f166692bd: Download complete
8cfc90e460aa: Pull complete
c60a1e8f5888: Pull complete
ca0e671ea73e: Pull complete
e54b92dc9e35: Pull complete
7d4d3d6e6c4a: Pull complete
9cd615a5705c: Pull complete
217e727fdb67: Pull complete
c616fd6f9fe5: Pull complete
749e4a8d7aa8: Pull complete
887d75ac7460: Pull complete
c21eab48b10c: Pull complete
cfa8b743b537: Pull complete
a8b55ebe1144: Pull complete
6277abf0fa65: Pull complete
fed75d1b612a: Pull complete
837723d4ad87: Pull complete
7bcd03e2514d: Pull complete
a69850e6646e: Pull complete
4f4fb700ef54: Pull complete
efccd7c97283: Pull complete
31f216d9d3b3: Pull complete
c4573d4bbe34: Pull complete
e06c70a4f3ef: Pull complete
460db5e656f6: Pull complete
a83f006fe519: Pull complete
e1a027d5760a: Pull complete
c38907b9f7dc: Pull complete
7cdc0adb205c: Pull complete
a7902f56f5a2: Pull complete
e5d4a6f522db: Pull complete
3474abb8d0a9: Pull complete
b29181a67751: Pull complete
db07ca603c12: Pull complete
e49d51456537: Pull complete
dad0df8ee568: Pull complete
ebb259a4580a: Pull complete
96b1f5e97da2: Pull complete
593ae4477d39: Pull complete
b07f166692bd: Pull complete
b5e9777c5684: Pull complete
9c55f0ef151e: Pull complete
8e3861304469: Pull complete
Digest: sha256:4ff6eaf91a3dc04a84bbe30f720632fd35a391fd7e1ad02090894c030fcdcbdf
Status: Downloaded newer image for ocaml/opam@sha256:4ff6eaf91a3dc04a84bbe30f720632fd35a391fd7e1ad02090894c030fcdcbdf
2025-11-10 21:15.30 ---> using "eece0ee759113f9447becf3b30dd4249f4d7687d01c11c4512fbc8c86419779f" 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-11-10 21:15.30 ---> using "392c691f5646d6ef70bb47fd2905a73a7700f7ad2037d8c614d97b45549b91b1" 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
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-11-10 21:15.30 ---> using "371a15af04227da9a433565ef0ac02d0896bf811450f0047612e4f9e1dff7bdc" 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.5.0~alpha1
# self-upgrade no
# system arch=x86_64 os=linux os-distribution=centos os-version=9
# 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 5.4
# invariant ["ocaml-base-compiler" {>= "5.4.0"}]
# compiler-packages ocaml-base-compiler.5.4.0, ocaml-compiler.5.4.0, ocaml-options-vanilla.1
# 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
2025-11-10 21:15.30 ---> using "cd4807205ddc4da8666819a85a26b0634d63572d3d7b871e275755e9a2e267c9" 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-11-10 21:15.30 ---> using "bf9fa0dc961aebd1fdbdfb7186ef667308f4c39d03be264f475e3aec2364ad1a" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2025-11-10 21:16.04 ---> saved as "118102ecc7f74d91232c2b7ec905188b8359445d3d8f61fe4bae95f41dbbcf96"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-11-10 21:16.26 ---> saved as "28899cd06a472205bfc5ed15d58d0f5d98d2e801f6d59b27c9fe019a4123abb9"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "yum" "makecache"
- CentOS Stream 9 - BaseOS 69 kB/s | 15 kB 00:00
- CentOS Stream 9 - AppStream 135 kB/s | 15 kB 00:00
- CentOS Stream 9 - CRB 124 kB/s | 14 kB 00:00
- CentOS Stream 9 - Extras packages 142 kB/s | 16 kB 00:00
- Metadata cache created.
2025-11-10 21:16.28 ---> saved as "ddae6a3fae9849c3da6be4f4f4815d37effbd5cce6e9080a5049e7ceab40b860"
/home/opam: (run (shell "opam pin add -k version -yn conf-rocksdb-ge-5-17-2.5.17.2 5.17.2"))
conf-rocksdb-ge-5-17-2 is now pinned to version 5.17.2
2025-11-10 21:16.28 ---> saved as "ec5bcb075dfb08b549da6f54a31d1dc89ada65769520285f3aa94e244339167d"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall conf-rocksdb-ge-5-17-2.5.17.2;\
\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 \"\\\"centos-9\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'conf-rocksdb-ge-5-17-2.5.17.2' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
conf-rocksdb-ge-5-17-2.5.17.2 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 3 packages
- install conf-pkg-config 4 [required by conf-rocksdb-ge-5-17-2]
- install conf-rocksdb 1 [required by conf-rocksdb-ge-5-17-2]
- install conf-rocksdb-ge-5-17-2 5.17.2 (pinned)
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved conf-rocksdb.1 (cached)
-> installed conf-pkg-config.4
[ERROR] The compilation of conf-rocksdb.1 failed at "cc -lrocksdb main.c".
#=== ERROR while compiling conf-rocksdb.1 =====================================#
# context 2.5.0~alpha1 | linux/x86_64 | ocaml-base-compiler.5.4.0 | file:///home/opam/opam-repository
# path ~/.opam/5.4/.opam-switch/build/conf-rocksdb.1
# command ~/.opam/opam-init/hooks/sandbox.sh build cc -lrocksdb main.c
# exit-code 1
# env-file ~/.opam/log/conf-rocksdb-7-c2ffde.env
# output-file ~/.opam/log/conf-rocksdb-7-c2ffde.out
### output ###
# /usr/bin/ld: cannot find -lrocksdb
# collect2: error: ld returned 1 exit status
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build conf-rocksdb 1
+-
+- The following changes have been performed (the rest was aborted)
| - install conf-pkg-config 4
+-
# To update the current shell environment, run: eval $(opam env)
The former state can be restored with:
/usr/bin/opam switch import "/home/opam/.opam/5.4/.opam-switch/backup/state-20251110211630.export"
[WARNING] OPAMCONFIRMLEVEL was ignored because CLI 2.0 was requested and it was introduced in 2.1.
[WARNING] OPAMCONFIRMLEVEL was ignored because CLI 2.0 was requested and it was introduced in 2.1.
opam-repo-ci detected dependencies failing: conf-rocksdb.1
"/usr/bin/env" "bash" "-c" "opam reinstall conf-rocksdb-ge-5-17-2.5.17.2;
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 "\"centos-9\""; then
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.";
fi;
test "$pkg" != 'conf-rocksdb-ge-5-17-2.5.17.2' && 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-11-10 21:16.47: Job failed: Failed: Build failed
2025-11-10 21:16.47: Log analysis:
2025-11-10 21:16.47: >>>
[ERROR] The compilation of conf-rocksdb.1 failed at "cc -lrocksdb main.c".
(score = 20)
2025-11-10 21:16.47: >>>
# collect2: error: ld returned 1 exit status
(score = 30)
2025-11-10 21:16.47: >>>
opam-repo-ci detected dependencies failing: conf-rocksdb.1
(score = 75)
2025-11-10 21:16.47: conf-rocksdb.1 failed to build