Build:
- 0
2026-03-25 13:15.00: New job: test freetds.0.5 with ocaml-compiler.5.4.0~rc1, 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~rc1 5.4.0~rc1
RUN opam reinstall --update-invariant ocaml-compiler.5.4.0~rc1; \
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~rc1' && partial_fails="$partial_fails $pkg"; \
done; \
test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
exit 1
RUN opam reinstall freetds.0.5; \
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" != 'freetds.0.5' && 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 freetds.0.5) || true
RUN opam reinstall --with-test --verbose freetds.0.5; \
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" != 'freetds.0.5' && 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:15.00: Using cache hint "ocaml/opam:debian-13-ocaml-5.4@sha256:bd342cbd7766c453282fdafbc2e565ae3361320ec344722cf4372b782e4a97f6-ocaml-compiler.5.4.0~rc1-freetds.0.5-fa5fb3a6a806e832e4c7791145889a6bbe8b64ef"
2026-03-25 13:15.00: 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~rc1 5.4.0~rc1"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall --update-invariant ocaml-compiler.5.4.0~rc1;\
\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~rc1' && 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 freetds.0.5;\
\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\" != 'freetds.0.5' && 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 freetds.0.5) || true"))
(run (shell "opam reinstall --with-test --verbose freetds.0.5;\
\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\" != 'freetds.0.5' && 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:15.00: Waiting for resource in pool OCluster
2026-03-25 21:10.59: Waiting for worker…
2026-03-25 21:13.50: Got resource from pool OCluster
Building on eumache.caelum.ci.dev
All commits already cached
Updating files: 86% (15940/18520)
Updating files: 87% (16113/18520)
Updating files: 88% (16298/18520)
Updating files: 89% (16483/18520)
Updating files: 90% (16668/18520)
Updating files: 91% (16854/18520)
Updating files: 92% (17039/18520)
Updating files: 93% (17224/18520)
Updating files: 94% (17409/18520)
Updating files: 95% (17594/18520)
Updating files: 96% (17780/18520)
Updating files: 97% (17965/18520)
Updating files: 98% (18150/18520)
Updating files: 99% (18335/18520)
Updating files: 100% (18520/18520)
Updating files: 100% (18520/18520), done.
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)
Unable to find image 'ocaml/opam:debian-13-ocaml-5.4@sha256:bd342cbd7766c453282fdafbc2e565ae3361320ec344722cf4372b782e4a97f6' locally
docker.io/ocaml/opam@sha256:bd342cbd7766c453282fdafbc2e565ae3361320ec344722cf4372b782e4a97f6: Pulling from ocaml/opam
866771c43bf5: Already exists
1e49bea09367: Already exists
e793768537e6: Already exists
ed323d3d481a: Already exists
7df34a5cd5f1: Already exists
fd712d3eb935: Already exists
4b9fb8c99118: Already exists
9d9a01948b94: Already exists
0f1514f90b32: Already exists
e1ec5a753447: Already exists
03cc323e2f71: Already exists
c09c08ea9749: Already exists
b36b619f8e6b: Already exists
195344ca5274: Already exists
228ee78582a6: Already exists
504bde1c25b3: Already exists
9d8b1356c89f: Already exists
9d8b1356c89f: Already exists
568fb6dda155: Already exists
c499c9198aea: Already exists
048e5e358118: Already exists
871ca48eb45d: Already exists
4f4fb700ef54: Already exists
a5a2568b9df9: Already exists
068cf3106ac8: Already exists
559f54ec9b29: Already exists
798ffd96fde5: Already exists
e9a891bf80d7: Already exists
d720cfe12674: Already exists
c81c932f4a91: Already exists
79f24fa3bb11: Already exists
8c1debcd8c20: Already exists
1bb2cfea7250: Already exists
2b3d3ca75e4c: Already exists
557cacaf263c: Already exists
d10483022eef: Already exists
7b62a90d8223: Already exists
28ce8ea66e72: Already exists
d975909ea717: Already exists
5c215c69c247: Already exists
e7c082452a54: Already exists
f6cbd774d654: Already exists
b40777a84cca: Already exists
7bb5edb9c889: Already exists
020670bcefab: Already exists
46df05d0db83: Already exists
45bde7b38933: Already exists
b4d63fa01ada: Already exists
Digest: sha256:bd342cbd7766c453282fdafbc2e565ae3361320ec344722cf4372b782e4a97f6
Status: Downloaded newer image for ocaml/opam@sha256:bd342cbd7766c453282fdafbc2e565ae3361320ec344722cf4372b782e4a97f6
2026-03-25 21:15.02 ---> 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 21:15.02 ---> 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.
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
2026-03-25 21:15.02 ---> 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 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
2026-03-25 21:15.02 ---> 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 21:15.02 ---> using "04a48515eea40c32b96da0c71328b4bba0edb66eed83d4f78554b39097cf1f25" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2026-03-25 21:15.04 ---> using "034191995d824300f355cbba1072d6e5fe6d815701f24eb84d82c75009d73829" from cache
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-03-25 21:15.04 ---> 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 (6968 kB/s)
- Reading package lists...
-
2026-03-25 21:15.04 ---> using "a75782a571df4fc8f8933e94c681af881015ee87cdd4c652f8ae9af1d8cfad37" from cache
/home/opam: (run (shell "opam pin add -k version -yn ocaml-compiler.5.4.0~rc1 5.4.0~rc1"))
ocaml-compiler is now pinned to version 5.4.0~rc1
2026-03-25 21:15.04 ---> using "27ab7a5f0bff149d4782fba34c0f12f25c2745e4b7ce18ded4528e7b01215403" 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~rc1;\
\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~rc1' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
ocaml-compiler.5.4.0~rc1 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== remove 1 package
- remove ocaml-base-compiler 5.4.0 (pinned) [conflicts with ocaml-compiler]
=== downgrade 1 package
- downgrade ocaml-compiler 5.4.0 to 5.4.0~rc1 (pinned)
=== recompile 6 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-config 3 [uses ocaml-base-compiler]
- recompile opam-depext 1.2.3 [uses ocaml]
=== install 1 package
- install ocaml-variants 5.4.0~rc1+options [required by ocaml]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved ocaml-compiler.5.4.0~rc1 (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~rc1
-> installed ocaml-variants.5.4.0~rc1+options
-> 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
[NOTE] Switch invariant was updated to ["ocaml-variants" {= "5.4.0~rc1+options"}]
Use `opam switch set-invariant' to change it.
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 21:15.04 ---> using "b49b6ed909e77c558f677915e871ebeabba006ff37f3f132a79670cd2a9f5db8" from cache
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall freetds.0.5;\
\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\" != 'freetds.0.5' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
freetds.0.5 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 2 packages
- install freetds 0.5
- install ocamlfind 1.9.8 [required by freetds]
The following system packages will first need to be installed:
autoconf automake freetds-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" "autoconf" "automake" "freetds-dev"
- Selecting previously unselected package m4.
- (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-m4_1.4.19-8_amd64.deb ...
- Unpacking m4 (1.4.19-8) ...
- Selecting previously unselected package autoconf.
- Preparing to unpack .../1-autoconf_2.72-3.1_all.deb ...
- Unpacking autoconf (2.72-3.1) ...
- Selecting previously unselected package autotools-dev.
- Preparing to unpack .../2-autotools-dev_20240727.1_all.deb ...
- Unpacking autotools-dev (20240727.1) ...
- Selecting previously unselected package automake.
- Preparing to unpack .../3-automake_1%3a1.17-4_all.deb ...
- Unpacking automake (1:1.17-4) ...
- Selecting previously unselected package freetds-common.
- Preparing to unpack .../4-freetds-common_1.3.17+ds-2+deb13u1_all.deb ...
- Unpacking freetds-common (1.3.17+ds-2+deb13u1) ...
- Selecting previously unselected package libct4:amd64.
- Preparing to unpack .../5-libct4_1.3.17+ds-2+deb13u1_amd64.deb ...
- Unpacking libct4:amd64 (1.3.17+ds-2+deb13u1) ...
- Selecting previously unselected package libsybdb5:amd64.
- Preparing to unpack .../6-libsybdb5_1.3.17+ds-2+deb13u1_amd64.deb ...
- Unpacking libsybdb5:amd64 (1.3.17+ds-2+deb13u1) ...
- Selecting previously unselected package freetds-dev.
- Preparing to unpack .../7-freetds-dev_1.3.17+ds-2+deb13u1_amd64.deb ...
- Unpacking freetds-dev (1.3.17+ds-2+deb13u1) ...
- Selecting previously unselected package freetds-doc.
- Preparing to unpack .../8-freetds-doc_1.3.17+ds-2+deb13u1_all.deb ...
- Unpacking freetds-doc (1.3.17+ds-2+deb13u1) ...
- Setting up freetds-doc (1.3.17+ds-2+deb13u1) ...
- Setting up m4 (1.4.19-8) ...
- Setting up autotools-dev (20240727.1) ...
- Setting up autoconf (2.72-3.1) ...
- Setting up freetds-common (1.3.17+ds-2+deb13u1) ...
- Setting up automake (1:1.17-4) ...
- update-alternatives: using /usr/bin/automake-1.17 to provide /usr/bin/automake (automake) in auto mode
- Setting up libsybdb5:amd64 (1.3.17+ds-2+deb13u1) ...
- Setting up libct4:amd64 (1.3.17+ds-2+deb13u1) ...
- Setting up freetds-dev (1.3.17+ds-2+deb13u1) ...
- Processing triggers for libc-bin (2.41-12+deb13u1) ...
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved freetds.0.5 (cached)
-> retrieved ocamlfind.1.9.8 (cached)
-> installed ocamlfind.1.9.8
[ERROR] The compilation of freetds.0.5 failed at "make".
#=== ERROR while compiling freetds.0.5 ========================================#
# context 2.5.0 | linux/x86_64 | ocaml-variants.5.4.0~rc1+options | file:///home/opam/opam-repository
# path ~/.opam/5.4/.opam-switch/build/freetds.0.5
# command ~/.opam/opam-init/hooks/sandbox.sh build make
# exit-code 2
# env-file ~/.opam/log/freetds-7-9fcdaa.env
# output-file ~/.opam/log/freetds-7-9fcdaa.out
### output ###
# make -C src byte
# make[1]: Entering directory '/home/opam/.opam/5.4/.opam-switch/build/freetds.0.5/src'
# Building .depend.ocaml ...
# ocamlc.opt -dtypes -g -c ct.mli
# ocamlc.opt -dtypes -g -c ct.ml
# File "ct.ml", line 153, characters 38-46:
# 153 | let bind comm ?(maxlen = 256) index = bind_col comm maxlen index
# ^^^^^^^^
# Warning 6 [labels-omitted]: label maxlen was omitted in the application of
# this function.
# ocamlc.opt -dtypes -g -c dblib.mli
# ocamlc.opt -dtypes -g -c dblib.ml
# File "dblib.ml", line 61, characters 10-14:
# 61 | dbopen ?user ?password ?charset ?language ?application ~server
# ^^^^
# Warning 43 [nonoptional-label]: the label user is not optional.
#
# File "dblib.ml", line 61, characters 16-24:
# 61 | dbopen ?user ?password ?charset ?language ?application ~server
# ^^^^^^^^
# Warning 43 [nonoptional-label]: the label password is not optional.
#
# File "dblib.ml", line 61, characters 26-33:
# 61 | dbopen ?user ?password ?charset ?language ?application ~server
# ^^^^^^^
# Warning 43 [nonoptional-label]: the label charset is not optional.
#
# File "dblib.ml", line 61, characters 35-43:
# 61 | dbopen ?user ?password ?charset ?language ?application ~server
# ^^^^^^^^
# Warning 43 [nonoptional-label]: the label language is not optional.
#
# File "dblib.ml", line 61, characters 45-56:
# 61 | dbopen ?user ?password ?charset ?language ?application ~server
# ^^^^^^^^^^^
# Warning 43 [nonoptional-label]: the label application is not optional.
#
# File "dblib.ml", line 76, characters 0-71:
# 76 | external numcols : dbprocess -> int = "ocaml_freetds_numcols" "noalloc"
# ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
# Alert deprecated: [@@noalloc] should be used instead of "noalloc"
# ocamlc.opt -pack -o freetds.cmo ct.cmo dblib.cmo
# cc -Wall -fPIC -DOCAML_WORD_SIZE=64 -I'/home/opam/.opam/5.4/lib/ocaml' -c -o ct_c.o ct_c.c
# ct_c.c: In function 'retval_inspect':
# ct_c.c:72:9: error: implicit declaration of function 'failwith'; did you mean 'caml_failwith'? [-Wimplicit-function-declaration]
# 72 | failwith(whichfunc);
# | ^~~~~~~~
# | caml_failwith
# ct_c.c:81:9: error: implicit declaration of function 'raise_constant'; did you mean 'caml_raise_constant'? [-Wimplicit-function-declaration]
# 81 | raise_constant(*caml_named_value("cs_end_results"));
# | ^~~~~~~~~~~~~~
# | caml_raise_constant
# ct_c.c: In function 'conprop_of_value':
# ct_c.c:99:18: error: implicit declaration of function 'hash_variant'; did you mean 'caml_hash_variant'? [-Wimplicit-function-declaration]
# 99 | if (field == hash_variant("Username")) CAMLreturn(CS_USERNAME);
# | ^~~~~~~~~~~~
# | caml_hash_variant
# ct_c.c: In function 'cons':
# ct_c.c:279:14: error: implicit declaration of function 'alloc'; did you mean 'valloc'? [-Wimplicit-function-declaration]
# 279 | result = alloc(2, Tag_cons);
# | ^~~~~
# | valloc
# ct_c.c: In function 'column_of_buffer':
# ct_c.c:385:14: error: implicit declaration of function 'alloc_custom'; did you mean 'caml_alloc_custom'? [-Wimplicit-function-declaration]
# 385 | buffer = alloc_custom(&binding_buffer_operations,
# | ^~~~~~~~~~~~
# | caml_alloc_custom
# In file included from /home/opam/.opam/5.4/lib/ocaml/caml/callback.h:22,
# from ct_c.c:25:
# ct_c.c:390:35: error: implicit declaration of function 'copy_string'; did you mean 'caml_copy_string'? [-Wimplicit-function-declaration]
# 390 | Store_field(result, COL_NAME, copy_string(buf->fmt.name));
# | ^~~~~~~~~~~
# /home/opam/.opam/5.4/lib/ocaml/caml/memory.h:470:27: note: in definition of macro 'Store_field'
# 470 | value caml__temp_val = (val); \
# | ^~~
# ct_c.c: In function 'mltds_ct_con_setstring':
# ct_c.c:461:34: error: implicit declaration of function 'string_length'; did you mean 'caml_string_length'? [-Wimplicit-function-declaration]
# 461 | string_length(newval),
# | ^~~~~~~~~~~~~
# | caml_string_length
# In file included from /home/opam/.opam/5.4/lib/ocaml/caml/alloc.h:20,
# from ct_c.c:24:
# /home/opam/.opam/5.4/lib/ocaml/caml/mlvalues.h:366:24: warning: passing argument 4 of 'ct_con_props' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 366 | #define String_val(x) ((const char *) Bp_val(x))
# | ~^~~~~~~~~~~~~~~~~~~~~~~~~
# ct_c.c:460:34: note: in expansion of macro 'String_val'
# 460 | String_val(newval),
# | ^~~~~~~~~~
# In file included from ct_c.c:20:
# /usr/include/ctpublic.h:98:88: note: expected 'CS_VOID *' {aka 'void *'} but argument is of type 'const char *'
# 98 | CS_RETCODE ct_con_props(CS_CONNECTION * con, CS_INT action, CS_INT property, CS_VOID * buffer, CS_INT buflen, CS_INT * out_len);
# | ~~~~~~~~~~^~~~~~
# ct_c.c: In function 'mltds_ct_connect':
# /home/opam/.opam/5.4/lib/ocaml/caml/mlvalues.h:366:24: warning: passing argument 2 of 'ct_connect' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 366 | #define String_val(x) ((const char *) Bp_val(x))
# | ~^~~~~~~~~~~~~~~~~~~~~~~~~
# ct_c.c:473:32: note: in expansion of macro 'String_val'
# 473 | String_val(servername),
# | ^~~~~~~~~~
# /usr/include/ctpublic.h:99:54: note: expected 'CS_CHAR *' {aka 'char *'} but argument is of type 'const char *'
# 99 | CS_RETCODE ct_connect(CS_CONNECTION * con, CS_CHAR * servername, CS_INT snamelen);
# | ~~~~~~~~~~^~~~~~~~~~
# ct_c.c: In function 'mltds_ct_bind':
# ct_c.c:529:22: warning: missing braces around initializer [-Wmissing-braces]
# 529 | CS_DATAFMT fmt = {0,0,0,0,0,0,0,0,0,0,0};
# | ^
# | { }
# ct_c.c: In function 'mltds_buffer_contents':
# ct_c.c:634:32: error: implicit declaration of function 'copy_int32'; did you mean 'caml_copy_int32'? [-Wimplicit-function-declaration]
# 634 | Store_field(result, 1, copy_int32((int) BUFFER_CONTENTS(buf, CS_INT)));
# | ^~~~~~~~~~
# /home/opam/.opam/5.4/lib/ocaml/caml/memory.h:470:27: note: in definition of macro 'Store_field'
# 470 | value caml__temp_val = (val); \
# | ^~~
# ct_c.c:640:32: error: implicit declaration of function 'copy_double'; did you mean 'caml_copy_double'? [-Wimplicit-function-declaration]
# 640 | Store_field(result, 1, copy_double((double) BUFFER_CONTENTS(buf, CS_FLOAT)));
# | ^~~~~~~~~~~
# /home/opam/.opam/5.4/lib/ocaml/caml/memory.h:470:27: note: in definition of macro 'Store_field'
# 470 | value caml__temp_val = (val); \
# | ^~~
# ct_c.c:660:19: error: implicit declaration of function 'alloc_string'; did you mean 'caml_alloc_string'? [-Wimplicit-function-declaration]
# 660 | str = alloc_string(buf->copied);
# | ^~~~~~~~~~~~
# | caml_alloc_string
# /home/opam/.opam/5.4/lib/ocaml/caml/mlvalues.h:366:24: warning: passing argument 1 of 'strncpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 366 | #define String_val(x) ((const char *) Bp_val(x))
# | ~^~~~~~~~~~~~~~~~~~~~~~~~~
# ct_c.c:661:21: note: in expansion of macro 'String_val'
# 661 | strncpy(String_val(str), (char*)(buf->data), buf->copied);
# | ^~~~~~~~~~
# In file included from ct_c.c:22:
# /usr/include/string.h:144:40: note: expected 'char * restrict' but argument is of type 'const char *'
# 144 | extern char *strncpy (char *__restrict __dest,
# | ~~~~~~~~~~~~~~~~~^~~~~~
# /home/opam/.opam/5.4/lib/ocaml/caml/mlvalues.h:366:24: warning: passing argument 1 of 'strncpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 366 | #define String_val(x) ((const char *) Bp_val(x))
# | ~^~~~~~~~~~~~~~~~~~~~~~~~~
# ct_c.c:673:21: note: in expansion of macro 'String_val'
# 673 | strncpy(String_val(str), (char*)(buf->data), buf->copied);
# | ^~~~~~~~~~
# /usr/include/string.h:144:40: note: expected 'char * restrict' but argument is of type 'const char *'
# 144 | extern char *strncpy (char *__restrict __dest,
# | ~~~~~~~~~~~~~~~~~^~~~~~
# /home/opam/.opam/5.4/lib/ocaml/caml/mlvalues.h:366:24: warning: passing argument 1 of 'strncpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 366 | #define String_val(x) ((const char *) Bp_val(x))
# | ~^~~~~~~~~~~~~~~~~~~~~~~~~
# ct_c.c:694:17: note: in expansion of macro 'String_val'
# 694 | strncpy(String_val(str), (char*)(buf->data), buf->copied);
# | ^~~~~~~~~~
# /usr/include/string.h:144:40: note: expected 'char * restrict' but argument is of type 'const char *'
# 144 | extern char *strncpy (char *__restrict __dest,
# | ~~~~~~~~~~~~~~~~~^~~~~~
# ct_c.c: In function 'get_client_message':
# /home/opam/.opam/5.4/lib/ocaml/caml/mlvalues.h:366:24: warning: passing argument 1 of 'strncpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 366 | #define String_val(x) ((const char *) Bp_val(x))
# | ~^~~~~~~~~~~~~~~~~~~~~~~~~
# ct_c.c:744:13: note: in expansion of macro 'String_val'
# 744 | strncpy(String_val(str), msg.msgstring, msg.msgstringlen );
# | ^~~~~~~~~~
# /usr/include/string.h:144:40: note: expected 'char * restrict' but argument is of type 'const char *'
# 144 | extern char *strncpy (char *__restrict __dest,
# | ~~~~~~~~~~~~~~~~~^~~~~~
# ct_c.c: In function 'get_server_message':
# /home/opam/.opam/5.4/lib/ocaml/caml/mlvalues.h:366:24: warning: passing argument 1 of 'strncpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 366 | #define String_val(x) ((const char *) Bp_val(x))
# | ~^~~~~~~~~~~~~~~~~~~~~~~~~
# ct_c.c:763:13: note: in expansion of macro 'String_val'
# 763 | strncpy(String_val(str), msg.text, strnlen(msg.text, CS_MAX_MSG));
# | ^~~~~~~~~~
# /usr/include/string.h:144:40: note: expected 'char * restrict' but argument is of type 'const char *'
# 144 | extern char *strncpy (char *__restrict __dest,
# | ~~~~~~~~~~~~~~~~~^~~~~~
# make[1]: *** [<builtin>: ct_c.o] Error 1
# make[1]: Leaving directory '/home/opam/.opam/5.4/.opam-switch/build/freetds.0.5/src'
# make: *** [Makefile:19: byte] Error 2
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build freetds 0.5
+-
+- The following changes have been performed
| - install ocamlfind 1.9.8
+-
# 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/5.4/.opam-switch/backup/state-20260325211505.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.
"/usr/bin/env" "bash" "-c" "opam reinstall freetds.0.5;
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" != 'freetds.0.5' && 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
2026-03-25 21:15.48: Job failed: Failed: Build failed
2026-03-25 21:15.48: Log analysis:
2026-03-25 21:15.48: >>>
[ERROR] The compilation of freetds.0.5 failed at "make".
(score = 20)
2026-03-25 21:15.48: >>>
# ct_c.c:72:9: error: implicit declaration of function 'failwith'; did you mean 'caml_failwith'? [-Wimplicit-function-declaration]
(score = 30)
2026-03-25 21:15.48: >>>
# ct_c.c:81:9: error: implicit declaration of function 'raise_constant'; did you mean 'caml_raise_constant'? [-Wimplicit-function-declaration]
(score = 30)
2026-03-25 21:15.48: >>>
# ct_c.c:99:18: error: implicit declaration of function 'hash_variant'; did you mean 'caml_hash_variant'? [-Wimplicit-function-declaration]
(score = 30)
2026-03-25 21:15.48: >>>
# ct_c.c:279:14: error: implicit declaration of function 'alloc'; did you mean 'valloc'? [-Wimplicit-function-declaration]
(score = 30)
2026-03-25 21:15.48: >>>
# ct_c.c:385:14: error: implicit declaration of function 'alloc_custom'; did you mean 'caml_alloc_custom'? [-Wimplicit-function-declaration]
(score = 30)
2026-03-25 21:15.48: >>>
# ct_c.c:390:35: error: implicit declaration of function 'copy_string'; did you mean 'caml_copy_string'? [-Wimplicit-function-declaration]
(score = 30)
2026-03-25 21:15.48: >>>
# ct_c.c:461:34: error: implicit declaration of function 'string_length'; did you mean 'caml_string_length'? [-Wimplicit-function-declaration]
(score = 30)
2026-03-25 21:15.48: >>>
# ct_c.c:634:32: error: implicit declaration of function 'copy_int32'; did you mean 'caml_copy_int32'? [-Wimplicit-function-declaration]
(score = 30)
2026-03-25 21:15.48: >>>
# ct_c.c:640:32: error: implicit declaration of function 'copy_double'; did you mean 'caml_copy_double'? [-Wimplicit-function-declaration]
(score = 30)
2026-03-25 21:15.48: >>>
# ct_c.c:660:19: error: implicit declaration of function 'alloc_string'; did you mean 'caml_alloc_string'? [-Wimplicit-function-declaration]
(score = 30)
2026-03-25 21:15.48: implicit declaration of function 'failwith'; did you mean 'caml_failwith'? [-Wimplicit-function-declaration]