(for PR #29212)
2026-01-19 13:42.28: New job: build lmdb.1.1.1, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/29212/head (0f7587219dc2cfad8e2788fa7f83722726569ece)
on debian-unstable-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/29212/head" && git reset --hard 0f758721
git fetch origin master
git merge --no-edit 39960ffbaf3e5b50a1e354d4c99bfecc01e358ca
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-unstable-ocaml-4.14@sha256:877f401ba4bf492d9b9b852542d7ba21baebf850b4d7bfed2a458934758d9234
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 lmdb.1.1.1 1.1.1
RUN 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-unstable\""; 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-unstable-ocaml-4.14@sha256:877f401ba4bf492d9b9b852542d7ba21baebf850b4d7bfed2a458934758d9234-lmdb.1.1.1-0f7587219dc2cfad8e2788fa7f83722726569ece"
2026-01-19 13:42.28: Using OBuilder spec:
((from ocaml/opam:debian-unstable-ocaml-4.14@sha256:877f401ba4bf492d9b9b852542d7ba21baebf850b4d7bfed2a458934758d9234)
(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 lmdb.1.1.1 1.1.1"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "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-unstable\\\"\"; 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.29: Waiting for worker…
2026-01-19 13:42.30: Got resource from pool OCluster
Building on laodoke.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-unstable-ocaml-4.14@sha256:877f401ba4bf492d9b9b852542d7ba21baebf850b4d7bfed2a458934758d9234)
Unable to find image 'ocaml/opam:debian-unstable-ocaml-4.14@sha256:877f401ba4bf492d9b9b852542d7ba21baebf850b4d7bfed2a458934758d9234' locally
docker.io/ocaml/opam@sha256:877f401ba4bf492d9b9b852542d7ba21baebf850b4d7bfed2a458934758d9234: Pulling from ocaml/opam
8e36c1fbb8f9: Already exists
c20c78184d0b: Already exists
0ab87efdff82: Already exists
c7b76e160f19: Already exists
0f33b0437075: Already exists
44cfe50ed87a: Already exists
3d8bc88e8e4c: Already exists
031ad32a4764: Already exists
295120677902: Already exists
cabfd3ab2227: Already exists
3ec86e62252b: Already exists
f2d973a9ea0c: Already exists
e142f6d653d9: Already exists
bfa8af2cae08: Already exists
2fb4252d438b: Already exists
3dc003ec4a15: Already exists
a1c5fc4b0323: Already exists
a1c5fc4b0323: Already exists
27c2974c0836: Already exists
0adec8edeba9: Already exists
1ee2afe62a1f: Already exists
320d8966c06c: Already exists
4f4fb700ef54: Already exists
6f46e7a21dfb: Already exists
75f876a0c9c9: Already exists
7adc49118e74: Already exists
6fa679934aac: Already exists
3c2cea696b77: Already exists
946ea8df89a5: Already exists
ea4ceee206ec: Already exists
af006056acfa: Already exists
f2f172888897: Already exists
b9eb7fecff88: Already exists
4f6f96a895ac: Already exists
37ea2e18a637: Already exists
1973f0a82dbc: Already exists
89bfe5027abd: Already exists
3618e70065f5: Already exists
f559d3f65047: Already exists
9de533cb491e: Already exists
f28ff1d1a83b: Already exists
8b071c4740c8: Pulling fs layer
ac68bd7d48be: Pulling fs layer
c7635436197f: Pulling fs layer
5c91d9bb3cc5: Pulling fs layer
860c034923af: Pulling fs layer
5c91d9bb3cc5: Waiting
860c034923af: Waiting
c7635436197f: Verifying Checksum
c7635436197f: Download complete
5c91d9bb3cc5: Download complete
860c034923af: Verifying Checksum
860c034923af: Download complete
ac68bd7d48be: Verifying Checksum
ac68bd7d48be: Download complete
8b071c4740c8: Verifying Checksum
8b071c4740c8: Download complete
8b071c4740c8: Pull complete
ac68bd7d48be: Pull complete
c7635436197f: Pull complete
5c91d9bb3cc5: Pull complete
860c034923af: Pull complete
Digest: sha256:877f401ba4bf492d9b9b852542d7ba21baebf850b4d7bfed2a458934758d9234
Status: Downloaded newer image for ocaml/opam@sha256:877f401ba4bf492d9b9b852542d7ba21baebf850b4d7bfed2a458934758d9234
2026-01-19 13:43.17 ---> using "b462075ce39918979f5d46f895062d08f07edac802eb7daefb45e42c925c98e1" from cache
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2026-01-19 13:43.17 ---> using "581c964e68c07fbeb1f65d54c65a2fefdf27a535243971df4ba8254b219fcf7b" 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
[NOTE] The 'jobs' option was reset, its value was 255 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=255 --global
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[ocaml-patches-overlay] synchronised from git+https://github.com/ocurrent/opam-repository#patches
[default] Initialised
2026-01-19 13:43.17 ---> using "77050ad4c9fedcd0e4b840e14b66917d7fd59a01e5f2df0c5664cff5ff69a076" 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
# self-upgrade no
# system arch=x86_64 os=linux os-distribution=debian os-version=unknown
# solver builtin-0install
# install-criteria -changed,-count[avoid-version,solution]
# upgrade-criteria -count[avoid-version,solution]
# jobs 71
# repositories 2 (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
2026-01-19 13:43.17 ---> using "95b194353f2b76e23e866c97fa41c13f8a7e60efd815b1ffe956cfbdb2b002ed" 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.17 ---> using "655981729f8b0b2c5918f390c11cf134c3350c092adcd061f27cdcc6a70bfe21" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2026-01-19 13:43.27 ---> saved as "6cd52d7b8becc100462224f2e56eb595ddbe1d324449deeeb746754c6f2a159d"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-01-19 13:43.48 ---> saved as "de8707255f306205f014f93b1a10a0945672f198950f64bbd07982117a5e10bf"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://deb.debian.org/debian unstable InRelease [187 kB]
- Get:2 http://deb.debian.org/debian unstable/main amd64 Packages.diff/Index [63.6 kB]
- Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2026-01-19-0802.31-F-2026-01-16-2009.15.pdiff [658 kB]
- Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2026-01-19-0802.31-F-2026-01-16-2009.15.pdiff [658 kB]
- Fetched 908 kB in 6s (160 kB/s)
- Reading package lists...
-
2026-01-19 13:43.55 ---> saved as "9ba2e90047dd1a7fc25ed3981eb75e1cfcbd8542d81233ee4ec57d4b061b2fde"
/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:43.56 ---> saved as "d457c731b9f3f1974a452ad238a74bdc7c14748bb5d3670764e2f8df2809c120"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "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-unstable\\\"\"; 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"))
lmdb.1.1.1 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 6 packages
- install bigstringaf 0.10.0 [required by lmdb]
- install conf-pkg-config 4 [required by lmdb]
- install csexp 1.5.2 [required by dune-configurator]
- install dune 3.21.0 [required by lmdb]
- install dune-configurator 3.21.0 [required by lmdb]
- install lmdb 1.1.1 (pinned)
The following system packages will first need to be installed:
liblmdb-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" "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 ... 20828 files and directories currently installed.)
- Preparing to unpack .../0-liblmdb0_0.9.31-1+b3_amd64.deb ...
- Unpacking liblmdb0:amd64 (0.9.31-1+b3) ...
- Selecting previously unselected package liblmdb-dev:amd64.
- Preparing to unpack .../1-liblmdb-dev_0.9.31-1+b3_amd64.deb ...
- Unpacking liblmdb-dev:amd64 (0.9.31-1+b3) ...
- Selecting previously unselected package libpkgconf3:amd64.
- Preparing to unpack .../2-libpkgconf3_1.8.1-4+b1_amd64.deb ...
- Unpacking libpkgconf3:amd64 (1.8.1-4+b1) ...
- 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+b1_amd64.deb ...
- Unpacking pkgconf-bin (1.8.1-4+b1) ...
- Selecting previously unselected package pkgconf:amd64.
- Preparing to unpack .../5-pkgconf_1.8.1-4+b1_amd64.deb ...
- Unpacking pkgconf:amd64 (1.8.1-4+b1) ...
- Selecting previously unselected package pkg-config:amd64.
- Preparing to unpack .../6-pkg-config_1.8.1-4+b1_amd64.deb ...
- Unpacking pkg-config:amd64 (1.8.1-4+b1) ...
- Setting up liblmdb0:amd64 (0.9.31-1+b3) ...
- Setting up lmdb-doc (0.9.31-1) ...
- Setting up libpkgconf3:amd64 (1.8.1-4+b1) ...
- Setting up pkgconf-bin (1.8.1-4+b1) ...
- Setting up liblmdb-dev:amd64 (0.9.31-1+b3) ...
- Setting up pkgconf:amd64 (1.8.1-4+b1) ...
- Setting up pkg-config:amd64 (1.8.1-4+b1) ...
- Processing triggers for libc-bin (2.42-7) ...
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved bigstringaf.0.10.0 (cached)
-> retrieved csexp.1.5.2 (cached)
-> installed conf-pkg-config.4
-> retrieved dune.3.21.0, dune-configurator.3.21.0 (cached)
-> retrieved lmdb.1.1.1 (cached)
-> 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.
# To update the current shell environment, run: eval $(opam env)
2026-01-19 13:44.45 ---> saved as "bb8f8c9eb477a92678164d4fe48b41f0a57be3e49997962828d8d9a7b3084164"
Job succeeded
2026-01-19 13:44.51: Job succeeded