(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 fedora-43-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:fedora-43-ocaml-4.14@sha256:860defeea187ce48264ac16fac7365e8d887ca66e1eb4922a5d996566a59f43d
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 "\"fedora-43\""; 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:fedora-43-ocaml-4.14@sha256:860defeea187ce48264ac16fac7365e8d887ca66e1eb4922a5d996566a59f43d-conf-rocksdb-ge-5-17-2.5.17.2-879cce6341a5b8d26f5989e5001751782571cb8b"
2025-11-10 16:55.42: Using OBuilder spec:
((from ocaml/opam:fedora-43-ocaml-4.14@sha256:860defeea187ce48264ac16fac7365e8d887ca66e1eb4922a5d996566a59f43d)
 (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 \"\\\"fedora-43\\\"\"; 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:12.16: Waiting for worker…
2025-11-10 21:15.58: 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:fedora-43-ocaml-4.14@sha256:860defeea187ce48264ac16fac7365e8d887ca66e1eb4922a5d996566a59f43d)
Unable to find image 'ocaml/opam:fedora-43-ocaml-4.14@sha256:860defeea187ce48264ac16fac7365e8d887ca66e1eb4922a5d996566a59f43d' locally
docker.io/ocaml/opam@sha256:860defeea187ce48264ac16fac7365e8d887ca66e1eb4922a5d996566a59f43d: Pulling from ocaml/opam
3a6ccf50917d: Already exists
698b8d1610af: Already exists
7e5b745a56a4: Already exists
e8859609bfb8: Already exists
51242d36b3fd: Already exists
61958fadfb74: Already exists
04578677ff3f: Already exists
01b19b859bd1: Already exists
47b008c442e7: Already exists
434ff16e8a1b: Already exists
e2e8d2ec1110: Already exists
bb8f1dbb2acd: Already exists
c914fb01d9b0: Already exists
acbc7d112060: Already exists
7b0ca93f3f54: Already exists
5a223856338a: Already exists
ace6a731f305: Already exists
a6230b7fafa0: Already exists
917f9b8155b5: Already exists
8f7a3b7d908f: Already exists
4f4fb700ef54: Already exists
7af8a72dec52: Already exists
9565a36b4e3a: Already exists
a1ba7d9452a1: Already exists
24a9095bda75: Already exists
16c026bd2ca7: Already exists
6b821f07d597: Already exists
afd0175f27f4: Already exists
88ab18f654c7: Already exists
be69a91a3ef7: Already exists
ce8a4e53f5e3: Already exists
3e2bdc6df5e4: Already exists
ff986d64677f: Already exists
ce1f69fb599b: Pulling fs layer
59a77ea6a510: Pulling fs layer
4147e4bd49ec: Pulling fs layer
9f926286552b: Pulling fs layer
780a6a37e1ca: Pulling fs layer
59749b976bf7: Pulling fs layer
f41d7b64ff67: Pulling fs layer
52a602df2df7: Pulling fs layer
ab9bbd19d5b0: Pulling fs layer
4c336379fd6a: Pulling fs layer
9f926286552b: Waiting
780a6a37e1ca: Waiting
59749b976bf7: Waiting
f41d7b64ff67: Waiting
52a602df2df7: Waiting
ab9bbd19d5b0: Waiting
4c336379fd6a: Waiting
59a77ea6a510: Download complete
9f926286552b: Verifying Checksum
9f926286552b: Download complete
780a6a37e1ca: Verifying Checksum
780a6a37e1ca: Download complete
59749b976bf7: Download complete
f41d7b64ff67: Verifying Checksum
f41d7b64ff67: Download complete
52a602df2df7: Verifying Checksum
52a602df2df7: Download complete
ab9bbd19d5b0: Verifying Checksum
ab9bbd19d5b0: Download complete
4c336379fd6a: Download complete
ce1f69fb599b: Verifying Checksum
ce1f69fb599b: Download complete
4147e4bd49ec: Verifying Checksum
4147e4bd49ec: Download complete
ce1f69fb599b: Pull complete
59a77ea6a510: Pull complete
4147e4bd49ec: Pull complete
9f926286552b: Pull complete
780a6a37e1ca: Pull complete
59749b976bf7: Pull complete
f41d7b64ff67: Pull complete
52a602df2df7: Pull complete
ab9bbd19d5b0: Pull complete
4c336379fd6a: Pull complete
Digest: sha256:860defeea187ce48264ac16fac7365e8d887ca66e1eb4922a5d996566a59f43d
Status: Downloaded newer image for ocaml/opam@sha256:860defeea187ce48264ac16fac7365e8d887ca66e1eb4922a5d996566a59f43d
2025-11-10 21:17.30 ---> using "9e77896d9fe078c34d344bdea926ec4977d8cc82cf3431e1db6d6f872f24af74" 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.30 ---> using "aaa991ad89b398eefaf43e6ce581f35930c9f32c57e9bde9fc032d1fd587f3e4" 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:17.30 ---> using "3c596d85372d3d922e389134a1acb6eee4d41bb98299038914e94c84db852fe4" 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=fedora os-version=43
# 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:17.30 ---> using "d0819976c6e7b9f5b58c02cb370d433c7853fb648bb57d8a795d208769222044" 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.30 ---> using "19d0ea1cb48e322fac5261e96eb10f819a44981c815f6056d28065e30337c361" from cache

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

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-11-10 21:17.31 ---> using "b265f299926138248747e38f52cdf50e7e4574d3a907948b38b25ddb96f80888" from cache

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/sbin/sudo "yum" "makecache"
- Updating and loading repositories:
-  Fedora 43 - x86_64                     100% |  59.7 KiB/s |  18.4 KiB |  00m00s
-  Fedora 43 - x86_64 - Updates           100% |  95.0 KiB/s |  18.5 KiB |  00m00s
-  Fedora 43 openh264 (From Cisco) - x86_ 100% |  10.7 KiB/s | 986.0   B |  00m00s
- Repositories loaded.
- Metadata cache created.
2025-11-10 21:17.31 ---> using "f23111d314f9520893d9c70004330dcddc870faca896301195f39ef48365e191" 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.31 ---> using "24d5c875f63aba71dec8a5bc5bddb76b7122fce2ee900720f229c02217ab2432" 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 \"\\\"fedora-43\\\"\"; 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:
    rocksdb-devel

<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>

opam believes some required external dependencies are missing. opam can:
> 1. Run yum to install them (may need root/sudo access)
  2. Display the recommended yum 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/sbin/sudo "yum" "install" "-y" "rocksdb-devel"
- Updating and loading repositories:
- Repositories loaded.
- Package           Arch   Version       Repository      Size
- Installing:
-  rocksdb-devel    x86_64 10.1.3-2.fc43 fedora       1.6 MiB
- Installing dependencies:
-  cmake-filesystem x86_64 3.31.6-4.fc43 fedora       0.0   B
-  gflags           x86_64 2.2.2-18.fc43 fedora     309.6 KiB
-  liburing         x86_64 2.9-2.fc43    fedora     107.4 KiB
-  rocksdb          x86_64 10.1.3-2.fc43 fedora      11.1 MiB
-  snappy           x86_64 1.2.2-2.fc43  fedora      71.8 KiB
- 
- Transaction Summary:
-  Installing:         6 packages
- 
- Total size of inbound packages is 4 MiB. Need to download 4 MiB.
- After this operation, 13 MiB extra will be used (install 13 MiB, remove 0 B).
- [1/6] cmake-filesystem-0:3.31.6-4.fc43. 100% | 360.2 KiB/s |  15.5 KiB |  00m00s
- [2/6] gflags-0:2.2.2-18.fc43.x86_64     100% |   4.1 MiB/s | 100.1 KiB |  00m00s
- [3/6] rocksdb-devel-0:10.1.3-2.fc43.x86 100% |   4.4 MiB/s | 340.9 KiB |  00m00s
- [4/6] liburing-0:2.9-2.fc43.x86_64      100% |   4.7 MiB/s |  42.9 KiB |  00m00s
- [5/6] snappy-0:1.2.2-2.fc43.x86_64      100% |   6.4 MiB/s |  39.6 KiB |  00m00s
- [6/6] rocksdb-0:10.1.3-2.fc43.x86_64    100% |   8.1 MiB/s |   3.5 MiB |  00m00s
- --------------------------------------------------------------------------------
- [6/6] Total                             100% |   7.3 MiB/s |   4.0 MiB |  00m01s
- Running transaction
- [1/8] Verify package files              100% | 122.0   B/s |   6.0   B |  00m00s
- [2/8] Prepare transaction               100% | 120.0   B/s |   6.0   B |  00m00s
- [3/8] Installing snappy-0:1.2.2-2.fc43. 100% |  35.9 MiB/s |  73.5 KiB |  00m00s
- [4/8] Installing liburing-0:2.9-2.fc43. 100% |  53.3 MiB/s | 109.1 KiB |  00m00s
- [5/8] Installing gflags-0:2.2.2-18.fc43 100% |  11.7 MiB/s | 312.0 KiB |  00m00s
- [6/8] Installing rocksdb-0:10.1.3-2.fc4 100% | 147.4 MiB/s |  11.1 MiB |  00m00s
- [7/8] Installing cmake-filesystem-0:3.3 100% |   1.5 MiB/s |   7.6 KiB |  00m00s
- [8/8] Installing rocksdb-devel-0:10.1.3 100% |  25.8 MiB/s |   1.6 MiB |  00m00s
- Complete!
+ /usr/sbin/rpm "-q" "--whatprovides" "rocksdb-devel"
- rocksdb-devel-10.1.3-2.fc43.x86_64

<><> 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.32 ---> using "a1c4c02dad000cff126a32ec7e4f3158b71c5de766994926a2805357eff4dd97" from cache
Job succeeded
2025-11-10 21:18.12: Job succeeded