>>> ocaml-curses: Building testing/ocaml-curses 1.0.10-r0 (using abuild 3.9.0-r0) started Sat, 14 May 2022 07:06:47 +0000 >>> ocaml-curses: Checking sanity of /home/buildozer/aports/testing/ocaml-curses/APKBUILD... >>> ocaml-curses: Analyzing dependencies... >>> ocaml-curses: Installing for build: build-base ocaml-runtime dune dune-configurator-dev ncurses-dev ocaml ocaml-csexp-dev (1/9) Installing ocaml-runtime (4.14.0-r0) (2/9) Installing dune (3.1.1-r0) (3/9) Installing dune-configurator (3.1.1_git20220513-r0) (4/9) Installing dune-configurator-dev (3.1.1_git20220513-r0) (5/9) Installing ncurses-dev (6.3_p20220423-r0) (6/9) Installing ocaml (4.14.0-r0) (7/9) Installing ocaml-csexp (1.5.1-r1) (8/9) Installing ocaml-csexp-dev (1.5.1-r1) (9/9) Installing .makedepends-ocaml-curses (20220514.070648) Executing busybox-1.35.0-r13.trigger OK: 502 MiB in 107 packages >>> ocaml-curses: Cleaning up srcdir >>> ocaml-curses: Cleaning up pkgdir >>> ocaml-curses: Fetching https://distfiles.alpinelinux.org/distfiles/edge/ocaml-curses-1.0.10.tar.bz2 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 146 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (22) The requested URL returned error: 404 >>> ocaml-curses: Fetching ocaml-curses-1.0.10.tar.bz2::https://github.com/mbacarella/curses/releases/download/1.0.10/curses-1.0.10.tbz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 25780 100 25780 0 0 51081 0 --:--:-- --:--:-- --:--:-- 51081 >>> 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/edge/ocaml-curses-1.0.10.tar.bz2... Shared cache: disabled Workspace root: /home/buildozer/aports/testing/ocaml-curses/src/curses-1.0.10 Auto-detected concurrency: 32 Running[0]: /usr/bin/ocamlc.opt -config > /tmp/dune_1b498b_output Dune context: { name = "default" ; kind = "default" ; profile = Dev ; merlin = true ; for_host = None ; fdo_target_exe = None ; build_dir = "default" ; toplevel_path = None ; ocaml_bin = External "/usr/bin" ; ocaml = Ok External "/usr/bin/ocaml" ; ocamlc = External "/usr/bin/ocamlc.opt" ; ocamlopt = Ok External "/usr/bin/ocamlopt.opt" ; ocamldep = Ok External "/usr/bin/ocamldep.opt" ; ocamlmklib = Ok External "/usr/bin/ocamlmklib.opt" ; env = map { "CAML_LD_LIBRARY_PATH" : "/home/buildozer/aports/testing/ocaml-curses/src/curses-1.0.10/_build/install/default/lib/stublibs" ; "DUNE_OCAML_HARDCODED" : "/usr/lib" ; "DUNE_OCAML_STDLIB" : "/usr/lib/ocaml" ; "DUNE_SOURCEROOT" : "/home/buildozer/aports/testing/ocaml-curses/src/curses-1.0.10" ; "INSIDE_DUNE" : "/home/buildozer/aports/testing/ocaml-curses/src/curses-1.0.10/_build/default" ; "MANPATH" : "/home/buildozer/aports/testing/ocaml-curses/src/curses-1.0.10/_build/install/default/bin" ; "OCAMLFIND_IGNORE_DUPS_IN" : "/home/buildozer/aports/testing/ocaml-curses/src/curses-1.0.10/_build/install/default/lib" ; "OCAMLTOP_INCLUDE_PATH" : "/home/buildozer/aports/testing/ocaml-curses/src/curses-1.0.10/_build/install/default/lib/toplevel" } ; findlib_path = [ External "/usr/lib/ocaml"; External "/usr/lib" ] ; arch_sixtyfour = true ; natdynlink_supported = true ; supports_shared_libraries = true ; ocaml_config = { version = "4.14.0" ; standard_library_default = "/usr/lib/ocaml" ; standard_library = "/usr/lib/ocaml" ; standard_runtime = "the_standard_runtime_variable_was_deleted" ; ccomp_type = "cc" ; c_compiler = "gcc" ; ocamlc_cflags = [ "-O2" ; "-fno-strict-aliasing" ; "-fwrapv" ; "-pthread" ; "-fPIC" ; "-Os" ; "-fomit-frame-pointer" ] ; ocamlc_cppflags = [ "-D_FILE_OFFSET_BITS=64"; "-Os"; "-fomit-frame-pointer" ] ; ocamlopt_cflags = [ "-O2" ; "-fno-strict-aliasing" ; "-fwrapv" ; "-pthread" ; "-fPIC" ; "-Os" ; "-fomit-frame-pointer" ] ; ocamlopt_cppflags = [ "-D_FILE_OFFSET_BITS=64"; "-Os"; "-fomit-frame-pointer" ] ; bytecomp_c_compiler = [ "gcc" ; "-O2" ; "-fno-strict-aliasing" ; "-fwrapv" ; "-pthread" ; "-fPIC" ; "-Os" ; "-fomit-frame-pointer" ; "-D_FILE_OFFSET_BITS=64" ; "-Os" ; "-fomit-frame-pointer" ] ; bytecomp_c_libraries = [ "-lm"; "-lpthread" ] ; native_c_compiler = [ "gcc" ; "-O2" ; "-fno-strict-aliasing" ; "-fwrapv" ; "-pthread" ; "-fPIC" ; "-Os" ; "-fomit-frame-pointer" ; "-D_FILE_OFFSET_BITS=64" ; "-Os" ; "-fomit-frame-pointer" ] ; native_c_libraries = [ "-lm" ] ; native_pack_linker = [ "ld"; "-r"; "-o" ] ; cc_profile = [] ; architecture = "amd64" ; model = "default" ; int_size = 63 ; word_size = 64 ; system = "linux" ; asm = [ "gcc"; "-c" ] ; asm_cfi_supported = true ; with_frame_pointers = false ; ext_exe = "" ; ext_obj = ".o" ; ext_asm = ".s" ; ext_lib = ".a" ; ext_dll = ".so" ; os_type = "Unix" ; default_executable_name = "a.out" ; systhread_supported = true ; host = "x86_64-pc-linux-musl" ; target = "x86_64-pc-linux-musl" ; profiling = false ; flambda = false ; spacetime = false ; safe_string = true ; exec_magic_number = "Caml1999X031" ; cmi_magic_number = "Caml1999I031" ; cmo_magic_number = "Caml1999O031" ; cma_magic_number = "Caml1999A031" ; cmx_magic_number = "Caml1999Y031" ; cmxa_magic_number = "Caml1999Z031" ; ast_impl_magic_number = "Caml1999M031" ; ast_intf_magic_number = "Caml1999N031" ; cmxs_magic_number = "Caml1999D031" ; cmt_magic_number = "Caml1999T031" ; natdynlink_supported = true ; supports_shared_libraries = true ; windows_unicode = false } } 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/csexp -I /usr/lib/ocaml/dune-configurator -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/csexp -I /usr/lib/ocaml/dune-configurator -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/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 -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -Os -fomit-frame-pointer -D_FILE_OFFSET_BITS=64 -Os -fomit-frame-pointer -DHAVE_CONFIG_H -g -I /usr/lib/ocaml -o ml_curses.o -c ml_curses.c) Running[8]: (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) Running[9]: (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) 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)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 -Wl,--as-needed,-O1,--sort-common -cclib -lncursesw .curses.objs/byte/curses.cmo) 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 | ^~~~~~~~~ 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 -Wl,--as-needed,-O1,--sort-common -cclib -lncursesw .curses.objs/native/curses.cmx) 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:853:47: note: expected 'char *' but argument is of type 'const char *' 853 | extern NCURSES_EXPORT(int) wgetnstr (WINDOW *,char *,int); /* implemented */ | ^~~~~~ In file included from ml_curses.c:216: 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 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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: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 | ^~~~~~~~ In file included from ml_curses.c:22: /usr/include/curses.h:853:47: note: expected 'char *' but argument is of type 'const char *' 853 | extern NCURSES_EXPORT(int) wgetnstr (WINDOW *,char *,int); /* implemented */ | ^~~~~~ In file included from ml_curses.c:216: 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 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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: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 | ^~~~~~~~ In file included from ml_curses.c:22: /usr/include/curses.h:853:47: note: expected 'char *' but argument is of type 'const char *' 853 | extern NCURSES_EXPORT(int) wgetnstr (WINDOW *,char *,int); /* implemented */ | ^~~~~~ In file included from ml_curses.c:216: 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 | ^~~~~~~~~~~~~~ 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: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), | ^~~~~~~~ In file included from ml_curses.c:22: /usr/include/curses.h:853:47: note: expected 'char *' but argument is of type 'const char *' 853 | extern NCURSES_EXPORT(int) wgetnstr (WINDOW *,char *,int); /* implemented */ | ^~~~~~ In file included from ml_curses.c:7: 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 | ^~~~~ In file included from ml_curses.c:22: /usr/include/curses.h:853:47: note: expected 'char *' but argument is of type 'const char *' 853 | extern NCURSES_EXPORT(int) wgetnstr (WINDOW *,char *,int); /* implemented */ | ^~~~~~ In file included from ml_curses.c:7: 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 | ^~~~~ In file included from ml_curses.c:22: /usr/include/curses.h:853:47: note: expected 'char *' but argument is of type 'const char *' 853 | extern NCURSES_EXPORT(int) wgetnstr (WINDOW *,char *,int); /* implemented */ | ^~~~~~ In file included from ml_curses.c:7: 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), | ^~~~~ In file included from ml_curses.c:22: /usr/include/curses.h:853:47: note: expected 'char *' but argument is of type 'const char *' 853 | extern NCURSES_EXPORT(int) wgetnstr (WINDOW *,char *,int); /* implemented */ | ^~~~~~ In file included from ml_curses.c:7: 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), | ^~~~~ In file included from ml_curses.c:22: /usr/include/curses.h:853:47: note: expected 'char *' but argument is of type 'const char *' 853 | extern NCURSES_EXPORT(int) wgetnstr (WINDOW *,char *,int); /* implemented */ | ^~~~~~ In file included from ml_curses.c:216: 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); | ^~~~~~~ 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 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ml_curses.c:7: /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 | ^~~~~~~~ In file included from ml_curses.c:22: /usr/include/curses.h:859:47: note: expected 'char *' but argument is of type 'const char *' 859 | extern NCURSES_EXPORT(int) winnstr (WINDOW *, char *, int); /* implemented */ | ^~~~~~ In file included from ml_curses.c:216: 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 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ml_curses.c:7: /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 | ^~~~~~~~ In file included from ml_curses.c:22: /usr/include/curses.h:859:47: note: expected 'char *' but argument is of type 'const char *' 859 | extern NCURSES_EXPORT(int) winnstr (WINDOW *, char *, int); /* implemented */ | ^~~~~~ In file included from ml_curses.c:216: 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 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ml_curses.c:7: /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 | ^~~~~~~~ In file included from ml_curses.c:22: /usr/include/curses.h:859:47: note: expected 'char *' but argument is of type 'const char *' 859 | extern NCURSES_EXPORT(int) winnstr (WINDOW *, char *, int); /* implemented */ | ^~~~~~ In file included from ml_curses.c:216: 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 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ml_curses.c:7: /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 | ^~~~~~~~ In file included from ml_curses.c:22: /usr/include/curses.h:859:47: note: expected 'char *' but argument is of type 'const char *' 859 | extern NCURSES_EXPORT(int) winnstr (WINDOW *, char *, int); /* implemented */ | ^~~~~~ In file included from ml_curses.c:7: 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 | ^~~~~ In file included from ml_curses.c:22: /usr/include/curses.h:859:47: note: expected 'char *' but argument is of type 'const char *' 859 | extern NCURSES_EXPORT(int) winnstr (WINDOW *, char *, int); /* implemented */ | ^~~~~~ In file included from ml_curses.c:7: 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 | ^~~~~ In file included from ml_curses.c:22: /usr/include/curses.h:859:47: note: expected 'char *' but argument is of type 'const char *' 859 | extern NCURSES_EXPORT(int) winnstr (WINDOW *, char *, int); /* implemented */ | ^~~~~~ In file included from ml_curses.c:7: 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 | ^~~~~ In file included from ml_curses.c:22: /usr/include/curses.h:859:47: note: expected 'char *' but argument is of type 'const char *' 859 | extern NCURSES_EXPORT(int) winnstr (WINDOW *, char *, int); /* implemented */ | ^~~~~~ In file included from ml_curses.c:7: 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), | ^~~~~ In file included from ml_curses.c:22: /usr/include/curses.h:859:47: note: expected 'char *' but argument is of type 'const char *' 859 | extern NCURSES_EXPORT(int) winnstr (WINDOW *, char *, int); /* implemented */ | ^~~~~~ In file included from ml_curses.c:216: 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[12]: (cd _build/default && /usr/bin/ocamlmklib.opt -g -o curses_stubs ml_curses.o -ldopt -Wl,--as-needed,-O1,--sort-common -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 Workspace root: /home/buildozer/aports/testing/ocaml-curses/src/curses-1.0.10 Auto-detected concurrency: 32 Running[0]: /usr/bin/ocamlc.opt -config > /tmp/dune_8c7b5f_output Dune context: { name = "default" ; kind = "default" ; profile = Dev ; merlin = true ; for_host = None ; fdo_target_exe = None ; build_dir = "default" ; toplevel_path = None ; ocaml_bin = External "/usr/bin" ; ocaml = Ok External "/usr/bin/ocaml" ; ocamlc = External "/usr/bin/ocamlc.opt" ; ocamlopt = Ok External "/usr/bin/ocamlopt.opt" ; ocamldep = Ok External "/usr/bin/ocamldep.opt" ; ocamlmklib = Ok External "/usr/bin/ocamlmklib.opt" ; env = map { "CAML_LD_LIBRARY_PATH" : "/home/buildozer/aports/testing/ocaml-curses/src/curses-1.0.10/_build/install/default/lib/stublibs" ; "DUNE_OCAML_HARDCODED" : "/usr/lib" ; "DUNE_OCAML_STDLIB" : "/usr/lib/ocaml" ; "DUNE_SOURCEROOT" : "/home/buildozer/aports/testing/ocaml-curses/src/curses-1.0.10" ; "INSIDE_DUNE" : "/home/buildozer/aports/testing/ocaml-curses/src/curses-1.0.10/_build/default" ; "MANPATH" : "/home/buildozer/aports/testing/ocaml-curses/src/curses-1.0.10/_build/install/default/bin" ; "OCAMLFIND_IGNORE_DUPS_IN" : "/home/buildozer/aports/testing/ocaml-curses/src/curses-1.0.10/_build/install/default/lib" ; "OCAMLTOP_INCLUDE_PATH" : "/home/buildozer/aports/testing/ocaml-curses/src/curses-1.0.10/_build/install/default/lib/toplevel" } ; findlib_path = [ External "/usr/lib/ocaml"; External "/usr/lib" ] ; arch_sixtyfour = true ; natdynlink_supported = true ; supports_shared_libraries = true ; ocaml_config = { version = "4.14.0" ; standard_library_default = "/usr/lib/ocaml" ; standard_library = "/usr/lib/ocaml" ; standard_runtime = "the_standard_runtime_variable_was_deleted" ; ccomp_type = "cc" ; c_compiler = "gcc" ; ocamlc_cflags = [ "-O2" ; "-fno-strict-aliasing" ; "-fwrapv" ; "-pthread" ; "-fPIC" ; "-Os" ; "-fomit-frame-pointer" ] ; ocamlc_cppflags = [ "-D_FILE_OFFSET_BITS=64"; "-Os"; "-fomit-frame-pointer" ] ; ocamlopt_cflags = [ "-O2" ; "-fno-strict-aliasing" ; "-fwrapv" ; "-pthread" ; "-fPIC" ; "-Os" ; "-fomit-frame-pointer" ] ; ocamlopt_cppflags = [ "-D_FILE_OFFSET_BITS=64"; "-Os"; "-fomit-frame-pointer" ] ; bytecomp_c_compiler = [ "gcc" ; "-O2" ; "-fno-strict-aliasing" ; "-fwrapv" ; "-pthread" ; "-fPIC" ; "-Os" ; "-fomit-frame-pointer" ; "-D_FILE_OFFSET_BITS=64" ; "-Os" ; "-fomit-frame-pointer" ] ; bytecomp_c_libraries = [ "-lm"; "-lpthread" ] ; native_c_compiler = [ "gcc" ; "-O2" ; "-fno-strict-aliasing" ; "-fwrapv" ; "-pthread" ; "-fPIC" ; "-Os" ; "-fomit-frame-pointer" ; "-D_FILE_OFFSET_BITS=64" ; "-Os" ; "-fomit-frame-pointer" ] ; native_c_libraries = [ "-lm" ] ; native_pack_linker = [ "ld"; "-r"; "-o" ] ; cc_profile = [] ; architecture = "amd64" ; model = "default" ; int_size = 63 ; word_size = 64 ; system = "linux" ; asm = [ "gcc"; "-c" ] ; asm_cfi_supported = true ; with_frame_pointers = false ; ext_exe = "" ; ext_obj = ".o" ; ext_asm = ".s" ; ext_lib = ".a" ; ext_dll = ".so" ; os_type = "Unix" ; default_executable_name = "a.out" ; systhread_supported = true ; host = "x86_64-pc-linux-musl" ; target = "x86_64-pc-linux-musl" ; profiling = false ; flambda = false ; spacetime = false ; safe_string = true ; exec_magic_number = "Caml1999X031" ; cmi_magic_number = "Caml1999I031" ; cmo_magic_number = "Caml1999O031" ; cma_magic_number = "Caml1999A031" ; cmx_magic_number = "Caml1999Y031" ; cmxa_magic_number = "Caml1999Z031" ; ast_impl_magic_number = "Caml1999M031" ; ast_intf_magic_number = "Caml1999N031" ; cmxs_magic_number = "Caml1999D031" ; cmt_magic_number = "Caml1999T031" ; natdynlink_supported = true ; supports_shared_libraries = true ; windows_unicode = false } } >>> ocaml-curses: Entering fakeroot... Installing /home/buildozer/aports/testing/ocaml-curses/pkg/ocaml-curses/usr/lib/ocaml/curses/META Installing /home/buildozer/aports/testing/ocaml-curses/pkg/ocaml-curses/usr/lib/ocaml/curses/curses.a Installing /home/buildozer/aports/testing/ocaml-curses/pkg/ocaml-curses/usr/lib/ocaml/curses/curses.cma Installing /home/buildozer/aports/testing/ocaml-curses/pkg/ocaml-curses/usr/lib/ocaml/curses/curses.cmi Installing /home/buildozer/aports/testing/ocaml-curses/pkg/ocaml-curses/usr/lib/ocaml/curses/curses.cmt Installing /home/buildozer/aports/testing/ocaml-curses/pkg/ocaml-curses/usr/lib/ocaml/curses/curses.cmti Installing /home/buildozer/aports/testing/ocaml-curses/pkg/ocaml-curses/usr/lib/ocaml/curses/curses.cmx Installing /home/buildozer/aports/testing/ocaml-curses/pkg/ocaml-curses/usr/lib/ocaml/curses/curses.cmxa Installing /home/buildozer/aports/testing/ocaml-curses/pkg/ocaml-curses/usr/lib/ocaml/curses/curses.ml Installing /home/buildozer/aports/testing/ocaml-curses/pkg/ocaml-curses/usr/lib/ocaml/curses/curses.mli Installing /home/buildozer/aports/testing/ocaml-curses/pkg/ocaml-curses/usr/lib/ocaml/curses/dune-package Installing /home/buildozer/aports/testing/ocaml-curses/pkg/ocaml-curses/usr/lib/ocaml/curses/libcurses_stubs.a Installing /home/buildozer/aports/testing/ocaml-curses/pkg/ocaml-curses/usr/lib/ocaml/curses/opam Installing /home/buildozer/aports/testing/ocaml-curses/pkg/ocaml-curses/usr/lib/ocaml/curses/curses.cmxs Installing /home/buildozer/aports/testing/ocaml-curses/pkg/ocaml-curses/usr/doc/curses/CHANGES Installing /home/buildozer/aports/testing/ocaml-curses/pkg/ocaml-curses/usr/doc/curses/README.md Installing /home/buildozer/aports/testing/ocaml-curses/pkg/ocaml-curses/usr/lib/ocaml/stublibs/dllcurses_stubs.so >>> ocaml-curses-dev*: Running split function dev... '/home/buildozer/aports/testing/ocaml-curses/pkg/ocaml-curses/usr/lib/ocaml/curses/curses.cmxa' -> '/home/buildozer/aports/testing/ocaml-curses/pkg/ocaml-curses-dev/usr/lib/ocaml/curses/curses.cmxa' '/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.cmx' -> '/home/buildozer/aports/testing/ocaml-curses/pkg/ocaml-curses-dev/usr/lib/ocaml/curses/curses.cmx' '/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.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.0 MB >>> ocaml-curses-dev*: Compressing data... >>> ocaml-curses-dev*: Create checksum... >>> ocaml-curses-dev*: Create ocaml-curses-dev-1.0.10-r0.apk >>> ocaml-curses*: Tracing dependencies... ocaml-runtime so:libc.musl-x86_64.so.1 so:libncursesw.so.6 >>> ocaml-curses*: Package size: 528.0 KB >>> ocaml-curses*: Compressing data... >>> ocaml-curses*: Create checksum... >>> ocaml-curses*: Create ocaml-curses-1.0.10-r0.apk >>> ocaml-curses: Build complete at Sat, 14 May 2022 07:06:55 +0000 elapsed time 0h 0m 8s >>> ocaml-curses: Cleaning up srcdir >>> ocaml-curses: Cleaning up pkgdir >>> ocaml-curses: Uninstalling dependencies... (1/9) Purging .makedepends-ocaml-curses (20220514.070648) (2/9) Purging dune (3.1.1-r0) (3/9) Purging dune-configurator-dev (3.1.1_git20220513-r0) (4/9) Purging dune-configurator (3.1.1_git20220513-r0) (5/9) Purging ncurses-dev (6.3_p20220423-r0) (6/9) Purging ocaml (4.14.0-r0) (7/9) Purging ocaml-csexp-dev (1.5.1-r1) (8/9) Purging ocaml-csexp (1.5.1-r1) (9/9) Purging ocaml-runtime (4.14.0-r0) Executing busybox-1.35.0-r13.trigger OK: 332 MiB in 98 packages >>> ocaml-curses: Updating the testing/x86_64 repository index... >>> ocaml-curses: Signing the index...