(for PR #27360)

2025-11-10 16:55.42: New job: build conf-rocksdb-ge-5-17-2.5.17.2, using opam 2.1
                              from https://github.com/ocaml/opam-repository.git#refs/pull/27360/head (879cce6341a5b8d26f5989e5001751782571cb8b)
                              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/27360/head" && git reset --hard 879cce63
git fetch origin master
git merge --no-edit b6a264c784afa1e19f7a926fc10d49010ad12be4
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-5.4@sha256:0b68f45799a4ff0af182b78277d652e076097f37cbcb04aa9d74bfbd7d300e58
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-2.1 /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-13\""; 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-13-ocaml-5.4@sha256:0b68f45799a4ff0af182b78277d652e076097f37cbcb04aa9d74bfbd7d300e58-conf-rocksdb-ge-5-17-2.5.17.2-879cce6341a5b8d26f5989e5001751782571cb8b"
2025-11-10 16:55.42: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-5.4@sha256:0b68f45799a4ff0af182b78277d652e076097f37cbcb04aa9d74bfbd7d300e58)
 (user (uid 1000) (gid 1000))
 (workdir /home/opam)
 (run (shell "sudo ln -f /usr/bin/opam-2.1 /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-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\" != '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:13.09: Waiting for worker…
2025-11-10 21:17.37: Got resource from pool OCluster
Building on toxis.caelum.ci.dev
All commits already cached
Updating files:  95% (17952/18707)
Updating files:  96% (17959/18707)
Updating files:  97% (18146/18707)
Updating files:  98% (18333/18707)
Updating files:  99% (18520/18707)
Updating files: 100% (18707/18707)
Updating files: 100% (18707/18707), done.
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-13-ocaml-5.4@sha256:0b68f45799a4ff0af182b78277d652e076097f37cbcb04aa9d74bfbd7d300e58)
2025-11-10 21:19.54 ---> using "9f1bc9b76367c8d29be355965b06cbbd4aeb05818e6e1915136daad8eabad361" from cache

/: (user (uid 1000) (gid 1000))

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam"))
2025-11-10 21:19.54 ---> using "acfc9e569083cd2ee58be25278070a5855d4befc56972da0bafeedc1a44be5be" from cache

/home/opam: (run (network host)
                 (shell "opam init --reinit --config .opamrc-sandbox -ni"))
This development version of opam requires an update to the layout of /home/opam/.opam from version 2.0 to version 2.1, which can't be reverted.
You may want to back it up before going further.

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.

Continue? [Y/n] y
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-11-10 21:19.54 ---> using "edc944623dfedaff8608c833e4102ad6b42aaaa83d5705caeeb5a73c0de392da" 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.1.6 (263921263e1f745613e2882745114b7b08f3608b) 
# self-upgrade         no
# system               arch=x86_64 os=linux os-distribution=debian os-version=13
# solver               builtin-0install
# install-criteria     
# upgrade-criteria     
# jobs                 71
# repositories         1 (version-controlled)
# pinned               1 (version)
# current-switch       5.4
# 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:19.54 ---> using "9d886d56fb2a6f589f059e9cf5c38236bc18fa6c8a531f6c320fae755aea4757" 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:19.54 ---> using "7b9fa0c9fcb4c82877ed5e860200e5d69875715c863d193d1d9ad87de0e5cde3" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2025-11-10 21:19.55 ---> using "fdbb20f6625f04edcb7c321c48b3b90f893d0064591f1018a4f11eaff6fb376e" from cache

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-11-10 21:19.55 ---> using "4e82b6eb3397f4ce8c1ae3d9c2a0e1c5d272e827c28404b212632546097a7b67" 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 [69.3 kB]
- Fetched 160 kB in 0s (1571 kB/s)
- Reading package lists...
- 
2025-11-10 21:19.55 ---> using "49757fe3a7582e5868befe3c5f3d53a16380f04bdc06a3ffbdf624570cf7e5ec" 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:19.56 ---> saved as "c2778b13e5ee654257987c3b91e48ade077e0a904745cfc351b6e1d61c249bd4"

/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-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\" != '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 conf-rocksdb           1       [required by conf-rocksdb-ge-5-17-2]
  - install conf-pkg-config        4       [required by conf-rocksdb-ge-5-17-2]
  - install conf-rocksdb-ge-5-17-2 5.17.2*
===== 3 to install =====

The following system packages will first need to be installed:
    librocksdb-dev pkg-config

<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
Let opam run your package manager to install the required system packages?
(answer 'n' for other options) [Y/n] y
+ /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 ... 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 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 libxxhash-dev:amd64.
- Preparing to unpack .../04-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 .../05-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 .../06-libpkgconf3_1.8.1-4_amd64.deb ...
- Unpacking libpkgconf3:amd64 (1.8.1-4) ...
- 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+b1_amd64.deb ...
- Unpacking librocksdb9.10 (9.10.0-1+b1) ...
- 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 zlib1g-dev:amd64.
- Preparing to unpack .../10-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 .../11-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 .../12-pkgconf-bin_1.8.1-4_amd64.deb ...
- Unpacking pkgconf-bin (1.8.1-4) ...
- Selecting previously unselected package pkgconf:amd64.
- Preparing to unpack .../13-pkgconf_1.8.1-4_amd64.deb ...
- Unpacking pkgconf:amd64 (1.8.1-4) ...
- Selecting previously unselected package pkg-config:amd64.
- Preparing to unpack .../14-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 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)
-> installed conf-pkg-config.4
-> installed conf-rocksdb.1
-> installed conf-rocksdb-ge-5-17-2.5.17.2
Done.
# Run eval $(opam env) to update the current shell environment
2025-11-10 21:20.15 ---> saved as "1525d5b8e8972159907b79bc1e3a0173871c0d042bd10dee3e296c863d761639"
Job succeeded
2025-11-10 21:20.28: Job succeeded