(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 ubuntu-25.10-ocaml-4.14/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:ubuntu-25.10-ocaml-4.14@sha256:388060907df5ab660007711aac8e6010650e05ea4ee02d3335f4b059b4e10feb
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 "\"ubuntu-25.10\""; 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:ubuntu-25.10-ocaml-4.14@sha256:388060907df5ab660007711aac8e6010650e05ea4ee02d3335f4b059b4e10feb-conf-rocksdb-ge-5-17-2.5.17.2-879cce6341a5b8d26f5989e5001751782571cb8b"
2025-11-10 16:55.42: Using OBuilder spec:
((from ocaml/opam:ubuntu-25.10-ocaml-4.14@sha256:388060907df5ab660007711aac8e6010650e05ea4ee02d3335f4b059b4e10feb)
(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 \"\\\"ubuntu-25.10\\\"\"; 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.56: Waiting for worker…
2025-11-10 21:15.32: 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:ubuntu-25.10-ocaml-4.14@sha256:388060907df5ab660007711aac8e6010650e05ea4ee02d3335f4b059b4e10feb)
Unable to find image 'ocaml/opam:ubuntu-25.10-ocaml-4.14@sha256:388060907df5ab660007711aac8e6010650e05ea4ee02d3335f4b059b4e10feb' locally
docker.io/ocaml/opam@sha256:388060907df5ab660007711aac8e6010650e05ea4ee02d3335f4b059b4e10feb: Pulling from ocaml/opam
1b594dc873c9: Pulling fs layer
1b594dc873c9: Download complete
1b594dc873c9: Pull complete
Digest: sha256:388060907df5ab660007711aac8e6010650e05ea4ee02d3335f4b059b4e10feb
Status: Downloaded newer image for ocaml/opam@sha256:388060907df5ab660007711aac8e6010650e05ea4ee02d3335f4b059b4e10feb
2025-11-10 21:15.37 ---> using "934d27808a7cc6d0f81e943d25cf9d6bcaa875a1dab52ecce33af512018fffe9" 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.37 ---> using "99e7e5e4a3bd9d439fc26f877be34c2a95939ed42fe8063e1c00a6cca024791d" 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.37 ---> using "6bc0c9d13e98da2f815bf284a6596572d43b11d6bb0841680b134b4719dca97a" 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=ubuntu os-version=25.10
# 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 4.14
# invariant ["ocaml-base-compiler" {= "4.14.2"}]
# compiler-packages ocaml-base-compiler.4.14.2, ocaml-options-vanilla.1
# ocaml:native true
# ocaml:native-tools true
# ocaml:native-dynlink true
# ocaml:stubsdir /home/opam/.opam/4.14/lib/ocaml/stublibs:/home/opam/.opam/4.14/lib/ocaml
# ocaml:preinstalled false
# ocaml:compiler 4.14.2
2025-11-10 21:15.37 ---> using "811ec982ac9aac18b91ab1c40ce72ea8f67c935525967e16e0b519f968545479" 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.37 ---> using "298088a47edad90cf06a27ff77c408377cf323ef061fd3980c4a7ea84b632b6e" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2025-11-10 21:16.07 ---> saved as "fb901b191c99290c51bca47f9294c3278e62f227264b49103e0011278579ed1d"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-11-10 21:16.28 ---> saved as "1dff8260ffd5ca86c208db60472a27207833fa02807d1d03bb37142568327119"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://archive.ubuntu.com/ubuntu questing InRelease
- Get:2 http://archive.ubuntu.com/ubuntu questing-updates InRelease [136 kB]
- Get:3 http://archive.ubuntu.com/ubuntu questing-backports InRelease [133 kB]
- Get:4 http://archive.ubuntu.com/ubuntu questing-updates/main amd64 Packages [138 kB]
- Get:5 http://archive.ubuntu.com/ubuntu questing-updates/universe amd64 Packages [56.8 kB]
- Get:6 http://security.ubuntu.com/ubuntu questing-security InRelease [136 kB]
- Fetched 599 kB in 0s (1244 kB/s)
- Reading package lists...
-
2025-11-10 21:16.31 ---> saved as "fd88a67db624ad590a2d8ce6851548f6d3d978e24117d7766a1807d736caaba6"
/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.32 ---> saved as "1e9c0797e5f05524cc46c60a732a11056dc42b413b25a1a743f778087c8f7dd8"
/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 \"\\\"ubuntu-25.10\\\"\"; 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"
- 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 ... 18716 files and directories currently installed.)
- Preparing to unpack .../00-bzip2-doc_1.0.8-6build1_all.deb ...
- Unpacking bzip2-doc (1.0.8-6build1) ...
- Selecting previously unselected package libbz2-dev:amd64.
- Preparing to unpack .../01-libbz2-dev_1.0.8-6build1_amd64.deb ...
- Unpacking libbz2-dev:amd64 (1.0.8-6build1) ...
- Selecting previously unselected package libgflags2.2.
- Preparing to unpack .../02-libgflags2.2_2.2.2-2build1_amd64.deb ...
- Unpacking libgflags2.2 (2.2.2-2build1) ...
- Selecting previously unselected package libgflags-dev.
- Preparing to unpack .../03-libgflags-dev_2.2.2-2build1_amd64.deb ...
- Unpacking libgflags-dev (2.2.2-2build1) ...
- Selecting previously unselected package libpkgconf3:amd64.
- Preparing to unpack .../04-libpkgconf3_1.8.1-4build1_amd64.deb ...
- Unpacking libpkgconf3:amd64 (1.8.1-4build1) ...
- 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-4build1_amd64.deb ...
- Unpacking liblz4-dev:amd64 (1.10.0-4build1) ...
- Selecting previously unselected package libsnappy1v5:amd64.
- Preparing to unpack .../07-libsnappy1v5_1.2.2-1_amd64.deb ...
- Unpacking libsnappy1v5:amd64 (1.2.2-1) ...
- Selecting previously unselected package librocksdb9.10.
- Preparing to unpack .../08-librocksdb9.10_9.10.0-1_amd64.deb ...
- Unpacking librocksdb9.10 (9.10.0-1) ...
- Selecting previously unselected package libsnappy-dev:amd64.
- Preparing to unpack .../09-libsnappy-dev_1.2.2-1_amd64.deb ...
- Unpacking libsnappy-dev:amd64 (1.2.2-1) ...
- Selecting previously unselected package libzstd-dev:amd64.
- Preparing to unpack .../10-libzstd-dev_1.5.7+dfsg-1build2_amd64.deb ...
- Unpacking libzstd-dev:amd64 (1.5.7+dfsg-1build2) ...
- Selecting previously unselected package zlib1g-dev:amd64.
- Preparing to unpack .../11-zlib1g-dev_1%3a1.3.dfsg+really1.3.1-1ubuntu2_amd64.deb ...
- Unpacking zlib1g-dev:amd64 (1:1.3.dfsg+really1.3.1-1ubuntu2) ...
- Selecting previously unselected package librocksdb-dev.
- Preparing to unpack .../12-librocksdb-dev_9.10.0-1_amd64.deb ...
- Unpacking librocksdb-dev (9.10.0-1) ...
- Selecting previously unselected package pkgconf-bin.
- Preparing to unpack .../13-pkgconf-bin_1.8.1-4build1_amd64.deb ...
- Unpacking pkgconf-bin (1.8.1-4build1) ...
- Selecting previously unselected package pkgconf:amd64.
- Preparing to unpack .../14-pkgconf_1.8.1-4build1_amd64.deb ...
- Unpacking pkgconf:amd64 (1.8.1-4build1) ...
- Selecting previously unselected package pkg-config:amd64.
- Preparing to unpack .../15-pkg-config_1.8.1-4build1_amd64.deb ...
- Unpacking pkg-config:amd64 (1.8.1-4build1) ...
- Setting up bzip2-doc (1.0.8-6build1) ...
- Setting up libzstd-dev:amd64 (1.5.7+dfsg-1build2) ...
- Setting up libsnappy1v5:amd64 (1.2.2-1) ...
- Setting up libpkgconf3:amd64 (1.8.1-4build1) ...
- Setting up pkgconf-bin (1.8.1-4build1) ...
- Setting up libxxhash-dev:amd64 (0.8.3-2) ...
- Setting up zlib1g-dev:amd64 (1:1.3.dfsg+really1.3.1-1ubuntu2) ...
- Setting up libgflags2.2 (2.2.2-2build1) ...
- Setting up libbz2-dev:amd64 (1.0.8-6build1) ...
- Setting up libsnappy-dev:amd64 (1.2.2-1) ...
- Setting up pkgconf:amd64 (1.8.1-4build1) ...
- Setting up libgflags-dev (2.2.2-2build1) ...
- Setting up liblz4-dev:amd64 (1.10.0-4build1) ...
- Setting up pkg-config:amd64 (1.8.1-4build1) ...
- Setting up librocksdb9.10 (9.10.0-1) ...
- Setting up librocksdb-dev (9.10.0-1) ...
- Processing triggers for libc-bin (2.42-0ubuntu3) ...
<><> 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:16.41 ---> saved as "45242269352d4a3b2a0aab812f19e81f0f3321b8dad1215501f475337783cf1e"
Job succeeded
2025-11-10 21:16.53: Job succeeded