OCamllabs icon Home|Differences with the last checks|Previous runs


Building on phoebe.caelum.ci.dev

(from ocaml/opam:debian-unstable)
2025-05-13 23:33.44 ---> using "0acd5aeaa8f7bc314514d9795d14a7f12ec72a6a5b11c5904350189734c6859b" from cache

/: (user (uid 1000) (gid 1000))

/: (env OPAMPRECISETRACKING 1)

/: (env OPAMUTF8 never)

/: (env OPAMEXTERNALSOLVER builtin-0install)

/: (env OPAMCRITERIA +removed)

/: (env CI true)

/: (env OPAM_HEALTH_CHECK_CI true)

/: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2025-05-13 23:33.44 ---> using "40df4fa4cdfc68a5fa7a326047e82a7adc5df52b8059d4a7b745bdd50aad56e7" from cache

/: (run (network host)
        (shell "rm -rf ~/opam-repository && git clone -q 'https://github.com/ocaml/opam-repository' ~/opam-repository && git -C ~/opam-repository checkout -q dbc9ec7b83bac3673185542221a571372b6abb35"))
2025-05-13 23:33.44 ---> using "20357fbea61a92c2bdc1950610fb370ec30d4b4205b6f85be61a0d5ad16763e4" from cache

/: (run (shell "rm -rf ~/.opam && opam init -ya --bare --config ~/.opamrc-sandbox ~/opam-repository"))
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.


<><> Fetching repository information ><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised

User configuration:
  ~/.profile is already up-to-date.
[NOTE] Make sure that ~/.profile is well sourced in your ~/.bashrc.

2025-05-13 23:33.44 ---> using "23658a5df8af9828e8d43700cc875c3ea271dfcb3ba9fa82b2220e54a557e121" from cache

/: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
        (network host)
        (shell "sudo apt update && sudo apt install autoconf -y"))

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

Get:1 http://deb.debian.org/debian unstable InRelease [205 kB]
Get:2 http://deb.debian.org/debian unstable/main amd64 Packages.diff/Index [63.6 kB]
Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2025-05-13-2007.41-F-2025-05-04-0821.28.pdiff [478 kB]
Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2025-05-13-2007.41-F-2025-05-04-0821.28.pdiff [478 kB]
Fetched 747 kB in 3s (223 kB/s)
Reading package lists...
Building dependency tree...
Reading state information...
19 packages can be upgraded. Run 'apt list --upgradable' to see them.

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

Reading package lists...
Building dependency tree...
Reading state information...
Installing:
  autoconf

Installing dependencies:
  automake  autotools-dev  m4

Suggested packages:
  autoconf-archive  gnu-standards  autoconf-doc  libtool  gettext  m4-doc

Summary:
  Upgrading: 0, Installing: 4, Removing: 0, Not Upgrading: 19
  Download size: 1710 kB
  Space needed: 5051 kB / 185 GB available

Get:1 http://deb.debian.org/debian unstable/main amd64 m4 amd64 1.4.19-8 [294 kB]
Get:2 http://deb.debian.org/debian unstable/main amd64 autoconf all 2.72-3.1 [494 kB]
Get:3 http://deb.debian.org/debian unstable/main amd64 autotools-dev all 20240727.1 [60.2 kB]
Get:4 http://deb.debian.org/debian unstable/main amd64 automake all 1:1.17-4 [862 kB]
Fetched 1710 kB in 0s (3925 kB/s)
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 ... 20677 files and directories currently installed.)
Preparing to unpack .../archives/m4_1.4.19-8_amd64.deb ...
Unpacking m4 (1.4.19-8) ...
Selecting previously unselected package autoconf.
Preparing to unpack .../autoconf_2.72-3.1_all.deb ...
Unpacking autoconf (2.72-3.1) ...
Selecting previously unselected package autotools-dev.
Preparing to unpack .../autotools-dev_20240727.1_all.deb ...
Unpacking autotools-dev (20240727.1) ...
Selecting previously unselected package automake.
Preparing to unpack .../automake_1%3a1.17-4_all.deb ...
Unpacking automake (1:1.17-4) ...
Setting up m4 (1.4.19-8) ...
Setting up autotools-dev (20240727.1) ...
Setting up autoconf (2.72-3.1) ...
Setting up automake (1:1.17-4) ...
update-alternatives: using /usr/bin/automake-1.17 to provide /usr/bin/automake (automake) in auto mode
2025-05-13 23:33.44 ---> using "7500090cc9af80f322654254041f3fc602ac6ff9f4e9777943eb82a6c52ee3cc" from cache

/: (run (network host)
        (shell "git clone -q 'https://github.com/janestreet/opam-repository' ~/'janestreet-with-extensions' && git -C ~/'janestreet-with-extensions' checkout -q 9fcba8f2828b1dd4de45313c7d472a9a0f1b55e7"))
2025-05-13 23:33.44 ---> using "b59a36de54dea5e80e8207f314640093212b667aab8294c8e5e29f555ddd3d36" from cache

/: (run (shell "opam repository add --dont-select 'janestreet-with-extensions' ~/'janestreet-with-extensions'"))
[janestreet-with-extensions] Initialised
2025-05-13 23:33.44 ---> using "10fe936c9d1e16eabb942356f07b8a169382f09aa6865fe5b5aff4658669e1b4" from cache

/: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
        (network host)
        (shell "opam switch create --repositories=janestreet-with-extensions,default '5.2.0+flambda2' '5.2.0+flambda2'"))

<><> Installing new switch packages <><><><><><><><><><><><><><><><><><><><><><>
Switch invariant: ["ocaml-variants" {= "5.2.0+flambda2"}]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed base-bigarray.base
-> installed base-threads.base
-> installed base-unix.base
-> retrieved init-compiler.4.14.1  (cached)
-> retrieved ocaml-config.3  (cached)
-> installed ocaml-options-vanilla.1
-> retrieved init-dune.3.9.3  (cached)
-> retrieved init-menhir.20231231  (cached)
-> retrieved ocaml-variants.5.2.0+flambda2  (cached)
-> installed init-compiler.4.14.1
-> installed init-dune.3.9.3
-> installed init-menhir.20231231
-> installed ocaml-variants.5.2.0+flambda2
-> installed ocaml-config.3
-> installed ocaml.5.2.0
-> installed base-domains.base
-> installed base-nnp.base
Done.
# To update the current shell environment, run: eval $(opam env --switch=5.2.0+flambda2)
2025-05-13 23:33.44 ---> using "9f23afe31887703a43d49f189611b0f7e2f0becabaae5932d8d0b25ddd85cc79" from cache

/: (run (network host)
        (shell "opam update --depexts"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian unstable InRelease
- Reading package lists...
- 
2025-05-13 23:33.44 ---> using "87e27a9fa6d806fc35e8b46f539fdf3d7c669955ce3150e27e16209fde14592a" from cache

/: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
        (network host)
        (shell  "opam remove -y freetds.0.5.1\
               \nopam install -vy freetds.0.5.1\
               \nres=$?\
               \nif [ $res = 31 ]; then\
               \n    if opam show -f x-ci-accept-failures: freetds.0.5.1 | grep -q 'debian-unstable'; then\
               \n        echo \"This package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\"\
               \n        exit 69\
               \n    fi\
               \nfi \
               \n\
               \n\
               \nexit $res"))
[NOTE] freetds.0.5.1 is not installed.

Nothing to do.
The following actions will be performed:
=== install 2 packages
  - install freetds   0.5.1
  - install ocamlfind 1.9.8 [required by freetds]

The following system packages will first need to be installed:
    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" "freetds-dev"
- Selecting previously unselected package freetds-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 ... 20997 files and directories currently installed.)
- Preparing to unpack .../freetds-common_1.5.1+ds-2_all.deb ...
- Unpacking freetds-common (1.5.1+ds-2) ...
- Selecting previously unselected package libct4:amd64.
- Preparing to unpack .../libct4_1.5.1+ds-2_amd64.deb ...
- Unpacking libct4:amd64 (1.5.1+ds-2) ...
- Selecting previously unselected package libsybdb5:amd64.
- Preparing to unpack .../libsybdb5_1.5.1+ds-2_amd64.deb ...
- Unpacking libsybdb5:amd64 (1.5.1+ds-2) ...
- Selecting previously unselected package freetds-dev.
- Preparing to unpack .../freetds-dev_1.5.1+ds-2_amd64.deb ...
- Unpacking freetds-dev (1.5.1+ds-2) ...
- Selecting previously unselected package freetds-doc.
- Preparing to unpack .../freetds-doc_1.5.1+ds-2_all.deb ...
- Unpacking freetds-doc (1.5.1+ds-2) ...
- Setting up freetds-doc (1.5.1+ds-2) ...
- Setting up freetds-common (1.5.1+ds-2) ...
- Setting up libsybdb5:amd64 (1.5.1+ds-2) ...
- Setting up libct4:amd64 (1.5.1+ds-2) ...
- Setting up freetds-dev (1.5.1+ds-2) ...
- Processing triggers for libc-bin (2.41-7) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/6: [freetds.0.5.1: extract]
Processing  2/6: [freetds.0.5.1: extract] [ocamlfind.1.9.8: extract]
-> retrieved freetds.0.5.1  (cached)
Processing  2/6: [ocamlfind.1.9.8: extract]
-> retrieved ocamlfind.1.9.8  (cached)
Processing  3/6: [ocamlfind: ./configure]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "./configure" "-bindir" "/home/opam/.opam/5.2.0+flambda2/bin" "-sitelib" "/home/opam/.opam/5.2.0+flambda2/lib" "-mandir" "/home/opam/.opam/5.2.0+flambda2/man" "-config" "/home/opam/.opam/5.2.0+flambda2/lib/findlib.conf" "-no-custom" "-no-camlp4" (CWD=/home/opam/.opam/5.2.0+flambda2/.opam-switch/build/ocamlfind.1.9.8)
- Welcome to findlib version 1.9.8
- Configuring core...
- Checking for #remove_directory...
- Testing threading model...
- systhread_supported: true
- Testing DLLs...
- File "_none_", line 1:
- Error: Reference to undefined compilation unit "Stdlib__Mutex"
- Hint: This means that the interface of a module is loaded, but its implementation is not.
-       Did you mean to load a compiled implementation of the module 
-       using "#load" or by passing it as an argument to the toplevel?
- Testing whether ppxopt can be supported...
- Checking for ocamlc -opaque...
- Checking for ocamlopt -g...
- Configuring libraries...
- unix: found (in +unix)
- dynlink: found (in +dynlink)
- bigarray: not present (possible since 4.08)
- compiler-libs: found
- dbm: not present (normal since 4.00)
- graphics: not present (normal since 4.09)
- num: not present (normal since 4.06)
- ocamlbuild: not present (normal since 4.03)
- ocamldoc: not present
- raw_spacetime: not present (normal since 4.12)
- threads: found (in +threads)
- str: found (in +str)
- labltk: not present (normal since 4.02)
- native dynlink: found
- camlp4: disabled
- bytes: found, installing fake library
- Configuration for bytes written to site-lib-src/bytes/META
- Detecting compiler arguments: (extractor built) ok
- 
- About the OCAML core installation:
-     Standard library:      /home/opam/.opam/5.2.0+flambda2/lib/ocaml
-     Binaries:              /home/opam/.opam/5.2.0+flambda2/bin
-     Manual pages:          /usr/local/man
-     Multi-threading type:  posix
- The directory of site-specific packages will be
-     site-lib:              /home/opam/.opam/5.2.0+flambda2/lib
- The configuration file is written to:
-     findlib config file:   /home/opam/.opam/5.2.0+flambda2/lib/findlib.conf
- Software will be installed:
-     Libraries:             in <site-lib>/findlib
-     Binaries:              /home/opam/.opam/5.2.0+flambda2/bin
-     Manual pages:          /home/opam/.opam/5.2.0+flambda2/man
-     topfind script:        /home/opam/.opam/5.2.0+flambda2/lib/ocaml
- Topfind ppxopt support:    yes
- Toolbox:                   no
- Link custom runtime:       no
- Need bytes compatibility:  no
- 
- Configuration has been written to Makefile.config
- 
- You can now do 'make all', and optionally 'make opt', to build ocamlfind.
Processing  3/6: [ocamlfind: make all]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "make" "all" (CWD=/home/opam/.opam/5.2.0+flambda2/.opam-switch/build/ocamlfind.1.9.8)
- for p in findlib; do ( cd src/$p; make all ) || exit; done
- make[1]: Entering directory '/home/opam/.opam/5.2.0+flambda2/.opam-switch/build/ocamlfind.1.9.8/src/findlib'
- ocamllex fl_meta.mll
- 22 states, 392 transitions, table size 1700 bytes
- USE_CYGPATH="0"; \
- export USE_CYGPATH; \
- cat findlib_config.mlp | \
-          ../../tools/patch '@CONFIGFILE@' '/home/opam/.opam/5.2.0+flambda2/lib/findlib.conf' | \
-          ../../tools/patch '@STDLIB@' '/home/opam/.opam/5.2.0+flambda2/lib/ocaml' | \
-          ../../tools/patch '@RELATIVE_PATHS@' 'false' | \
- 	sed -e 's;@AUTOLINK@;true;g' \
- 	    -e 's;@SYSTEM@;linux;g' \
- 	     >findlib_config.ml
- if [ "true" = "true" ]; then                 \
- 	cp topfind.ml.in topfind.ml;                             \
- else                                                             \
- 	sed -e '/PPXOPT_BEGIN/,/PPXOPT_END/ d' topfind.ml.in     \
- 		> topfind.ml ;                                   \
- fi
- ocamldep *.ml *.mli >depend
- ocamlc -I +compiler-libs -opaque   -I +unix -I +dynlink -g -c fl_compat.ml
- ocamlc -I +compiler-libs -opaque   -I +unix -I +dynlink -g -c fl_split.ml
- ocamlc -I +compiler-libs -opaque   -I +unix -I +dynlink -g -c findlib_config.ml
- ocamlc -I +compiler-libs -opaque   -I +unix -I +dynlink -g -c fl_metatoken.ml
- ocamlc -I +compiler-libs -opaque   -I +unix -I +dynlink -g -c fl_meta.ml
- ocamlc -I +compiler-libs -opaque   -I +unix -I +dynlink -c fl_metascanner.mli
- ocamlc -I +compiler-libs -opaque   -I +unix -I +dynlink -g -c fl_metascanner.ml
- ocamlc -I +compiler-libs -opaque   -I +unix -I +dynlink -c fl_topo.mli
- ocamlc -I +compiler-libs -opaque   -I +unix -I +dynlink -g -c fl_topo.ml
- ocamlc -I +compiler-libs -opaque   -I +unix -I +dynlink -c fl_package_base.mli
- ocamlc -I +compiler-libs -opaque   -I +unix -I +dynlink -g -c fl_package_base.ml
- ocamlc -I +compiler-libs -opaque   -I +unix -I +dynlink -c findlib.mli
- ocamlc -I +compiler-libs -opaque   -I +unix -I +dynlink -g -c findlib.ml
- ocamlc -I +compiler-libs -opaque   -I +unix -I +dynlink -g -c fl_args.ml
- ocamlc -I +compiler-libs -opaque   -I +unix -I +dynlink -g -c fl_lint.ml
- ocamlc -I +compiler-libs -a -o findlib.cma fl_compat.cmo fl_split.cmo findlib_config.cmo fl_metatoken.cmo fl_meta.cmo fl_metascanner.cmo fl_topo.cmo fl_package_base.cmo findlib.cmo fl_args.cmo fl_lint.cmo
- ocamlc -I +compiler-libs -opaque   -I +unix -I +dynlink -g -c ocaml_args.ml
- ocamlc -I +compiler-libs -opaque   -I +unix -I +dynlink -g -c frontend.ml
- File "frontend.ml", line 385, characters 6-16:
- 385 |       Sys.signal Sys.sigint Sys.Signal_ignore in
-             ^^^^^^^^^^
- Alert unsafe_multidomain: Stdlib.Sys.signal
- Use [Sys.Safe.signal].
- 
- File "frontend.ml", line 428, characters 4-18:
- 428 |     Sys.set_signal Sys.sigint old_sigint;
-           ^^^^^^^^^^^^^^
- Alert unsafe_multidomain: Stdlib.Sys.set_signal
- Use [Sys.Safe.set_signal].
- ocamlc -I +compiler-libs  -o ocamlfind -g findlib.cma unix.cma \
-            -I +unix -I +dynlink ocaml_args.cmo frontend.cmo
- ocamlc -I +compiler-libs -opaque   -I +unix -I +dynlink -c topfind.mli
- ocamlc -I +compiler-libs -opaque   -I +unix -I +dynlink -g -c topfind.ml
- File "topfind.ml", line 128, characters 40-63:
- 128 |                      match Hashtbl.find Toploop.directive_table "ppx" with
-                                               ^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: Toploop.directive_table
- 
- File "topfind.ml", line 258, characters 4-27:
- 258 |     Toploop.directive_table
-           ^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: Toploop.directive_table
- 
- File "topfind.ml", line 268, characters 4-27:
- 268 |     Toploop.directive_table
-           ^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: Toploop.directive_table
- 
- File "topfind.ml", line 280, characters 4-27:
- 280 |     Toploop.directive_table
-           ^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: Toploop.directive_table
- 
- File "topfind.ml", line 293, characters 4-27:
- 293 |     Toploop.directive_table
-           ^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: Toploop.directive_table
- 
- File "topfind.ml", line 307, characters 4-27:
- 307 |     Toploop.directive_table
-           ^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: Toploop.directive_table
- 
- File "topfind.ml", line 319, characters 4-27:
- 319 |     Toploop.directive_table
-           ^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: Toploop.directive_table
- ocamlc -I +compiler-libs -a -o findlib_top.cma topfind.cmo
- if [ "1" = "1" ]; then                        \
- 	cp topfind.in topfind.compat.in;                                                     \
- else                                                                  \
- 	sed -e '/REMOVE_DIRECTORY_BEGIN/,/REMOVE_DIRECTORY_END/ d' topfind.in \
- 		> topfind.compat.in ;                                                \
- fi
- USE_CYGPATH="0"; \
- export USE_CYGPATH; \
- cat topfind.compat.in | \
-          ../../tools/patch '@SITELIB@' '/home/opam/.opam/5.2.0+flambda2/lib' | \
-          ../../tools/patch '@RELATIVE_PATHS@' 'false' \
-     	    >topfind
- ocamlc -I +compiler-libs -opaque   -I +unix -I +dynlink -c fl_dynload.mli
- ocamlc -I +compiler-libs -opaque   -I +unix -I +dynlink -g -c fl_dynload.ml
- ocamlc -I +compiler-libs -a -o findlib_dynload.cma fl_dynload.cmo
- make[1]: Leaving directory '/home/opam/.opam/5.2.0+flambda2/.opam-switch/build/ocamlfind.1.9.8/src/findlib'
- make all-config
- make[1]: Entering directory '/home/opam/.opam/5.2.0+flambda2/.opam-switch/build/ocamlfind.1.9.8'
- if [ "false" = "true" ]; then \
-   make findlib-relative; \
-         else \
-   make findlib-absolute; \
- fi
- make[2]: Entering directory '/home/opam/.opam/5.2.0+flambda2/.opam-switch/build/ocamlfind.1.9.8'
- USE_CYGPATH="0"; \
- export USE_CYGPATH; \
- cat findlib.conf.in | \
-      tools/patch '@SITELIB@' '/home/opam/.opam/5.2.0+flambda2/lib' | \
- 		 tools/patch '@FINDLIB_PATH@' '/home/opam/.opam/5.2.0+flambda2/lib/ocaml:/home/opam/.opam/5.2.0+flambda2/lib' -p >findlib.conf
- if ./tools/cmd_from_same_dir ocamlc; then \
- 	echo 'ocamlc="ocamlc.opt"' >>findlib.conf; \
- fi
- if ./tools/cmd_from_same_dir ocamlopt; then \
- 	echo 'ocamlopt="ocamlopt.opt"' >>findlib.conf; \
- fi
- if ./tools/cmd_from_same_dir ocamldep; then \
- 	echo 'ocamldep="ocamldep.opt"' >>findlib.conf; \
- fi
- if ./tools/cmd_from_same_dir ocamldoc; then \
- 	echo 'ocamldoc="ocamldoc.opt"' >>findlib.conf; \
- fi
- make[2]: Leaving directory '/home/opam/.opam/5.2.0+flambda2/.opam-switch/build/ocamlfind.1.9.8'
- make[1]: Leaving directory '/home/opam/.opam/5.2.0+flambda2/.opam-switch/build/ocamlfind.1.9.8'
Processing  3/6: [ocamlfind: make opt]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "make" "opt" (CWD=/home/opam/.opam/5.2.0+flambda2/.opam-switch/build/ocamlfind.1.9.8)
- for p in findlib; do ( cd src/$p; make opt ) || exit; done
- make[1]: Entering directory '/home/opam/.opam/5.2.0+flambda2/.opam-switch/build/ocamlfind.1.9.8/src/findlib'
- ocamlopt -I +compiler-libs -g -opaque  -I +unix -I +dynlink -c fl_compat.ml
- ocamlopt -I +compiler-libs -g -opaque  -I +unix -I +dynlink -c fl_split.ml
- ocamlopt -I +compiler-libs -g -opaque  -I +unix -I +dynlink -c findlib_config.ml
- ocamlopt -I +compiler-libs -g -opaque  -I +unix -I +dynlink -c fl_metatoken.ml
- ocamlopt -I +compiler-libs -g -opaque  -I +unix -I +dynlink -c fl_meta.ml
- ocamlopt -I +compiler-libs -g -opaque  -I +unix -I +dynlink -c fl_metascanner.ml
- ocamlopt -I +compiler-libs -g -opaque  -I +unix -I +dynlink -c fl_topo.ml
- ocamlopt -I +compiler-libs -g -opaque  -I +unix -I +dynlink -c fl_package_base.ml
- ocamlopt -I +compiler-libs -g -opaque  -I +unix -I +dynlink -c findlib.ml
- ocamlopt -I +compiler-libs -g -opaque  -I +unix -I +dynlink -c fl_args.ml
- ocamlopt -I +compiler-libs -g -opaque  -I +unix -I +dynlink -c fl_lint.ml
- ocamlopt -I +compiler-libs -g -a -o findlib.cmxa fl_compat.cmx fl_split.cmx findlib_config.cmx fl_metatoken.cmx fl_meta.cmx fl_metascanner.cmx fl_topo.cmx fl_package_base.cmx findlib.cmx fl_args.cmx fl_lint.cmx
- if [ 1 -gt 0 ]; then \
-     ocamlopt -I +compiler-libs -g -shared -o findlib.cmxs fl_compat.cmx fl_split.cmx findlib_config.cmx fl_metatoken.cmx fl_meta.cmx fl_metascanner.cmx fl_topo.cmx fl_package_base.cmx findlib.cmx fl_args.cmx fl_lint.cmx; \
- fi
- ocamlopt -I +compiler-libs -g -opaque  -I +unix -I +dynlink -c ocaml_args.ml
- ocamlopt -I +compiler-libs -g -opaque  -I +unix -I +dynlink -c frontend.ml
- File "frontend.ml", line 385, characters 6-16:
- 385 |       Sys.signal Sys.sigint Sys.Signal_ignore in
-             ^^^^^^^^^^
- Alert unsafe_multidomain: Stdlib.Sys.signal
- Use [Sys.Safe.signal].
- 
- File "frontend.ml", line 428, characters 4-18:
- 428 |     Sys.set_signal Sys.sigint old_sigint;
-           ^^^^^^^^^^^^^^
- Alert unsafe_multidomain: Stdlib.Sys.set_signal
- Use [Sys.Safe.set_signal].
- ocamlopt -I +compiler-libs -g -o ocamlfind_opt findlib.cmxa unix.cmxa \
- 	   -I +unix -I +dynlink ocaml_args.cmx frontend.cmx
- ocamlopt -I +compiler-libs -g -opaque  -I +unix -I +dynlink -c topfind.ml
- File "topfind.ml", line 128, characters 40-63:
- 128 |                      match Hashtbl.find Toploop.directive_table "ppx" with
-                                               ^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: Toploop.directive_table
- 
- File "topfind.ml", line 258, characters 4-27:
- 258 |     Toploop.directive_table
-           ^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: Toploop.directive_table
- 
- File "topfind.ml", line 268, characters 4-27:
- 268 |     Toploop.directive_table
-           ^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: Toploop.directive_table
- 
- File "topfind.ml", line 280, characters 4-27:
- 280 |     Toploop.directive_table
-           ^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: Toploop.directive_table
- 
- File "topfind.ml", line 293, characters 4-27:
- 293 |     Toploop.directive_table
-           ^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: Toploop.directive_table
- 
- File "topfind.ml", line 307, characters 4-27:
- 307 |     Toploop.directive_table
-           ^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: Toploop.directive_table
- 
- File "topfind.ml", line 319, characters 4-27:
- 319 |     Toploop.directive_table
-           ^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: Toploop.directive_table
- 
- File "_none_", line 1:
- Warning 58 [no-cmx-file]: no cmx file was found in path for module Topdirs, and its interface was not compiled with -opaque
- 
- File "_none_", line 1:
- Warning 58 [no-cmx-file]: no cmx file was found in path for module Toploop, and its interface was not compiled with -opaque
- ocamlopt -I +compiler-libs -g -a -o findlib_top.cmxa topfind.cmx
- if [ 1 -gt 0 ]; then \
-     ocamlopt -I +compiler-libs -g -shared -o findlib_top.cmxs topfind.cmx; \
- fi
- ocamlopt -I +compiler-libs -g -opaque  -I +unix -I +dynlink -c fl_dynload.ml
- ocamlopt -I +compiler-libs -g -a -o findlib_dynload.cmxa fl_dynload.cmx
- if [ 1 -gt 0 ]; then \
-     ocamlopt -I +compiler-libs -g -shared -o findlib_dynload.cmxs fl_dynload.cmx; \
- fi
- make[1]: Leaving directory '/home/opam/.opam/5.2.0+flambda2/.opam-switch/build/ocamlfind.1.9.8/src/findlib'
-> compiled  ocamlfind.1.9.8
Processing  4/6: [ocamlfind: make install]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "install" "make" "install" (CWD=/home/opam/.opam/5.2.0+flambda2/.opam-switch/build/ocamlfind.1.9.8)
- if [ "0" -eq 1 ]; then \
-     for x in camlp4 dbm graphics labltk num ocamlbuild; do \
-       if [ -f "/home/opam/.opam/5.2.0+flambda2/lib/$x/META" ]; then \
-         if ! grep -Fq '[distributed with Ocaml]' "//home/opam/.opam/5.2.0+flambda2/lib/$x/META"; then \
-           rm -f site-lib-src/$x/META; \
-         fi; \
-       fi; \
-     done; \
-     test -f "site-lib-src/num/META" || rm -f "site-lib-src/num-top/META"; \
-   fi
- echo 'SITELIB_META =' > Makefile.packages.in
- for x in `ls site-lib-src`; do test ! -f "site-lib-src/$x/META" || echo $x >> Makefile.packages.in; done
- tr '\n' ' ' < Makefile.packages.in > Makefile.packages
- rm Makefile.packages.in
- install -d "/home/opam/.opam/5.2.0+flambda2/bin"
- install -d "/home/opam/.opam/5.2.0+flambda2/man"
- make install-config
- make[1]: Entering directory '/home/opam/.opam/5.2.0+flambda2/.opam-switch/build/ocamlfind.1.9.8'
- install -d "`dirname \"/home/opam/.opam/5.2.0+flambda2/lib/findlib.conf\"`"
- test -f "/home/opam/.opam/5.2.0+flambda2/lib/findlib.conf" || cp findlib.conf "/home/opam/.opam/5.2.0+flambda2/lib/findlib.conf"
- make[1]: Leaving directory '/home/opam/.opam/5.2.0+flambda2/.opam-switch/build/ocamlfind.1.9.8'
- for p in findlib; do ( cd src/$p; make install ); done
- make[1]: Entering directory '/home/opam/.opam/5.2.0+flambda2/.opam-switch/build/ocamlfind.1.9.8/src/findlib'
- install -d "/home/opam/.opam/5.2.0+flambda2/lib/findlib"
- install -d "/home/opam/.opam/5.2.0+flambda2/bin"
- test 1 -eq 0 || install -d "/home/opam/.opam/5.2.0+flambda2/lib/ocaml"
- test 1 -eq 0 || cp topfind "/home/opam/.opam/5.2.0+flambda2/lib/ocaml/"
- files=` ../../tools/collect_files ../../Makefile.config \
- findlib.cmi findlib.mli findlib.cma findlib.cmxa findlib.a findlib.cmxs \
- findlib_config.cmi findlib_config.ml topfind.cmi topfind.mli \
- fl_args.cmi fl_lint.cmi fl_meta.cmi fl_split.cmi fl_topo.cmi ocaml_args.cmi \
- fl_package_base.mli fl_package_base.cmi fl_metascanner.mli fl_metascanner.cmi \
- fl_metatoken.cmi findlib_top.cma findlib_top.cmxa findlib_top.a findlib_top.cmxs \
- findlib_dynload.cma findlib_dynload.cmxa findlib_dynload.a findlib_dynload.cmxs fl_dynload.mli fl_dynload.cmi \
- META` && \
- cp $files "/home/opam/.opam/5.2.0+flambda2/lib/findlib/"
- f="ocamlfind"; { test -f ocamlfind_opt && f="ocamlfind_opt"; }; \
- install -c $f "/home/opam/.opam/5.2.0+flambda2/bin/ocamlfind"
- # the following "if" block is only needed for 4.00beta2
- if [ 1 -eq 0 -a -f "/home/opam/.opam/5.2.0+flambda2/lib/ocaml/compiler-libs/topdirs.cmi" ]; then \
-     cd "/home/opam/.opam/5.2.0+flambda2/lib/ocaml/compiler-libs/"; \
-     cp topdirs.cmi toploop.cmi "/home/opam/.opam/5.2.0+flambda2/lib/findlib/"; \
- fi
- make[1]: Leaving directory '/home/opam/.opam/5.2.0+flambda2/.opam-switch/build/ocamlfind.1.9.8/src/findlib'
- make install-meta
- make[1]: Entering directory '/home/opam/.opam/5.2.0+flambda2/.opam-switch/build/ocamlfind.1.9.8'
- for x in bytes ; do install -d "/home/opam/.opam/5.2.0+flambda2/lib/$x"; cp site-lib-src/$x/META "/home/opam/.opam/5.2.0+flambda2/lib/$x/META.tmp" && mv "/home/opam/.opam/5.2.0+flambda2/lib/$x/META.tmp" "/home/opam/.opam/5.2.0+flambda2/lib/$x/META"; done
- install -d "/home/opam/.opam/5.2.0+flambda2/lib/findlib"; cp Makefile.packages "/home/opam/.opam/5.2.0+flambda2/lib/findlib/Makefile.packages"
- make[1]: Leaving directory '/home/opam/.opam/5.2.0+flambda2/.opam-switch/build/ocamlfind.1.9.8'
- test ! -f 'site-lib-src/num-top/META' || { cd src/findlib; make install-num-top; }
- test ! -f 'site-lib-src/camlp4/META' ||	install -c tools/safe_camlp4 "/home/opam/.opam/5.2.0+flambda2/bin"
- make install-doc
- make[1]: Entering directory '/home/opam/.opam/5.2.0+flambda2/.opam-switch/build/ocamlfind.1.9.8'
- install -d "/home/opam/.opam/5.2.0+flambda2/man/man1" "/home/opam/.opam/5.2.0+flambda2/man/man3" "/home/opam/.opam/5.2.0+flambda2/man/man5"
- cp doc/ref-man/ocamlfind.1 "/home/opam/.opam/5.2.0+flambda2/man/man1"
- cp: cannot stat 'doc/ref-man/ocamlfind.1': No such file or directory
- make[1]: [Makefile:91: install-doc] Error 1 (ignored)
- cp doc/ref-man/META.5 doc/ref-man/site-lib.5 doc/ref-man/findlib.conf.5 "/home/opam/.opam/5.2.0+flambda2/man/man5"
- cp: cannot stat 'doc/ref-man/META.5': No such file or directory
- cp: cannot stat 'doc/ref-man/site-lib.5': No such file or directory
- cp: cannot stat 'doc/ref-man/findlib.conf.5': No such file or directory
- make[1]: [Makefile:92: install-doc] Error 1 (ignored)
- make[1]: Leaving directory '/home/opam/.opam/5.2.0+flambda2/.opam-switch/build/ocamlfind.1.9.8'
-> installed ocamlfind.1.9.8
Processing  5/6: [freetds: ./configure]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "./configure" "--prefix" "/home/opam/.opam/5.2.0+flambda2" "--sbindir=/home/opam/.opam/5.2.0+flambda2/lib/freetds/sbin" "--libexecdir=/home/opam/.opam/5.2.0+flambda2/lib/freetds/libexec" "--sysconfdir=/home/opam/.opam/5.2.0+flambda2/lib/freetds/etc" "--sharedstatedir=/home/opam/.opam/5.2.0+flambda2/lib/freetds/com" "--localstatedir=/home/opam/.opam/5.2.0+flambda2/lib/freetds/var" "--libdir=/home/opam/.opam/5.2.0+flambda2/lib/freetds/lib" "--includedir=/home/opam/.opam/5.2.0+flambda2/lib/freetds/include" "--datarootdir=/home/opam/.opam/5.2.0+flambda2/lib/freetds/share" (CWD=/home/opam/.opam/5.2.0+flambda2/.opam-switch/build/freetds.0.5.1)
- configuring freetds 0.5.1
- checking for ocamlc... ocamlc
- OCaml version is 5.2.0+jst
- OCaml library path is /home/opam/.opam/5.2.0+flambda2/lib/ocaml
- checking for ocamlopt... ocamlopt
- checking for ocamlc.opt... ocamlc.opt
- checking for ocamlopt.opt... ocamlopt.opt
- checking for ocaml... ocaml
- checking for ocamldep... ocamldep
- checking for ocamlmktop... ocamlmktop
- checking for ocamlmklib... ocamlmklib
- checking for ocamldoc... ocamldoc
- checking for ocamlbuild... no
- checking for ocamlfind... ocamlfind
- checking for OCaml compiler word size... 
- 64
- 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
- checking for dbopen in -lsybdb... yes
- checking for ct_init in -lct... yes
- configure: creating ./config.status
- config.status: creating Makefile.ocaml
- config.status: creating src/META
- config.status: creating Makefile
- config.status: creating src/Makefile
Processing  5/6: [freetds: make]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "make" (CWD=/home/opam/.opam/5.2.0+flambda2/.opam-switch/build/freetds.0.5.1)
- make -C src byte
- make[1]: Entering directory '/home/opam/.opam/5.2.0+flambda2/.opam-switch/build/freetds.0.5.1/src'
- Building .depend.ocaml ... 
- ocamlc.opt  -dtypes -g   -c ct.mli
- ocamlc.opt  -dtypes -g   -c ct.ml
- File "ct.ml", line 116, characters 28-55:
- 116 |     List.iter (fun (x,y) -> Callback.register_exception x y)
-                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Alert unsafe_multidomain: Stdlib.Callback.register_exception
- Use [Callback.Safe.register_exception].
- 
- 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 36, characters 2-19:
- 36 |   Callback.register "Freetds.Dblib.err_handler" f
-        ^^^^^^^^^^^^^^^^^
- Alert unsafe_multidomain: Stdlib.Callback.register
- Use [Callback.Safe.register].
- 
- File "dblib.ml", line 44, characters 2-29:
- 44 |   Callback.register_exception "Freetds.Dblib.Error"
-        ^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Alert unsafe_multidomain: Stdlib.Callback.register_exception
- Use [Callback.Safe.register_exception].
- 
- 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.2.0+flambda2/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.2.0+flambda2/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.2.0+flambda2/lib/ocaml/caml/memory.h:456:27: note: in definition of macro 'Store_field'
-   456 |   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.2.0+flambda2/lib/ocaml/caml/alloc.h:21,
-                  from ct_c.c:24:
- /home/opam/.opam/5.2.0+flambda2/lib/ocaml/caml/mlvalues.h:507:24: warning: passing argument 4 of 'ct_con_props' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   507 | #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.2.0+flambda2/lib/ocaml/caml/mlvalues.h:507:24: warning: passing argument 2 of 'ct_connect' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   507 | #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.2.0+flambda2/lib/ocaml/caml/memory.h:456:27: note: in definition of macro 'Store_field'
-   456 |   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.2.0+flambda2/lib/ocaml/caml/memory.h:456:27: note: in definition of macro 'Store_field'
-   456 |   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.2.0+flambda2/lib/ocaml/caml/mlvalues.h:507:24: warning: passing argument 1 of 'strncpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   507 | #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.2.0+flambda2/lib/ocaml/caml/mlvalues.h:507:24: warning: passing argument 1 of 'strncpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   507 | #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.2.0+flambda2/lib/ocaml/caml/mlvalues.h:507:24: warning: passing argument 1 of 'strncpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   507 | #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.2.0+flambda2/lib/ocaml/caml/mlvalues.h:507:24: warning: passing argument 1 of 'strncpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   507 | #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.2.0+flambda2/lib/ocaml/caml/mlvalues.h:507:24: warning: passing argument 1 of 'strncpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   507 | #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.2.0+flambda2/.opam-switch/build/freetds.0.5.1/src'
- make: *** [Makefile:22: byte] Error 2
[ERROR] The compilation of freetds.0.5.1 failed at "make".

#=== ERROR while compiling freetds.0.5.1 ======================================#
# context              2.4.0~alpha1 | linux/x86_64 | ocaml-variants.5.2.0+flambda2 | file:///home/opam/opam-repository
# path                 ~/.opam/5.2.0+flambda2/.opam-switch/build/freetds.0.5.1
# command              ~/.opam/opam-init/hooks/sandbox.sh build make
# exit-code            2
# env-file             ~/.opam/log/freetds-8-01c2f5.env
# output-file          ~/.opam/log/freetds-8-01c2f5.out
### output ###
# make -C src byte
# make[1]: Entering directory '/home/opam/.opam/5.2.0+flambda2/.opam-switch/build/freetds.0.5.1/src'
# Building .depend.ocaml ... 
# ocamlc.opt  -dtypes -g   -c ct.mli
# ocamlc.opt  -dtypes -g   -c ct.ml
# File "ct.ml", line 116, characters 28-55:
# 116 |     List.iter (fun (x,y) -> Callback.register_exception x y)
#                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^
# Alert unsafe_multidomain: Stdlib.Callback.register_exception
# Use [Callback.Safe.register_exception].
# 
# 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 36, characters 2-19:
# 36 |   Callback.register "Freetds.Dblib.err_handler" f
#        ^^^^^^^^^^^^^^^^^
# Alert unsafe_multidomain: Stdlib.Callback.register
# Use [Callback.Safe.register].
# 
# File "dblib.ml", line 44, characters 2-29:
# 44 |   Callback.register_exception "Freetds.Dblib.Error"
#        ^^^^^^^^^^^^^^^^^^^^^^^^^^^
# Alert unsafe_multidomain: Stdlib.Callback.register_exception
# Use [Callback.Safe.register_exception].
# 
# 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.2.0+flambda2/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.2.0+flambda2/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.2.0+flambda2/lib/ocaml/caml/memory.h:456:27: note: in definition of macro 'Store_field'
#   456 |   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.2.0+flambda2/lib/ocaml/caml/alloc.h:21,
#                  from ct_c.c:24:
# /home/opam/.opam/5.2.0+flambda2/lib/ocaml/caml/mlvalues.h:507:24: warning: passing argument 4 of 'ct_con_props' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
#   507 | #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.2.0+flambda2/lib/ocaml/caml/mlvalues.h:507:24: warning: passing argument 2 of 'ct_connect' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
#   507 | #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.2.0+flambda2/lib/ocaml/caml/memory.h:456:27: note: in definition of macro 'Store_field'
#   456 |   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.2.0+flambda2/lib/ocaml/caml/memory.h:456:27: note: in definition of macro 'Store_field'
#   456 |   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.2.0+flambda2/lib/ocaml/caml/mlvalues.h:507:24: warning: passing argument 1 of 'strncpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
#   507 | #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.2.0+flambda2/lib/ocaml/caml/mlvalues.h:507:24: warning: passing argument 1 of 'strncpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
#   507 | #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.2.0+flambda2/lib/ocaml/caml/mlvalues.h:507:24: warning: passing argument 1 of 'strncpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
#   507 | #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.2.0+flambda2/lib/ocaml/caml/mlvalues.h:507:24: warning: passing argument 1 of 'strncpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
#   507 | #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.2.0+flambda2/lib/ocaml/caml/mlvalues.h:507:24: warning: passing argument 1 of 'strncpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
#   507 | #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.2.0+flambda2/.opam-switch/build/freetds.0.5.1/src'
# make: *** [Makefile:22: byte] Error 2



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build freetds 0.5.1
+- 
+- 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.2.0+flambda2/.opam-switch/backup/state-20250513233347.export"
'opam install -vy freetds.0.5.1' failed.
"/usr/bin/env" "bash" "-c" "opam remove -y freetds.0.5.1
opam install -vy freetds.0.5.1
res=$?
if [ $res = 31 ]; then
    if opam show -f x-ci-accept-failures: freetds.0.5.1 | grep -q 'debian-unstable'; then
        echo "This package failed and has been disabled for CI using the 'x-ci-accept-failures' field."
        exit 69
    fi
fi 


exit $res" failed with exit status 31
Failed: Build failed