(for PR #29212)

2026-01-19 13:42.28: New job: build lmdb.1.1.1, using opam 2.0
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29212/head (0f7587219dc2cfad8e2788fa7f83722726569ece)
                              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/29212/head" && git reset --hard 0f758721
git fetch origin master
git merge --no-edit 39960ffbaf3e5b50a1e354d4c99bfecc01e358ca
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-5.4@sha256:9f4103f7d94b5db36adc57e1243e7aafbc77118b03f3c64c9d783f6875957bd3
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-2.0 /usr/bin/opam
RUN opam init --reinit -ni
RUN 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 depext -u || true
RUN opam pin add -k version -yn lmdb.1.1.1 1.1.1
RUN opam depext lmdb.1.1.1 && opam reinstall lmdb.1.1.1; \
    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" != 'lmdb.1.1.1' && 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-01-19 13:42.28: Using cache hint "ocaml/opam:debian-13-ocaml-5.4@sha256:9f4103f7d94b5db36adc57e1243e7aafbc77118b03f3c64c9d783f6875957bd3-lmdb.1.1.1-0f7587219dc2cfad8e2788fa7f83722726569ece"
2026-01-19 13:42.28: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-5.4@sha256:9f4103f7d94b5db36adc57e1243e7aafbc77118b03f3c64c9d783f6875957bd3)
 (user (uid 1000) (gid 1000))
 (workdir /home/opam)
 (run (shell "sudo ln -f /usr/bin/opam-2.0 /usr/bin/opam"))
 (run (network host)
      (shell "opam init --reinit --config .opamrc-sandbox -ni"))
 (run (shell "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 depext -u || true"))
 (run (shell "opam pin add -k version -yn lmdb.1.1.1 1.1.1"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam depext lmdb.1.1.1 && opam reinstall lmdb.1.1.1;\
             \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\" != 'lmdb.1.1.1' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2026-01-19 13:42.28: Waiting for resource in pool OCluster
2026-01-19 13:42.30: Waiting for worker…
2026-01-19 13:42.31: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
HEAD is now at 39960ffbaf Merge pull request #29193 from recoules/release-binsec-0.11.0
Merge made by the 'ort' strategy.
 packages/lmdb/lmdb.1.1.1/opam | 50 +++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 50 insertions(+)
 create mode 100644 packages/lmdb/lmdb.1.1.1/opam

(from ocaml/opam:debian-13-ocaml-5.4@sha256:9f4103f7d94b5db36adc57e1243e7aafbc77118b03f3c64c9d783f6875957bd3)
Unable to find image 'ocaml/opam:debian-13-ocaml-5.4@sha256:9f4103f7d94b5db36adc57e1243e7aafbc77118b03f3c64c9d783f6875957bd3' locally
docker.io/ocaml/opam@sha256:9f4103f7d94b5db36adc57e1243e7aafbc77118b03f3c64c9d783f6875957bd3: Pulling from ocaml/opam
281b80c799de: Already exists
00fc4ac50d5e: Already exists
7dc48a314bea: Already exists
8f654937f9e3: Already exists
1240f6fbe8cc: Already exists
f77f967230a1: Already exists
1b4ac3d9a8c2: Already exists
27b61414175d: Already exists
26fabf9b20e0: Already exists
b4426e2c299b: Already exists
9c12df827e83: Already exists
9a5608646906: Already exists
2a83342677ae: Already exists
5cbaedd36b85: Already exists
750a9830ac77: Already exists
400560080670: Already exists
bad13195b6fa: Already exists
b51fe78b498e: Already exists
185ce27e889b: Already exists
8a483dc1e759: Already exists
4de9d6d54a13: Already exists
0c268a22c8a0: Already exists
4f4fb700ef54: Already exists
e61881bc2621: Already exists
c864a4af1ff0: Already exists
42d012f62ad9: Already exists
ccb2ed78fa2e: Already exists
84c22434b2f6: Already exists
18c972827b32: Already exists
4c6dcdff9e80: Already exists
280bf9d33ca6: Already exists
51ce8c29753c: Already exists
5ac80663b9d2: Already exists
93f877c915e3: Already exists
8573ccc6bb69: Already exists
d26192cd75ec: Already exists
c7cce15b715e: Already exists
c998ca7b5976: Already exists
3cd1b61d806b: Already exists
19a26ec5319e: Already exists
b1f6813045f3: Already exists
2fb6fee07095: Already exists
d7a8a6f23075: Already exists
d1eb163b4fac: Already exists
e0b466a68532: Pulling fs layer
f701b61727fa: Pulling fs layer
c0d8b175dc9a: Pulling fs layer
8b2051f9a1b1: Pulling fs layer
e0b466a68532: Waiting
c0d8b175dc9a: Waiting
8b2051f9a1b1: Waiting
f701b61727fa: Waiting
e0b466a68532: Download complete
f701b61727fa: Verifying Checksum
f701b61727fa: Download complete
c0d8b175dc9a: Verifying Checksum
8b2051f9a1b1: Verifying Checksum
8b2051f9a1b1: Download complete
e0b466a68532: Pull complete
f701b61727fa: Pull complete
c0d8b175dc9a: Pull complete
8b2051f9a1b1: Pull complete
Digest: sha256:9f4103f7d94b5db36adc57e1243e7aafbc77118b03f3c64c9d783f6875957bd3
Status: Downloaded newer image for ocaml/opam@sha256:9f4103f7d94b5db36adc57e1243e7aafbc77118b03f3c64c9d783f6875957bd3
2026-01-19 13:43.15 ---> using "85f72cf1fe4e2d7307f2dbfaf295ab13f00915a95088b79c0422ecbd77383032" from cache

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.0 /usr/bin/opam"))
2026-01-19 13:43.15 ---> using "ad8b14945cf2cfa97b9c2c5e09cfca8ccdf176409ddb00410330bdb6f8af304b" from cache

/home/opam: (run (network host)
                 (shell "opam init --reinit --config .opamrc-sandbox -ni"))
[NOTE] Will configure 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.

[WARNING] Recommended dependencies -- most packages rely on these:
  - m4

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
default (at git+file:///home/opam/opam-repository): 
    [INFO] opam 2.1 and 2.2 include many performance and security improvements over 2.0; please consider upgrading (https://opam.ocaml.org/doc/Install.html)

2026-01-19 13:43.15 ---> using "e6a736a5fabf8a17ede1caa5d201e5b7966dd47fabf18aace81eaa3a451a39ce" from cache

/home/opam: (run (shell "opam config report"))
# opam config report
# opam-version      2.0.10 (adc1e1829a2bef5b240746df80341b508290fe3b) 
# self-upgrade      no
# system            arch=x86_64 os=linux os-distribution=debian os-version=13
# solver            builtin-mccs+glpk
# install-criteria  -removed,-count[version-lag,request],-count[version-lag,changed],-changed
# upgrade-criteria  -removed,-count[version-lag,solution],-new
# jobs              71
# repositories      1 (version-controlled)
# pinned            1 (version)
# current-switch    5.4
2026-01-19 13:43.15 ---> using "42831961fa03edc12f2f6d094a94410fb08fafdde56f78c00a8762ca83acb9c6" 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-01-19 13:43.15 ---> using "e0303ecce13492a44beffc3ccd0fded01db148c68e27e0d8ab2365be439a1036" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2026-01-19 13:43.27 ---> saved as "fa815e57dfd6438c0c29ce4a844f264944efcb9d9a181d1920d0db3ddf4dda32"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
default (at file:///home/opam/opam-repository): 
    [INFO] opam 2.1 and 2.2 include many performance and security improvements over 2.0; please consider upgrading (https://opam.ocaml.org/doc/Install.html)

2026-01-19 13:43.38 ---> saved as "e90c2d70680f5496c00497575d2d8a2fa864f42919a0f4acb3e07d2c778c36e5"

/home/opam: (run (network host)
                 (shell "opam depext -u || true"))
# Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian
# No extra OS packages requirements found.
# All required OS packages found.
The following command needs to be run through "sudo":
    apt-get update
Get:1 http://deb.debian.org/debian trixie InRelease [140 kB]
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 trixie/main amd64 Packages [9670 kB]
Get:5 http://deb.debian.org/debian-security trixie-security/main amd64 Packages [96.1 kB]
Fetched 9998 kB in 20s (494 kB/s)
Reading package lists...
# OS package update successful
2026-01-19 13:44.00 ---> saved as "38e88cb62095508d8dc4e5f8e01cd19345f0e1c661d8a19237412783f81e6c19"

/home/opam: (run (shell "opam pin add -k version -yn lmdb.1.1.1 1.1.1"))
lmdb is now pinned to version 1.1.1
2026-01-19 13:44.01 ---> saved as "860e5f15a4ca86b3d6930d6eacf261aaac7d75cd2ab143a32926df869276af9a"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam depext lmdb.1.1.1 && opam reinstall lmdb.1.1.1;\
                        \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\" != 'lmdb.1.1.1' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
# Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian
# The following system packages are needed:
liblmdb-dev
pkg-config
The following command needs to be run through "sudo":
    apt-get install -qq -yy liblmdb-dev pkg-config
Selecting previously unselected package liblmdb0:amd64.
(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 .../0-liblmdb0_0.9.31-1+b2_amd64.deb ...
Unpacking liblmdb0:amd64 (0.9.31-1+b2) ...
Selecting previously unselected package liblmdb-dev:amd64.
Preparing to unpack .../1-liblmdb-dev_0.9.31-1+b2_amd64.deb ...
Unpacking liblmdb-dev:amd64 (0.9.31-1+b2) ...
Selecting previously unselected package libpkgconf3:amd64.
Preparing to unpack .../2-libpkgconf3_1.8.1-4_amd64.deb ...
Unpacking libpkgconf3:amd64 (1.8.1-4) ...
Selecting previously unselected package lmdb-doc.
Preparing to unpack .../3-lmdb-doc_0.9.31-1_all.deb ...
Unpacking lmdb-doc (0.9.31-1) ...
Selecting previously unselected package pkgconf-bin.
Preparing to unpack .../4-pkgconf-bin_1.8.1-4_amd64.deb ...
Unpacking pkgconf-bin (1.8.1-4) ...
Selecting previously unselected package pkgconf:amd64.
Preparing to unpack .../5-pkgconf_1.8.1-4_amd64.deb ...
Unpacking pkgconf:amd64 (1.8.1-4) ...
Selecting previously unselected package pkg-config:amd64.
Preparing to unpack .../6-pkg-config_1.8.1-4_amd64.deb ...
Unpacking pkg-config:amd64 (1.8.1-4) ...
Setting up liblmdb0:amd64 (0.9.31-1+b2) ...
Setting up lmdb-doc (0.9.31-1) ...
Setting up libpkgconf3:amd64 (1.8.1-4) ...
Setting up pkgconf-bin (1.8.1-4) ...
Setting up liblmdb-dev:amd64 (0.9.31-1+b2) ...
Setting up pkgconf:amd64 (1.8.1-4) ...
Setting up pkg-config:amd64 (1.8.1-4) ...
Processing triggers for libc-bin (2.41-12) ...
# OS packages installation successful
lmdb.1.1.1 is not installed. Install it? [Y/n] y
The following actions will be performed:
  - install dune              3.21.0 [required by lmdb]
  - install conf-pkg-config   4      [required by lmdb]
  - install csexp             1.5.2  [required by dune-configurator]
  - install dune-configurator 3.21.0 [required by lmdb]
  - install bigstringaf       0.10.0 [required by lmdb]
  - install lmdb              1.1.1*
===== 6 to install =====

<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[bigstringaf.0.10.0] found in cache
[csexp.1.5.2] found in cache
[dune.3.21.0] found in cache
[dune-configurator.3.21.0] found in cache
[lmdb.1.1.1] found in cache

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed conf-pkg-config.4
-> installed dune.3.21.0
-> installed csexp.1.5.2
-> installed dune-configurator.3.21.0
-> installed bigstringaf.0.10.0
-> installed lmdb.1.1.1
Done.
# Run eval $(opam env) to update the current shell environment
2026-01-19 13:44.38 ---> saved as "ac78185671f3edc40e21f3dcb309cefd04325b86bdb65b23e4c381e73a3308b8"
Job succeeded
2026-01-19 13:44.45: Job succeeded