(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 ubuntu-25.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/28931/head" && git reset --hard 8f00c13a
git fetch origin master
git merge --no-edit 90ae18973efb465b99913d4664b7d87c21628a19
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-25.10-ocaml-5.4@sha256:00cac3fb20c060592235e9526d0596eb46834b5f3fd66defd071a0ebe49318dd
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 "\"ubuntu-25.10\""; 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:ubuntu-25.10-ocaml-5.4@sha256:00cac3fb20c060592235e9526d0596eb46834b5f3fd66defd071a0ebe49318dd-lmdb.1.0-8f00c13a54683097cc781d46df0c18b7f635d303"
2025-11-23 10:30.18: Using OBuilder spec:
((from ocaml/opam:ubuntu-25.10-ocaml-5.4@sha256:00cac3fb20c060592235e9526d0596eb46834b5f3fd66defd071a0ebe49318dd)
(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 \"\\\"ubuntu-25.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.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.18: Got resource from pool OCluster
Building on bremusa.ocamllabs.io
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:ubuntu-25.10-ocaml-5.4@sha256:00cac3fb20c060592235e9526d0596eb46834b5f3fd66defd071a0ebe49318dd)
Unable to find image 'ocaml/opam:ubuntu-25.10-ocaml-5.4@sha256:00cac3fb20c060592235e9526d0596eb46834b5f3fd66defd071a0ebe49318dd' locally
docker.io/ocaml/opam@sha256:00cac3fb20c060592235e9526d0596eb46834b5f3fd66defd071a0ebe49318dd: Pulling from ocaml/opam
9b965cd35928: Already exists
6c31bc6d66d3: Already exists
27be051823bf: Already exists
c5295dfd16e5: Already exists
7c6e3b2643c5: Already exists
db5fc12c4b12: Already exists
b7a8523d0575: Already exists
21427cfce9d5: Already exists
72bd9dbcf413: Already exists
17e15645b078: Already exists
dd011c665d24: Already exists
f65f55bdd63e: Already exists
7750d91c24d2: Already exists
f793edf3ac50: Already exists
ea928b1638f9: Already exists
84089d21fd1b: Already exists
84089d21fd1b: Already exists
12e4a134e9bd: Already exists
66d915a9deb4: Already exists
f5152eee31cf: Already exists
73b5be887d12: Already exists
4f4fb700ef54: Already exists
af6c5d047451: Already exists
e8d56734fe9f: Already exists
95a8f02aed80: Already exists
2fbb14590585: Already exists
78b0de561201: Already exists
6df73f10635d: Already exists
5baa9b3ae410: Already exists
d0779cc00790: Already exists
7576666feee1: Already exists
90e2f12ac078: Already exists
b7afb6b42091: Already exists
18abf9960b7f: Already exists
5832f9f4ff65: Already exists
4a54ac4d04bd: Already exists
a2614a61f4a0: Already exists
a11ce7714f98: Already exists
c49ad178b5eb: Already exists
d8925871c7c3: Already exists
e4d726036416: Already exists
a98aaffa2609: Already exists
0a58ced06117: Already exists
c1b365423a58: Already exists
4faa3555e6e8: Already exists
97f21183d5c2: Already exists
c1e290562c27: Already exists
Digest: sha256:00cac3fb20c060592235e9526d0596eb46834b5f3fd66defd071a0ebe49318dd
Status: Downloaded newer image for ocaml/opam@sha256:00cac3fb20c060592235e9526d0596eb46834b5f3fd66defd071a0ebe49318dd
2025-11-23 10:30.57 ---> using "7ce17c267a86e0a70384cef463c12263b6057c7887bf91e8682003fa7f1f4cae" 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.57 ---> using "0351ce2a8475a90ae6913d0fb1c46f508e62203c1cb723321aaa8fe3eac7f87b" 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
2025-11-23 10:30.57 ---> using "1b13cb5abf95043718e2bf5b3adf32977fa09cf2b23efc95b84a90108ad7fd0c" 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=ubuntu os-version=25.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
2025-11-23 10:30.57 ---> using "6365d27093af49a56cba40c0cc882f5930156d55dfe31b93bbfcc93d6ce9fcb9" 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.57 ---> using "b8fefffbe1d12364f133aae82027ac2a463461d7f99f63dfe7cd95170ab0cfa6" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2025-11-23 10:31.09 ---> saved as "670980b7612f051e134034089ddf76518c9bb3bb5cef1163bffbdc5577bd0101"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-11-23 10:31.30 ---> saved as "0c78ac79bfa72fde26c54b06397c35dfee2aea8e955cdd5e10531582458f6613"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://archive.ubuntu.com/ubuntu questing InRelease
- Get:2 http://archive.ubuntu.com/ubuntu questing-updates InRelease [136 kB]
- Get:3 http://archive.ubuntu.com/ubuntu questing-backports InRelease [133 kB]
- Get:4 http://archive.ubuntu.com/ubuntu questing-updates/universe amd64 Packages [75.1 kB]
- Get:5 http://archive.ubuntu.com/ubuntu questing-updates/main amd64 Packages [159 kB]
- Get:6 http://security.ubuntu.com/ubuntu questing-security InRelease [136 kB]
- Get:7 http://security.ubuntu.com/ubuntu questing-security/main amd64 Packages [82.2 kB]
- Get:8 http://security.ubuntu.com/ubuntu questing-security/universe amd64 Packages [49.6 kB]
- Fetched 770 kB in 1s (1322 kB/s)
- Reading package lists...
-
2025-11-23 10:31.33 ---> saved as "ff7989a04eae9e70618ac942e170f35980f8c90d387978220b1c4680b2d8b88d"
/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.34 ---> saved as "ab43e833495d92ab193de2c0580d714cfbbb3eec864f40ee495796c8b70ddbf9"
/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 \"\\\"ubuntu-25.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.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 ... 18746 files and directories currently installed.)
- Preparing to unpack .../0-liblmdb0_0.9.31-1build1_amd64.deb ...
- Unpacking liblmdb0:amd64 (0.9.31-1build1) ...
- Selecting previously unselected package liblmdb-dev:amd64.
- Preparing to unpack .../1-liblmdb-dev_0.9.31-1build1_amd64.deb ...
- Unpacking liblmdb-dev:amd64 (0.9.31-1build1) ...
- Selecting previously unselected package libpkgconf3:amd64.
- Preparing to unpack .../2-libpkgconf3_1.8.1-4build1_amd64.deb ...
- Unpacking libpkgconf3:amd64 (1.8.1-4build1) ...
- Selecting previously unselected package lmdb-doc.
- Preparing to unpack .../3-lmdb-doc_0.9.31-1build1_all.deb ...
- Unpacking lmdb-doc (0.9.31-1build1) ...
- Selecting previously unselected package pkgconf-bin.
- Preparing to unpack .../4-pkgconf-bin_1.8.1-4build1_amd64.deb ...
- Unpacking pkgconf-bin (1.8.1-4build1) ...
- Selecting previously unselected package pkgconf:amd64.
- Preparing to unpack .../5-pkgconf_1.8.1-4build1_amd64.deb ...
- Unpacking pkgconf:amd64 (1.8.1-4build1) ...
- Selecting previously unselected package pkg-config:amd64.
- Preparing to unpack .../6-pkg-config_1.8.1-4build1_amd64.deb ...
- Unpacking pkg-config:amd64 (1.8.1-4build1) ...
- Setting up liblmdb0:amd64 (0.9.31-1build1) ...
- Setting up lmdb-doc (0.9.31-1build1) ...
- Setting up libpkgconf3:amd64 (1.8.1-4build1) ...
- Setting up pkgconf-bin (1.8.1-4build1) ...
- Setting up liblmdb-dev:amd64 (0.9.31-1build1) ...
- Setting up pkgconf:amd64 (1.8.1-4build1) ...
- Setting up pkg-config:amd64 (1.8.1-4build1) ...
- Processing triggers for libc-bin (2.42-0ubuntu3) ...
<><> 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:32.25 ---> saved as "a6eef024c7783d8c49b4d6f94bd3e544188e5d0b470ca36a610b7feacd47d09c"
Job succeeded
2025-11-23 10:32.34: Job succeeded