(for PR #28931)
2025-11-23 10:30.18: New job: build lmdb.1.0, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/28931/head (8f00c13a54683097cc781d46df0c18b7f635d303)
on debian-unstable-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/28931/head" && git reset --hard 8f00c13a
git fetch origin master
git merge --no-edit 90ae18973efb465b99913d4664b7d87c21628a19
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-unstable-ocaml-5.4@sha256:d41c26f6f54dcca3f4396b708b145b0daadb0ca8a202aaad950c78b76ac1e8ca
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.0 1.0
RUN opam reinstall lmdb.1.0; \
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.0' && 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-23 10:30.18: Using cache hint "ocaml/opam:debian-unstable-ocaml-5.4@sha256:d41c26f6f54dcca3f4396b708b145b0daadb0ca8a202aaad950c78b76ac1e8ca-lmdb.1.0-8f00c13a54683097cc781d46df0c18b7f635d303"
2025-11-23 10:30.18: Using OBuilder spec:
((from ocaml/opam:debian-unstable-ocaml-5.4@sha256:d41c26f6f54dcca3f4396b708b145b0daadb0ca8a202aaad950c78b76ac1e8ca)
(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.0 1.0"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall lmdb.1.0;\
\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.0' && 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-23 10:30.18: Waiting for resource in pool OCluster
2025-11-23 10:30.18: Waiting for worker…
2025-11-23 10:30.19: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
HEAD is now at 90ae18973e Merge pull request #28929 from sim642/release-goblint-cil-2.0.9
Merge made by the 'ort' strategy.
packages/lmdb/lmdb.1.0/opam | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
(from ocaml/opam:debian-unstable-ocaml-5.4@sha256:d41c26f6f54dcca3f4396b708b145b0daadb0ca8a202aaad950c78b76ac1e8ca)
Unable to find image 'ocaml/opam:debian-unstable-ocaml-5.4@sha256:d41c26f6f54dcca3f4396b708b145b0daadb0ca8a202aaad950c78b76ac1e8ca' locally
docker.io/ocaml/opam@sha256:d41c26f6f54dcca3f4396b708b145b0daadb0ca8a202aaad950c78b76ac1e8ca: Pulling from ocaml/opam
7a726d77a015: Already exists
096b221ce420: Already exists
01d188e875b8: Already exists
6c26aef4008c: Already exists
faf1cc2e0017: Already exists
684ae348f22e: Already exists
697a517dcb94: Already exists
aabe8963b502: Already exists
626b31e7ef05: Already exists
2ccd0ee16f32: Already exists
a81bbee9d992: Already exists
22fb0eb169e8: Already exists
c1df4937c5c6: Already exists
568953b356e7: Already exists
7e0be313121d: Already exists
258458fea6e8: Already exists
258458fea6e8: Already exists
91d012ea0fe2: Already exists
fa6f40dd0f11: Already exists
781bf12e83e0: Already exists
fcd0602e567b: Already exists
4f4fb700ef54: Already exists
ea265120c4f9: Already exists
70cd454bfbc9: Already exists
fad5c90c7262: Already exists
adc90b1454b6: Already exists
59f4c932324a: Already exists
43a1caae8823: Already exists
6ee22797a2dd: Already exists
3d0fc2e8c4aa: Already exists
4bebe18058bc: Already exists
7ed8309c425e: Already exists
3f70a6c21283: Already exists
1c4f487dd20b: Already exists
ee1a43b13947: Already exists
931d27ec0647: Already exists
02699d250c68: Already exists
4880f9cdfe0a: Already exists
1ccf6b2c058b: Already exists
d6689a2f7308: Already exists
ca46e3f75520: Pulling fs layer
6e364c3b7385: Pulling fs layer
939f314b719c: Pulling fs layer
a30cf0ff2938: Pulling fs layer
939f314b719c: Waiting
3deaaf97f1e6: Pulling fs layer
a30cf0ff2938: Waiting
aa675e169972: Pulling fs layer
3deaaf97f1e6: Waiting
28ba9c3664f3: Pulling fs layer
28ba9c3664f3: Waiting
aa675e169972: Waiting
ca46e3f75520: Verifying Checksum
ca46e3f75520: Download complete
939f314b719c: Verifying Checksum
939f314b719c: Download complete
ca46e3f75520: Pull complete
6e364c3b7385: Verifying Checksum
6e364c3b7385: Download complete
3deaaf97f1e6: Verifying Checksum
3deaaf97f1e6: Download complete
aa675e169972: Verifying Checksum
aa675e169972: Download complete
28ba9c3664f3: Verifying Checksum
28ba9c3664f3: Download complete
6e364c3b7385: Pull complete
939f314b719c: Pull complete
a30cf0ff2938: Verifying Checksum
a30cf0ff2938: Download complete
a30cf0ff2938: Pull complete
3deaaf97f1e6: Pull complete
aa675e169972: Pull complete
28ba9c3664f3: Pull complete
Digest: sha256:d41c26f6f54dcca3f4396b708b145b0daadb0ca8a202aaad950c78b76ac1e8ca
Status: Downloaded newer image for ocaml/opam@sha256:d41c26f6f54dcca3f4396b708b145b0daadb0ca8a202aaad950c78b76ac1e8ca
2025-11-23 10:30.48 ---> using "399b73928f5b10f2bbada27382636eefb8afa3f58f1911bcc75abe45fa8a08a1" 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-23 10:30.48 ---> using "2bbe300becb6fb7addd203d68400db27ec96d9b9ead2ca71755f6b307d11684c" 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 71 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=71 --global
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-11-23 10:30.48 ---> using "514a32f44339ac919b287bb606c025e9079315ef68d26adcc09fa46e9ce8afe9" 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~beta1
# 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 255
# 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
2025-11-23 10:30.48 ---> using "d572349824a40786f294e67b7ff79181e57dfb6a76610de7d04c3b99fb171a9c" 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-23 10:30.48 ---> using "4b54cad4f21bf473136f67f731f89b4612c0ce803bb037bdfa8352f3dbe3e840" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2025-11-23 10:30.58 ---> saved as "f6aaf073b1ee1138f9572f7fca2c97e5f8885e89570b884f8543592acb47974c"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-11-23 10:31.16 ---> saved as "f413447e3a403026c0279737f648eb79bee525135ca9045ebe026ecd875de45f"
/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 [176 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-2025-11-23-0805.24-F-2025-11-15-0804.21.pdiff [535 kB]
- Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2025-11-23-0805.24-F-2025-11-15-0804.21.pdiff [535 kB]
- Fetched 775 kB in 2s (516 kB/s)
- Reading package lists...
-
2025-11-23 10:31.18 ---> saved as "aa9b0807546e43a4793e5de4549df60357844a5e13ebd00db194a5c2b2d291a2"
/home/opam: (run (shell "opam pin add -k version -yn lmdb.1.0 1.0"))
lmdb is now pinned to version 1.0
2025-11-23 10:31.19 ---> saved as "a7916480dfc67377183b531334050691da96994766270d8ce23a4a070b135853"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall lmdb.1.0;\
\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.0' && 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.0 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.20.2 [required by lmdb]
- install dune-configurator 3.20.2 [required by lmdb]
- install lmdb 1.0 (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 ... 20804 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) ...
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved bigstringaf.0.10.0 (cached)
-> retrieved csexp.1.5.2 (cached)
-> installed conf-pkg-config.4
-> retrieved dune.3.20.2, dune-configurator.3.20.2 (cached)
-> retrieved lmdb.1.0 (cached)
-> installed dune.3.20.2
-> installed csexp.1.5.2
-> installed dune-configurator.3.20.2
-> installed bigstringaf.0.10.0
-> installed lmdb.1.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-11-23 10:31.52 ---> saved as "678864ae1f7b3c362f5f5bbcf1433d89e76e850a1923c71f4fe0f38f0a40cdd6"
Job succeeded
2025-11-23 10:31.57: Job succeeded