Build:
- 0
2026-06-16 12:13.00: New job: build libssh.0.1 (eace1c70f90c)
2026-06-16 12:13.00: Waiting for resource in pool day11-builds
2026-06-16 12:50.11: Got resource from pool day11-builds
2026-06-16 12:50.11: [profile full] build libssh.0.1
2026-06-16 12:50.11: build libssh.0.1 (eace1c70f90c)
=== DEPENDENCIES (11 transitive) ===
base-threads.base b7164ff76afe
base-unix.base 839dc585f12d
dune.3.23.1 5402470d931c
oasis.0.4.11 c7c4c52b1bdc
ocaml.4.14.4 cb826ea44eb2
ocaml-base-compiler.4.14.4 d2f775f983d7
ocaml-config.2 669e0fcf9e4d
ocamlbuild.0.16.1 8f6c52e6fce8
ocamlfind.1.9.8 6025f4a8e98e
ocamlify.0.0.1 7283ee0bdaa9
ocamlmod.0.1.1 77e75eab2138
=== STDOUT ===
Processing: [default: loading data]
The following system packages will first need to be installed:
libssh-dev
<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "libssh-dev"
- debconf: delaying package configuration, since apt-utils is not installed
- Selecting previously unselected package libssh-4:amd64.
- (Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 18247 files and directories currently installed.)
- Preparing to unpack .../libssh-4_0.10.6-0+deb12u2_amd64.deb ...
- Unpacking libssh-4:amd64 (0.10.6-0+deb12u2) ...
- Selecting previously unselected package libssl-dev:amd64.
- Preparing to unpack .../libssl-dev_3.0.20-1~deb12u2_amd64.deb ...
- Unpacking libssl-dev:amd64 (3.0.20-1~deb12u2) ...
- Selecting previously unselected package zlib1g-dev:amd64.
- Preparing to unpack .../zlib1g-dev_1%3a1.2.13.dfsg-1_amd64.deb ...
- Unpacking zlib1g-dev:amd64 (1:1.2.13.dfsg-1) ...
- Selecting previously unselected package libssh-dev:amd64.
- Preparing to unpack .../libssh-dev_0.10.6-0+deb12u2_amd64.deb ...
- Unpacking libssh-dev:amd64 (0.10.6-0+deb12u2) ...
- Setting up libssl-dev:amd64 (3.0.20-1~deb12u2) ...
- Setting up libssh-4:amd64 (0.10.6-0+deb12u2) ...
- Setting up zlib1g-dev:amd64 (1:1.2.13.dfsg-1) ...
- Setting up libssh-dev:amd64 (0.10.6-0+deb12u2) ...
- Processing triggers for libc-bin (2.36-9+deb12u14) ...
[libssh.0.1: dl]
[libssh.0.1: extract]
-> retrieved libssh.0.1 (https://opam.ocaml.org/cache)
[libssh: oasis setup]
+ /home/opam/.opam/default/bin/oasis "setup" (CWD=/home/opam/.opam/default/.opam-switch/build/libssh.0.1)
[libssh: ocaml setup.ml]
+ /home/opam/.opam/default/bin/ocaml "setup.ml" "-configure" "--prefix" "/home/opam/.opam/default" (CWD=/home/opam/.opam/default/.opam-switch/build/libssh.0.1)
- File "./setup.ml", line 575, characters 4-15:
- 575 | Stream.from next
- ^^^^^^^^^^^
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "./setup.ml", line 603, characters 19-36:
- 603 | let strm = Stream.of_channel chn in
- ^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "./setup.ml", line 610, characters 37-48:
- 610 | Buffer.add_char buf (Stream.next strm);
- ^^^^^^^^^^^
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "./setup.ml", line 613, characters 17-31:
- 613 | with Stream.Failure ->
- ^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "./setup.ml", line 1431, characters 16-33:
- 1431 | let lxr = Genlex.make_lexer [] in
- ^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "./setup.ml", line 1433, characters 22-38:
- 1433 | let st = lxr (Stream.of_string s) in
- ^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "./setup.ml", line 1434, characters 14-26:
- 1434 | match Stream.npeek 3 st with
- ^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "./setup.ml", line 1435, characters 11-23:
- 1435 | | [Genlex.Ident fn; Genlex.Ident nm] -> Call(fn, Ident nm)
- ^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "./setup.ml", line 1435, characters 28-40:
- 1435 | | [Genlex.Ident fn; Genlex.Ident nm] -> Call(fn, Ident nm)
- ^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "./setup.ml", line 1436, characters 11-23:
- 1436 | | [Genlex.Ident fn; Genlex.String str] -> Call(fn, String str)
- ^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "./setup.ml", line 1436, characters 28-41:
- 1436 | | [Genlex.Ident fn; Genlex.String str] -> Call(fn, String str)
- ^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "./setup.ml", line 1437, characters 11-24:
- 1437 | | [Genlex.String str] -> String str
- ^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "./setup.ml", line 1438, characters 11-23:
- 1438 | | [Genlex.Ident nm] -> Ident nm
- ^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "./setup.ml", line 1775, characters 22-40:
- 1775 | let compare = Pervasives.compare
- ^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
-
- If you need to stay compatible with OCaml < 4.07, you can use the
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- File "setup.ml", line 3176, characters 8-19:
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "setup.ml", line 3179, characters 21-32:
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "setup.ml", line 3182, characters 18-32:
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "setup.ml", line 3184, characters 6-23:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 3187, characters 12-24:
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "setup.ml", line 3188, characters 9-21:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 3188, characters 26-36:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 3188, characters 42-55:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 3189, characters 8-19:
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "setup.ml", line 3189, characters 25-36:
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "setup.ml", line 3189, characters 42-53:
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "setup.ml", line 3201, characters 17-34:
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "setup.ml", line 3326, characters 16-33:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 3345, characters 22-38:
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "setup.ml", line 3347, characters 17-29:
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "setup.ml", line 3348, characters 16-28:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 3348, characters 37-49:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 3350, characters 16-28:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 3350, characters 37-50:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 3352, characters 16-28:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 3352, characters 46-58:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 3354, characters 16-28:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 3354, characters 46-59:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 3356, characters 16-28:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 3369, characters 13-25:
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "setup.ml", line 3467, characters 16-34:
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
-
- If you need to stay compatible with OCaml < 4.07, you can use the
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- File "setup.ml", line 4518, characters 21-38:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 4520, characters 19-31:
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "setup.ml", line 4521, characters 16-29:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 4521, characters 33-46:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 4523, characters 15-26:
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "setup.ml", line 4523, characters 32-43:
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
-
- Configuration:
- ocamlfind: ........................................... /home/opam/.opam/default/bin/ocamlfind
- ocamlc: .............................................. /home/opam/.opam/default/bin/ocamlc.opt
- ocamlopt: ............................................ /home/opam/.opam/default/bin/ocamlopt.opt
- ocamlbuild: .......................................... /home/opam/.opam/default/bin/ocamlbuild
- Package name: ........................................ libssh
- Package version: ..................................... 0.1
- os_type: ............................................. Unix
- system: .............................................. linux
- architecture: ........................................ amd64
- ccomp_type: .......................................... cc
- ocaml_version: ....................................... 4.14.4
- standard_library_default: ............................ /home/opam/.opam/default/lib/ocaml
- standard_library: .................................... /home/opam/.opam/default/lib/ocaml
- bytecomp_c_compiler: ................................. gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64
- native_c_compiler: ................................... gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64
- model: ............................................... default
- ext_obj: ............................................. .o
- ext_asm: ............................................. .s
- ext_lib: ............................................. .a
- ext_dll: ............................................. .so
- default_executable_name: ............................. a.out
- systhread_supported: ................................. true
- Install architecture-independent files dir: .......... /home/opam/.opam/default
- Install architecture-dependent files in dir: ......... $prefix
- User executables: .................................... $exec_prefix/bin
- System admin executables: ............................ $exec_prefix/sbin
- Program executables: ................................. $exec_prefix/libexec
- Read-only single-machine data: ....................... $prefix/etc
- Modifiable architecture-independent data: ............ $prefix/com
- Modifiable single-machine data: ...................... $prefix/var
- Object code libraries: ............................... $exec_prefix/lib
- Read-only arch-independent data root: ................ $prefix/share
- Read-only architecture-independent data: ............. $datarootdir
- Info documentation: .................................. $datarootdir/info
- Locale-dependent data: ............................... $datarootdir/locale
- Man documentation: ................................... $datarootdir/man
- Documentation root: .................................. $datarootdir/doc/$pkg_name
- HTML documentation: .................................. $docdir
- DVI documentation: ................................... $docdir
- PDF documentation: ................................... $docdir
- PS documentation: .................................... $docdir
- findlib_version: ..................................... 1.9.8
- is_native: ........................................... true
- suffix_program: ......................................
- Remove a file.: ...................................... rm -f
- Remove a directory.: ................................. rm -rf
- Turn ocaml debug flag on: ............................ true
- Turn ocaml profile flag on: .......................... false
- Compiler support generation of .cmxs.: ............... true
- OCamlbuild additional flags: .........................
- Create documentations: ............................... true
- Compile tests executable and library and run them: ... false
- ocamldoc: ............................................ /home/opam/.opam/default/bin/ocamldoc
-
[libssh: ocaml setup.ml]
+ /home/opam/.opam/default/bin/ocaml "setup.ml" "-build" (CWD=/home/opam/.opam/default/.opam-switch/build/libssh.0.1)
- File "./setup.ml", line 575, characters 4-15:
- 575 | Stream.from next
- ^^^^^^^^^^^
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "./setup.ml", line 603, characters 19-36:
- 603 | let strm = Stream.of_channel chn in
- ^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "./setup.ml", line 610, characters 37-48:
- 610 | Buffer.add_char buf (Stream.next strm);
- ^^^^^^^^^^^
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "./setup.ml", line 613, characters 17-31:
- 613 | with Stream.Failure ->
- ^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "./setup.ml", line 1431, characters 16-33:
- 1431 | let lxr = Genlex.make_lexer [] in
- ^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "./setup.ml", line 1433, characters 22-38:
- 1433 | let st = lxr (Stream.of_string s) in
- ^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "./setup.ml", line 1434, characters 14-26:
- 1434 | match Stream.npeek 3 st with
- ^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "./setup.ml", line 1435, characters 11-23:
- 1435 | | [Genlex.Ident fn; Genlex.Ident nm] -> Call(fn, Ident nm)
- ^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "./setup.ml", line 1435, characters 28-40:
- 1435 | | [Genlex.Ident fn; Genlex.Ident nm] -> Call(fn, Ident nm)
- ^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "./setup.ml", line 1436, characters 11-23:
- 1436 | | [Genlex.Ident fn; Genlex.String str] -> Call(fn, String str)
- ^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "./setup.ml", line 1436, characters 28-41:
- 1436 | | [Genlex.Ident fn; Genlex.String str] -> Call(fn, String str)
- ^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "./setup.ml", line 1437, characters 11-24:
- 1437 | | [Genlex.String str] -> String str
- ^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "./setup.ml", line 1438, characters 11-23:
- 1438 | | [Genlex.Ident nm] -> Ident nm
- ^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "./setup.ml", line 1775, characters 22-40:
- 1775 | let compare = Pervasives.compare
- ^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
-
- If you need to stay compatible with OCaml < 4.07, you can use the
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- File "setup.ml", line 3176, characters 8-19:
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "setup.ml", line 3179, characters 21-32:
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "setup.ml", line 3182, characters 18-32:
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "setup.ml", line 3184, characters 6-23:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 3187, characters 12-24:
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "setup.ml", line 3188, characters 9-21:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 3188, characters 26-36:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 3188, characters 42-55:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 3189, characters 8-19:
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "setup.ml", line 3189, characters 25-36:
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "setup.ml", line 3189, characters 42-53:
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "setup.ml", line 3201, characters 17-34:
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "setup.ml", line 3326, characters 16-33:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 3345, characters 22-38:
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "setup.ml", line 3347, characters 17-29:
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "setup.ml", line 3348, characters 16-28:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 3348, characters 37-49:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 3350, characters 16-28:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 3350, characters 37-50:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 3352, characters 16-28:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 3352, characters 46-58:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 3354, characters 16-28:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 3354, characters 46-59:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 3356, characters 16-28:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 3369, characters 13-25:
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "setup.ml", line 3467, characters 16-34:
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
-
- If you need to stay compatible with OCaml < 4.07, you can use the
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- File "setup.ml", line 4518, characters 21-38:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 4520, characters 19-31:
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "setup.ml", line 4521, characters 16-29:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 4521, characters 33-46:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 4523, characters 15-26:
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "setup.ml", line 4523, characters 32-43:
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- + ocamlfind ocamlc -config
- + ocamlfind ocamlopt unix.cmxa -I /home/opam/.opam/default/lib/ocamlbuild /home/opam/.opam/default/lib/ocamlbuild/ocamlbuildlib.cmxa -linkpkg myocamlbuild.ml /home/opam/.opam/default/lib/ocamlbuild/ocamlbuild.cmx -o myocamlbuild
- + ocamlfind ocamlc -config
- + /home/opam/.opam/default/bin/ocamlfind ocamlc -g -ccopt -g -ccopt -Wextra -ccopt -Wall -c src/libssh_stubs.c
- + /home/opam/.opam/default/bin/ocamlfind ocamlc -g -ccopt -g -ccopt -Wextra -ccopt -Wall -c src/libssh_stubs.c
- src/libssh_stubs.c: In function 'verify_server':
- src/libssh_stubs.c:63:3: warning: 'ssh_is_server_known' is deprecated [-Wdeprecated-declarations]
- 63 | switch (ssh_is_server_known(this_sess)) {
- | ^~~~~~
- In file included from src/libssh_stubs.c:17:
- /usr/include/libssh/libssh.h:557:31: note: declared here
- 557 | SSH_DEPRECATED LIBSSH_API int ssh_is_server_known(ssh_session session);
- | ^~~~~~~~~~~~~~~~~~~
- src/libssh_stubs.c: In function 'libssh_ml_ssh_exec':
- src/libssh_stubs.c:124:13: warning: "output_val" is deprecated: use "caml_output_val" instead
- 124 | CAMLlocal1(output_val);
- | ^~~~~~~~~~~~~
- In file included from src/libssh_stubs.c:13:
- src/libssh_stubs.c:124:24: error: expected declaration specifiers or '...' before string constant
- 124 | CAMLlocal1(output_val);
- | ^
- /home/opam/.opam/default/lib/ocaml/caml/memory.h:344:42: note: in definition of macro 'CAMLxparam1'
- 344 | struct caml__roots_block caml__roots_##x; \
- | ^
- src/libssh_stubs.c:124:3: note: in expansion of macro 'CAMLlocal1'
- 124 | CAMLlocal1(output_val);
- | ^~~~~~~~~~
- /home/opam/.opam/default/lib/ocaml/caml/misc.h:53:30: note: in expansion of macro 'CAML_STRINGIFY'
[ERROR] The compilation of libssh.0.1 failed at "ocaml setup.ml -build".
- 53 | #define CAML_MAKEWARNING1(x) CAML_STRINGIFY(GCC warning x)
- | ^~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/ocaml/caml/misc.h:55:30: note: in expansion of macro 'CAML_MAKEWARNING1'
- 55 | #define CAML_MAKEWARNING2(y) CAML_MAKEWARNING1(#y)
- | ^~~~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/ocaml/caml/misc.h:56:39: note: in expansion of macro 'CAML_MAKEWARNING2'
- 56 | #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x))
- | ^~~~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/ocaml/caml/misc.h:58:3: note: in expansion of macro 'CAML_PREPROWARNING'
- 58 | CAML_PREPROWARNING(name1 is deprecated: use name2 instead)
- | ^~~~~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/ocaml/caml/compatibility.h:90:20: note: in expansion of macro 'CAML_DEPRECATED'
- 90 | #define output_val CAML_DEPRECATED("output_val", "caml_output_val") caml_output_val
- | ^~~~~~~~~~~~~~~
- src/libssh_stubs.c:124:14: note: in expansion of macro 'output_val'
- 124 | CAMLlocal1(output_val);
- | ^~~~~~~~~~
- src/libssh_stubs.c:124:24: error: expected declaration specifiers or '...' before string constant
- 124 | CAMLlocal1(output_val);
- | ^
- /home/opam/.opam/default/lib/ocaml/caml/memory.h:345:38: note: in definition of macro 'CAMLxparam1'
- 345 | CAMLunused_start int caml__dummy_##x = ( \
- | ^
- src/libssh_stubs.c:124:3: note: in expansion of macro 'CAMLlocal1'
- 124 | CAMLlocal1(output_val);
- | ^~~~~~~~~~
- /home/opam/.opam/default/lib/ocaml/caml/misc.h:53:30: note: in expansion of macro 'CAML_STRINGIFY'
- 53 | #define CAML_MAKEWARNING1(x) CAML_STRINGIFY(GCC warning x)
- | ^~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/ocaml/caml/misc.h:55:30: note: in expansion of macro 'CAML_MAKEWARNING1'
- 55 | #define CAML_MAKEWARNING2(y) CAML_MAKEWARNING1(#y)
- | ^~~~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/ocaml/caml/misc.h:56:39: note: in expansion of macro 'CAML_MAKEWARNING2'
- 56 | #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x))
- | ^~~~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/ocaml/caml/misc.h:58:3: note: in expansion of macro 'CAML_PREPROWARNING'
- 58 | CAML_PREPROWARNING(name1 is deprecated: use name2 instead)
- | ^~~~~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/ocaml/caml/compatibility.h:90:20: note: in expansion of macro 'CAML_DEPRECATED'
- 90 | #define output_val CAML_DEPRECATED("output_val", "caml_output_val") caml_output_val
- | ^~~~~~~~~~~~~~~
- src/libssh_stubs.c:124:14: note: in expansion of macro 'output_val'
- 124 | CAMLlocal1(output_val);
- | ^~~~~~~~~~
- src/libssh_stubs.c:124:13: warning: "output_val" is deprecated: use "caml_output_val" instead
- 124 | CAMLlocal1(output_val);
- | ^~~~~~~~~~~~~
- src/libssh_stubs.c:131:13: warning: "caml_strdup" is deprecated: use "caml_stat_strdup" instead
- 131 | command = caml_strdup(String_val(command_val));
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- src/libssh_stubs.c:138:13: warning: "output_val" is deprecated: use "caml_output_val" instead
- 138 | output_val = caml_copy_string(this_result.output);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- src/libssh_stubs.c:140:13: warning: "output_val" is deprecated: use "caml_output_val" instead
- 140 | CAMLreturn(output_val);
- | ^~~~~~~~~~~~~
- src/libssh_stubs.c: In function 'libssh_ml_ssh_connect':
- src/libssh_stubs.c:161:13: warning: "caml_strdup" is deprecated: use "caml_stat_strdup" instead
- 161 | hostname = caml_strdup(String_val(hostname_val));
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- src/libssh_stubs.c:167:13: warning: "caml_strdup" is deprecated: use "caml_stat_strdup" instead
- 167 | username = caml_strdup(String_val(username_val));
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- src/libssh_stubs.c:149:7: warning: variable 'port' set but not used [-Wunused-but-set-variable]
- 149 | int port, log_level, auth;
- | ^~~~
- src/libssh_stubs.c: In function 'libssh_ml_remote_shell':
- src/libssh_stubs.c:214:13: warning: "caml_strdup" is deprecated: use "caml_stat_strdup" instead
- 214 | char *copied = caml_strdup(String_val(exec_this));
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- src/libssh_stubs.c: In function 'prepare':
- src/libssh_stubs.c:231:3: warning: 'ssh_scp_new' is deprecated [-Wdeprecated-declarations]
- 231 | scp = ssh_scp_new(sess, SSH_SCP_WRITE | SSH_SCP_RECURSIVE, ".");
- | ^~~
- /usr/include/libssh/libssh.h:568:35: note: declared here
- 568 | SSH_DEPRECATED LIBSSH_API ssh_scp ssh_scp_new(ssh_session session, int mode, const char *location);
- | ^~~~~~~~~~~
- src/libssh_stubs.c:235:3: warning: 'ssh_scp_init' is deprecated [-Wdeprecated-declarations]
- 235 | result_code = ssh_scp_init(scp);
- | ^~~~~~~~~~~
- /usr/include/libssh/libssh.h:566:31: note: declared here
- 566 | SSH_DEPRECATED LIBSSH_API int ssh_scp_init(ssh_scp scp);
- | ^~~~~~~~~~~~
- src/libssh_stubs.c: In function 'libssh_ml_ssh_scp':
- src/libssh_stubs.c:251:13: warning: "caml_strdup" is deprecated: use "caml_stat_strdup" instead
- 251 | s_path = caml_strdup(String_val(src_path));
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- src/libssh_stubs.c:258:13: warning: "caml_strdup" is deprecated: use "caml_stat_strdup" instead
- 258 | d_path = caml_strdup(String_val(dest_path));
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- src/libssh_stubs.c:271:3: warning: 'ssh_scp_push_file' is deprecated [-Wdeprecated-declarations]
- 271 | result_code = ssh_scp_push_file(this_scp,
- | ^~~~~~~~~~~
- /usr/include/libssh/libssh.h:571:31: note: declared here
- 571 | SSH_DEPRECATED LIBSSH_API int ssh_scp_push_file(ssh_scp scp, const char *filename, size_t size, int perms);
- | ^~~~~~~~~~~~~~~~~
- src/libssh_stubs.c:246:7: warning: variable 'result_code' set but not used [-Wunused-but-set-variable]
- 246 | int result_code = 0;
- | ^~~~~~~~~~~
- Command exited with code 2.
- + ocamlfind ocamlopt unix.cmxa -I /home/opam/.opam/default/lib/ocamlbuild /home/opam/.opam/default/lib/ocamlbuild/ocamlbuildlib.cmxa -linkpkg myocamlbuild.ml /home/opam/.opam/default/lib/ocamlbuild/ocamlbuild.cmx -o myocamlbuild
- File "myocamlbuild.ml", line 454, characters 8-19:
- 454 | Stream.from
- ^^^^^^^^^^^
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "myocamlbuild.ml", line 457, characters 21-32:
- 457 | match Stream.next st with
- ^^^^^^^^^^^
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "myocamlbuild.ml", line 460, characters 18-32:
- 460 | with Stream.Failure -> None)
- ^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "myocamlbuild.ml", line 462, characters 6-23:
- 462 | Genlex.make_lexer ["="] st_line
- ^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "myocamlbuild.ml", line 465, characters 12-24:
- 465 | match Stream.npeek 3 lxr with
- ^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "myocamlbuild.ml", line 466, characters 9-21:
- 466 | | [Genlex.Ident nm; Genlex.Kwd "="; Genlex.String value] ->
- ^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "myocamlbuild.ml", line 466, characters 26-36:
- 466 | | [Genlex.Ident nm; Genlex.Kwd "="; Genlex.String value] ->
- ^^^^^^^^^^
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "myocamlbuild.ml", line 466, characters 42-55:
- 466 | | [Genlex.Ident nm; Genlex.Kwd "="; Genlex.String value] ->
- ^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "myocamlbuild.ml", line 467, characters 8-19:
- 467 | Stream.junk lxr; Stream.junk lxr; Stream.junk lxr;
- ^^^^^^^^^^^
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "myocamlbuild.ml", line 467, characters 25-36:
- 467 | Stream.junk lxr; Stream.junk lxr; Stream.junk lxr;
- ^^^^^^^^^^^
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "myocamlbuild.ml", line 467, characters 42-53:
- 467 | Stream.junk lxr; Stream.junk lxr; Stream.junk lxr;
- ^^^^^^^^^^^
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "myocamlbuild.ml", line 479, characters 17-34:
- 479 | let st = Stream.of_channel chn in
- ^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- E: Failure("Command ''/home/opam/.opam/default/bin/ocamlbuild' src/libssh_stubs.a src/dllssh_stubs.so src/ssh.cma src/ssh.cmxa src/ssh.a src/ssh.cmxs tests/r_test.native -use-ocamlfind -tag debug' terminated with error code 10")
build failed...
=== STDERR ===
2026-06-16 12:50.31: FAILED: build libssh.0.1
2026-06-16 12:50.31: Job failed: build failed: libssh.0.1