(not at the head of any monitored branch or PR)
2026-03-23 01:33.02: New job: test freetds.0.5 with ocaml-compiler.5.4.0~beta1, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29582/head (9346fc968dbf5116a1b2dd2b5e0143bc06e9fa98)
                              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 9346fc96
git fetch origin master
git merge --no-edit 76bf2ed9443fdee37e6f046c6295d358be3f8598
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~beta1 5.4.0~beta1
RUN opam reinstall --update-invariant ocaml-compiler.5.4.0~beta1; \
    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~beta1' && 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-23 01:33.02: Using cache hint "ocaml/opam:debian-13-ocaml-5.4@sha256:bd342cbd7766c453282fdafbc2e565ae3361320ec344722cf4372b782e4a97f6-ocaml-compiler.5.4.0~beta1-freetds.0.5-9346fc968dbf5116a1b2dd2b5e0143bc06e9fa98"
2026-03-23 01:33.02: 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~beta1 5.4.0~beta1"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall --update-invariant ocaml-compiler.5.4.0~beta1;\
             \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~beta1' && 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-23 01:33.02: Waiting for resource in pool OCluster
2026-03-23 02:58.32: Waiting for worker…
2026-03-23 03:02.35: Got resource from pool OCluster
Building on doris.caelum.ci.dev
All commits already cached
HEAD is now at 76bf2ed944 Merge pull request #29572 from hannesm/release-letsencrypt-v2.0.0
Updating 76bf2ed944..9346fc968d
Fast-forward
 packages/ocaml-compiler/ocaml-compiler.5.3.0/opam           |  2 ++
 packages/ocaml-compiler/ocaml-compiler.5.3/opam             |  2 ++
 packages/ocaml-compiler/ocaml-compiler.5.4.0/opam           |  2 ++
 packages/ocaml-compiler/ocaml-compiler.5.4.0~alpha1/opam    |  2 ++
 packages/ocaml-compiler/ocaml-compiler.5.4.0~beta1/opam     |  2 ++
 packages/ocaml-compiler/ocaml-compiler.5.4.0~beta2/opam     |  2 ++
 packages/ocaml-compiler/ocaml-compiler.5.4.0~rc1/opam       |  2 ++
 packages/ocaml-compiler/ocaml-compiler.5.4.1/opam           |  2 ++
 packages/ocaml-compiler/ocaml-compiler.5.4/opam             |  2 ++
 packages/ocaml-compiler/ocaml-compiler.5.5.0~alpha1/opam    |  2 ++
 packages/ocaml-compiler/ocaml-compiler.5.5/opam             |  2 ++
 packages/ocaml-compiler/ocaml-compiler.5.6/opam             |  2 ++
 packages/ocaml-option-clang-cl/ocaml-option-clang-cl.1/opam | 13 +++++++++++++
 packages/ocaml-options-vanilla/ocaml-options-vanilla.1/opam |  1 +
 packages/ocaml-variants/ocaml-variants.5.2.0+msvc/opam      |  2 ++
 15 files changed, 40 insertions(+)
 create mode 100644 packages/ocaml-option-clang-cl/ocaml-option-clang-cl.1/opam

(from ocaml/opam:debian-13-ocaml-5.4@sha256:bd342cbd7766c453282fdafbc2e565ae3361320ec344722cf4372b782e4a97f6)
2026-03-23 03:02.42 ---> 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-23 03:02.42 ---> 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
[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-23 03:02.42 ---> 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-23 03:02.42 ---> 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-23 03:02.42 ---> using "04a48515eea40c32b96da0c71328b4bba0edb66eed83d4f78554b39097cf1f25" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2026-03-23 03:02.43 ---> using "42572541eedd3763921d31914399a869be2c2491463c7a6b3a6603d0a74e5602" from cache

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-03-23 03:02.43 ---> using "42b4427ac9ad4580b42d47e391c8e13b13879a6c13324aed0d5363a4e5d61c3b" 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 (9951 kB/s)
- Reading package lists...
2026-03-23 03:02.43 ---> using "bcdc3cbe32b99d0020088572e614b929a80eace84da9def17f7ae2e158fd771f" from cache

/home/opam: (run (shell "opam pin add -k version -yn ocaml-compiler.5.4.0~beta1 5.4.0~beta1"))
ocaml-compiler is now pinned to version 5.4.0~beta1
2026-03-23 03:02.43 ---> using "57068cb356949d3e1336e60ed9479284085f2bfc2d531df7332c9c614932ec24" 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~beta1;\
                        \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~beta1' && 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~beta1 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~beta1 (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~beta1+options           [required by ocaml]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved ocaml-compiler.5.4.0~beta1  (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~beta1
-> installed ocaml-variants.5.4.0~beta1+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~beta1+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-23 03:02.43 ---> using "b20b17a6b2045610e987a3ef962ecd4b349174d2290ef6a9f56f73c18ee3e584" 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~beta1+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-cca0fa.env
# output-file          ~/.opam/log/freetds-7-cca0fa.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-20260323030244.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-23 03:03.06: Job failed: Failed: Build failed
2026-03-23 03:03.06: Log analysis:
2026-03-23 03:03.06: >>> 
[ERROR] The compilation of freetds.0.5 failed at "make".
 (score = 20)
2026-03-23 03:03.06: >>> 
# ct_c.c:72:9: error: implicit declaration of function 'failwith'; did you mean 'caml_failwith'? [-Wimplicit-function-declaration]
 (score = 30)
2026-03-23 03:03.06: >>> 
# 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-23 03:03.06: >>> 
# 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-23 03:03.06: >>> 
# ct_c.c:279:14: error: implicit declaration of function 'alloc'; did you mean 'valloc'? [-Wimplicit-function-declaration]
 (score = 30)
2026-03-23 03:03.06: >>> 
# 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-23 03:03.06: >>> 
# 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-23 03:03.06: >>> 
# 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-23 03:03.06: >>> 
# 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-23 03:03.06: >>> 
# 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-23 03:03.06: >>> 
# 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-23 03:03.06: implicit declaration of function 'failwith'; did you mean 'caml_failwith'? [-Wimplicit-function-declaration]