(for PR #27360)

2026-04-29 12:47.43: New job: build ocaml-rocksdb.0.02, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/27360/head (879cce6341a5b8d26f5989e5001751782571cb8b)
                              on freebsd-15.0-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 dd592986d47d277a9eee2bf37e1c4aa3a0c3efbd
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM freebsd-15.0-ocaml-4.14
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/local/bin/opam-dev /usr/local/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 ocaml-rocksdb.0.02 0.02
RUN opam reinstall ocaml-rocksdb.0.02; \
    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 "\"freebsd-15.0\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'ocaml-rocksdb.0.02' && 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 .

2026-04-29 12:47.43: Using cache hint "freebsd-15.0-ocaml-4.14-ocaml-rocksdb.0.02-879cce6341a5b8d26f5989e5001751782571cb8b"
2026-04-29 12:47.43: Using OBuilder spec:
((from freebsd-15.0-ocaml-4.14)
 (user (uid 1000) (gid 1000))
 (workdir /home/opam)
 (run (shell "sudo ln -f /usr/local/bin/opam-dev /usr/local/bin/opam"))
 (run (network host)
      (shell "opam init --reinit -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 ocaml-rocksdb.0.02 0.02"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall ocaml-rocksdb.0.02;\
             \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 \"\\\"freebsd-15.0\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'ocaml-rocksdb.0.02' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2026-04-29 12:47.43: Connecting to build cluster…
2026-04-29 12:47.43: Waiting for resource in pool OCluster
2026-04-29 14:18.43: Waiting for worker…
2026-04-29 15:54.45: Got resource from pool OCluster
Building on rosemary
All commits already cached
Updating files: 100% (18870/18870), done.
HEAD is now at dd592986d4 Merge pull request #29752 from raphael-proust/opam-publish-lwt.6.1.2
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 freebsd-15.0-ocaml-4.14)
2026-04-29 15:54.18 ---> using "72cdd96d2d21f8c55140a83e6aa1d871999cc103a298a3bf0e5db4a314024f45" from cache

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/local/bin/opam-dev /usr/local/bin/opam"))
2026-04-29 15:54.18 ---> using "4c4fda7ee7ed9eac597f961b87c33c63b34aaccb551c72772ace9b375fad8d97" from cache

/home/opam: (run (network host)
                 (shell "opam init --reinit -ni"))
No configuration file found, using 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.1 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 1 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=1 --global
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] no changes from git+file:///home/opam/opam-repository
2026-04-29 15:54.20 ---> using "de946948e0d785daa61a047a82c57932e35ba22f119c99cc666f726de2cc2a20" 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.1
# self-upgrade         no
# system               arch=x86_64 os=freebsd os-distribution=freebsd os-version=1500068
# solver               builtin-0install
# install-criteria     -changed,-count[avoid-version,solution]
# upgrade-criteria     -count[avoid-version,solution]
# jobs                 39
# repositories         1 (version-controlled)
# pinned               0
# current-switch       4.14.3
# invariant            ["ocaml-base-compiler" {= "4.14.3"} | "ocaml-system" {= "4.14.3"}]
# compiler-packages    ocaml-base-compiler.4.14.3, ocaml-options-vanilla.1
# ocaml:native         true
# ocaml:native-tools   true
# ocaml:native-dynlink true
# ocaml:stubsdir       /home/opam/.opam/4.14.3/lib/ocaml/stublibs:/home/opam/.opam/4.14.3/lib/ocaml
# ocaml:preinstalled   false
# ocaml:compiler       4.14.3
2026-04-29 15:54.20 ---> using "cc62b571599dace346eb0c2adf0d036a1fca0f9a32553fdeaf78973ab615703a" 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/"))
2026-04-29 15:54.21 ---> using "520b4dcdc21dfac94163528e64fd1a074957ae3ed5eaaa82eef1382aece5f511" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2026-04-29 15:54.23 ---> using "7c853c15ed25a447609e7146302ba7c0e3beb4a79ec6524076f6063045bca73d" from cache

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-04-29 15:54.23 ---> using "fafeabf5a0819e4465e1cf5ca1ce1b15fcf5af386fd75421bacd25f7b59bf49a" from cache

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
[WARNING] Unknown update command for bsd, skipping system update
2026-04-29 15:54.24 ---> using "07e5a3e5ed4e1fc052bef532fef1b37fb7771a7d9215535b80b1fe8f615ed312" from cache

/home/opam: (run (shell "opam pin add -k version -yn ocaml-rocksdb.0.02 0.02"))
ocaml-rocksdb is now pinned to version 0.02
2026-04-29 15:54.24 ---> using "066dd967cc8bf1da88b6f8b576b8faa8a96856e75053d70349781a06869d7a1a" from cache

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall ocaml-rocksdb.0.02;\
                        \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 \"\\\"freebsd-15.0\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'ocaml-rocksdb.0.02' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
ocaml-rocksdb.0.02 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 96 packages
  ∗ astring                     0.8.5         [required by bos]
  ∗ base                        v0.16.5       [required by core]
  ∗ base_bigstring              v0.16.0       [required by core]
  ∗ base_quickcheck             v0.16.0       [required by core]
  ∗ bin_prot                    v0.16.0       [required by core]
  ∗ bos                         0.2.1         [required by camlp5-buildscripts]
  ∗ camlp-streams               5.0.1         [required by not-ocamlfind]
  ∗ camlp5-buildscripts         0.06          [required by ocaml-rocksdb]
  ∗ cmdliner                    1.3.0         [required by cppffigen]
  ∗ conf-g++                    1.0           [required by ocaml-rocksdb]
  ∗ conf-libbz2                 1             [required by ocaml-rocksdb]
  ∗ conf-liblz4                 1             [required by ocaml-rocksdb]
  ∗ conf-libpcre                2             [required by pcre]
  ∗ conf-m4                     1             [required by not-ocamlfind]
  ∗ conf-pkg-config             4             [required by conf-rocksdb-ge-5-17-2, conf-liblz4, conf-zlib]
  ∗ conf-rocksdb                1             [required by conf-rocksdb-ge-5-17-2]
  ∗ conf-rocksdb-ge-5-17-2      5.17.2        [required by ocaml-rocksdb]
  ∗ conf-snappy                 1             [required by ocaml-rocksdb]
  ∗ conf-which                  1             [required by not-ocamlfind]
  ∗ conf-zlib                   1             [required by ocaml-rocksdb]
  ∗ core                        v0.16.2       [required by ocaml-rocksdb]
  ∗ cppffigen                   0.002         [required by ocaml-rocksdb]
  ∗ cppo                        1.8.0         [required by ppx_deriving]
  ∗ csexp                       1.5.2         [required by dune-configurator]
  ∗ cstruct                     6.2.0         [required by hex]
  ∗ dune                        3.22.2        [required by core, result]
  ∗ dune-compiledb              0.6.0         [required by pcre]
  ∗ dune-configurator           3.22.2        [required by base, pcre]
  ∗ ezjsonm                     1.3.0         [required by dune-compiledb]
  ∗ fieldslib                   v0.16.0       [required by core]
  ∗ fmt                         0.11.0        [required by camlp5-buildscripts]
  ∗ fpath                       0.7.3         [required by bos]
  ∗ hex                         1.5.0         [required by ezjsonm]
  ∗ int_repr                    v0.16.0       [required by base_bigstring]
  ∗ jane-street-headers         v0.16.0       [required by core]
  ∗ jsonm                       1.0.2         [required by ezjsonm]
  ∗ jst-config                  v0.16.0       [required by core]
  ∗ logs                        0.10.0        [required by bos]
  ∗ not-ocamlfind               0.14          [required by ocaml-rocksdb]
  ∗ num                         1.6           [required by sexplib]
  ∗ ocaml-compiler-libs         v0.12.4       [required by ppxlib]
  ∗ ocaml-rocksdb               0.02 (pinned)
  ∗ ocamlbuild                  0.16.1        [required by bos]
  ∗ ocamlfind                   1.9.8         [required by not-ocamlfind, bos, ppx_deriving]
  ∗ ocamlgraph                  2.2.0         [required by not-ocamlfind]
  ∗ parsexp                     v0.16.0       [required by sexplib]
  ∗ pcre                        8.0.5         [required by cppffigen]
  ∗ ppx_assert                  v0.16.0       [required by core]
  ∗ ppx_base                    v0.16.0       [required by core]
  ∗ ppx_bench                   v0.16.0       [required by ppx_jane]
  ∗ ppx_bin_prot                v0.16.0       [required by ppx_jane]
  ∗ ppx_cold                    v0.16.0       [required by ppx_base]
  ∗ ppx_compare                 v0.16.0       [required by ppx_base, bin_prot]
  ∗ ppx_custom_printf           v0.16.0       [required by ppx_jane]
  ∗ ppx_derivers                1.2.1         [required by ppx_deriving]
  ∗ ppx_deriving                6.0.3         [required by cppffigen]
  ∗ ppx_disable_unused_warnings v0.16.0       [required by ppx_jane]
  ∗ ppx_enumerate               v0.16.0       [required by ppx_base]
  ∗ ppx_expect                  v0.16.2       [required by ppx_jane]
  ∗ ppx_fields_conv             v0.16.0       [required by ppx_jane]
  ∗ ppx_fixed_literal           v0.16.0       [required by ppx_jane]
  ∗ ppx_globalize               v0.16.0       [required by ppx_base]
  ∗ ppx_hash                    v0.16.0       [required by core]
  ∗ ppx_here                    v0.16.0       [required by ppx_jane]
  ∗ ppx_ignore_instrumentation  v0.16.0       [required by ppx_jane]
  ∗ ppx_inline_test             v0.16.1       [required by core]
  ∗ ppx_jane                    v0.16.0       [required by core]
  ∗ ppx_let                     v0.16.0       [required by ppx_jane]
  ∗ ppx_log                     v0.16.0       [required by ppx_jane]
  ∗ ppx_module_timer            v0.16.0       [required by ppx_jane]
  ∗ ppx_optcomp                 v0.16.0       [required by core]
  ∗ ppx_optional                v0.16.0       [required by ppx_jane]
  ∗ ppx_pipebang                v0.16.0       [required by ppx_jane]
  ∗ ppx_sexp_conv               v0.16.0       [required by core, cppffigen]
  ∗ ppx_sexp_message            v0.16.0       [required by core]
  ∗ ppx_sexp_value              v0.16.0       [required by ppx_jane]
  ∗ ppx_stable                  v0.16.0       [required by ppx_jane]
  ∗ ppx_stable_witness          v0.16.0       [required by ppx_jane]
  ∗ ppx_string                  v0.16.0       [required by ppx_jane]
  ∗ ppx_tydi                    v0.16.0       [required by ppx_jane]
  ∗ ppx_typerep_conv            v0.16.0       [required by ppx_jane]
  ∗ ppx_variants_conv           v0.16.0       [required by ppx_jane]
  ∗ ppxlib                      0.35.0        [required by ppx_deriving]
  ∗ re                          1.14.0        [required by camlp5-buildscripts]
  ∗ result                      1.5           [required by ocaml-rocksdb]
  ∗ rresult                     0.7.0         [required by bos, not-ocamlfind]
  ∗ sexplib                     v0.16.0       [required by core, cppffigen]
  ∗ sexplib0                    v0.16.0       [required by base]
  ∗ splittable_random           v0.16.0       [required by core]
  ∗ stdio                       v0.16.0       [required by core]
  ∗ stdlib-shims                0.3.0         [required by ppxlib]
  ∗ time_now                    v0.16.0       [required by core]
  ∗ topkg                       1.1.1         [required by bos]
  ∗ typerep                     v0.16.0       [required by core]
  ∗ uutf                        1.0.4         [required by ezjsonm]
  ∗ variantslib                 v0.16.0       [required by core]

The following system packages will first need to be installed:
    bzip2 gcc pcre rocksdb snappy

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

opam believes some required external dependencies are missing. opam can:
> 1. Run pkg to install them (may need root/sudo access)
  2. Display the recommended pkg 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/local/bin/sudo "pkg" "install" "-y" "bzip2" "gcc" "pcre" "rocksdb" "snappy"
- Updating FreeBSD-ports repository catalogue...
- FreeBSD-ports repository is up to date.
- Updating FreeBSD-ports-kmods repository catalogue...
- FreeBSD-ports-kmods repository is up to date.
- All repositories are up to date.
- The following 11 package(s) will be affected (of 0 checked):
- 
- New packages to be INSTALLED:
- 	binutils: 2.44,1 [FreeBSD-ports]
- 	bzip2: 1.0.8_1 [FreeBSD-ports]
- 	gcc: 14_5 [FreeBSD-ports]
- 	gcc14: 14.2.0_4 [FreeBSD-ports]
- 	gflags: 2.3.0 [FreeBSD-ports]
- 	gmp: 6.3.0 [FreeBSD-ports]
- 	mpc: 1.4.0 [FreeBSD-ports]
- 	mpfr: 4.2.2,1 [FreeBSD-ports]
- 	pcre: 8.45_4 [FreeBSD-ports]
- 	rocksdb: 10.10.1 [FreeBSD-ports]
- 	snappy: 1.2.2 [FreeBSD-ports]
- 
- Number of packages to be installed: 11
- 
- The process will require 2 GiB more space.
- 280 MiB to be downloaded.
- [rosemary] [ 1/11] Fetching snappy-1.2.2: .......... done
- [rosemary] [ 2/11] Fetching bzip2-1.0.8_1: .......... done
- [rosemary] [ 3/11] Fetching pcre-8.45_4: ......... done
- [rosemary] [ 4/11] Fetching mpc-1.4.0: ........ done
- [rosemary] [ 5/11] Fetching gcc-14_5: . done
- [rosemary] [ 6/11] Fetching rocksdb-10.10.1: 
- ..
- ...
- ..
- ... done
- [rosemary] [ 7/11] Fetching gflags-2.3.0: ........ done
- [rosemary] [ 8/11] Fetching gmp-6.3.0: .......... done
- [rosemary] [ 9/11] Fetching mpfr-4.2.2,1: .......... done
- [rosemary] [10/11] Fetching binutils-2.44,1: .......
- ... done
- [rosemary] [11/11] Fetching gcc14-14.2.0_4: ...
- .....
- .. done
- Checking integrity...
-  done (0 conflicting)
- [rosemary] [ 1/11] Installing binutils-2.44,1...
- [rosemary] [ 1/11] Extracting binutils-2.44,1: .......
- ... done
- [rosemary] [ 2/11] Installing bzip2-1.0.8_1...
- [rosemary] [ 2/11] Extracting bzip2-1.0.8_1: .......... done
- [rosemary] [ 3/11] Installing gflags-2.3.0...
- [rosemary] [ 3/11] Extracting gflags-2.3.0: .......... done
- [rosemary] [ 4/11] Installing gmp-6.3.0...
- [rosemary] [ 4/11] Extracting gmp-6.3.0: .......... done
- [rosemary] [ 5/11] Installing mpfr-4.2.2,1...
- [rosemary] [ 5/11] Extracting mpfr-4.2.2,1: .......... done
- [rosemary] [ 6/11] Installing mpc-1.4.0...
- [rosemary] [ 6/11] Extracting mpc-1.4.0: .......... done
- [rosemary] [ 7/11] Installing gcc14-14.2.0_4...
- [rosemary] [ 7/11] Extracting gcc14-14.2.0_4: .........
- . done
- [rosemary] [ 8/11] Installing gcc-14_5...
- [rosemary] [ 8/11] Extracting gcc-14_5: ... done
- [rosemary] [ 9/11] Installing pcre-8.45_4...
- [rosemary] [ 9/11] Extracting pcre-8.45_4: .......... done
- [rosemary] [10/11] Installing snappy-1.2.2...
- [rosemary] [10/11] Extracting snappy-1.2.2: .......... done
- [rosemary] [11/11] Installing rocksdb-10.10.1...
- [rosemary] [11/11] Extracting rocksdb-10.10.1: .........
- . done
- =====
- Message from gcc14-14.2.0_4:
- 
- --
- To ensure binaries built with this toolchain find appropriate versions
- of the necessary run-time libraries, you may want to link using
- 
-   -Wl,-rpath=/usr/local/lib/gcc14
- 
- For ports leveraging USE_GCC, USES=compiler, or USES=fortran this happens
- transparently.
- =====
- Message from pcre-8.45_4:
- 
- --
- ===>   NOTICE:
- 
- This port is deprecated; you may wish to reconsider installing it:
- 
- EOLed by upstream, use devel/pcre2 instead.

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
⬇ retrieved astring.0.8.5  (cached)
⬇ retrieved base.v0.16.5  (cached)
⬇ retrieved base_bigstring.v0.16.0  (cached)
⬇ retrieved base_quickcheck.v0.16.0  (cached)
⬇ retrieved bin_prot.v0.16.0  (cached)
⬇ retrieved bos.0.2.1  (cached)
⬇ retrieved camlp-streams.5.0.1  (cached)
⬇ retrieved camlp5-buildscripts.0.06  (cached)
⬇ retrieved cmdliner.1.3.0  (cached)
⬇ retrieved conf-rocksdb.1  (cached)
⬇ retrieved conf-snappy.1  (cached)
∗ installed conf-pkg-config.4
∗ installed conf-liblz4.1
∗ installed conf-zlib.1
∗ installed conf-libpcre.2
∗ installed conf-which.1
∗ installed conf-m4.1
∗ installed conf-g++.1.0
⬇ retrieved core.v0.16.2  (cached)
[ERROR] The compilation of conf-rocksdb.1 failed at "cc -lrocksdb main.c".
∗ installed conf-libbz2.1
⬇ retrieved cppffigen.0.002  (https://github.com/chetmurthy/ocaml-cppffigen/archive/refs/tags/0.002.tar.gz)
⬇ retrieved cppo.1.8.0  (cached)
⬇ retrieved csexp.1.5.2  (cached)
⬇ retrieved cstruct.6.2.0  (cached)
∗ installed conf-snappy.1
⬇ retrieved dune.3.22.2, dune-configurator.3.22.2  (cached)
⬇ retrieved dune-compiledb.0.6.0  (cached)
⬇ retrieved ezjsonm.1.3.0  (cached)
⬇ retrieved fieldslib.v0.16.0  (cached)
⬇ retrieved fmt.0.11.0  (cached)
⬇ retrieved fpath.0.7.3  (cached)
⬇ retrieved hex.1.5.0  (cached)
⬇ retrieved int_repr.v0.16.0  (cached)
⬇ retrieved jane-street-headers.v0.16.0  (cached)
∗ installed cmdliner.1.3.0
⬇ retrieved jsonm.1.0.2  (cached)
⬇ retrieved jst-config.v0.16.0  (cached)
⬇ retrieved logs.0.10.0  (cached)
⬇ retrieved not-ocamlfind.0.14  (cached)
⬇ retrieved num.1.6  (cached)
⬇ retrieved ocaml-compiler-libs.v0.12.4  (cached)
⬇ retrieved ocaml-rocksdb.0.02  (https://github.com/chetmurthy/ocaml-rocksdb/archive/refs/tags/0.02.tar.gz)
⬇ retrieved ocamlbuild.0.16.1  (cached)
⬇ retrieved ocamlfind.1.9.8  (cached)
⬇ retrieved ocamlgraph.2.2.0  (cached)
⬇ retrieved parsexp.v0.16.0  (cached)
⬇ retrieved pcre.8.0.5  (cached)
⬇ retrieved ppx_assert.v0.16.0  (cached)
⬇ retrieved ppx_base.v0.16.0  (cached)
⬇ retrieved ppx_bench.v0.16.0  (cached)
⬇ retrieved ppx_bin_prot.v0.16.0  (cached)
⬇ retrieved ppx_cold.v0.16.0  (cached)
⬇ retrieved ppx_compare.v0.16.0  (cached)
⬇ retrieved ppx_custom_printf.v0.16.0  (cached)
⬇ retrieved ppx_derivers.1.2.1  (cached)
⬇ retrieved ppx_deriving.6.0.3  (cached)
⬇ retrieved ppx_disable_unused_warnings.v0.16.0  (cached)
⬇ retrieved ppx_enumerate.v0.16.0  (cached)
⬇ retrieved ppx_expect.v0.16.2  (cached)
⬇ retrieved ppx_fields_conv.v0.16.0  (cached)
⬇ retrieved ppx_fixed_literal.v0.16.0  (cached)
⬇ retrieved ppx_globalize.v0.16.0  (cached)
⬇ retrieved ppx_hash.v0.16.0  (cached)
⬇ retrieved ppx_here.v0.16.0  (cached)
⬇ retrieved ppx_ignore_instrumentation.v0.16.0  (cached)
⬇ retrieved ppx_inline_test.v0.16.1  (cached)
⬇ retrieved ppx_jane.v0.16.0  (cached)
⬇ retrieved ppx_let.v0.16.0  (cached)
⬇ retrieved ppx_log.v0.16.0  (cached)
⬇ retrieved ppx_module_timer.v0.16.0  (cached)
⬇ retrieved ppx_optcomp.v0.16.0  (cached)
⬇ retrieved ppx_optional.v0.16.0  (cached)
⬇ retrieved ppx_pipebang.v0.16.0  (cached)
⬇ retrieved ppx_sexp_conv.v0.16.0  (cached)
⬇ retrieved ppx_sexp_message.v0.16.0  (cached)
⬇ retrieved ppx_sexp_value.v0.16.0  (cached)
⬇ retrieved ppx_stable.v0.16.0  (cached)
⬇ retrieved ppx_stable_witness.v0.16.0  (cached)
⬇ retrieved ppx_string.v0.16.0  (cached)
⬇ retrieved ppx_tydi.v0.16.0  (cached)
⬇ retrieved ppx_typerep_conv.v0.16.0  (cached)
⬇ retrieved ppx_variants_conv.v0.16.0  (cached)
⬇ retrieved ppxlib.0.35.0  (cached)
⬇ retrieved re.1.14.0  (cached)
⬇ retrieved result.1.5  (cached)
⬇ retrieved rresult.0.7.0  (cached)
⬇ retrieved sexplib.v0.16.0  (cached)
⬇ retrieved sexplib0.v0.16.0  (cached)
⬇ retrieved splittable_random.v0.16.0  (cached)
⬇ retrieved stdio.v0.16.0  (cached)
⬇ retrieved stdlib-shims.0.3.0  (cached)
⬇ retrieved time_now.v0.16.0  (cached)
⬇ retrieved topkg.1.1.1  (cached)
⬇ retrieved typerep.v0.16.0  (cached)
⬇ retrieved uutf.1.0.4  (cached)
⬇ retrieved variantslib.v0.16.0  (cached)
∗ installed num.1.6
∗ installed ocamlfind.1.9.8
∗ installed ocamlbuild.0.16.1
∗ installed topkg.1.1.1
∗ installed rresult.0.7.0
∗ installed uutf.1.0.4
∗ installed fmt.0.11.0
∗ installed astring.0.8.5
∗ installed jsonm.1.0.2
∗ installed fpath.0.7.3
∗ installed logs.0.10.0
∗ installed bos.0.2.1
∗ installed dune.3.22.2
∗ installed jane-street-headers.v0.16.0
∗ installed csexp.1.5.2
∗ installed stdlib-shims.0.3.0
∗ installed sexplib0.v0.16.0
∗ installed result.1.5
∗ installed ppx_derivers.1.2.1
∗ installed ocaml-compiler-libs.v0.12.4
∗ installed cstruct.6.2.0
∗ installed cppo.1.8.0
∗ installed camlp-streams.5.0.1
∗ installed hex.1.5.0
∗ installed re.1.14.0
∗ installed ezjsonm.1.3.0
∗ installed ocamlgraph.2.2.0
∗ installed dune-configurator.3.22.2
∗ installed parsexp.v0.16.0
∗ installed not-ocamlfind.0.14
∗ installed camlp5-buildscripts.0.06
∗ installed sexplib.v0.16.0
∗ installed dune-compiledb.0.6.0
∗ installed pcre.8.0.5
∗ installed base.v0.16.5
∗ installed variantslib.v0.16.0
∗ installed fieldslib.v0.16.0
∗ installed stdio.v0.16.0
∗ installed typerep.v0.16.0
∗ installed ppxlib.0.35.0
∗ installed ppx_globalize.v0.16.0
∗ installed ppx_cold.v0.16.0
∗ installed ppx_disable_unused_warnings.v0.16.0
∗ installed ppx_tydi.v0.16.0
∗ installed ppx_here.v0.16.0
∗ installed ppx_enumerate.v0.16.0
∗ installed ppx_ignore_instrumentation.v0.16.0
∗ installed ppx_typerep_conv.v0.16.0
∗ installed ppx_fixed_literal.v0.16.0
∗ installed ppx_optcomp.v0.16.0
∗ installed ppx_pipebang.v0.16.0
∗ installed ppx_optional.v0.16.0
∗ installed ppx_variants_conv.v0.16.0
∗ installed ppx_stable_witness.v0.16.0
∗ installed ppx_compare.v0.16.0
∗ installed ppx_fields_conv.v0.16.0
∗ installed ppx_stable.v0.16.0
∗ installed ppx_deriving.6.0.3
∗ installed ppx_let.v0.16.0
∗ installed ppx_sexp_conv.v0.16.0
∗ installed cppffigen.0.002
∗ installed ppx_sexp_value.v0.16.0
∗ installed ppx_hash.v0.16.0
∗ installed ppx_assert.v0.16.0
∗ installed ppx_sexp_message.v0.16.0
∗ installed ppx_base.v0.16.0
∗ installed ppx_custom_printf.v0.16.0
∗ installed ppx_log.v0.16.0
∗ installed ppx_string.v0.16.0
∗ installed jst-config.v0.16.0
∗ installed bin_prot.v0.16.0
∗ installed time_now.v0.16.0
∗ installed ppx_bin_prot.v0.16.0
∗ installed ppx_module_timer.v0.16.0
∗ installed ppx_inline_test.v0.16.1
∗ installed ppx_bench.v0.16.0
∗ installed ppx_expect.v0.16.2
∗ installed splittable_random.v0.16.0
∗ installed base_quickcheck.v0.16.0
∗ installed ppx_jane.v0.16.0
∗ installed int_repr.v0.16.0
∗ installed base_bigstring.v0.16.0
∗ installed core.v0.16.2

#=== ERROR while compiling conf-rocksdb.1 =====================================#
# context              2.5.1 | freebsd/x86_64 | ocaml-base-compiler.4.14.3 | file:///home/opam/opam-repository
# path                 ~/.opam/4.14.3/.opam-switch/build/conf-rocksdb.1
# command              /usr/bin/cc -lrocksdb main.c
# exit-code            1
# env-file             ~/.opam/log/conf-rocksdb-87544-d41647.env
# output-file          ~/.opam/log/conf-rocksdb-87544-d41647.out
### output ###
# ld: error: unable to find library -lrocksdb
# cc: error: linker command failed with exit code 1 (use -v to see invocation)



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
┌─ The following actions failed
│ λ build conf-rocksdb 1
└─ 
┌─ The following changes have been performed (the rest was aborted)
│ ∗ install astring                     0.8.5
│ ∗ install base                        v0.16.5
│ ∗ install base_bigstring              v0.16.0
│ ∗ install base_quickcheck             v0.16.0
│ ∗ install bin_prot                    v0.16.0
│ ∗ install bos                         0.2.1
│ ∗ install camlp-streams               5.0.1
│ ∗ install camlp5-buildscripts         0.06
│ ∗ install cmdliner                    1.3.0
│ ∗ install conf-g++                    1.0
│ ∗ install conf-libbz2                 1
│ ∗ install conf-liblz4                 1
│ ∗ install conf-libpcre                2
│ ∗ install conf-m4                     1
│ ∗ install conf-pkg-config             4
│ ∗ install conf-snappy                 1
│ ∗ install conf-which                  1
│ ∗ install conf-zlib                   1
│ ∗ install core                        v0.16.2
│ ∗ install cppffigen                   0.002
│ ∗ install cppo                        1.8.0
│ ∗ install csexp                       1.5.2
│ ∗ install cstruct                     6.2.0
│ ∗ install dune                        3.22.2
│ ∗ install dune-compiledb              0.6.0
│ ∗ install dune-configurator           3.22.2
│ ∗ install ezjsonm                     1.3.0
│ ∗ install fieldslib                   v0.16.0
│ ∗ install fmt                         0.11.0
│ ∗ install fpath                       0.7.3
│ ∗ install hex                         1.5.0
│ ∗ install int_repr                    v0.16.0
│ ∗ install jane-street-headers         v0.16.0
│ ∗ install jsonm                       1.0.2
│ ∗ install jst-config                  v0.16.0
│ ∗ install logs                        0.10.0
│ ∗ install not-ocamlfind               0.14
│ ∗ install num                         1.6
│ ∗ install ocaml-compiler-libs         v0.12.4
│ ∗ install ocamlbuild                  0.16.1
│ ∗ install ocamlfind                   1.9.8
│ ∗ install ocamlgraph                  2.2.0
│ ∗ install parsexp                     v0.16.0
│ ∗ install pcre                        8.0.5
│ ∗ install ppx_assert                  v0.16.0
│ ∗ install ppx_base                    v0.16.0
│ ∗ install ppx_bench                   v0.16.0
│ ∗ install ppx_bin_prot                v0.16.0
│ ∗ install ppx_cold                    v0.16.0
│ ∗ install ppx_compare                 v0.16.0
│ ∗ install ppx_custom_printf           v0.16.0
│ ∗ install ppx_derivers                1.2.1
│ ∗ install ppx_deriving                6.0.3
│ ∗ install ppx_disable_unused_warnings v0.16.0
│ ∗ install ppx_enumerate               v0.16.0
│ ∗ install ppx_expect                  v0.16.2
│ ∗ install ppx_fields_conv             v0.16.0
│ ∗ install ppx_fixed_literal           v0.16.0
│ ∗ install ppx_globalize               v0.16.0
│ ∗ install ppx_hash                    v0.16.0
│ ∗ install ppx_here                    v0.16.0
│ ∗ install ppx_ignore_instrumentation  v0.16.0
│ ∗ install ppx_inline_test             v0.16.1
│ ∗ install ppx_jane                    v0.16.0
│ ∗ install ppx_let                     v0.16.0
│ ∗ install ppx_log                     v0.16.0
│ ∗ install ppx_module_timer            v0.16.0
│ ∗ install ppx_optcomp                 v0.16.0
│ ∗ install ppx_optional                v0.16.0
│ ∗ install ppx_pipebang                v0.16.0
│ ∗ install ppx_sexp_conv               v0.16.0
│ ∗ install ppx_sexp_message            v0.16.0
│ ∗ install ppx_sexp_value              v0.16.0
│ ∗ install ppx_stable                  v0.16.0
│ ∗ install ppx_stable_witness          v0.16.0
│ ∗ install ppx_string                  v0.16.0
│ ∗ install ppx_tydi                    v0.16.0
│ ∗ install ppx_typerep_conv            v0.16.0
│ ∗ install ppx_variants_conv           v0.16.0
│ ∗ install ppxlib                      0.35.0
│ ∗ install re                          1.14.0
│ ∗ install result                      1.5
│ ∗ install rresult                     0.7.0
│ ∗ install sexplib                     v0.16.0
│ ∗ install sexplib0                    v0.16.0
│ ∗ install splittable_random           v0.16.0
│ ∗ install stdio                       v0.16.0
│ ∗ install stdlib-shims                0.3.0
│ ∗ install time_now                    v0.16.0
│ ∗ install topkg                       1.1.1
│ ∗ install typerep                     v0.16.0
│ ∗ install uutf                        1.0.4
│ ∗ install variantslib                 v0.16.0
└─ 

The former state can be restored with:
    /usr/local/bin/opam switch import "/home/opam/.opam/4.14.3/.opam-switch/backup/state-20260429155354.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.
opam-repo-ci detected dependencies failing:  conf-rocksdb.1
jail: /usr/bin/su -l opam -c cd '/home/opam' && env OPAM_REPO_CI='true' CI='true' OPAMPRECISETRACKING='1' OPAMERRLOGLEN='0' OPAMDOWNLOADJOBS='1' '/usr/bin/env' 'bash' '-c' 'opam reinstall ocaml-rocksdb.0.02;
        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 "\"freebsd-15.0\""; then
            echo "A package failed and has been disabled for CI using the '\''x-ci-accept-failures'\'' field.";
          fi;
          test "$pkg" != '\''ocaml-rocksdb.0.02'\'' && partial_fails="$partial_fails $pkg";
        done;
        test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}";
        exit 1': failed
"jail" "-c" "name=obuilder_1233_3411" "mount.fstab=/tmp/obuilder-jail-a51c41/fstab" "mount.devfs" "path=/obuilder/result/1056f86f44507b5045da6392d5330bd6893cb170af97e54a07adbbd93fa7e042/rootfs" "host=inherit" "ip6=inherit" "ip4=inherit" "command=/usr/bin/su" "-l" "opam" "-c" "cd '/home/opam' && env OPAM_REPO_CI='true' CI='true' OPAMPRECISETRACKING='1' OPAMERRLOGLEN='0' OPAMDOWNLOADJOBS='1' '/usr/bin/env' 'bash' '-c' 'opam reinstall ocaml-rocksdb.0.02;
        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 "\"freebsd-15.0\""; then
            echo "A package failed and has been disabled for CI using the '\''x-ci-accept-failures'\'' field.";
          fi;
          test "$pkg" != '\''ocaml-rocksdb.0.02'\'' && 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
2026-04-29 16:05.36: Job failed: Failed: Build failed
2026-04-29 16:05.36: Log analysis:
2026-04-29 16:05.36: >>> 
[ERROR] The compilation of conf-rocksdb.1 failed at "cc -lrocksdb main.c".
 (score = 20)
2026-04-29 16:05.36: >>> 
# ld: error: unable to find library -lrocksdb
 (score = 30)
2026-04-29 16:05.36: >>> 
opam-repo-ci detected dependencies failing:  conf-rocksdb.1
 (score = 75)
2026-04-29 16:05.36:  conf-rocksdb.1 failed to build