Build:
- 0
2025-12-11 02:47.46: New job: test orocksdb.0.2.2 with dune.3.21.0~alpha3, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/29070/head (a95df9014bc79103fde668cf2adbe6680fd2f9cf)
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/29070/head" && git reset --hard a95df901
git fetch origin master
git merge --no-edit 810e1f14b7fa6411c66a3549f4c2aff47c52fc36
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-5.4@sha256:8c62cc7b043f64833949d4049211997093b28a2f1b98377748d3e185ae301c04
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 dune.3.21.0~alpha3 3.21.0~alpha3
RUN opam reinstall dune.3.21.0~alpha3; \
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" != 'dune.3.21.0~alpha3' && partial_fails="$partial_fails $pkg"; \
done; \
test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
exit 1
RUN opam reinstall orocksdb.0.2.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 "\"debian-13\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'orocksdb.0.2.2' && partial_fails="$partial_fails $pkg"; \
done; \
test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
exit 1
RUN (opam reinstall --with-test orocksdb.0.2.2) || true
RUN opam reinstall --with-test --verbose orocksdb.0.2.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 "\"debian-13\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'orocksdb.0.2.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-12-11 02:47.46: Using cache hint "ocaml/opam:debian-13-ocaml-5.4@sha256:8c62cc7b043f64833949d4049211997093b28a2f1b98377748d3e185ae301c04-dune.3.21.0~alpha3-orocksdb.0.2.2-a95df9014bc79103fde668cf2adbe6680fd2f9cf"
2025-12-11 02:47.46: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-5.4@sha256:8c62cc7b043f64833949d4049211997093b28a2f1b98377748d3e185ae301c04)
(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 dune.3.21.0~alpha3 3.21.0~alpha3"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall dune.3.21.0~alpha3;\
\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\" != 'dune.3.21.0~alpha3' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall orocksdb.0.2.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 \"\\\"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\" != 'orocksdb.0.2.2' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
(run (network host)
(shell "(opam reinstall --with-test orocksdb.0.2.2) || true"))
(run (shell "opam reinstall --with-test --verbose orocksdb.0.2.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 \"\\\"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\" != 'orocksdb.0.2.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-12-11 02:47.46: Waiting for resource in pool OCluster
2025-12-11 13:33.40: Waiting for worker…
2025-12-11 13:35.24: Got resource from pool OCluster
Building on toxis.caelum.ci.dev
All commits already cached
HEAD is now at 810e1f14b7 Merge pull request #29066 from gares/release-elpi-v3.4.4
Updating 810e1f14b7..a95df9014b
Fast-forward
.../chrome-trace/chrome-trace.3.21.0~alpha3/opam | 41 ++++++++++++
.../dune-action-plugin.3.21.0~alpha3/opam | 54 ++++++++++++++++
.../dune-build-info.3.21.0~alpha3/opam | 47 ++++++++++++++
.../dune-configurator.3.21.0~alpha3/opam | 51 +++++++++++++++
packages/dune-glob/dune-glob.3.21.0~alpha3/opam | 44 +++++++++++++
.../dune-private-libs.3.21.0~alpha3/opam | 52 +++++++++++++++
.../dune-rpc-lwt/dune-rpc-lwt.3.21.0~alpha3/opam | 43 +++++++++++++
packages/dune-rpc/dune-rpc.3.21.0~alpha3/opam | 46 +++++++++++++
packages/dune-site/dune-site.3.21.0~alpha3/opam | 39 +++++++++++
packages/dune/dune.3.21.0~alpha3/opam | 75 ++++++++++++++++++++++
packages/dyn/dyn.3.21.0~alpha3/opam | 42 ++++++++++++
packages/fs-io/fs-io.3.21.0~alpha3/opam | 40 ++++++++++++
packages/ocamlc-loc/ocamlc-loc.3.21.0~alpha3/opam | 45 +++++++++++++
packages/ordering/ordering.3.21.0~alpha3/opam | 40 ++++++++++++
packages/stdune/stdune.3.21.0~alpha3/opam | 48 ++++++++++++++
.../top-closure/top-closure.3.21.0~alpha3/opam | 39 +++++++++++
packages/xdg/xdg.3.21.0~alpha3/opam | 41 ++++++++++++
17 files changed, 787 insertions(+)
create mode 100644 packages/chrome-trace/chrome-trace.3.21.0~alpha3/opam
create mode 100644 packages/dune-action-plugin/dune-action-plugin.3.21.0~alpha3/opam
create mode 100644 packages/dune-build-info/dune-build-info.3.21.0~alpha3/opam
create mode 100644 packages/dune-configurator/dune-configurator.3.21.0~alpha3/opam
create mode 100644 packages/dune-glob/dune-glob.3.21.0~alpha3/opam
create mode 100644 packages/dune-private-libs/dune-private-libs.3.21.0~alpha3/opam
create mode 100644 packages/dune-rpc-lwt/dune-rpc-lwt.3.21.0~alpha3/opam
create mode 100644 packages/dune-rpc/dune-rpc.3.21.0~alpha3/opam
create mode 100644 packages/dune-site/dune-site.3.21.0~alpha3/opam
create mode 100644 packages/dune/dune.3.21.0~alpha3/opam
create mode 100644 packages/dyn/dyn.3.21.0~alpha3/opam
create mode 100644 packages/fs-io/fs-io.3.21.0~alpha3/opam
create mode 100644 packages/ocamlc-loc/ocamlc-loc.3.21.0~alpha3/opam
create mode 100644 packages/ordering/ordering.3.21.0~alpha3/opam
create mode 100644 packages/stdune/stdune.3.21.0~alpha3/opam
create mode 100644 packages/top-closure/top-closure.3.21.0~alpha3/opam
create mode 100644 packages/xdg/xdg.3.21.0~alpha3/opam
(from ocaml/opam:debian-13-ocaml-5.4@sha256:8c62cc7b043f64833949d4049211997093b28a2f1b98377748d3e185ae301c04)
Unable to find image 'ocaml/opam:debian-13-ocaml-5.4@sha256:8c62cc7b043f64833949d4049211997093b28a2f1b98377748d3e185ae301c04' locally
docker.io/ocaml/opam@sha256:8c62cc7b043f64833949d4049211997093b28a2f1b98377748d3e185ae301c04: Pulling from ocaml/opam
75a759b14a01: Pulling fs layer
75a759b14a01: Verifying Checksum
75a759b14a01: Download complete
75a759b14a01: Pull complete
Digest: sha256:8c62cc7b043f64833949d4049211997093b28a2f1b98377748d3e185ae301c04
Status: Downloaded newer image for ocaml/opam@sha256:8c62cc7b043f64833949d4049211997093b28a2f1b98377748d3e185ae301c04
2025-12-11 13:36.49 ---> using "5f87df8c1f6f0886e7311dfd3df40b8bbb961cc34c83c0d033c6dd248c84bc7d" 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-12-11 13:36.49 ---> using "f1296791f2d76481058db697105a569091a6b6345f05c94bbc5a650f1a364f9a" 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-12-11 13:36.49 ---> using "0cac9a31b4750e6a46df8ed8d2f68352091a988199fdf62c52779549510cd6bf" 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
# 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 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-12-11 13:36.49 ---> using "1deb91dc3badca969976ed6f3bc5fe7c443d73a2cfa957be662fd6f93e30aa7b" 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-11 13:36.49 ---> using "1a02438c8753bf7228a9eb625e65b7af26778a022b9ce0b16be5ef4f294c58cd" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2025-12-11 13:36.50 ---> using "558efc5d1dade30f771ff827a323991d3b5dc8b22610995de52463f4460db41d" from cache
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-12-11 13:36.50 ---> using "58e0c9dd5022cd1436b8b1510f482b6baa4e8929f778f88439cff37971729a44" from cache
/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 [82.1 kB]
- Fetched 173 kB in 0s (1382 kB/s)
- Reading package lists...
2025-12-11 13:36.50 ---> using "de5cbb4e0f295ac93b57d57eef12f594db675884c8bd7983430c50e2fdd12f64" from cache
/home/opam: (run (shell "opam pin add -k version -yn dune.3.21.0~alpha3 3.21.0~alpha3"))
dune is now pinned to version 3.21.0~alpha3
2025-12-11 13:36.50 ---> using "af6cbda9e692e53fa8a8206602afe48a116f589a7ff1dcf8f7ba5c92367c3e3e" from cache
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall dune.3.21.0~alpha3;\
\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\" != 'dune.3.21.0~alpha3' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
dune.3.21.0~alpha3 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 1 package
- install dune 3.21.0~alpha3 (pinned)
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved dune.3.21.0~alpha3 (cached)
-> installed dune.3.21.0~alpha3
Done.
# To update the current shell environment, run: eval $(opam env)
2025-12-11 13:36.50 ---> using "4087a133b295dba0068b3ab8cbcc1fe3f8be9e05017b236fa624fde6f6bb2578" from cache
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall orocksdb.0.2.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 \"\\\"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\" != 'orocksdb.0.2.2' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
orocksdb.0.2.2 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 12 packages
- install conf-libffi 2.0.0 [required by ctypes-foreign]
- install conf-pkg-config 4 [required by ctypes-foreign]
- install conf-rocksdb 1 [required by orocksdb]
- install csexp 1.5.2 [required by dune-configurator]
- install ctypes 0.24.0 [required by orocksdb]
- install ctypes-foreign 0.24.0 [required by orocksdb]
- install dune-configurator 3.21.0~alpha3 [required by ctypes, ctypes-foreign]
- install integers 0.7.0 [required by ctypes]
- install ocamlbuild 0.16.1 [required by orocksdb]
- install ocamlfind 1.9.8 [required by orocksdb]
- install orocksdb 0.2.2
- install stdlib-shims 0.3.0 [required by integers]
The following system packages will first need to be installed:
libffi-dev librocksdb-dev pkg-config
<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
opam believes some required external dependencies are missing. opam can:
> 1. Run apt-get to install them (may need root/sudo access)
2. Display the recommended apt-get command and wait while you run it manually (e.g. in another terminal)
3. Continue anyway, and, upon success, permanently register that this external dependency is present, but not detectable
4. Abort the installation
[1/2/3/4] 1
+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "libffi-dev" "librocksdb-dev" "pkg-config"
- Selecting previously unselected package bzip2-doc.
- (Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 20653 files and directories currently installed.)
- Preparing to unpack .../00-bzip2-doc_1.0.8-6_all.deb ...
- Unpacking bzip2-doc (1.0.8-6) ...
- Selecting previously unselected package libbz2-dev:amd64.
- Preparing to unpack .../01-libbz2-dev_1.0.8-6_amd64.deb ...
- Unpacking libbz2-dev:amd64 (1.0.8-6) ...
- Selecting previously unselected package libffi-dev:amd64.
- Preparing to unpack .../02-libffi-dev_3.4.8-2_amd64.deb ...
- Unpacking libffi-dev:amd64 (3.4.8-2) ...
- Selecting previously unselected package libgflags2.2.
- Preparing to unpack .../03-libgflags2.2_2.2.2-2_amd64.deb ...
- Unpacking libgflags2.2 (2.2.2-2) ...
- Selecting previously unselected package libgflags-dev.
- Preparing to unpack .../04-libgflags-dev_2.2.2-2_amd64.deb ...
- Unpacking libgflags-dev (2.2.2-2) ...
- Selecting previously unselected package libxxhash-dev:amd64.
- Preparing to unpack .../05-libxxhash-dev_0.8.3-2_amd64.deb ...
- Unpacking libxxhash-dev:amd64 (0.8.3-2) ...
- Selecting previously unselected package liblz4-dev:amd64.
- Preparing to unpack .../06-liblz4-dev_1.10.0-4_amd64.deb ...
- Unpacking liblz4-dev:amd64 (1.10.0-4) ...
- Selecting previously unselected package libpkgconf3:amd64.
- Preparing to unpack .../07-libpkgconf3_1.8.1-4_amd64.deb ...
- Unpacking libpkgconf3:amd64 (1.8.1-4) ...
- Selecting previously unselected package libsnappy1v5:amd64.
- Preparing to unpack .../08-libsnappy1v5_1.2.2-1_amd64.deb ...
- Unpacking libsnappy1v5:amd64 (1.2.2-1) ...
- Selecting previously unselected package librocksdb9.10.
- Preparing to unpack .../09-librocksdb9.10_9.10.0-1+b1_amd64.deb ...
- Unpacking librocksdb9.10 (9.10.0-1+b1) ...
- Selecting previously unselected package libsnappy-dev:amd64.
- Preparing to unpack .../10-libsnappy-dev_1.2.2-1_amd64.deb ...
- Unpacking libsnappy-dev:amd64 (1.2.2-1) ...
- Selecting previously unselected package zlib1g-dev:amd64.
- Preparing to unpack .../11-zlib1g-dev_1%3a1.3.dfsg+really1.3.1-1+b1_amd64.deb ...
- Unpacking zlib1g-dev:amd64 (1:1.3.dfsg+really1.3.1-1+b1) ...
- Selecting previously unselected package librocksdb-dev.
- Preparing to unpack .../12-librocksdb-dev_9.10.0-1+b1_amd64.deb ...
- Unpacking librocksdb-dev (9.10.0-1+b1) ...
- Selecting previously unselected package pkgconf-bin.
- Preparing to unpack .../13-pkgconf-bin_1.8.1-4_amd64.deb ...
- Unpacking pkgconf-bin (1.8.1-4) ...
- Selecting previously unselected package pkgconf:amd64.
- Preparing to unpack .../14-pkgconf_1.8.1-4_amd64.deb ...
- Unpacking pkgconf:amd64 (1.8.1-4) ...
- Selecting previously unselected package pkg-config:amd64.
- Preparing to unpack .../15-pkg-config_1.8.1-4_amd64.deb ...
- Unpacking pkg-config:amd64 (1.8.1-4) ...
- Setting up bzip2-doc (1.0.8-6) ...
- Setting up libffi-dev:amd64 (3.4.8-2) ...
- Setting up libsnappy1v5:amd64 (1.2.2-1) ...
- Setting up libpkgconf3:amd64 (1.8.1-4) ...
- Setting up pkgconf-bin (1.8.1-4) ...
- Setting up libxxhash-dev:amd64 (0.8.3-2) ...
- Setting up zlib1g-dev:amd64 (1:1.3.dfsg+really1.3.1-1+b1) ...
- Setting up libgflags2.2 (2.2.2-2) ...
- Setting up libbz2-dev:amd64 (1.0.8-6) ...
- Setting up libsnappy-dev:amd64 (1.2.2-1) ...
- Setting up pkgconf:amd64 (1.8.1-4) ...
- Setting up libgflags-dev (2.2.2-2) ...
- Setting up liblz4-dev:amd64 (1.10.0-4) ...
- Setting up pkg-config:amd64 (1.8.1-4) ...
- Setting up librocksdb9.10 (9.10.0-1+b1) ...
- Setting up librocksdb-dev (9.10.0-1+b1) ...
- Processing triggers for libc-bin (2.41-12) ...
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved conf-rocksdb.1 (cached)
-> retrieved csexp.1.5.2 (cached)
-> installed conf-pkg-config.4
-> installed conf-rocksdb.1
-> retrieved ctypes.0.24.0, ctypes-foreign.0.24.0 (cached)
-> installed conf-libffi.2.0.0
-> installed csexp.1.5.2
-> retrieved dune-configurator.3.21.0~alpha3 (cached)
-> retrieved integers.0.7.0 (cached)
-> retrieved ocamlbuild.0.16.1 (cached)
-> retrieved ocamlfind.1.9.8 (cached)
-> retrieved orocksdb.0.2.2 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> installed stdlib-shims.0.3.0
-> installed integers.0.7.0
-> installed dune-configurator.3.21.0~alpha3
-> installed ocamlfind.1.9.8
-> installed ocamlbuild.0.16.1
-> installed ctypes.0.24.0
-> installed ctypes-foreign.0.24.0
[ERROR] The compilation of orocksdb.0.2.2 failed at "make".
#=== ERROR while compiling orocksdb.0.2.2 =====================================#
# context 2.5.0 | linux/x86_64 | ocaml-base-compiler.5.4.0 | file:///home/opam/opam-repository
# path ~/.opam/5.4/.opam-switch/build/orocksdb.0.2.2
# command ~/.opam/opam-init/hooks/sandbox.sh build make
# exit-code 2
# env-file ~/.opam/log/orocksdb-7-4fff1c.env
# output-file ~/.opam/log/orocksdb-7-4fff1c.out
### output ###
# ocamlbuild -use-ocamlfind -lflags -cclib,/usr/local/lib/librocksdb.so rocks.inferred.mli rocks.cma rocks.cmxa rocks.cmxs rocks_options.inferred.mli
# + ocamlfind ocamlc -config
# + ocamlfind ocamldep -package ctypes.foreign -package ctypes -modules rocks.ml > rocks.ml.depends
# + ocamlfind ocamldep -package ctypes.foreign -package ctypes -modules rocks_common.ml > rocks_common.ml.depends
# + ocamlfind ocamldep -package ctypes.foreign -package ctypes -modules rocks_options.ml > rocks_options.ml.depends
# + ocamlfind ocamlc -c -g -annot -package ctypes.foreign -package ctypes -o rocks_common.cmo rocks_common.ml
# + ocamlfind ocamlc -c -g -annot -package ctypes.foreign -package ctypes -o rocks_options.cmo rocks_options.ml
# + ocamlfind ocamlc -i -package ctypes.foreign -package ctypes rocks.ml > rocks.inferred.mli
# + ocamlfind ocamlc -i -package ctypes.foreign -package ctypes rocks.ml > rocks.inferred.mli
# File "rocks.ml", line 172, characters 19-34:
# 172 | let res' = string_from_ptr res (!@ res_size) in
# ^^^^^^^^^^^^^^^
# Warning 6 [labels-omitted]: label length was omitted in the application of
# this function.
#
# File "rocks.ml", line 277, characters 9-24:
# 277 | else string_from_ptr res (!@ res_size)
# ^^^^^^^^^^^^^^^
# Warning 6 [labels-omitted]: label length was omitted in the application of
# this function.
#
# File "rocks.ml", line 296, characters 9-24:
# 296 | else string_from_ptr res (!@ res_size)
# ^^^^^^^^^^^^^^^
# Warning 6 [labels-omitted]: label length was omitted in the application of
# this function.
# + ocamlfind ocamldep -package ctypes.foreign -package ctypes -modules rocks.mli > rocks.mli.depends
# + ocamlfind ocamlc -c -g -annot -package ctypes.foreign -package ctypes -o rocks.cmi rocks.mli
# + ocamlfind ocamlc -c -g -annot -package ctypes.foreign -package ctypes -o rocks.cmo rocks.ml
# + ocamlfind ocamlc -c -g -annot -package ctypes.foreign -package ctypes -o rocks.cmo rocks.ml
# File "rocks.ml", line 172, characters 19-34:
# 172 | let res' = string_from_ptr res (!@ res_size) in
# ^^^^^^^^^^^^^^^
# Warning 6 [labels-omitted]: label length was omitted in the application of
# this function.
#
# File "rocks.ml", line 277, characters 9-24:
# 277 | else string_from_ptr res (!@ res_size)
# ^^^^^^^^^^^^^^^
# Warning 6 [labels-omitted]: label length was omitted in the application of
# this function.
#
# File "rocks.ml", line 296, characters 9-24:
# 296 | else string_from_ptr res (!@ res_size)
# ^^^^^^^^^^^^^^^
# Warning 6 [labels-omitted]: label length was omitted in the application of
# this function.
# + ocamlfind ocamlc -a -cclib /usr/local/lib/librocksdb.so -package ctypes.foreign -package ctypes rocks_common.cmo rocks_options.cmo rocks.cmo -o rocks.cma
# + ocamlfind ocamlopt -c -g -annot -package ctypes.foreign -package ctypes -o rocks_common.cmx rocks_common.ml
# + ocamlfind ocamlopt -c -g -annot -package ctypes.foreign -package ctypes -o rocks_options.cmx rocks_options.ml
# + ocamlfind ocamlopt -c -g -annot -package ctypes.foreign -package ctypes -o rocks.cmx rocks.ml
# + ocamlfind ocamlopt -c -g -annot -package ctypes.foreign -package ctypes -o rocks.cmx rocks.ml
# File "rocks.ml", line 172, characters 19-34:
# 172 | let res' = string_from_ptr res (!@ res_size) in
# ^^^^^^^^^^^^^^^
# Warning 6 [labels-omitted]: label length was omitted in the application of
# this function.
#
# File "rocks.ml", line 277, characters 9-24:
# 277 | else string_from_ptr res (!@ res_size)
# ^^^^^^^^^^^^^^^
# Warning 6 [labels-omitted]: label length was omitted in the application of
# this function.
#
# File "rocks.ml", line 296, characters 9-24:
# 296 | else string_from_ptr res (!@ res_size)
# ^^^^^^^^^^^^^^^
# Warning 6 [labels-omitted]: label length was omitted in the application of
# this function.
# + ocamlfind ocamlopt -a -cclib /usr/local/lib/librocksdb.so -package ctypes.foreign -package ctypes rocks_common.cmx rocks_options.cmx rocks.cmx -o rocks.cmxa
# + ocamlfind ocamlopt -shared -cclib /usr/local/lib/librocksdb.so -linkall -package ctypes.foreign -package ctypes rocks.cmxa -o rocks.cmxs
# + ocamlfind ocamlopt -shared -cclib /usr/local/lib/librocksdb.so -linkall -package ctypes.foreign -package ctypes rocks.cmxa -o rocks.cmxs
# /usr/bin/ld: cannot find /usr/local/lib/librocksdb.so: No such file or directory
# /usr/bin/ld: cannot find /usr/local/lib/librocksdb.so: No such file or directory
# collect2: error: ld returned 1 exit status
# File "caml_startup", line 1:
# Error: Error during linking (exit code 1)
# Command exited with code 2.
# make: *** [Makefile:7: build] Error 10
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build orocksdb 0.2.2
+-
+- The following changes have been performed
| - install conf-libffi 2.0.0
| - install conf-pkg-config 4
| - install conf-rocksdb 1
| - install csexp 1.5.2
| - install ctypes 0.24.0
| - install ctypes-foreign 0.24.0
| - install dune-configurator 3.21.0~alpha3
| - install integers 0.7.0
| - install ocamlbuild 0.16.1
| - install ocamlfind 1.9.8
| - install stdlib-shims 0.3.0
+-
<><> orocksdb.0.2.2 troubleshooting <><><><><><><><><><><><><><><><><><><><><><>
=> This package requires rocksdb library installed in /usr/local/lib.
Tentative instructions : https://gist.githubusercontent.com/domsj/9a28ba5a523a3420ded8/raw/dc6ebd8768a87dee285e84438dc733dfc58e037f/gistfile1.txt
# 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-20251211133651.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.
"/usr/bin/env" "bash" "-c" "opam reinstall orocksdb.0.2.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 "\"debian-13\""; then
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.";
fi;
test "$pkg" != 'orocksdb.0.2.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-12-11 13:37.34: Job failed: Failed: Build failed
2025-12-11 13:37.34: Log analysis:
2025-12-11 13:37.34: >>>
[ERROR] The compilation of orocksdb.0.2.2 failed at "make".
(score = 20)
2025-12-11 13:37.34: >>>
# collect2: error: ld returned 1 exit status
(score = 30)
2025-12-11 13:37.34: >>>
# Error: Error during linking (exit code 1)
(score = 48)
2025-12-11 13:37.34: Error during linking (exit code 1)