(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 centos-10-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:centos-10-ocaml-5.4@sha256:c17f277bfdb5ce974e215efc418394d65afe1e9baf8b1f97b1443064136eb2f0
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 "\"centos-10\""; 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:centos-10-ocaml-5.4@sha256:c17f277bfdb5ce974e215efc418394d65afe1e9baf8b1f97b1443064136eb2f0-lmdb.1.1.1-0f7587219dc2cfad8e2788fa7f83722726569ece"
2026-01-19 13:42.28: Using OBuilder spec:
((from ocaml/opam:centos-10-ocaml-5.4@sha256:c17f277bfdb5ce974e215efc418394d65afe1e9baf8b1f97b1443064136eb2f0)
(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 \"\\\"centos-10\\\"\"; 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 eumache
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:centos-10-ocaml-5.4@sha256:c17f277bfdb5ce974e215efc418394d65afe1e9baf8b1f97b1443064136eb2f0)
Unable to find image 'ocaml/opam:centos-10-ocaml-5.4@sha256:c17f277bfdb5ce974e215efc418394d65afe1e9baf8b1f97b1443064136eb2f0' locally
docker.io/ocaml/opam@sha256:c17f277bfdb5ce974e215efc418394d65afe1e9baf8b1f97b1443064136eb2f0: Pulling from ocaml/opam
d897ea1522f3: Already exists
956670845d9e: Pulling fs layer
0fa47a9454e6: Pulling fs layer
d69d804f204c: Pulling fs layer
f62c547b8ee0: Pulling fs layer
c8c663c962b6: Pulling fs layer
f62c547b8ee0: Waiting
c8c663c962b6: Waiting
d69d804f204c: Verifying Checksum
d69d804f204c: Download complete
f62c547b8ee0: Download complete
956670845d9e: Verifying Checksum
956670845d9e: Download complete
956670845d9e: Pull complete
c8c663c962b6: Verifying Checksum
c8c663c962b6: Download complete
0fa47a9454e6: Verifying Checksum
0fa47a9454e6: Download complete
0fa47a9454e6: Pull complete
d69d804f204c: Pull complete
f62c547b8ee0: Pull complete
c8c663c962b6: Pull complete
Digest: sha256:c17f277bfdb5ce974e215efc418394d65afe1e9baf8b1f97b1443064136eb2f0
Status: Downloaded newer image for ocaml/opam@sha256:c17f277bfdb5ce974e215efc418394d65afe1e9baf8b1f97b1443064136eb2f0
2026-01-19 13:43.15 ---> using "a8eedf93348ad63ddfde6541c40fc5d9d1eeedd4141bcb2a30da4688374d1e94" 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.15 ---> using "92e77c467c14e5fa7088294ab3a881294e793855b7fd75e0c02adf37f5360120" 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
2026-01-19 13:43.15 ---> using "0e301bb300f703eaeaf41ee92411abab3589e5ed985c86ab55d6e4d970452d9b" 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=centos os-version=10
# 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 5.4
# invariant ["ocaml-base-compiler" {>= "5.4.0"}]
# compiler-packages ocaml-base-compiler.5.4.0, ocaml-compiler.5.4.0, ocaml-options-vanilla.1
# 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
2026-01-19 13:43.15 ---> using "3ce4f500636b3e2bd697cce39a72a2a34661ded684d12bfcd163728807b4d0f3" 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 "6f545a46bedcdeeb9c47f268c5e20c799a1fd351b12697bfdb51d33230a18fe1" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2026-01-19 13:43.24 ---> saved as "662b4535e005ebf21da56806c818a77aa726de11c9f0ad9297b23bd04f7357f7"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-01-19 13:43.43 ---> saved as "8843a5808f2e5e30107cf01c4b8ae2a09c0fc9014eebc9495a504b751d49d1a3"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "yum" "makecache"
- CentOS Stream 10 - BaseOS 5.4 kB/s | 14 kB 00:02
- CentOS Stream 10 - AppStream 24 kB/s | 15 kB 00:00
- CentOS Stream 10 - CRB 56 kB/s | 14 kB 00:00
- CentOS Stream 10 - Extras packages 48 kB/s | 16 kB 00:00
- Metadata cache created.
2026-01-19 13:43.48 ---> saved as "cba533a4f8630c7f8e2dd7dec8e02a5d3808774fd8fa3e94817f81b415b2e406"
/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.49 ---> saved as "afa76116eb08752a95236be0a6fb7d7ab197179b6a427e7b157dfe34422055de"
/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 \"\\\"centos-10\\\"\"; 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)
<><> 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 (https://github.com/Drup/ocaml-lmdb/archive/refs/tags/1.1.1.tar.gz)
-> 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.40 ---> saved as "6fd674a613c79afb0036f03396df7b951089425cc154439fcaf9fab2ad229198"
Job succeeded
2026-01-19 13:44.49: Job succeeded