>>> ocaml-curses: Building testing/ocaml-curses 1.0.10-r2 (using abuild 3.12.0-r5) started Sat, 23 Mar 2024 20:19:31 +0000 >>> ocaml-curses: Checking sanity of /home/buildozer/aports/testing/ocaml-curses/APKBUILD... >>> ocaml-curses: Analyzing dependencies... >>> ocaml-curses: Installing for build: build-base dune dune-configurator-dev ncurses-dev ocaml ocaml-csexp-dev (1/20) Installing dune (3.14.2-r1) (2/20) Installing ocaml-runtime (4.14.2-r1) (3/20) Installing ocaml (4.14.2-r1) (4/20) Installing readline (8.2.10-r0) (5/20) Installing bash (5.2.26-r0) Executing bash-5.2.26-r0.post-install (6/20) Installing perl (5.38.2-r0) (7/20) Installing rpm-scripts (4.19.1.1-r0) (8/20) Installing ocaml-abuild-helper (4.14.2-r1) (9/20) Installing dune-configurator (3.14.2-r1) (10/20) Installing libformw (6.4_p20240309-r0) (11/20) Installing libmenuw (6.4_p20240309-r0) (12/20) Installing libpanelw (6.4_p20240309-r0) (13/20) Installing libncurses++ (6.4_p20240309-r0) (14/20) Installing ncurses-dev (6.4_p20240309-r0) (15/20) Installing ocaml-csexp (1.5.1-r3) (16/20) Installing ocaml-csexp-dev (1.5.1-r3) (17/20) Installing .makedepends-ocaml-curses (20240323.201933) (18/20) Installing perl-error (0.17029-r2) (19/20) Installing perl-git (2.44.0-r0) (20/20) Installing git-perl (2.44.0-r0) Executing busybox-1.36.1-r21.trigger OK: 484 MiB in 130 packages >>> ocaml-curses: Cleaning up srcdir >>> ocaml-curses: Cleaning up pkgdir >>> ocaml-curses: Cleaning up tmpdir >>> ocaml-curses: Fetching https://distfiles.alpinelinux.org/distfiles/edge/ocaml-curses-1.0.10.tar.bz2 >>> ocaml-curses: Fetching https://distfiles.alpinelinux.org/distfiles/edge/ocaml-curses-1.0.10.tar.bz2 >>> ocaml-curses: Checking sha512sums... ocaml-curses-1.0.10.tar.bz2: OK >>> ocaml-curses: Unpacking /var/cache/distfiles/ocaml-curses-1.0.10.tar.bz2... Shared cache: disabled Shared cache location: /home/buildozer/.cache/dune/db Workspace root: /home/buildozer/aports/testing/ocaml-curses/src/curses-1.0.10 Auto-detected concurrency: 64 Dune context: { name = "default" ; kind = "default" ; profile = Dev ; merlin = true ; fdo_target_exe = None ; build_dir = In_build_dir "default" ; installed_env = map { "INSIDE_DUNE" : "/home/buildozer/aports/testing/ocaml-curses/src/curses-1.0.10/_build/default" } ; instrument_with = [] } Actual targets: - recursive alias @install Promoting "_build/default/curses.opam" to "curses.opam" Running[1]: (cd _build/default && /usr/bin/ocamlc.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -w -50 -g -bin-annot -I .curses.objs/byte -no-alias-deps -opaque -o .curses.objs/byte/curses.cmi -c -intf curses.mli) Running[2]: (cd _build/default && /usr/bin/ocamlc.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -w -50 -g -bin-annot -I .discover.eobjs/byte -I /usr/lib/ocaml/dune-configurator -I /usr/lib/ocaml/dune-configurator/csexp -no-alias-deps -opaque -o .discover.eobjs/byte/dune__exe__Discover.cmo -c -impl discover.ml) Running[3]: (cd _build/default && /usr/bin/ocamlopt.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -w -50 -g -I .discover.eobjs/byte -I .discover.eobjs/native -I /usr/lib/ocaml/dune-configurator -I /usr/lib/ocaml/dune-configurator/csexp -intf-suffix .ml -no-alias-deps -opaque -o .discover.eobjs/native/dune__exe__Discover.cmx -c -impl discover.ml) Running[4]: (cd _build/default && /usr/bin/ocamlopt.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -w -50 -g -o discover.exe /usr/lib/ocaml/unix.cmxa -I /usr/lib/ocaml /usr/lib/ocaml/dune-configurator/csexp/csexp.cmxa /usr/lib/ocaml/dune-configurator/configurator.cmxa .discover.eobjs/native/dune__exe__Discover.cmx) Running[5]: (cd _build/default && ./discover.exe) Running[6]: (cd _build/default && /bin/sh -c '/usr/bin/gcc -x c -E _curses.ml') > _build/default/curses.ml Running[7]: (cd _build/default && /usr/bin/gcc -no-pie -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -Os -fstack-clash-protection -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=64 -DNCURSES_WIDECHAR -DHAVE_CONFIG_H -g -I /usr/lib/ocaml -o ml_curses.o -c ml_curses.c) Running[8]: (cd _build/default && /usr/bin/ocamlopt.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -w -50 -g -I .curses.objs/byte -I .curses.objs/native -intf-suffix .ml -no-alias-deps -opaque -o .curses.objs/native/curses.cmx -c -impl curses.ml) Running[9]: (cd _build/default && /usr/bin/ocamlc.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -w -50 -g -bin-annot -I .curses.objs/byte -intf-suffix .ml -no-alias-deps -opaque -o .curses.objs/byte/curses.cmo -c -impl curses.ml) ml_curses.c: In function 'putc_callback': ml_curses.c:203:13: warning: "callback_exn" is deprecated: use "caml_callback_exn" instead 203 | ret=callback_exn(putc_function,Val_int(c&255)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ml_curses.c:216: functions.c: In function 'mlcurses_addchstr': functions.c:19:13: warning: "failwith" is deprecated: use "caml_failwith" instead 19 | BEG1 copie(Wosize_val(aa),0,aa) call(addchstr(t)) END | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ functions.c: In function 'mlcurses_waddchstr': functions.c:21:13: warning: "failwith" is deprecated: use "caml_failwith" instead 21 | BEG2 copie(Wosize_val(ab),0,ab) call(waddchstr(a_window(aa),t)) END | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ functions.c: In function 'mlcurses_mvaddchstr': functions.c:23:13: warning: "failwith" is deprecated: use "caml_failwith" instead 23 | BEG3 copie(Wosize_val(ac),0,ac) call(mvaddchstr(a_int(aa),a_int(ab),t)) END | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ functions.c: In function 'mlcurses_mvwaddchstr': functions.c:25:13: warning: "failwith" is deprecated: use "caml_failwith" instead 25 | BEG4 copie(Wosize_val(ad),0,ad) | ^~~~~~~~~~~~~~~~~~~ functions.c: In function 'mlcurses_addchnstr': functions.c:29:13: warning: "failwith" is deprecated: use "caml_failwith" instead 29 | copie(Int_val(ac),i0,aa) | ^~~~~~~~~~~~~~ functions.c: In function 'mlcurses_waddchnstr': functions.c:33:13: warning: "failwith" is deprecated: use "caml_failwith" instead 33 | copie(Int_val(ad),i0,ab) | ^~~~~~~~~~~~~~ functions.c: In function 'mlcurses_mvaddchnstr': functions.c:37:13: warning: "failwith" is deprecated: use "caml_failwith" instead 37 | copie(Int_val(ae),i0,ac) | ^~~~~~~~~~~~~~ functions.c: In function 'mlcurses_mvwaddchnstr_native': functions.c:41:13: warning: "failwith" is deprecated: use "caml_failwith" instead 41 | copie(Int_val(af),i0,ad) | ^~~~~~~~~~~~~~ functions.c: In function 'mlcurses_color_content': functions.c:162:13: warning: "alloc_tuple" is deprecated: use "caml_alloc_tuple" instead 162 | x=y=z=-1; r_int_int_int(x,y,z); END | ^~~~~~~~~~~~~~~~~~~~~~~~~ functions.c: In function 'mlcurses_pair_content': functions.c:165:13: warning: "alloc_tuple" is deprecated: use "caml_alloc_tuple" instead 165 | r_int_int(x,y); END | ^~~~~~~~~ functions.c: In function 'mlcurses_getstr': functions.c:195:13: warning: "string_length" is deprecated: use "caml_string_length" instead 195 | BEG1 r_err(getnstr(a_string(aa),string_length(aa))); END | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ml_curses.c:7: /usr/lib/ocaml/caml/mlvalues.h:290:24: warning: passing argument 2 of 'wgetnstr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 290 | #define String_val(x) ((const char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/ocaml/caml/memory.h:462:29: note: in definition of macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:51:25: note: in expansion of macro 'CAMLreturn' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long' 79 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib/ocaml/caml/mlvalues.h:387:21: note: in expansion of macro 'Val_int' 387 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:51:36: note: in expansion of macro 'Val_bool' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:195:6: note: in expansion of macro 'r_err' 195 | BEG1 r_err(getnstr(a_string(aa),string_length(aa))); END | ^~~~~ ml_curses.c:88:25: note: in expansion of macro 'String_val' 88 | #define a_string(a) String_val(a) | ^~~~~~~~~~ functions.c:195:20: note: in expansion of macro 'a_string' 195 | BEG1 r_err(getnstr(a_string(aa),string_length(aa))); END | ^~~~~~~~ In file included from ml_curses.c:22: /usr/include/curses.h:867:47: note: expected 'char *' but argument is of type 'const char *' 867 | extern NCURSES_EXPORT(int) wgetnstr (WINDOW *,char *,int); /* implemented */ | ^~~~~~ functions.c: In function 'mlcurses_wgetstr': functions.c:197:13: warning: "string_length" is deprecated: use "caml_string_length" instead 197 | BEG2 r_err(wgetnstr(a_window(aa),a_string(ab),string_length(ab))); END | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/ocaml/caml/mlvalues.h:290:24: warning: passing argument 2 of 'wgetnstr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 290 | #define String_val(x) ((const char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/ocaml/caml/memory.h:462:29: note: in definition of macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:51:25: note: in expansion of macro 'CAMLreturn' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long' 79 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib/ocaml/caml/mlvalues.h:387:21: note: in expansion of macro 'Val_int' 387 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:51:36: note: in expansion of macro 'Val_bool' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:197:6: note: in expansion of macro 'r_err' 197 | BEG2 r_err(wgetnstr(a_window(aa),a_string(ab),string_length(ab))); END | ^~~~~ ml_curses.c:88:25: note: in expansion of macro 'String_val' 88 | #define a_string(a) String_val(a) | ^~~~~~~~~~ functions.c:197:34: note: in expansion of macro 'a_string' 197 | BEG2 r_err(wgetnstr(a_window(aa),a_string(ab),string_length(ab))); END | ^~~~~~~~ /usr/include/curses.h:867:47: note: expected 'char *' but argument is of type 'const char *' 867 | extern NCURSES_EXPORT(int) wgetnstr (WINDOW *,char *,int); /* implemented */ | ^~~~~~ functions.c: In function 'mlcurses_mvgetstr': functions.c:199:13: warning: "string_length" is deprecated: use "caml_string_length" instead 199 | BEG3 r_err(mvgetnstr(a_int(aa),a_int(ab),a_string(ac),string_length(ac))); END | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/ocaml/caml/mlvalues.h:290:24: warning: passing argument 2 of 'wgetnstr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 290 | #define String_val(x) ((const char *) Bp_val(x)) /usr/lib/ocaml/caml/memory.h:462:29: note: in definition of macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:51:25: note: in expansion of macro 'CAMLreturn' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long' 79 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib/ocaml/caml/mlvalues.h:387:21: note: in expansion of macro 'Val_int' 387 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:51:36: note: in expansion of macro 'Val_bool' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:199:6: note: in expansion of macro 'r_err' 199 | BEG3 r_err(mvgetnstr(a_int(aa),a_int(ab),a_string(ac),string_length(ac))); END | ^~~~~ ml_curses.c:88:25: note: in expansion of macro 'String_val' 88 | #define a_string(a) String_val(a) | ^~~~~~~~~~ functions.c:199:42: note: in expansion of macro 'a_string' 199 | BEG3 r_err(mvgetnstr(a_int(aa),a_int(ab),a_string(ac),string_length(ac))); END | ^~~~~~~~ /usr/include/curses.h:867:47: note: expected 'char *' but argument is of type 'const char *' 867 | extern NCURSES_EXPORT(int) wgetnstr (WINDOW *,char *,int); /* implemented */ | ^~~~~~ functions.c: In function 'mlcurses_mvwgetstr': functions.c:202:13: warning: "string_length" is deprecated: use "caml_string_length" instead 202 | string_length(ad))); END | ^~~~~~~~~~~~~~ /usr/lib/ocaml/caml/mlvalues.h:290:24: warning: passing argument 2 of 'wgetnstr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 290 | #define String_val(x) ((const char *) Bp_val(x)) /usr/lib/ocaml/caml/memory.h:462:29: note: in definition of macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:51:25: note: in expansion of macro 'CAMLreturn' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long' 79 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib/ocaml/caml/mlvalues.h:387:21: note: in expansion of macro 'Val_int' 387 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:51:36: note: in expansion of macro 'Val_bool' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:201:6: note: in expansion of macro 'r_err' 201 | BEG4 r_err(mvwgetnstr(a_window(aa),a_int(ab),a_int(ac),a_string(ad), | ^~~~~ ml_curses.c:88:25: note: in expansion of macro 'String_val' 88 | #define a_string(a) String_val(a) | ^~~~~~~~~~ functions.c:201:56: note: in expansion of macro 'a_string' 201 | BEG4 r_err(mvwgetnstr(a_window(aa),a_int(ab),a_int(ac),a_string(ad), | ^~~~~~~~ /usr/include/curses.h:867:47: note: expected 'char *' but argument is of type 'const char *' 867 | extern NCURSES_EXPORT(int) wgetnstr (WINDOW *,char *,int); /* implemented */ | ^~~~~~ functions.c: In function 'mlcurses_getnstr': functions.c:204:32: warning: passing argument 2 of 'wgetnstr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 204 | BEG3 r_err(getnstr(a_string(aa)+a_int(ab),a_int(ac))); END /usr/lib/ocaml/caml/memory.h:462:29: note: in definition of macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:51:25: note: in expansion of macro 'CAMLreturn' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long' 79 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib/ocaml/caml/mlvalues.h:387:21: note: in expansion of macro 'Val_int' 387 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:51:36: note: in expansion of macro 'Val_bool' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:204:6: note: in expansion of macro 'r_err' 204 | BEG3 r_err(getnstr(a_string(aa)+a_int(ab),a_int(ac))); END | ^~~~~ /usr/include/curses.h:867:47: note: expected 'char *' but argument is of type 'const char *' 867 | extern NCURSES_EXPORT(int) wgetnstr (WINDOW *,char *,int); /* implemented */ | ^~~~~~ functions.c: In function 'mlcurses_wgetnstr': functions.c:206:46: warning: passing argument 2 of 'wgetnstr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 206 | BEG4 r_err(wgetnstr(a_window(aa),a_string(ab)+a_int(ac),a_int(ad))); END /usr/lib/ocaml/caml/memory.h:462:29: note: in definition of macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:51:25: note: in expansion of macro 'CAMLreturn' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long' 79 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib/ocaml/caml/mlvalues.h:387:21: note: in expansion of macro 'Val_int' 387 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:51:36: note: in expansion of macro 'Val_bool' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:206:6: note: in expansion of macro 'r_err' 206 | BEG4 r_err(wgetnstr(a_window(aa),a_string(ab)+a_int(ac),a_int(ad))); END | ^~~~~ /usr/include/curses.h:867:47: note: expected 'char *' but argument is of type 'const char *' 867 | extern NCURSES_EXPORT(int) wgetnstr (WINDOW *,char *,int); /* implemented */ | ^~~~~~ functions.c: In function 'mlcurses_mvgetnstr': functions.c:208:54: warning: passing argument 2 of 'wgetnstr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 208 | BEG5 r_err(mvgetnstr(a_int(aa),a_int(ab),a_string(ac)+a_int(ad), | ^ /usr/lib/ocaml/caml/memory.h:462:29: note: in definition of macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:51:25: note: in expansion of macro 'CAMLreturn' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long' 79 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib/ocaml/caml/mlvalues.h:387:21: note: in expansion of macro 'Val_int' 387 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:51:36: note: in expansion of macro 'Val_bool' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:208:6: note: in expansion of macro 'r_err' 208 | BEG5 r_err(mvgetnstr(a_int(aa),a_int(ab),a_string(ac)+a_int(ad), | ^~~~~ /usr/include/curses.h:867:47: note: expected 'char *' but argument is of type 'const char *' 867 | extern NCURSES_EXPORT(int) wgetnstr (WINDOW *,char *,int); /* implemented */ | ^~~~~~ functions.c: In function 'mlcurses_mvwgetnstr_native': functions.c:211:68: warning: passing argument 2 of 'wgetnstr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 211 | BEG6 r_err(mvwgetnstr(a_window(aa),a_int(ab),a_int(ac),a_string(ad)+a_int(ae), | ^ /usr/lib/ocaml/caml/memory.h:462:29: note: in definition of macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:51:25: note: in expansion of macro 'CAMLreturn' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long' 79 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib/ocaml/caml/mlvalues.h:387:21: note: in expansion of macro 'Val_int' 387 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:51:36: note: in expansion of macro 'Val_bool' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:211:6: note: in expansion of macro 'r_err' 211 | BEG6 r_err(mvwgetnstr(a_window(aa),a_int(ab),a_int(ac),a_string(ad)+a_int(ae), | ^~~~~ /usr/include/curses.h:867:47: note: expected 'char *' but argument is of type 'const char *' 867 | extern NCURSES_EXPORT(int) wgetnstr (WINDOW *,char *,int); /* implemented */ | ^~~~~~ functions.c: In function 'mlcurses_getyx': functions.c:217:13: warning: "alloc_tuple" is deprecated: use "caml_alloc_tuple" instead 217 | BEG1 int x,y; getyx(a_window(aa),y,x); r_int_int(y,x); END | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ functions.c: In function 'mlcurses_getparyx': functions.c:219:13: warning: "alloc_tuple" is deprecated: use "caml_alloc_tuple" instead 219 | BEG1 int x,y; getparyx(a_window(aa),y,x); r_int_int(y,x); END | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ functions.c: In function 'mlcurses_getbegyx': functions.c:221:13: warning: "alloc_tuple" is deprecated: use "caml_alloc_tuple" instead 221 | BEG1 int x,y; getbegyx(a_window(aa),y,x); r_int_int(y,x); END | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ functions.c: In function 'mlcurses_getmaxyx': functions.c:223:13: warning: "alloc_tuple" is deprecated: use "caml_alloc_tuple" instead 223 | BEG1 int x,y; getmaxyx(a_window(aa),y,x); r_int_int(y,x); END | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ functions.c: In function 'mlcurses_newterm': functions.c:296:13: warning: "alloc_tuple" is deprecated: use "caml_alloc_tuple" instead 296 | r=alloc_tuple(3); | ^~~~~~~ Running[10]: (cd _build/default && /usr/bin/ocamlc.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -w -50 -g -a -o curses.cma -dllib -lcurses_stubs -cclib -lcurses_stubs -cclib -lncursesw .curses.objs/byte/curses.cmo) functions.c:300:13: warning: "failwith" is deprecated: use "caml_failwith" instead 300 | if(s==NULL){ fclose(fa); fclose(fb); failwith("newterm"); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ functions.c: In function 'mlcurses_insstr': functions.c:316:13: warning: "string_length" is deprecated: use "caml_string_length" instead 316 | BEG1 r_err(insnstr(a_string(aa),string_length(aa))); END | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ functions.c: In function 'mlcurses_winsstr': functions.c:318:13: warning: "string_length" is deprecated: use "caml_string_length" instead 318 | BEG2 r_err(winsnstr(a_window(aa),a_string(ab),string_length(ab))); END | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ functions.c: In function 'mlcurses_mvinsstr': functions.c:320:13: warning: "string_length" is deprecated: use "caml_string_length" instead 320 | BEG3 r_err(mvinsnstr(a_int(aa),a_int(ab),a_string(ac),string_length(ac))); END | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ functions.c: In function 'mlcurses_mvwinsstr': functions.c:323:13: warning: "string_length" is deprecated: use "caml_string_length" instead 323 | a_string(ad),string_length(ad))); END | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ functions.c: In function 'mlcurses_instr': functions.c:337:13: warning: "string_length" is deprecated: use "caml_string_length" instead 337 | BEG1 r_err(innstr(a_string(aa),string_length(aa))); END | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/ocaml/caml/mlvalues.h:290:24: warning: passing argument 2 of 'winnstr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 290 | #define String_val(x) ((const char *) Bp_val(x)) /usr/lib/ocaml/caml/memory.h:462:29: note: in definition of macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:51:25: note: in expansion of macro 'CAMLreturn' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long' 79 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib/ocaml/caml/mlvalues.h:387:21: note: in expansion of macro 'Val_int' 387 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:51:36: note: in expansion of macro 'Val_bool' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:337:6: note: in expansion of macro 'r_err' 337 | BEG1 r_err(innstr(a_string(aa),string_length(aa))); END | ^~~~~ ml_curses.c:88:25: note: in expansion of macro 'String_val' 88 | #define a_string(a) String_val(a) | ^~~~~~~~~~ functions.c:337:19: note: in expansion of macro 'a_string' 337 | BEG1 r_err(innstr(a_string(aa),string_length(aa))); END | ^~~~~~~~ /usr/include/curses.h:873:47: note: expected 'char *' but argument is of type 'const char *' 873 | extern NCURSES_EXPORT(int) winnstr (WINDOW *, char *, int); /* implemented */ | ^~~~~~ functions.c: In function 'mlcurses_winstr': functions.c:339:13: warning: "string_length" is deprecated: use "caml_string_length" instead 339 | BEG2 r_err(winnstr(a_window(aa),a_string(ab),string_length(ab))); END | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/ocaml/caml/mlvalues.h:290:24: warning: passing argument 2 of 'winnstr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 290 | #define String_val(x) ((const char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/ocaml/caml/memory.h:462:29: note: in definition of macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:51:25: note: in expansion of macro 'CAMLreturn' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long' 79 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib/ocaml/caml/mlvalues.h:387:21: note: in expansion of macro 'Val_int' 387 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:51:36: note: in expansion of macro 'Val_bool' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:339:6: note: in expansion of macro 'r_err' 339 | BEG2 r_err(winnstr(a_window(aa),a_string(ab),string_length(ab))); END | ^~~~~ ml_curses.c:88:25: note: in expansion of macro 'String_val' 88 | #define a_string(a) String_val(a) | ^~~~~~~~~~ functions.c:339:33: note: in expansion of macro 'a_string' 339 | BEG2 r_err(winnstr(a_window(aa),a_string(ab),string_length(ab))); END | ^~~~~~~~ /usr/include/curses.h:873:47: note: expected 'char *' but argument is of type 'const char *' 873 | extern NCURSES_EXPORT(int) winnstr (WINDOW *, char *, int); /* implemented */ | ^~~~~~ functions.c: In function 'mlcurses_mvinstr': functions.c:341:13: warning: "string_length" is deprecated: use "caml_string_length" instead 341 | BEG3 r_err(mvinnstr(a_int(aa),a_int(ab),a_string(ac),string_length(ac))); END | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/ocaml/caml/mlvalues.h:290:24: warning: passing argument 2 of 'winnstr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 290 | #define String_val(x) ((const char *) Bp_val(x)) /usr/lib/ocaml/caml/memory.h:462:29: note: in definition of macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:51:25: note: in expansion of macro 'CAMLreturn' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long' 79 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib/ocaml/caml/mlvalues.h:387:21: note: in expansion of macro 'Val_int' 387 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:51:36: note: in expansion of macro 'Val_bool' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:341:6: note: in expansion of macro 'r_err' 341 | BEG3 r_err(mvinnstr(a_int(aa),a_int(ab),a_string(ac),string_length(ac))); END | ^~~~~ ml_curses.c:88:25: note: in expansion of macro 'String_val' 88 | #define a_string(a) String_val(a) | ^~~~~~~~~~ functions.c:341:41: note: in expansion of macro 'a_string' 341 | BEG3 r_err(mvinnstr(a_int(aa),a_int(ab),a_string(ac),string_length(ac))); END | ^~~~~~~~ /usr/include/curses.h:873:47: note: expected 'char *' but argument is of type 'const char *' 873 | extern NCURSES_EXPORT(int) winnstr (WINDOW *, char *, int); /* implemented */ | ^~~~~~ functions.c: In function 'mlcurses_mvwinstr': functions.c:344:13: warning: "string_length" is deprecated: use "caml_string_length" instead 344 | a_string(ad),string_length(ad))); END | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/ocaml/caml/mlvalues.h:290:24: warning: passing argument 2 of 'winnstr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 290 | #define String_val(x) ((const char *) Bp_val(x)) /usr/lib/ocaml/caml/memory.h:462:29: note: in definition of macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:51:25: note: in expansion of macro 'CAMLreturn' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long' 79 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib/ocaml/caml/mlvalues.h:387:21: note: in expansion of macro 'Val_int' 387 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:51:36: note: in expansion of macro 'Val_bool' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:343:6: note: in expansion of macro 'r_err' 343 | BEG4 r_err(mvwinnstr(a_window(aa),a_int(ab),a_int(ac), | ^~~~~ ml_curses.c:88:25: note: in expansion of macro 'String_val' 88 | #define a_string(a) String_val(a) | ^~~~~~~~~~ functions.c:344:3: note: in expansion of macro 'a_string' 344 | a_string(ad),string_length(ad))); END | ^~~~~~~~ /usr/include/curses.h:873:47: note: expected 'char *' but argument is of type 'const char *' 873 | extern NCURSES_EXPORT(int) winnstr (WINDOW *, char *, int); /* implemented */ | ^~~~~~ functions.c: In function 'mlcurses_innstr': functions.c:346:31: warning: passing argument 2 of 'winnstr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 346 | BEG3 r_err(innstr(a_string(aa)+a_int(ab),a_int(ac))); END | ^ /usr/lib/ocaml/caml/memory.h:462:29: note: in definition of macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:51:25: note: in expansion of macro 'CAMLreturn' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long' 79 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib/ocaml/caml/mlvalues.h:387:21: note: in expansion of macro 'Val_int' 387 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:51:36: note: in expansion of macro 'Val_bool' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:346:6: note: in expansion of macro 'r_err' 346 | BEG3 r_err(innstr(a_string(aa)+a_int(ab),a_int(ac))); END | ^~~~~ /usr/include/curses.h:873:47: note: expected 'char *' but argument is of type 'const char *' 873 | extern NCURSES_EXPORT(int) winnstr (WINDOW *, char *, int); /* implemented */ | ^~~~~~ functions.c: In function 'mlcurses_winnstr': functions.c:348:45: warning: passing argument 2 of 'winnstr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 348 | BEG4 r_err(winnstr(a_window(aa),a_string(ab)+a_int(ac),a_int(ad))); END /usr/lib/ocaml/caml/memory.h:462:29: note: in definition of macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:51:25: note: in expansion of macro 'CAMLreturn' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long' 79 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib/ocaml/caml/mlvalues.h:387:21: note: in expansion of macro 'Val_int' 387 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:51:36: note: in expansion of macro 'Val_bool' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:348:6: note: in expansion of macro 'r_err' 348 | BEG4 r_err(winnstr(a_window(aa),a_string(ab)+a_int(ac),a_int(ad))); END | ^~~~~ /usr/include/curses.h:873:47: note: expected 'char *' but argument is of type 'const char *' 873 | extern NCURSES_EXPORT(int) winnstr (WINDOW *, char *, int); /* implemented */ | ^~~~~~ functions.c: In function 'mlcurses_mvinnstr': functions.c:350:53: warning: passing argument 2 of 'winnstr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 350 | BEG5 r_err(mvinnstr(a_int(aa),a_int(ab),a_string(ac)+a_int(ad),a_int(ae))); END | ^ /usr/lib/ocaml/caml/memory.h:462:29: note: in definition of macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:51:25: note: in expansion of macro 'CAMLreturn' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long' 79 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib/ocaml/caml/mlvalues.h:387:21: note: in expansion of macro 'Val_int' 387 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:51:36: note: in expansion of macro 'Val_bool' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:350:6: note: in expansion of macro 'r_err' 350 | BEG5 r_err(mvinnstr(a_int(aa),a_int(ab),a_string(ac)+a_int(ad),a_int(ae))); END | ^~~~~ /usr/include/curses.h:873:47: note: expected 'char *' but argument is of type 'const char *' 873 | extern NCURSES_EXPORT(int) winnstr (WINDOW *, char *, int); /* implemented */ | ^~~~~~ functions.c: In function 'mlcurses_mvwinnstr_native': functions.c:353:15: warning: passing argument 2 of 'winnstr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 353 | a_string(ad)+a_int(ae),a_int(af))); END | ^ /usr/lib/ocaml/caml/memory.h:462:29: note: in definition of macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:51:25: note: in expansion of macro 'CAMLreturn' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long' 79 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib/ocaml/caml/mlvalues.h:387:21: note: in expansion of macro 'Val_int' 387 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:51:36: note: in expansion of macro 'Val_bool' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:352:6: note: in expansion of macro 'r_err' 352 | BEG6 r_err(mvwinnstr(a_window(aa),a_int(ab),a_int(ac), | ^~~~~ /usr/include/curses.h:873:47: note: expected 'char *' but argument is of type 'const char *' 873 | extern NCURSES_EXPORT(int) winnstr (WINDOW *, char *, int); /* implemented */ | ^~~~~~ functions.c: In function 'mlcurses_getsyx': functions.c:387:13: warning: "alloc_tuple" is deprecated: use "caml_alloc_tuple" instead 387 | BEG0 int x = 0, y = 0; getsyx(y,x); r_int_int(y,x); END | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ functions.c: In function 'mlcurses_get_ripoff': functions.c:395:13: warning: "failwith" is deprecated: use "caml_failwith" instead 395 | BEG0 if(ripoff_niv==0) failwith("get_ripoff"); ripoff_niv--; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ functions.c:396:13: warning: "alloc_tuple" is deprecated: use "caml_alloc_tuple" instead 396 | r_window_int(ripoff_w[ripoff_niv],ripoff_l[ripoff_niv]); END | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ functions.c: In function 'mlcurses_mousemask': functions.c:403:13: warning: "alloc_tuple" is deprecated: use "caml_alloc_tuple" instead 403 | BEG1 mmask_t r=1234,n=Int_val(aa); n=mousemask(n,&r); r_int_int(n,r); END | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ functions.c: In function 'mlcurses_slk_label': functions.c:483:13: warning: "failwith" is deprecated: use "caml_failwith" instead 483 | ML1(slk_label,string,int) | ^~~~~~~~~~~~~ functions.c:483:13: warning: "copy_string" is deprecated: use "caml_copy_string" instead 483 | ML1(slk_label,string,int) | ^~~~~~~~~~~~~ functions.c: In function 'mlcurses_longname': functions.c:498:13: warning: "failwith" is deprecated: use "caml_failwith" instead 498 | ML0(longname,string) | ^~~~~~~~ functions.c:498:13: warning: "copy_string" is deprecated: use "caml_copy_string" instead 498 | ML0(longname,string) | ^~~~~~~~ functions.c: In function 'mlcurses_termname': functions.c:500:13: warning: "failwith" is deprecated: use "caml_failwith" instead 500 | ML0(termname,string) | ^~~~~~~~ functions.c:500:13: warning: "copy_string" is deprecated: use "caml_copy_string" instead 500 | ML0(termname,string) | ^~~~~~~~ functions.c: In function 'mlcurses_tgetstr': functions.c:509:13: warning: "failwith" is deprecated: use "caml_failwith" instead 509 | BEG1 r_string(tgetstr(String_val(aa),NULL)); END | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ functions.c:509:13: warning: "copy_string" is deprecated: use "caml_copy_string" instead 509 | BEG1 r_string(tgetstr(String_val(aa),NULL)); END | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ functions.c: In function 'mlcurses_tgoto': functions.c:510:13: warning: "failwith" is deprecated: use "caml_failwith" instead 510 | ML3(tgoto,string,string,int,int) | ^~~~~~~~~~~~~~~~~~~~ functions.c:510:13: warning: "copy_string" is deprecated: use "caml_copy_string" instead 510 | ML3(tgoto,string,string,int,int) | ^~~~~~~~~~~~~~~~~~~~ functions.c: In function 'mlcurses_tigetstr': functions.c:531:13: warning: "failwith" is deprecated: use "caml_failwith" instead 531 | if((s==NULL)||(s==(char * )-1)) failwith("tigetstr"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ functions.c:532:13: warning: "copy_string" is deprecated: use "caml_copy_string" instead 532 | CAMLreturn(copy_string(s)); END | ^~~~~~~~~~~~~~~~~~~~~ functions.c: In function 'mlcurses_tparm': functions.c:555:13: warning: "failwith" is deprecated: use "caml_failwith" instead 555 | t[5],t[6],t[7],t[8],t[9])); END | ^~~~~~~~~~~~~~~~~~~~~~~ functions.c:555:13: warning: "copy_string" is deprecated: use "caml_copy_string" instead 555 | t[5],t[6],t[7],t[8],t[9])); END | ^~~~~~~~~~~~~~~~~~~~~~~ functions.c: In function 'mlcurses_bool_terminfo_variable': functions.c:576:13: warning: "alloc_tuple" is deprecated: use "caml_alloc_tuple" instead 576 | ML1d(bool_terminfo_variable,string*string*string,int) BEG1 arrayret(bool) END | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ functions.c:576:13: warning: "copy_string" is deprecated: use "caml_copy_string" instead functions.c:576:13: warning: "copy_string" is deprecated: use "caml_copy_string" instead functions.c:576:13: warning: "copy_string" is deprecated: use "caml_copy_string" instead functions.c:576:13: warning: "copy_string" is deprecated: use "caml_copy_string" instead functions.c: In function 'mlcurses_num_terminfo_variable': functions.c:577:13: warning: "alloc_tuple" is deprecated: use "caml_alloc_tuple" instead 577 | ML1d(num_terminfo_variable,string*string*string,int) BEG1 arrayret(num) END | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ functions.c:577:13: warning: "copy_string" is deprecated: use "caml_copy_string" instead functions.c:577:13: warning: "copy_string" is deprecated: use "caml_copy_string" instead functions.c:577:13: warning: "copy_string" is deprecated: use "caml_copy_string" instead functions.c:577:13: warning: "copy_string" is deprecated: use "caml_copy_string" instead functions.c: In function 'mlcurses_str_terminfo_variable': functions.c:578:13: warning: "alloc_tuple" is deprecated: use "caml_alloc_tuple" instead 578 | ML1d(str_terminfo_variable,string*string*string,int) BEG1 arrayret(str) END | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ functions.c:578:13: warning: "copy_string" is deprecated: use "caml_copy_string" instead functions.c:578:13: warning: "copy_string" is deprecated: use "caml_copy_string" instead functions.c:578:13: warning: "copy_string" is deprecated: use "caml_copy_string" instead functions.c:578:13: warning: "copy_string" is deprecated: use "caml_copy_string" instead functions.c: In function 'mlcurses_unctrl': functions.c:596:13: warning: "failwith" is deprecated: use "caml_failwith" instead 596 | ML1(unctrl,string,chtype) | ^~~~~~~~~~~~~ functions.c:596:13: warning: "copy_string" is deprecated: use "caml_copy_string" instead 596 | ML1(unctrl,string,chtype) | ^~~~~~~~~~~~~ functions.c: In function 'mlcurses_keyname': functions.c:597:13: warning: "failwith" is deprecated: use "caml_failwith" instead 597 | ML1(keyname,string,int) | ^~~~~~~~~~~ functions.c:597:13: warning: "copy_string" is deprecated: use "caml_copy_string" instead 597 | ML1(keyname,string,int) | ^~~~~~~~~~~ functions.c: In function 'mlcurses_get_acs_codes': functions.c:628:13: warning: "alloc_tuple" is deprecated: use "caml_alloc_tuple" instead 628 | tr=alloc_tuple(32); | ^~~~~~~~~ functions.c: In function 'mlcurses_get_size': functions.c:657:13: warning: "alloc_tuple" is deprecated: use "caml_alloc_tuple" instead 657 | r_int_int(ws.ws_row,ws.ws_col); | ^~~~~~~~~~~~~~~~~~~~~ functions.c: In function 'mlcurses_get_size_fd': functions.c:671:13: warning: "alloc_tuple" is deprecated: use "caml_alloc_tuple" instead 671 | r_int_int(ws.ws_row,ws.ws_col); | ^~~~~~~~~~~~~~~~~~~~~ ml_curses.c: In function 'mlcurses_getch': ml_curses.c:226:13: warning: "enter_blocking_section" is deprecated: use "caml_enter_blocking_section" instead 226 | enter_blocking_section(); | ^~~~~~~~~~~~~~~~ ml_curses.c:228:13: warning: "leave_blocking_section" is deprecated: use "caml_leave_blocking_section" instead 228 | leave_blocking_section(); | ^~~~~~~~~~~~~~~~ ml_curses.c: In function 'mlcurses_wgetch': ml_curses.c:243:13: warning: "enter_blocking_section" is deprecated: use "caml_enter_blocking_section" instead 243 | enter_blocking_section(); | ^~~~~~~~~~~~~~~~ ml_curses.c:245:13: warning: "leave_blocking_section" is deprecated: use "caml_leave_blocking_section" instead 245 | leave_blocking_section(); | ^~~~~~~~~~~~~~~~ Running[11]: (cd _build/default && /usr/bin/ocamlopt.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -w -50 -g -a -o curses.cmxa -cclib -lcurses_stubs -cclib -lncursesw .curses.objs/native/curses.cmx) Running[12]: (cd _build/default && /usr/bin/ocamlmklib.opt -g -o curses_stubs ml_curses.o -ldopt -lncursesw) Running[13]: (cd _build/default && /usr/bin/ocamlopt.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -w -50 -g -shared -linkall -I . -o curses.cmxs curses.cmxa) Shared cache: disabled Shared cache location: /home/buildozer/.cache/dune/db Workspace root: /home/buildozer/aports/testing/ocaml-curses/src/curses-1.0.10 Auto-detected concurrency: 64 Dune context: { name = "default" ; kind = "default" ; profile = Dev ; merlin = true ; fdo_target_exe = None ; build_dir = In_build_dir "default" ; installed_env = map { "INSIDE_DUNE" : "/home/buildozer/aports/testing/ocaml-curses/src/curses-1.0.10/_build/default" } ; instrument_with = [] } >>> ocaml-curses: Entering fakeroot... >>> ocaml-curses-dev*: Running split function dev... '/home/buildozer/aports/testing/ocaml-curses/pkg/ocaml-curses/usr/lib/ocaml/curses/curses.cmti' -> '/home/buildozer/aports/testing/ocaml-curses/pkg/ocaml-curses-dev/usr/lib/ocaml/curses/curses.cmti' '/home/buildozer/aports/testing/ocaml-curses/pkg/ocaml-curses/usr/lib/ocaml/curses/curses.ml' -> '/home/buildozer/aports/testing/ocaml-curses/pkg/ocaml-curses-dev/usr/lib/ocaml/curses/curses.ml' '/home/buildozer/aports/testing/ocaml-curses/pkg/ocaml-curses/usr/lib/ocaml/curses/curses.cmt' -> '/home/buildozer/aports/testing/ocaml-curses/pkg/ocaml-curses-dev/usr/lib/ocaml/curses/curses.cmt' '/home/buildozer/aports/testing/ocaml-curses/pkg/ocaml-curses/usr/lib/ocaml/curses/curses.mli' -> '/home/buildozer/aports/testing/ocaml-curses/pkg/ocaml-curses-dev/usr/lib/ocaml/curses/curses.mli' >>> ocaml-curses-dev*: Preparing subpackage ocaml-curses-dev... >>> ocaml-curses-dev*: Stripping binaries >>> ocaml-curses-dev*: Running postcheck for ocaml-curses-dev >>> ocaml-curses*: Running postcheck for ocaml-curses >>> ocaml-curses*: Preparing package ocaml-curses... >>> ocaml-curses*: Stripping binaries >>> ocaml-curses-dev*: Scanning shared objects >>> ocaml-curses*: Scanning shared objects >>> ocaml-curses-dev*: Tracing dependencies... >>> ocaml-curses-dev*: Package size: 1.2 MB >>> ocaml-curses-dev*: Compressing data... >>> ocaml-curses-dev*: Create checksum... >>> ocaml-curses-dev*: Create ocaml-curses-dev-1.0.10-r2.apk >>> ocaml-curses*: Tracing dependencies... ocaml4-impl:Stdlib:29fc6b4fd90dc91235156e20d0575996 ocaml4-impl:Stdlib__Hashtbl:898b52cc6092451df01bc3a7ed405ede ocaml4-impl:Stdlib__List:9fa021918ce9b6b5c0a1f584e3adf2af ocaml4-intf:CamlinternalFormatBasics:8f8f634558798ee408df3c50a5539b15 ocaml4-intf:Stdlib:79b0e9d3b6f7fed07eb3cc2abb961b91 ocaml4-intf:Stdlib__Bigarray:994a14f10d5ae081663b52b790ee11d3 ocaml4-intf:Stdlib__Complex:4555217c759e89d65daa8f682eb09b35 ocaml4-intf:Stdlib__Either:26845df28d19584687a38a1ab814c3f9 ocaml4-intf:Stdlib__Hashtbl:34c0fdd524bf2a75e4d5af64a6d34401 ocaml4-intf:Stdlib__List:ee222542f6f8195441543b8b399b64b9 ocaml4-intf:Stdlib__Seq:b63511032211eae4b567ba313cd72962 ocaml4-intf:Unix:d81af7730241956ddaf1c2d19ed2cb1c so:libc.musl-ppc64le.so.1 so:libncursesw.so.6 >>> ocaml-curses*: Package size: 616.0 KB >>> ocaml-curses*: Compressing data... >>> ocaml-curses*: Create checksum... >>> ocaml-curses*: Create ocaml-curses-1.0.10-r2.apk >>> ocaml-curses: Build complete at Sat, 23 Mar 2024 20:19:38 +0000 elapsed time 0h 0m 7s >>> ocaml-curses: Cleaning up srcdir >>> ocaml-curses: Cleaning up pkgdir >>> ocaml-curses: Uninstalling dependencies... (1/20) Purging .makedepends-ocaml-curses (20240323.201933) (2/20) Purging dune (3.14.2-r1) (3/20) Purging ncurses-dev (6.4_p20240309-r0) (4/20) Purging libncurses++ (6.4_p20240309-r0) (5/20) Purging libpanelw (6.4_p20240309-r0) (6/20) Purging ocaml-csexp-dev (1.5.1-r3) (7/20) Purging ocaml-csexp (1.5.1-r3) (8/20) Purging dune-configurator (3.14.2-r1) (9/20) Purging git-perl (2.44.0-r0) (10/20) Purging perl-git (2.44.0-r0) (11/20) Purging perl-error (0.17029-r2) (12/20) Purging libformw (6.4_p20240309-r0) (13/20) Purging libmenuw (6.4_p20240309-r0) (14/20) Purging ocaml-abuild-helper (4.14.2-r1) (15/20) Purging ocaml (4.14.2-r1) (16/20) Purging ocaml-runtime (4.14.2-r1) (17/20) Purging rpm-scripts (4.19.1.1-r0) (18/20) Purging bash (5.2.26-r0) Executing bash-5.2.26-r0.pre-deinstall (19/20) Purging perl (5.38.2-r0) (20/20) Purging readline (8.2.10-r0) Executing busybox-1.36.1-r21.trigger OK: 265 MiB in 110 packages >>> ocaml-curses: Updating the testing/ppc64le repository index... >>> ocaml-curses: Signing the index...