(for PR #28931)
2025-12-09 23:30.56: New job: build lmdb.1.0, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/28931/head (42abe0a86f7cded95c96cd2196636ef0bcc58ec7)
on debian-13-ocaml-4.14/s390x
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 42abe0a8
git fetch origin master
git merge --no-edit d684c896eb6f7e6030d6ee65338d9db22a612f01
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-4.14@sha256:3c063f1343fbb634652f9843c7444dea749ee822ac77b7d9d1a6f80f47cc4008
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-13\""; 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-12-09 23:30.56: Using cache hint "ocaml/opam:debian-13-ocaml-4.14@sha256:3c063f1343fbb634652f9843c7444dea749ee822ac77b7d9d1a6f80f47cc4008-lmdb.1.0-42abe0a86f7cded95c96cd2196636ef0bcc58ec7"
2025-12-09 23:30.56: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.14@sha256:3c063f1343fbb634652f9843c7444dea749ee822ac77b7d9d1a6f80f47cc4008)
(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-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.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-12-09 23:30.56: Waiting for resource in pool OCluster
2025-12-09 23:30.56: Waiting for worker…
2025-12-09 23:37.46: Got resource from pool OCluster
Building on s390x-worker-01.marist.ci.dev
All commits already cached
HEAD is now at d684c896eb Merge pull request #29052 from balat/maintenance
Auto-merging packages/lmdb/lmdb.1.0/opam
Merge made by the 'ort' strategy.
packages/lmdb/lmdb.1.0/opam | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
(from ocaml/opam:debian-13-ocaml-4.14@sha256:3c063f1343fbb634652f9843c7444dea749ee822ac77b7d9d1a6f80f47cc4008)
Unable to find image 'ocaml/opam:debian-13-ocaml-4.14@sha256:3c063f1343fbb634652f9843c7444dea749ee822ac77b7d9d1a6f80f47cc4008' locally
docker.io/ocaml/opam@sha256:3c063f1343fbb634652f9843c7444dea749ee822ac77b7d9d1a6f80f47cc4008: Pulling from ocaml/opam
af4c50a2cf28: Already exists
138ab0950a28: Already exists
eb860b03eb68: Already exists
6abb8bf8e7e6: Already exists
d88a55089b1c: Already exists
988e6b5f897a: Already exists
78309ad77658: Already exists
60aeed7dcb57: Already exists
23345a4ef487: Already exists
6503ec7362ae: Already exists
60535906be20: Already exists
fe26fbfe9834: Already exists
d07d668bb99c: Already exists
4496f11c353d: Already exists
a278f7970f73: Already exists
83323dc24521: Already exists
9e43aff4addf: Already exists
f2f855217eda: Already exists
01573bfbe3be: Already exists
7a4bd6c59fb4: Already exists
31003d094784: Already exists
a40090afa296: Already exists
4f4fb700ef54: Already exists
07b0e096a17f: Already exists
7c7acead71e8: Already exists
323084460a37: Already exists
1c8b9687a8f6: Already exists
9de7e57a4788: Already exists
5df137f664c3: Already exists
5c750dcbb0bb: Already exists
0ec38de66c15: Already exists
99c180472c45: Already exists
e9aa8b56fe47: Already exists
d3caa76e20e7: Already exists
e56ffd0c0bc8: Already exists
1af94b5d2b6c: Already exists
499b20c49901: Already exists
bce42a17a6ce: Already exists
18fc022a4dd3: Already exists
412e3484d8b9: Already exists
871bb35e30e2: Already exists
f605e6000ca9: Pulling fs layer
bfc8ab01aa0e: Pulling fs layer
724b96d7f49b: Pulling fs layer
4012b9660f0c: Pulling fs layer
4012b9660f0c: Waiting
bfc8ab01aa0e: Download complete
724b96d7f49b: Verifying Checksum
724b96d7f49b: Download complete
4012b9660f0c: Verifying Checksum
4012b9660f0c: Download complete
f605e6000ca9: Verifying Checksum
f605e6000ca9: Download complete
f605e6000ca9: Pull complete
bfc8ab01aa0e: Pull complete
724b96d7f49b: Pull complete
4012b9660f0c: Pull complete
Digest: sha256:3c063f1343fbb634652f9843c7444dea749ee822ac77b7d9d1a6f80f47cc4008
Status: Downloaded newer image for ocaml/opam@sha256:3c063f1343fbb634652f9843c7444dea749ee822ac77b7d9d1a6f80f47cc4008
2025-12-09 23:37.49 ---> using "f3e256ee15597c77c59c1eb2675eb10afab5f1b91db35a61a9423155f60343e2" 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-12-09 23:37.49 ---> using "914ad784f9e926c2c1e3d41dc656be3bdb836e54182b8b0e41af9e33f45c7b31" 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.
Continue? [Y/n] y
Format upgrade done.
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.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-12-09 23:37.49 ---> using "d89ac090505c9e2d9a52c968aa463b9233b3f8bf0ae2d495b687627256badd32" 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=s390x os=linux os-distribution=debian os-version=13
# solver builtin-0install
# install-criteria -changed,-count[avoid-version,solution]
# upgrade-criteria -count[avoid-version,solution]
# jobs 3
# repositories 1 (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
2025-12-09 23:37.49 ---> using "c400afec060254c68a5ed5f44cdebc88a3c1c89e51b19d525cf8665e1fad3441" 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-12-09 23:37.49 ---> using "20b3a92684c7157f2a6bd8ef8426108743f3ef5cc2518504ad57be9e9bf6353f" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2025-12-09 23:39.02 ---> saved as "92d3c95be59e0a8918a9e8939f11a9af3cae0873c7e07ab3f731b6b835681bd5"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-12-09 23:41.28 ---> saved as "d6759a36cf7294acba0103e5bee9be90b12707171bf2613555ac371b57786ee1"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian trixie InRelease
- 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-security trixie-security/main s390x Packages [72.6 kB]
- Fetched 163 kB in 0s (371 kB/s)
- Reading package lists...
-
2025-12-09 23:41.57 ---> saved as "bf57e7cdc9d8c7bd68a7dc34669903ae2186bf1365d27ada3dd70a0e091a755c"
/home/opam: (run (shell "opam pin add -k version -yn lmdb.1.0 1.0"))
lmdb is now pinned to version 1.0
2025-12-09 23:42.04 ---> saved as "9e15b2dc85e7f1ca6577fe23bf3f7470a6eab1bc418a7a9589e37b3edf917182"
/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-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.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:s390x.
- (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 ... 20381 files and directories currently installed.)
- Preparing to unpack .../0-liblmdb0_0.9.31-1+b2_s390x.deb ...
- Unpacking liblmdb0:s390x (0.9.31-1+b2) ...
- Selecting previously unselected package liblmdb-dev:s390x.
- Preparing to unpack .../1-liblmdb-dev_0.9.31-1+b2_s390x.deb ...
- Unpacking liblmdb-dev:s390x (0.9.31-1+b2) ...
- Selecting previously unselected package libpkgconf3:s390x.
- Preparing to unpack .../2-libpkgconf3_1.8.1-4_s390x.deb ...
- Unpacking libpkgconf3:s390x (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_s390x.deb ...
- Unpacking pkgconf-bin (1.8.1-4) ...
- Selecting previously unselected package pkgconf:s390x.
- Preparing to unpack .../5-pkgconf_1.8.1-4_s390x.deb ...
- Unpacking pkgconf:s390x (1.8.1-4) ...
- Selecting previously unselected package pkg-config:s390x.
- Preparing to unpack .../6-pkg-config_1.8.1-4_s390x.deb ...
- Unpacking pkg-config:s390x (1.8.1-4) ...
- Setting up liblmdb0:s390x (0.9.31-1+b2) ...
- Setting up lmdb-doc (0.9.31-1) ...
- Setting up libpkgconf3:s390x (1.8.1-4) ...
- Setting up pkgconf-bin (1.8.1-4) ...
- Setting up liblmdb-dev:s390x (0.9.31-1+b2) ...
- Setting up pkgconf:s390x (1.8.1-4) ...
- Setting up pkg-config:s390x (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-12-09 23:44.07 ---> saved as "8167932cf189cb9e5cef744e4924b52a0ff667282e4f124d89aeae9f3a04beec"
Job succeeded
2025-12-09 23:44.48: Job succeeded