(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 debian-12-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:debian-12-ocaml-5.4@sha256:b06e95244653b7a10c9a86ab3afe50b0d4203193f93120443e4f87ab11d1c528
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 "\"debian-12\""; 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:debian-12-ocaml-5.4@sha256:b06e95244653b7a10c9a86ab3afe50b0d4203193f93120443e4f87ab11d1c528-conf-rocksdb-ge-5-17-2.5.17.2-879cce6341a5b8d26f5989e5001751782571cb8b"
2025-11-10 16:55.42: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.4@sha256:b06e95244653b7a10c9a86ab3afe50b0d4203193f93120443e4f87ab11d1c528)
(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 \"\\\"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\" != '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.22: Waiting for worker…
2025-11-10 21:15.16: 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:debian-12-ocaml-5.4@sha256:b06e95244653b7a10c9a86ab3afe50b0d4203193f93120443e4f87ab11d1c528)
Unable to find image 'ocaml/opam:debian-12-ocaml-5.4@sha256:b06e95244653b7a10c9a86ab3afe50b0d4203193f93120443e4f87ab11d1c528' locally
docker.io/ocaml/opam@sha256:b06e95244653b7a10c9a86ab3afe50b0d4203193f93120443e4f87ab11d1c528: Pulling from ocaml/opam
1e85d1336e0b: Pulling fs layer
0f06351705c8: Pulling fs layer
d6fb74eb8a80: Pulling fs layer
649757ae91e4: Pulling fs layer
ed303173c109: Pulling fs layer
649757ae91e4: Waiting
662b2ec16849: Pulling fs layer
ed303173c109: Waiting
08231386f7f6: Pulling fs layer
662b2ec16849: Waiting
c7e5789f2a5c: Pulling fs layer
08231386f7f6: Waiting
c7e5789f2a5c: Waiting
d6fb74eb8a80: Download complete
0f06351705c8: Verifying Checksum
0f06351705c8: Download complete
649757ae91e4: Verifying Checksum
649757ae91e4: Download complete
662b2ec16849: Verifying Checksum
662b2ec16849: Download complete
08231386f7f6: Verifying Checksum
08231386f7f6: Download complete
ed303173c109: Verifying Checksum
ed303173c109: Download complete
c7e5789f2a5c: Verifying Checksum
c7e5789f2a5c: Download complete
1e85d1336e0b: Download complete
1e85d1336e0b: Pull complete
0f06351705c8: Pull complete
d6fb74eb8a80: Pull complete
649757ae91e4: Pull complete
ed303173c109: Pull complete
662b2ec16849: Pull complete
08231386f7f6: Pull complete
c7e5789f2a5c: Pull complete
Digest: sha256:b06e95244653b7a10c9a86ab3afe50b0d4203193f93120443e4f87ab11d1c528
Status: Downloaded newer image for ocaml/opam@sha256:b06e95244653b7a10c9a86ab3afe50b0d4203193f93120443e4f87ab11d1c528
2025-11-10 21:17.00 ---> using "40a5f920114c3166be147678f3cb19bcdfdf558acba15096b01715581d62a6e1" 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:17.00 ---> using "2696122241c721011066a19576abf82dd23ed83bcfdbdd197354bce879d1a3bd" 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 255 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=255 --global
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-11-10 21:17.00 ---> using "b1041548d5751485838d428ccb97f8745f236caa478cbf45d5d1ab084c707045" 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=debian os-version=12
# 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:17.00 ---> using "5a820389bfbd88c76036f955421aaa6513a50a3f87dec1234340792ce2b581ca" 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:17.00 ---> using "247b7f2dca645bb89b55e6c225e23dd64a94fd2b594d114113db77640e3a5885" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2025-11-10 21:17.02 ---> using "17936a5e7cb05701d7053dd1a0a88276b884b9b632a44810010479c64c784b38" from cache
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-11-10 21:17.02 ---> using "1e56754611f64d3b099339f9c6a3b5b29bda49382718399532404f2ab13aedd7" 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 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]
- Fetched 103 kB in 0s (332 kB/s)
- Reading package lists...
-
2025-11-10 21:17.02 ---> using "7c6bb98c5bc651fb9519486922efa7222320f40f60af195f7c689c2cb1144c48" from cache
/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:17.02 ---> using "7d183fd6d890158fb4c316ddac2276c33819e18fcf40906f6dcb6d96d8843958" from cache
/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 \"\\\"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\" != '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)
The following system packages will first need to be installed:
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" "librocksdb-dev" "pkg-config"
- debconf: delaying package configuration, since apt-utils is not installed
- 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 ... 18784 files and directories currently installed.)
- Preparing to unpack .../00-bzip2-doc_1.0.8-5_all.deb ...
- Unpacking bzip2-doc (1.0.8-5) ...
- Selecting previously unselected package libbz2-dev:amd64.
- Preparing to unpack .../01-libbz2-dev_1.0.8-5+b1_amd64.deb ...
- Unpacking libbz2-dev:amd64 (1.0.8-5+b1) ...
- Selecting previously unselected package libgflags2.2.
- Preparing to unpack .../02-libgflags2.2_2.2.2-2_amd64.deb ...
- Unpacking libgflags2.2 (2.2.2-2) ...
- Selecting previously unselected package libgflags-dev.
- Preparing to unpack .../03-libgflags-dev_2.2.2-2_amd64.deb ...
- Unpacking libgflags-dev (2.2.2-2) ...
- Selecting previously unselected package liblz4-dev:amd64.
- Preparing to unpack .../04-liblz4-dev_1.9.4-1_amd64.deb ...
- Unpacking liblz4-dev:amd64 (1.9.4-1) ...
- Selecting previously unselected package libpkgconf3:amd64.
- Preparing to unpack .../05-libpkgconf3_1.8.1-1_amd64.deb ...
- Unpacking libpkgconf3:amd64 (1.8.1-1) ...
- Selecting previously unselected package libsnappy1v5:amd64.
- Preparing to unpack .../06-libsnappy1v5_1.1.9-3_amd64.deb ...
- Unpacking libsnappy1v5:amd64 (1.1.9-3) ...
- Selecting previously unselected package librocksdb7.8.
- Preparing to unpack .../07-librocksdb7.8_7.8.3-2_amd64.deb ...
- Unpacking librocksdb7.8 (7.8.3-2) ...
- Selecting previously unselected package libsnappy-dev:amd64.
- Preparing to unpack .../08-libsnappy-dev_1.1.9-3_amd64.deb ...
- Unpacking libsnappy-dev:amd64 (1.1.9-3) ...
- Selecting previously unselected package zlib1g-dev:amd64.
- Preparing to unpack .../09-zlib1g-dev_1%3a1.2.13.dfsg-1_amd64.deb ...
- Unpacking zlib1g-dev:amd64 (1:1.2.13.dfsg-1) ...
- Selecting previously unselected package librocksdb-dev.
- Preparing to unpack .../10-librocksdb-dev_7.8.3-2_amd64.deb ...
- Unpacking librocksdb-dev (7.8.3-2) ...
- Selecting previously unselected package pkgconf-bin.
- Preparing to unpack .../11-pkgconf-bin_1.8.1-1_amd64.deb ...
- Unpacking pkgconf-bin (1.8.1-1) ...
- Selecting previously unselected package pkgconf:amd64.
- Preparing to unpack .../12-pkgconf_1.8.1-1_amd64.deb ...
- Unpacking pkgconf:amd64 (1.8.1-1) ...
- Selecting previously unselected package pkg-config:amd64.
- Preparing to unpack .../13-pkg-config_1.8.1-1_amd64.deb ...
- Unpacking pkg-config:amd64 (1.8.1-1) ...
- Setting up bzip2-doc (1.0.8-5) ...
- Setting up libsnappy1v5:amd64 (1.1.9-3) ...
- Setting up libpkgconf3:amd64 (1.8.1-1) ...
- Setting up liblz4-dev:amd64 (1.9.4-1) ...
- Setting up pkgconf-bin (1.8.1-1) ...
- Setting up zlib1g-dev:amd64 (1:1.2.13.dfsg-1) ...
- Setting up libgflags2.2 (2.2.2-2) ...
- Setting up libbz2-dev:amd64 (1.0.8-5+b1) ...
- Setting up libsnappy-dev:amd64 (1.1.9-3) ...
- Setting up pkgconf:amd64 (1.8.1-1) ...
- Setting up librocksdb7.8 (7.8.3-2) ...
- Setting up libgflags-dev (2.2.2-2) ...
- Setting up pkg-config:amd64 (1.8.1-1) ...
- Setting up librocksdb-dev (7.8.3-2) ...
- Processing triggers for libc-bin (2.36-9+deb12u13) ...
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved conf-rocksdb.1 (cached)
-> installed conf-pkg-config.4
-> installed conf-rocksdb.1
-> installed conf-rocksdb-ge-5-17-2.5.17.2
Done.
# To update the current shell environment, run: eval $(opam env)
2025-11-10 21:17.02 ---> using "0ab5bafee79dfedf260063c8c0af1022a8a1e793cd46d869ac63dc7ff8e1b15b" from cache
Job succeeded
2025-11-10 21:17.37: Job succeeded