Build:
- 0
2025-12-09 07:35.34: New job: test caqti-driver-mariadb.2.2.4 with dune-private-libs.3.21.0~alpha2, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/29042/head (a9b8a0d0db631d21208bd4ab7355e867d7ecf88d)
on debian-13-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/29042/head" && git reset --hard a9b8a0d0
git fetch origin master
git merge --no-edit 2e91c1385fa6ee7c38e1108967fe3bf9ccba52f6
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-4.14@sha256:277168101f7d4ebc452a75f825628d280c76dd0be7d8bcb58c24a5e50fe3d10d
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 dune-private-libs.3.21.0~alpha2 3.21.0~alpha2
RUN opam reinstall dune-private-libs.3.21.0~alpha2; \
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" != 'dune-private-libs.3.21.0~alpha2' && partial_fails="$partial_fails $pkg"; \
done; \
test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
exit 1
RUN opam reinstall caqti-driver-mariadb.2.2.4; \
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" != 'caqti-driver-mariadb.2.2.4' && partial_fails="$partial_fails $pkg"; \
done; \
test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
exit 1
RUN (opam reinstall --with-test caqti-driver-mariadb.2.2.4) || true
RUN opam reinstall --with-test --verbose caqti-driver-mariadb.2.2.4; \
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" != 'caqti-driver-mariadb.2.2.4' && 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 07:35.34: Using cache hint "ocaml/opam:debian-13-ocaml-4.14@sha256:277168101f7d4ebc452a75f825628d280c76dd0be7d8bcb58c24a5e50fe3d10d-dune-private-libs.3.21.0~alpha2-caqti-driver-mariadb.2.2.4-a9b8a0d0db631d21208bd4ab7355e867d7ecf88d"
2025-12-09 07:35.34: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.14@sha256:277168101f7d4ebc452a75f825628d280c76dd0be7d8bcb58c24a5e50fe3d10d)
(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 dune-private-libs.3.21.0~alpha2 3.21.0~alpha2"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall dune-private-libs.3.21.0~alpha2;\
\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\" != 'dune-private-libs.3.21.0~alpha2' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall caqti-driver-mariadb.2.2.4;\
\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\" != 'caqti-driver-mariadb.2.2.4' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
(run (network host)
(shell "(opam reinstall --with-test caqti-driver-mariadb.2.2.4) || true"))
(run (shell "opam reinstall --with-test --verbose caqti-driver-mariadb.2.2.4;\
\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\" != 'caqti-driver-mariadb.2.2.4' && 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 07:35.34: Waiting for resource in pool OCluster
2025-12-09 16:40.14: Waiting for worker…
2025-12-09 16:46.17: Got resource from pool OCluster
Building on laodoke.caelum.ci.dev
All commits already cached
Updating files: 67% (12783/19007)
Updating files: 68% (12925/19007)
Updating files: 69% (13115/19007)
Updating files: 70% (13305/19007)
Updating files: 71% (13495/19007)
Updating files: 72% (13686/19007)
Updating files: 73% (13876/19007)
Updating files: 74% (14066/19007)
Updating files: 75% (14256/19007)
Updating files: 76% (14446/19007)
Updating files: 77% (14636/19007)
Updating files: 78% (14826/19007)
Updating files: 79% (15016/19007)
Updating files: 80% (15206/19007)
Updating files: 81% (15396/19007)
Updating files: 82% (15586/19007)
Updating files: 83% (15776/19007)
Updating files: 84% (15966/19007)
Updating files: 85% (16156/19007)
Updating files: 86% (16347/19007)
Updating files: 87% (16537/19007)
Updating files: 88% (16727/19007)
Updating files: 89% (16917/19007)
Updating files: 90% (17107/19007)
Updating files: 91% (17297/19007)
Updating files: 92% (17487/19007)
Updating files: 93% (17677/19007)
Updating files: 94% (17867/19007)
Updating files: 95% (18057/19007)
Updating files: 96% (18247/19007)
Updating files: 97% (18437/19007)
Updating files: 98% (18627/19007)
Updating files: 99% (18817/19007)
Updating files: 100% (19007/19007)
Updating files: 100% (19007/19007), done.
HEAD is now at 2e91c1385f Merge pull request #29043 from hannesm/mirage-kv
Merge made by the 'ort' strategy.
.../chrome-trace/chrome-trace.3.21.0~alpha2/opam | 41 ++++++++++++
.../dune-action-plugin.3.21.0~alpha2/opam | 54 ++++++++++++++++
.../dune-build-info.3.21.0~alpha2/opam | 47 ++++++++++++++
.../dune-configurator.3.21.0~alpha2/opam | 51 +++++++++++++++
packages/dune-glob/dune-glob.3.21.0~alpha2/opam | 44 +++++++++++++
.../dune-private-libs.3.21.0~alpha2/opam | 52 +++++++++++++++
.../dune-rpc-lwt/dune-rpc-lwt.3.21.0~alpha2/opam | 43 +++++++++++++
packages/dune-rpc/dune-rpc.3.21.0~alpha2/opam | 46 +++++++++++++
packages/dune-site/dune-site.3.21.0~alpha2/opam | 39 +++++++++++
packages/dune/dune.3.21.0~alpha2/opam | 75 ++++++++++++++++++++++
packages/dyn/dyn.3.21.0~alpha2/opam | 42 ++++++++++++
packages/fs-io/fs-io.3.21.0~alpha2/opam | 40 ++++++++++++
packages/ocamlc-loc/ocamlc-loc.3.21.0~alpha2/opam | 45 +++++++++++++
packages/ordering/ordering.3.21.0~alpha2/opam | 40 ++++++++++++
packages/stdune/stdune.3.21.0~alpha2/opam | 48 ++++++++++++++
.../top-closure/top-closure.3.21.0~alpha2/opam | 39 +++++++++++
packages/xdg/xdg.3.21.0~alpha2/opam | 41 ++++++++++++
17 files changed, 787 insertions(+)
create mode 100644 packages/chrome-trace/chrome-trace.3.21.0~alpha2/opam
create mode 100644 packages/dune-action-plugin/dune-action-plugin.3.21.0~alpha2/opam
create mode 100644 packages/dune-build-info/dune-build-info.3.21.0~alpha2/opam
create mode 100644 packages/dune-configurator/dune-configurator.3.21.0~alpha2/opam
create mode 100644 packages/dune-glob/dune-glob.3.21.0~alpha2/opam
create mode 100644 packages/dune-private-libs/dune-private-libs.3.21.0~alpha2/opam
create mode 100644 packages/dune-rpc-lwt/dune-rpc-lwt.3.21.0~alpha2/opam
create mode 100644 packages/dune-rpc/dune-rpc.3.21.0~alpha2/opam
create mode 100644 packages/dune-site/dune-site.3.21.0~alpha2/opam
create mode 100644 packages/dune/dune.3.21.0~alpha2/opam
create mode 100644 packages/dyn/dyn.3.21.0~alpha2/opam
create mode 100644 packages/fs-io/fs-io.3.21.0~alpha2/opam
create mode 100644 packages/ocamlc-loc/ocamlc-loc.3.21.0~alpha2/opam
create mode 100644 packages/ordering/ordering.3.21.0~alpha2/opam
create mode 100644 packages/stdune/stdune.3.21.0~alpha2/opam
create mode 100644 packages/top-closure/top-closure.3.21.0~alpha2/opam
create mode 100644 packages/xdg/xdg.3.21.0~alpha2/opam
(from ocaml/opam:debian-13-ocaml-4.14@sha256:277168101f7d4ebc452a75f825628d280c76dd0be7d8bcb58c24a5e50fe3d10d)
2025-12-09 16:46.38 ---> using "d81b3b20b9dbe813f4813251eb45f7f230344599357169e34b0d2f872bf65895" 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 16:46.38 ---> using "4c0c738834a7be54719ab9b07c911eba51e45ad4298c42597f7d3da72b1c15d4" 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: 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.
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.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-12-09 16:46.38 ---> using "8bb6d27bb5f7ebe9771219e3ecd730184d5e10ab877134c11c12ee3b1a6d3b96" 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=13
# 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 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 16:46.38 ---> using "35019bd57e8933485bd938828fe288c3674216a4757e13b1dac8ce6b21035ac2" 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 16:46.38 ---> using "e09ab9992a764acab15da9cff99e3d4d978b8a77f33714cc5d19d16d3539eb49" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2025-12-09 16:46.40 ---> using "b1d8376b8854c122e4370c6ffb8956d8f719398d4349ee07c276d2dcc6f801f9" from cache
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-12-09 16:46.40 ---> using "9a99fafcbc8abe6d428ee55266ff1d7f19ca4090f80c3937d2d008378a0d44a7" from cache
/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 amd64 Packages [81.7 kB]
- Fetched 172 kB in 0s (1289 kB/s)
- Reading package lists...
-
2025-12-09 16:46.40 ---> using "dfdd061baff398ee2660022be07bc73f36114859cfe0e06f6537eb36b6569dcb" from cache
/home/opam: (run (shell "opam pin add -k version -yn dune-private-libs.3.21.0~alpha2 3.21.0~alpha2"))
dune-private-libs is now pinned to version 3.21.0~alpha2
2025-12-09 16:46.40 ---> using "45c49ca80281308b797b8088419ef04072b9b111a113ac7270736f1ede559d63" from cache
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall dune-private-libs.3.21.0~alpha2;\
\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\" != 'dune-private-libs.3.21.0~alpha2' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
dune-private-libs.3.21.0~alpha2 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 9 packages
- install csexp 1.5.2 [required by dune-private-libs]
- install dune 3.21.0~alpha2 [required by dune-private-libs]
- install dune-private-libs 3.21.0~alpha2 (pinned)
- install dyn 3.21.0~alpha2 [required by dune-private-libs]
- install fs-io 3.21.0~alpha2 [required by stdune]
- install ordering 3.21.0~alpha2 [required by dyn, stdune]
- install pp 2.0.0 [required by dune-private-libs]
- install stdune 3.21.0~alpha2 [required by dune-private-libs]
- install top-closure 3.21.0~alpha2 [required by stdune]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved csexp.1.5.2 (cached)
-> retrieved dune.3.21.0~alpha2, dune-private-libs.3.21.0~alpha2, dyn.3.21.0~alpha2, fs-io.3.21.0~alpha2, ordering.3.21.0~alpha2, stdune.3.21.0~alpha2, top-closure.3.21.0~alpha2 (cached)
-> retrieved pp.2.0.0 (cached)
-> installed dune.3.21.0~alpha2
-> installed csexp.1.5.2
-> installed fs-io.3.21.0~alpha2
-> installed pp.2.0.0
-> installed top-closure.3.21.0~alpha2
-> installed ordering.3.21.0~alpha2
-> installed dyn.3.21.0~alpha2
-> installed stdune.3.21.0~alpha2
-> installed dune-private-libs.3.21.0~alpha2
Done.
# To update the current shell environment, run: eval $(opam env)
2025-12-09 16:46.40 ---> using "df65a44323ff4d6d9036895f6c5e96c8eefb2090710d20d58f386083842f4351" from cache
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall caqti-driver-mariadb.2.2.4;\
\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\" != 'caqti-driver-mariadb.2.2.4' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
caqti-driver-mariadb.2.2.4 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 47 packages
- install angstrom 0.16.1 [required by caqti]
- install asn1-combinators 0.3.2 [required by x509]
- install base64 3.5.2 [required by x509]
- install bigstringaf 0.10.0 [required by caqti]
- install caqti 2.2.4 [required by caqti-driver-mariadb]
- install caqti-driver-mariadb 2.2.4
- install conf-gcc 1.0 [required by mariadb]
- install conf-gmp 5 [required by conf-gmp-powm-sec, zarith]
- install conf-gmp-powm-sec 4 [required by mirage-crypto-pk]
- install conf-mariadb 2 [required by mariadb]
- install conf-pkg-config 4 [required by conf-mariadb]
- install ctypes 0.24.0 [required by mariadb]
- install digestif 1.3.0 [required by tls]
- install domain-name 0.5.0 [required by caqti]
- install dune-configurator 3.21.0~alpha2 [required by mariadb]
- install dune-site 3.21.0~alpha2 [required by caqti]
- install duration 0.2.1 [required by mirage-crypto-rng]
- install eqaf 0.10 [required by mirage-crypto-ec, digestif, mirage-crypto-pk]
- install fmt 0.11.0 [required by logs, tls]
- install gmap 0.3.0 [required by x509]
- install integers 0.7.0 [required by ctypes]
- install ipaddr 5.6.1 [required by caqti]
- install kdf 1.0.0 [required by tls]
- install logs 0.10.0 [required by caqti]
- install lru 0.3.1 [required by caqti]
- install lwt-dllist 1.1.0 [required by caqti]
- install macaddr 5.6.1 [required by ipaddr]
- install mariadb 1.3.0 [required by caqti-driver-mariadb]
- install mirage-crypto 2.0.2 [required by tls]
- install mirage-crypto-ec 2.0.2 [required by tls]
- install mirage-crypto-pk 2.0.2 [required by tls]
- install mirage-crypto-rng 2.0.2 [required by tls]
- install mtime 2.1.0 [required by caqti]
- install ocaml-syntax-shims 1.0.0 [required by angstrom]
- install ocamlbuild 0.16.1 [required by mtime, logs, ptime]
- install ocamlfind 1.9.8 [required by mtime, logs, ptime]
- install ohex 0.2.0 [required by tls]
- install psq 0.2.1 [required by lru]
- install ptime 1.2.0 [required by caqti]
- install seq base [required by psq]
- install stdlib-shims 0.3.0 [required by integers]
- install stringext 1.6.0 [required by uri]
- install tls 2.0.3 [required by caqti]
- install topkg 1.1.1 [required by mtime, logs, ptime]
- install uri 4.4.0 [required by caqti]
- install x509 1.0.6 [required by caqti]
- install zarith 1.14 [required by mirage-crypto-pk]
The following system packages will first need to be installed:
libgmp-dev libmariadb-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" "libgmp-dev" "libmariadb-dev" "pkg-config"
- Selecting previously unselected package libgmpxx4ldbl: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 ... 20622 files and directories currently installed.)
- Preparing to unpack .../00-libgmpxx4ldbl_2%3a6.3.0+dfsg-3_amd64.deb ...
- Unpacking libgmpxx4ldbl:amd64 (2:6.3.0+dfsg-3) ...
- Selecting previously unselected package libgmp-dev:amd64.
- Preparing to unpack .../01-libgmp-dev_2%3a6.3.0+dfsg-3_amd64.deb ...
- Unpacking libgmp-dev:amd64 (2:6.3.0+dfsg-3) ...
- Selecting previously unselected package mysql-common.
- Preparing to unpack .../02-mysql-common_5.8+1.1.1_all.deb ...
- Unpacking mysql-common (5.8+1.1.1) ...
- Selecting previously unselected package mariadb-common.
- Preparing to unpack .../03-mariadb-common_1%3a11.8.3-0+deb13u1_all.deb ...
- Unpacking mariadb-common (1:11.8.3-0+deb13u1) ...
- Selecting previously unselected package libmariadb3:amd64.
- Preparing to unpack .../04-libmariadb3_1%3a11.8.3-0+deb13u1_amd64.deb ...
- Unpacking libmariadb3:amd64 (1:11.8.3-0+deb13u1) ...
- Selecting previously unselected package libssl-dev:amd64.
- Preparing to unpack .../05-libssl-dev_3.5.4-1~deb13u1_amd64.deb ...
- Unpacking libssl-dev:amd64 (3.5.4-1~deb13u1) ...
- Selecting previously unselected package zlib1g-dev:amd64.
- Preparing to unpack .../06-zlib1g-dev_1%3a1.3.dfsg+really1.3.1-1+b1_amd64.deb ...
- Unpacking zlib1g-dev:amd64 (1:1.3.dfsg+really1.3.1-1+b1) ...
- Selecting previously unselected package libmariadb-dev.
- Preparing to unpack .../07-libmariadb-dev_1%3a11.8.3-0+deb13u1_amd64.deb ...
- Unpacking libmariadb-dev (1:11.8.3-0+deb13u1) ...
- Selecting previously unselected package libpkgconf3:amd64.
- Preparing to unpack .../08-libpkgconf3_1.8.1-4_amd64.deb ...
- Unpacking libpkgconf3:amd64 (1.8.1-4) ...
- Selecting previously unselected package pkgconf-bin.
- Preparing to unpack .../09-pkgconf-bin_1.8.1-4_amd64.deb ...
- Unpacking pkgconf-bin (1.8.1-4) ...
- Selecting previously unselected package pkgconf:amd64.
- Preparing to unpack .../10-pkgconf_1.8.1-4_amd64.deb ...
- Unpacking pkgconf:amd64 (1.8.1-4) ...
- Selecting previously unselected package pkg-config:amd64.
- Preparing to unpack .../11-pkg-config_1.8.1-4_amd64.deb ...
- Unpacking pkg-config:amd64 (1.8.1-4) ...
- Setting up mysql-common (5.8+1.1.1) ...
- update-alternatives: using /etc/mysql/my.cnf.fallback to provide /etc/mysql/my.cnf (my.cnf) in auto mode
- Setting up mariadb-common (1:11.8.3-0+deb13u1) ...
- update-alternatives: using /etc/mysql/mariadb.cnf to provide /etc/mysql/my.cnf (my.cnf) in auto mode
- Setting up libpkgconf3:amd64 (1.8.1-4) ...
- Setting up libgmpxx4ldbl:amd64 (2:6.3.0+dfsg-3) ...
- Setting up libssl-dev:amd64 (3.5.4-1~deb13u1) ...
- Setting up libmariadb3:amd64 (1:11.8.3-0+deb13u1) ...
- Setting up pkgconf-bin (1.8.1-4) ...
- Setting up zlib1g-dev:amd64 (1:1.3.dfsg+really1.3.1-1+b1) ...
- Setting up libgmp-dev:amd64 (2:6.3.0+dfsg-3) ...
- Setting up pkgconf:amd64 (1.8.1-4) ...
- Setting up pkg-config:amd64 (1.8.1-4) ...
- Setting up libmariadb-dev (1:11.8.3-0+deb13u1) ...
- Processing triggers for libc-bin (2.41-12) ...
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved angstrom.0.16.1 (cached)
-> retrieved asn1-combinators.0.3.2 (cached)
-> retrieved base64.3.5.2 (cached)
-> retrieved bigstringaf.0.10.0 (cached)
-> retrieved caqti.2.2.4, caqti-driver-mariadb.2.2.4 (cached)
-> retrieved conf-gmp.5 (cached)
-> retrieved conf-gmp-powm-sec.4 (cached)
-> retrieved ctypes.0.24.0 (cached)
-> installed base64.3.5.2
-> installed conf-gcc.1.0
-> installed conf-gmp.5
-> installed conf-pkg-config.4
-> installed conf-gmp-powm-sec.4
-> installed conf-mariadb.2
-> retrieved digestif.1.3.0 (cached)
-> retrieved domain-name.0.5.0 (cached)
-> installed domain-name.0.5.0
-> retrieved dune-configurator.3.21.0~alpha2, dune-site.3.21.0~alpha2 (cached)
-> retrieved duration.0.2.1 (cached)
-> retrieved eqaf.0.10 (cached)
-> retrieved fmt.0.11.0 (cached)
-> retrieved gmap.0.3.0 (cached)
-> retrieved integers.0.7.0 (cached)
-> retrieved ipaddr.5.6.1, macaddr.5.6.1 (cached)
-> retrieved kdf.1.0.0 (cached)
-> retrieved logs.0.10.0 (cached)
-> retrieved lru.0.3.1 (cached)
-> retrieved lwt-dllist.1.1.0 (cached)
-> retrieved mariadb.1.3.0 (cached)
-> installed duration.0.2.1
-> installed gmap.0.3.0
-> installed lwt-dllist.1.1.0
-> installed macaddr.5.6.1
-> installed eqaf.0.10
-> retrieved mirage-crypto.2.0.2, mirage-crypto-ec.2.0.2, mirage-crypto-pk.2.0.2, mirage-crypto-rng.2.0.2 (cached)
-> installed dune-site.3.21.0~alpha2
-> installed dune-configurator.3.21.0~alpha2
-> installed ipaddr.5.6.1
-> retrieved mtime.2.1.0 (cached)
-> retrieved ocaml-syntax-shims.1.0.0 (cached)
-> retrieved ocamlbuild.0.16.1 (cached)
-> retrieved ocamlfind.1.9.8 (cached)
-> retrieved ohex.0.2.0 (cached)
-> retrieved psq.0.2.1 (cached)
-> retrieved ptime.1.2.0 (cached)
-> retrieved seq.base (cached)
-> installed seq.base
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved stringext.1.6.0 (cached)
-> retrieved tls.2.0.3 (cached)
-> retrieved topkg.1.1.1 (cached)
-> retrieved uri.4.4.0 (cached)
-> retrieved x509.1.0.6 (cached)
-> installed ohex.0.2.0
-> retrieved zarith.1.14 (cached)
-> installed stringext.1.6.0
-> installed stdlib-shims.0.3.0
-> installed bigstringaf.0.10.0
-> installed psq.0.2.1
-> installed digestif.1.3.0
-> installed ocaml-syntax-shims.1.0.0
-> installed lru.0.3.1
-> installed integers.0.7.0
-> installed angstrom.0.16.1
-> installed mirage-crypto.2.0.2
-> installed kdf.1.0.0
-> installed uri.4.4.0
-> installed ocamlfind.1.9.8
-> installed ocamlbuild.0.16.1
-> installed ctypes.0.24.0
[ERROR] The compilation of mariadb.1.3.0 failed at "dune build -p mariadb -j 71 @install".
-> installed zarith.1.14
-> installed topkg.1.1.1
-> installed fmt.0.11.0
-> installed mtime.2.1.0
-> installed ptime.1.2.0
-> installed logs.0.10.0
-> installed asn1-combinators.0.3.2
-> installed mirage-crypto-rng.2.0.2
-> installed mirage-crypto-pk.2.0.2
-> installed mirage-crypto-ec.2.0.2
-> installed x509.1.0.6
-> installed tls.2.0.3
-> installed caqti.2.2.4
#=== ERROR while compiling mariadb.1.3.0 ======================================#
# context 2.5.0 | linux/x86_64 | ocaml-base-compiler.4.14.2 | file:///home/opam/opam-repository
# path ~/.opam/4.14/.opam-switch/build/mariadb.1.3.0
# command ~/.opam/opam-init/hooks/sandbox.sh build dune build -p mariadb -j 71 @install
# exit-code 1
# env-file ~/.opam/log/mariadb-6-b26537.env
# output-file ~/.opam/log/mariadb-6-b26537.out
### output ###
# File "lib/dune", lines 1-19, characters 0-600:
# 1 | (library
# 2 | (public_name mariadb)
# 3 | (synopsis "OCaml bindings for MariaDB")
# ....
# 17 | (functor Ffi_bindings))
# 18 | (generated_types Ffi_generated_types)
# 19 | (generated_entry_point Ffi_generated)))
# Error: Module Ffi_bindings is required by ctypes at lib/dune:13 but is
# missing in the modules field of the stanza.
# File "lib/dune", lines 1-19, characters 0-600:
# 1 | (library
# 2 | (public_name mariadb)
# 3 | (synopsis "OCaml bindings for MariaDB")
# ....
# 17 | (functor Ffi_bindings))
# 18 | (generated_types Ffi_generated_types)
# 19 | (generated_entry_point Ffi_generated)))
# Error: Module Ffi_bindings is required by ctypes at lib/dune:17 but is
# missing in the modules field of the stanza.
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build mariadb 1.3.0
+-
+- The following changes have been performed (the rest was aborted)
| - install angstrom 0.16.1
| - install asn1-combinators 0.3.2
| - install base64 3.5.2
| - install bigstringaf 0.10.0
| - install caqti 2.2.4
| - install conf-gcc 1.0
| - install conf-gmp 5
| - install conf-gmp-powm-sec 4
| - install conf-mariadb 2
| - install conf-pkg-config 4
| - install ctypes 0.24.0
| - install digestif 1.3.0
| - install domain-name 0.5.0
| - install dune-configurator 3.21.0~alpha2
| - install dune-site 3.21.0~alpha2
| - install duration 0.2.1
| - install eqaf 0.10
| - install fmt 0.11.0
| - install gmap 0.3.0
| - install integers 0.7.0
| - install ipaddr 5.6.1
| - install kdf 1.0.0
| - install logs 0.10.0
| - install lru 0.3.1
| - install lwt-dllist 1.1.0
| - install macaddr 5.6.1
| - install mirage-crypto 2.0.2
| - install mirage-crypto-ec 2.0.2
| - install mirage-crypto-pk 2.0.2
| - install mirage-crypto-rng 2.0.2
| - install mtime 2.1.0
| - install ocaml-syntax-shims 1.0.0
| - install ocamlbuild 0.16.1
| - install ocamlfind 1.9.8
| - install ohex 0.2.0
| - install psq 0.2.1
| - install ptime 1.2.0
| - install seq base
| - install stdlib-shims 0.3.0
| - install stringext 1.6.0
| - install tls 2.0.3
| - install topkg 1.1.1
| - install uri 4.4.0
| - install x509 1.0.6
| - install zarith 1.14
+-
# To update the current shell environment, run: eval $(opam env)
The former state can be restored with:
/usr/bin/opam switch import "/home/opam/.opam/4.14/.opam-switch/backup/state-20251209164641.export"
[WARNING] OPAMCONFIRMLEVEL was ignored because CLI 2.0 was requested and it was introduced in 2.1.
[WARNING] OPAMCONFIRMLEVEL was ignored because CLI 2.0 was requested and it was introduced in 2.1.
opam-repo-ci detected dependencies failing: mariadb.1.3.0
"/usr/bin/env" "bash" "-c" "opam reinstall caqti-driver-mariadb.2.2.4;
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" != 'caqti-driver-mariadb.2.2.4' && partial_fails="$partial_fails $pkg";
done;
test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}";
exit 1" failed with exit status 1
2025-12-09 16:48.53: Job failed: Failed: Build failed
2025-12-09 16:48.53: Log analysis:
2025-12-09 16:48.53: >>>
[ERROR] The compilation of mariadb.1.3.0 failed at "dune build -p mariadb -j 71 @install".
(score = 20)
2025-12-09 16:48.53: >>>
# Error: Module Ffi_bindings is required by ctypes at lib/dune:13 but is
(score = 48)
2025-12-09 16:48.53: >>>
# Error: Module Ffi_bindings is required by ctypes at lib/dune:17 but is
(score = 48)
2025-12-09 16:48.53: >>>
opam-repo-ci detected dependencies failing: mariadb.1.3.0
(score = 75)
2025-12-09 16:48.53: mariadb.1.3.0 failed to build