Build:
- 0
2026-03-25 13:14.43: New job: test mysql.1.2.1 with ocaml-compiler.5.4.0, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/29582/head (fa5fb3a6a806e832e4c7791145889a6bbe8b64ef)
on debian-13-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/29582/head" && git reset --hard fa5fb3a6
git fetch origin master
git merge --no-edit 2f93e9d4614d6376ed929fc2cee7c59cb9d5833b
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-5.4@sha256:bd342cbd7766c453282fdafbc2e565ae3361320ec344722cf4372b782e4a97f6
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 ocaml-compiler.5.4.0 5.4.0
RUN opam reinstall --update-invariant ocaml-compiler.5.4.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" != 'ocaml-compiler.5.4.0' && partial_fails="$partial_fails $pkg"; \
done; \
test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
exit 1
RUN opam reinstall mysql.1.2.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 "\"debian-13\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'mysql.1.2.1' && 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 mysql.1.2.1) || true
RUN opam reinstall --with-test --verbose mysql.1.2.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 "\"debian-13\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'mysql.1.2.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-03-25 13:14.43: Using cache hint "ocaml/opam:debian-13-ocaml-5.4@sha256:bd342cbd7766c453282fdafbc2e565ae3361320ec344722cf4372b782e4a97f6-ocaml-compiler.5.4.0-mysql.1.2.1-fa5fb3a6a806e832e4c7791145889a6bbe8b64ef"
2026-03-25 13:14.43: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-5.4@sha256:bd342cbd7766c453282fdafbc2e565ae3361320ec344722cf4372b782e4a97f6)
(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 ocaml-compiler.5.4.0 5.4.0"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall --update-invariant ocaml-compiler.5.4.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\" != 'ocaml-compiler.5.4.0' && 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 mysql.1.2.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 \"\\\"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\" != 'mysql.1.2.1' && 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 mysql.1.2.1) || true"))
(run (shell "opam reinstall --with-test --verbose mysql.1.2.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 \"\\\"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\" != 'mysql.1.2.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-03-25 13:14.43: Waiting for resource in pool OCluster
2026-03-25 18:46.24: Waiting for worker…
2026-03-25 18:48.38: Got resource from pool OCluster
Building on doris.caelum.ci.dev
All commits already cached
HEAD is now at 2f93e9d461 Merge pull request #29592 from dinosaure/release-miou-v0.5.5
Merge made by the 'ort' strategy.
packages/ocaml-compiler/ocaml-compiler.5.3.0/opam | 5 ++++-
packages/ocaml-compiler/ocaml-compiler.5.3/opam | 5 ++++-
packages/ocaml-compiler/ocaml-compiler.5.4.0/opam | 5 ++++-
.../ocaml-compiler/ocaml-compiler.5.4.0~alpha1/opam | 5 ++++-
.../ocaml-compiler/ocaml-compiler.5.4.0~beta1/opam | 5 ++++-
.../ocaml-compiler/ocaml-compiler.5.4.0~beta2/opam | 5 ++++-
packages/ocaml-compiler/ocaml-compiler.5.4.0~rc1/opam | 5 ++++-
packages/ocaml-compiler/ocaml-compiler.5.4.1/opam | 5 ++++-
packages/ocaml-compiler/ocaml-compiler.5.4/opam | 5 ++++-
.../ocaml-compiler/ocaml-compiler.5.5.0~alpha1/opam | 5 ++++-
packages/ocaml-compiler/ocaml-compiler.5.5/opam | 5 ++++-
packages/ocaml-compiler/ocaml-compiler.5.6/opam | 5 ++++-
packages/ocaml-option-llvm/ocaml-option-llvm.1/opam | 18 ++++++++++++++++++
.../ocaml-options-vanilla/ocaml-options-vanilla.1/opam | 1 +
packages/ocaml-variants/ocaml-variants.5.2.0+msvc/opam | 2 ++
15 files changed, 69 insertions(+), 12 deletions(-)
create mode 100644 packages/ocaml-option-llvm/ocaml-option-llvm.1/opam
(from ocaml/opam:debian-13-ocaml-5.4@sha256:bd342cbd7766c453282fdafbc2e565ae3361320ec344722cf4372b782e4a97f6)
2026-03-25 18:48.40 ---> using "41eea30e3f639c18d8cf57c309ec76919ec7b2398036f7e41744cbce59a133d3" 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-03-25 18:48.40 ---> using "4ad7f430d684c40cedc651267e0edf890c044fe4e624255de377c471b4526bac" 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
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.
[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
2026-03-25 18:48.40 ---> using "71fa58e52457bf6a7eac317c6a6ef1e2bdf53e533a1e4fd04b90c9349347e038" 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 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
2026-03-25 18:48.40 ---> using "ed86081cb38ca125a920162bfe6a4bb7b1c27c6973c917551687c83cf44dbfdf" 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-03-25 18:48.40 ---> using "04a48515eea40c32b96da0c71328b4bba0edb66eed83d4f78554b39097cf1f25" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2026-03-25 18:48.40 ---> using "034191995d824300f355cbba1072d6e5fe6d815701f24eb84d82c75009d73829" from cache
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-03-25 18:48.40 ---> using "8232259ea36ea8848dc29ae49703acf145fd27b40f3ebd8fb785db7f8da1b9d4" from cache
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://deb.debian.org/debian trixie InRelease [140 kB]
- 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 trixie/main amd64 Packages [9671 kB]
- Get:5 http://deb.debian.org/debian-security trixie-security/main amd64 Packages [114 kB]
- Fetched 10.0 MB in 1s (10.4 MB/s)
- Reading package lists...
2026-03-25 18:48.40 ---> using "a75782a571df4fc8f8933e94c681af881015ee87cdd4c652f8ae9af1d8cfad37" from cache
/home/opam: (run (shell "opam pin add -k version -yn ocaml-compiler.5.4.0 5.4.0"))
ocaml-compiler is now pinned to version 5.4.0
2026-03-25 18:48.40 ---> using "60e129f7398974b5fa5afc8f56ec09bd24a9182f5e9834464bfc959db1aa6b14" from cache
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall --update-invariant ocaml-compiler.5.4.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\" != 'ocaml-compiler.5.4.0' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
The following actions will be performed:
=== recompile 8 packages
- recompile base-domains base [uses ocaml]
- recompile base-effects base [uses ocaml]
- recompile base-nnp base [uses base-domains]
- recompile ocaml 5.4.0 [uses ocaml-base-compiler]
- recompile ocaml-base-compiler 5.4.0 (pinned) [uses ocaml-compiler]
- recompile ocaml-compiler 5.4.0 (pinned)
- recompile ocaml-config 3 [uses ocaml-base-compiler]
- recompile opam-depext 1.2.3 [uses ocaml]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved ocaml-compiler.5.4.0 (cached)
-> retrieved ocaml-config.3 (cached)
-> retrieved opam-depext.1.2.3 (cached)
-> removed base-effects.base
-> removed base-nnp.base
-> removed base-domains.base
-> removed opam-depext.1.2.3
-> removed ocaml.5.4.0
-> removed ocaml-config.3
-> removed ocaml-base-compiler.5.4.0
-> removed ocaml-compiler.5.4.0
-> installed ocaml-compiler.5.4.0
-> installed ocaml-base-compiler.5.4.0
-> installed ocaml-config.3
-> installed ocaml.5.4.0
-> installed base-domains.base
-> installed base-effects.base
-> installed base-nnp.base
-> installed opam-depext.1.2.3
Done.
<><> opam-depext.1.2.3 installed successfully <><><><><><><><><><><><><><><><><>
=> opam-depext is unnecessary when used with opam >= 2.1. Please use opam install directly instead
# To update the current shell environment, run: eval $(opam env)
2026-03-25 18:48.40 ---> using "efbc92fc0c607605c8bb33f9e4c8fe340a48c67e14d2f61592db8a4edc5c0b15" from cache
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall mysql.1.2.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 \"\\\"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\" != 'mysql.1.2.1' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
mysql.1.2.1 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 3 packages
- install conf-mysql 1 [required by mysql]
- install mysql 1.2.1
- install ocamlfind 1.9.8 [required by mysql]
The following system packages will first need to be installed:
default-libmysqlclient-dev
<><> 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" "default-libmysqlclient-dev"
- (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 ... 20654 files and directories currently installed.)
- Preparing to unpack .../openssl-provider-legacy_3.5.5-1~deb13u1_amd64.deb ...
- Unpacking openssl-provider-legacy (3.5.5-1~deb13u1) over (3.5.4-1~deb13u2) ...
- Setting up openssl-provider-legacy (3.5.5-1~deb13u1) ...
- (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 ... 20654 files and directories currently installed.)
- Preparing to unpack .../libssl3t64_3.5.5-1~deb13u1_amd64.deb ...
- Unpacking libssl3t64:amd64 (3.5.5-1~deb13u1) over (3.5.4-1~deb13u2) ...
- Setting up libssl3t64:amd64 (3.5.5-1~deb13u1) ...
- Selecting previously unselected package mysql-common.
- (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 ... 20654 files and directories currently installed.)
- Preparing to unpack .../0-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 .../1-mariadb-common_1%3a11.8.6-0+deb13u1_all.deb ...
- Unpacking mariadb-common (1:11.8.6-0+deb13u1) ...
- Selecting previously unselected package libmariadb3:amd64.
- Preparing to unpack .../2-libmariadb3_1%3a11.8.6-0+deb13u1_amd64.deb ...
- Unpacking libmariadb3:amd64 (1:11.8.6-0+deb13u1) ...
- Selecting previously unselected package libssl-dev:amd64.
- Preparing to unpack .../3-libssl-dev_3.5.5-1~deb13u1_amd64.deb ...
- Unpacking libssl-dev:amd64 (3.5.5-1~deb13u1) ...
- Selecting previously unselected package zlib1g-dev:amd64.
- Preparing to unpack .../4-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 .../5-libmariadb-dev_1%3a11.8.6-0+deb13u1_amd64.deb ...
- Unpacking libmariadb-dev (1:11.8.6-0+deb13u1) ...
- Selecting previously unselected package libmariadb-dev-compat.
- Preparing to unpack .../6-libmariadb-dev-compat_1%3a11.8.6-0+deb13u1_amd64.deb ...
- Unpacking libmariadb-dev-compat (1:11.8.6-0+deb13u1) ...
- Selecting previously unselected package default-libmysqlclient-dev:amd64.
- Preparing to unpack .../7-default-libmysqlclient-dev_1.1.1_amd64.deb ...
- Unpacking default-libmysqlclient-dev:amd64 (1.1.1) ...
- Preparing to unpack .../8-openssl_3.5.5-1~deb13u1_amd64.deb ...
- Unpacking openssl (3.5.5-1~deb13u1) over (3.5.4-1~deb13u2) ...
- 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.6-0+deb13u1) ...
- update-alternatives: using /etc/mysql/mariadb.cnf to provide /etc/mysql/my.cnf (my.cnf) in auto mode
- Setting up libssl-dev:amd64 (3.5.5-1~deb13u1) ...
- Setting up libmariadb3:amd64 (1:11.8.6-0+deb13u1) ...
- Setting up zlib1g-dev:amd64 (1:1.3.dfsg+really1.3.1-1+b1) ...
- Setting up openssl (3.5.5-1~deb13u1) ...
- Setting up libmariadb-dev (1:11.8.6-0+deb13u1) ...
- Setting up libmariadb-dev-compat (1:11.8.6-0+deb13u1) ...
- Setting up default-libmysqlclient-dev:amd64 (1.1.1) ...
- Processing triggers for libc-bin (2.41-12+deb13u1) ...
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved mysql.1.2.1 (cached)
-> installed conf-mysql.1
-> retrieved ocamlfind.1.9.8 (cached)
-> installed ocamlfind.1.9.8
-> installed mysql.1.2.1
Done.
# To update the current shell environment, run: eval $(opam env)
2026-03-25 18:48.55 ---> saved as "f5e4474196a9016d73b5b22906483ec22ff52861767a430aeda349ae2339e075"
/home/opam: (run (network host)
(shell "(opam reinstall --with-test mysql.1.2.1) || true"))
The following actions will be performed:
=== recompile 1 package
- recompile mysql 1.2.1
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved mysql.1.2.1 (https://opam.ocaml.org/cache)
-> removed mysql.1.2.1
-> installed mysql.1.2.1
Done.
# To update the current shell environment, run: eval $(opam env)
2026-03-25 18:49.03 ---> saved as "b6c61edebf2a7a9ecd0e6033dffc1a77af8ecc2302569de513fc4084dac59290"
/home/opam: (run (shell "opam reinstall --with-test --verbose mysql.1.2.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 \"\\\"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\" != 'mysql.1.2.1' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
The following actions will be performed:
=== recompile 1 package
- recompile mysql 1.2.1
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing 1/4: [mysql.1.2.1: extract]
-> retrieved mysql.1.2.1 (cached)
Processing 2/4: [mysql: ./configure]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "./configure" "--prefix" "/home/opam/.opam/5.4" (CWD=/home/opam/.opam/5.4/.opam-switch/build/mysql.1.2.1)
- configure: checking for ocaml compiler and tools...
- checking for ocamlc... ocamlc
- checking for ocamlopt... ocamlopt
- checking for ocamlfind... ocamlfind
- checking for a BSD-compatible install... /usr/bin/install -c
- configure: checking for C compiler...
- checking for gcc... gcc
- checking whether the C compiler works... yes
- checking for C compiler default output file name... a.out
- checking for suffix of executables...
- checking whether we are cross compiling... no
- checking for suffix of object files... o
- checking whether we are using the GNU C compiler... yes
- checking whether gcc accepts -g... yes
- checking for gcc option to accept ISO C89... none needed
- configure: checking for C header files...
- checking how to run the C preprocessor... gcc -E
- checking for grep that handles long lines and -e... /usr/bin/grep
- checking for egrep... /usr/bin/grep -E
- checking for ANSI C header files... yes
- checking for mysql_config include... -I/usr/include/mariadb -I/usr/include/mariadb/mysql
- checking for mysql_config pkglibdir... /usr/lib/x86_64-linux-gnu
- configure: checking for MySQL library...
- checking for mysql_real_connect in -lmysqlclient... yes
- configure: checking for MySQL header files...
- checking for sys/types.h... yes
- checking for sys/stat.h...
- yes
- checking for stdlib.h... yes
- checking for string.h... yes
- checking for memory.h... yes
- checking for strings.h... yes
- checking for inttypes.h... yes
- checking for stdint.h... yes
- checking for unistd.h... yes
- checking mysql.h usability... yes
- checking mysql.h presence... yes
- checking for mysql.h... yes
- configure: creating ./config.status
- config.status: creating Makefile
- config.status: creating config.h
- configure: creating ./config.status
- config.status: creating Makefile
- config.status: creating VERSION
- config.status: creating config.h
- config.status: config.h is unchanged
Processing 2/4: [mysql: make]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "make" (CWD=/home/opam/.opam/5.4/.opam-switch/build/mysql.1.2.1)
- make[1]: Entering directory '/home/opam/.opam/5.4/.opam-switch/build/mysql.1.2.1'
- ocamldep mysql.ml > ._d/mysql.d
- ocamldep mysql.mli > ._bcdi/mysql.di
- OCamlMakefile:1141: warning: pattern recipe did not update peer target '._ncdi/mysql.di'.
- ocamlc -c -cc "cc" -ccopt "-fPIC -g -O2 -DHAVE_CONFIG_H -Wall -Wextra \
- -DPIC -I/usr/include/mariadb -I/usr/include/mariadb/mysql \
- -o mysql_stubs.o " mysql_stubs.c
- mysql_stubs.c:108:9: warning: "Some_val" redefined
- 108 | #define Some_val(v) Field(v,0)
- | ^~~~~~~~
- In file included from mysql_stubs.c:12:
- /home/opam/.opam/5.4/lib/ocaml/caml/mlvalues.h:481:9: note: this is the location of the previous definition
- 481 | #define Some_val(v) Field(v, 0)
- | ^~~~~~~~
- mysql_stubs.c: In function 'val_str_option':
- /home/opam/.opam/5.4/lib/ocaml/caml/mlvalues.h:366:24: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 366 | #define String_val(x) ((const char *) Bp_val(x))
- | ~^~~~~~~~~~~~~~~~~~~~~~~~~
- mysql_stubs.c:150:12: note: in expansion of macro 'String_val'
- 150 | memcpy(String_val(v), s, length);
- | ^~~~~~~~~~
- In file included from mysql_stubs.c:7:
- /usr/include/string.h:43:39: note: expected 'void * restrict' but argument is of type 'const char *'
- 43 | extern void *memcpy (void *__restrict __dest, const void *__restrict __src,
- | ~~~~~~~~~~~~~~~~~^~~~~~
- mysql_stubs.c: At top level:
- mysql_stubs.c:433:1: warning: missing initializer for field 'fixed_length' of 'struct custom_operations' [-Wmissing-field-initializers]
- 433 | };
- | ^
- In file included from mysql_stubs.c:17:
- /home/opam/.opam/5.4/lib/ocaml/caml/custom.h:37:37: note: 'fixed_length' declared here
- 37 | const struct custom_fixed_length* fixed_length;
- | ^~~~~~~~~~~~
- mysql_stubs.c: In function 'db_escape':
- mysql_stubs.c:574:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 574 | s = String_val(str);
- | ^
- /home/opam/.opam/5.4/lib/ocaml/caml/mlvalues.h:366:24: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 366 | #define String_val(x) ((const char *) Bp_val(x))
- | ~^~~~~~~~~~~~~~~~~~~~~~~~~
- mysql_stubs.c:580:10: note: in expansion of macro 'String_val'
- 580 | memcpy(String_val(res), buf, esclen);
- | ^~~~~~~~~~
- /usr/include/string.h:43:39: note: expected 'void * restrict' but argument is of type 'const char *'
- 43 | extern void *memcpy (void *__restrict __dest, const void *__restrict __src,
- | ~~~~~~~~~~~~~~~~~^~~~~~
- mysql_stubs.c: In function 'db_real_escape':
- mysql_stubs.c:598:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 598 | s = String_val(str);
- | ^
- /home/opam/.opam/5.4/lib/ocaml/caml/mlvalues.h:366:24: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 366 | #define String_val(x) ((const char *) Bp_val(x))
- | ~^~~~~~~~~~~~~~~~~~~~~~~~~
- mysql_stubs.c:608:10: note: in expansion of macro 'String_val'
- 608 | memcpy(String_val(res), buf, esclen);
- | ^~~~~~~~~~
- /usr/include/string.h:43:39: note: expected 'void * restrict' but argument is of type 'const char *'
- 43 | extern void *memcpy (void *__restrict __dest, const void *__restrict __src,
- | ~~~~~~~~~~~~~~~~~^~~~~~
- mysql_stubs.c: At top level:
- mysql_stubs.c:896:1: warning: missing initializer for field 'fixed_length' of 'struct custom_operations' [-Wmissing-field-initializers]
- 896 | };
- | ^
- /home/opam/.opam/5.4/lib/ocaml/caml/custom.h:37:37: note: 'fixed_length' declared here
- 37 | const struct custom_fixed_length* fixed_length;
- | ^~~~~~~~~~~~
- mysql_stubs.c: In function 'get_column':
- mysql_stubs.c:1030:18: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 1030 | bind->buffer = String_val(str);
- | ^
- mysql_stubs.c: At top level:
- mysql_stubs.c:1069:1: warning: missing initializer for field 'fixed_length' of 'struct custom_operations' [-Wmissing-field-initializers]
- 1069 | };
- | ^
- /home/opam/.opam/5.4/lib/ocaml/caml/custom.h:37:37: note: 'fixed_length' declared here
- 37 | const struct custom_fixed_length* fixed_length;
- | ^~~~~~~~~~~~
- ar rcs libmysql_stubs.a mysql_stubs.o
- ocamlc -c mysql.mli
- ocamlc -c mysql.ml
- File "mysql.ml", line 424, characters 35-45:
- 424 | if i = String.length str then (String.sub str p_start (String.length str - p_start)) :: acc else
- ^^^^^^^^^^
- Warning 6 [labels-omitted]: labels pos, len were omitted in the application
- of this function.
-
- File "mysql.ml", line 426, characters 45-55:
- 426 | | ' ' | '\t' | '\n' | '\r' | ',' -> wsp (String.sub str p_start (i - p_start) :: acc) (i+1)
- ^^^^^^^^^^
- Warning 6 [labels-omitted]: labels pos, len were omitted in the application
- of this function.
- ocamlmklib \
- -o mysql_stubs mysql_stubs.o -lmysqlclient \
- -L/usr/lib/x86_64-linux-gnu
- ocamlc -a -dllib dllmysql_stubs.so -ccopt -L/usr/lib/x86_64-linux-gnu -cclib -lmysql_stubs -cclib -lmysqlclient -o mysql.cma mysql.cmo
- make[1]: Leaving directory '/home/opam/.opam/5.4/.opam-switch/build/mysql.1.2.1'
- make[1]: Entering directory '/home/opam/.opam/5.4/.opam-switch/build/mysql.1.2.1'
- ocamldep -native mysql.mli > ._ncdi/mysql.di
- make[1]: 'libmysql_stubs.a' is up to date.
- ocamlopt -c mysql.ml
- File "mysql.ml", line 424, characters 35-45:
- 424 | if i = String.length str then (String.sub str p_start (String.length str - p_start)) :: acc else
- ^^^^^^^^^^
- Warning 6 [labels-omitted]: labels pos, len were omitted in the application
- of this function.
-
- File "mysql.ml", line 426, characters 45-55:
- 426 | | ' ' | '\t' | '\n' | '\r' | ',' -> wsp (String.sub str p_start (i - p_start) :: acc) (i+1)
- ^^^^^^^^^^
- Warning 6 [labels-omitted]: labels pos, len were omitted in the application
- of this function.
- ocamlopt -a -ccopt -L/usr/lib/x86_64-linux-gnu -cclib -lmysql_stubs -cclib -lmysqlclient -o mysql.cmxa mysql.cmx
- make[1]: Leaving directory '/home/opam/.opam/5.4/.opam-switch/build/mysql.1.2.1'
-> compiled mysql.1.2.1
Processing 3/4: [mysql: ocamlfind remove]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "remove" "ocamlfind" "remove" "mysql" (CWD=/home/opam/.opam/5.4/.opam-switch/remove/mysql.1.2.1)
- Removed /home/opam/.opam/5.4/lib/mysql/META
- Removed /home/opam/.opam/5.4/lib/stublibs/dllmysql_stubs.so.owner
- Removed /home/opam/.opam/5.4/lib/stublibs/dllmysql_stubs.so
- Removed /home/opam/.opam/5.4/lib/mysql
-> removed mysql.1.2.1
Processing 4/4: [mysql: make install]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "install" "make" "install" (CWD=/home/opam/.opam/5.4/.opam-switch/build/mysql.1.2.1)
- make[1]: Entering directory '/home/opam/.opam/5.4/.opam-switch/build/mysql.1.2.1'
- make[1]: 'libmysql_stubs.a' is up to date.
- make[1]: 'mysql.cma' is up to date.
- make[1]: Leaving directory '/home/opam/.opam/5.4/.opam-switch/build/mysql.1.2.1'
-
- Installing library with ocamlfind
- ocamlfind install -patch-version "1.2.1" mysql META mysql.mli mysql.cmi mysql.cma mysql.cmx mysql.cmxa libmysql_stubs.a mysql.a dllmysql_stubs.so
- Installed /home/opam/.opam/5.4/lib/mysql/mysql.a
- Installed /home/opam/.opam/5.4/lib/mysql/libmysql_stubs.a
- Installed /home/opam/.opam/5.4/lib/mysql/mysql.cmxa
- Installed /home/opam/.opam/5.4/lib/mysql/mysql.cmx
- Installed /home/opam/.opam/5.4/lib/mysql/mysql.cma
- Installed /home/opam/.opam/5.4/lib/mysql/mysql.cmi
- Installed /home/opam/.opam/5.4/lib/mysql/mysql.mli
- Installed /home/opam/.opam/5.4/lib/stublibs/dllmysql_stubs.so
- Installed /home/opam/.opam/5.4/lib/stublibs/dllmysql_stubs.so.owner
- ocamlfind: [WARNING] You have installed DLLs but the directory /home/opam/.opam/5.4/lib/stublibs is not mentioned in ld.conf
- Installed /home/opam/.opam/5.4/lib/mysql/META
-
- Installation successful.
-> installed mysql.1.2.1
Done.
# To update the current shell environment, run: eval $(opam env)
2026-03-25 18:49.10 ---> saved as "fa2838a38ff4bd3143c3aec02aa2eee8f7155ddf94db09682f2694e503dfc029"
Job succeeded
2026-03-25 18:49.21: Job succeeded