Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/ocaml-curses.spec'], chrootPath='/var/lib/mock/dist-rebuild-after-rpm-check-build-180456-11870/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/ocaml-curses.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/ocaml-curses-1.0.11-2.ocs23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/ocaml-curses.spec'], chrootPath='/var/lib/mock/dist-rebuild-after-rpm-check-build-180456-11870/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/ocaml-curses.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.azyHSC + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf curses-1.0.11 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/curses-1.0.11.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd curses-1.0.11 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.4GGyQO + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd curses-1.0.11 + dune build --verbose --release -j32 Shared cache: disabled Workspace root: /builddir/build/BUILD/curses-1.0.11 Dune context: { name = "default" ; kind = "default" ; profile = Release ; merlin = true ; for_host = None ; fdo_target_exe = None ; build_dir = In_build_dir "default" ; 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" : "/builddir/build/BUILD/curses-1.0.11/_build/install/default/lib/stublibs" ; "DUNE_OCAML_HARDCODED" : "/usr/lib64/ocaml:/usr/lib64/ocaml" ; "DUNE_OCAML_STDLIB" : "/usr/lib64/ocaml" ; "DUNE_SOURCEROOT" : "/builddir/build/BUILD/curses-1.0.11" ; "INSIDE_DUNE" : "/builddir/build/BUILD/curses-1.0.11/_build/default" ; "MANPATH" : "/builddir/build/BUILD/curses-1.0.11/_build/install/default/man" ; "OCAMLFIND_IGNORE_DUPS_IN" : "/builddir/build/BUILD/curses-1.0.11/_build/install/default/lib" ; "OCAMLPATH" : "/builddir/build/BUILD/curses-1.0.11/_build/install/default/lib" ; "OCAMLTOP_INCLUDE_PATH" : "/builddir/build/BUILD/curses-1.0.11/_build/install/default/lib/toplevel" } ; findlib_paths = [ External "/usr/lib64/ocaml"; External "/usr/lib64/ocaml" ] ; natdynlink_supported = true ; supports_shared_libraries = true ; ocaml_config = { version = "5.0.1+dev0-2022-12-15" ; standard_library_default = "/usr/lib64/ocaml" ; standard_library = "/usr/lib64/ocaml" ; standard_runtime = "the_standard_runtime_variable_was_deleted" ; ccomp_type = "cc" ; c_compiler = "gcc" ; ocamlc_cflags = [ "-O2" ; "-fno-strict-aliasing" ; "-fwrapv" ; "-O2" ; "-flto=auto" ; "-ffat-lto-objects" ; "-fexceptions" ; "-g" ; "-grecord-gcc-switches" ; "-pipe" ; "-Wall" ; "-Werror=format-security" ; "-Wp,-D_FORTIFY_SOURCE=2" ; "-Wp,-D_GLIBCXX_ASSERTIONS" ; "-specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1" ; "-fstack-protector-strong" ; "-m64" ; "-march=x86-64-v2" ; "-mtune=generic" ; "-fasynchronous-unwind-tables" ; "-fstack-clash-protection" ; "-fcf-protection" ; "-pthread" ; "-fPIC" ; "-O2" ; "-flto=auto" ; "-ffat-lto-objects" ; "-fexceptions" ; "-g" ; "-grecord-gcc-switches" ; "-pipe" ; "-Wall" ; "-Werror=format-security" ; "-Wp,-D_FORTIFY_SOURCE=2" ; "-Wp,-D_GLIBCXX_ASSERTIONS" ; "-specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1" ; "-fstack-protector-strong" ; "-m64" ; "-march=x86-64-v2" ; "-mtune=generic" ; "-fasynchronous-unwind-tables" ; "-fstack-clash-protection" ; "-fcf-protection" ] ; ocamlc_cppflags = [ "-D_FILE_OFFSET_BITS=64" ] ; ocamlopt_cflags = [ "-O2" ; "-fno-strict-aliasing" ; "-fwrapv" ; "-O2" ; "-flto=auto" ; "-ffat-lto-objects" ; "-fexceptions" ; "-g" ; "-grecord-gcc-switches" ; "-pipe" ; "-Wall" ; "-Werror=format-security" ; "-Wp,-D_FORTIFY_SOURCE=2" ; "-Wp,-D_GLIBCXX_ASSERTIONS" ; "-specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1" ; "-fstack-protector-strong" ; "-m64" ; "-march=x86-64-v2" ; "-mtune=generic" ; "-fasynchronous-unwind-tables" ; "-fstack-clash-protection" ; "-fcf-protection" ; "-pthread" ; "-fPIC" ; "-O2" ; "-flto=auto" ; "-ffat-lto-objects" ; "-fexceptions" ; "-g" ; "-grecord-gcc-switches" ; "-pipe" ; "-Wall" ; "-Werror=format-security" ; "-Wp,-D_FORTIFY_SOURCE=2" ; "-Wp,-D_GLIBCXX_ASSERTIONS" ; "-specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1" ; "-fstack-protector-strong" ; "-m64" ; "-march=x86-64-v2" ; "-mtune=generic" ; "-fasynchronous-unwind-tables" ; "-fstack-clash-protection" ; "-fcf-protection" ] ; ocamlopt_cppflags = [ "-D_FILE_OFFSET_BITS=64" ] ; bytecomp_c_compiler = [ "gcc" ; "-O2" ; "-fno-strict-aliasing" ; "-fwrapv" ; "-O2" ; "-flto=auto" ; "-ffat-lto-objects" ; "-fexceptions" ; "-g" ; "-grecord-gcc-switches" ; "-pipe" ; "-Wall" ; "-Werror=format-security" ; "-Wp,-D_FORTIFY_SOURCE=2" ; "-Wp,-D_GLIBCXX_ASSERTIONS" ; "-specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1" ; "-fstack-protector-strong" ; "-m64" ; "-march=x86-64-v2" ; "-mtune=generic" ; "-fasynchronous-unwind-tables" ; "-fstack-clash-protection" ; "-fcf-protection" ; "-pthread" ; "-fPIC" ; "-O2" ; "-flto=auto" ; "-ffat-lto-objects" ; "-fexceptions" ; "-g" ; "-grecord-gcc-switches" ; "-pipe" ; "-Wall" ; "-Werror=format-security" ; "-Wp,-D_FORTIFY_SOURCE=2" ; "-Wp,-D_GLIBCXX_ASSERTIONS" ; "-specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1" ; "-fstack-protector-strong" ; "-m64" ; "-march=x86-64-v2" ; "-mtune=generic" ; "-fasynchronous-unwind-tables" ; "-fstack-clash-protection" ; "-fcf-protection" ; "-D_FILE_OFFSET_BITS=64" ] ; bytecomp_c_libraries = [ "-Wl,-z,relro" ; "-Wl,--as-needed" ; "-Wl,-z,now" ; "-specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld" ; "-Wl,--build-id=sha1" ; "-lm" ; "-lpthread" ] ; native_c_compiler = [ "gcc" ; "-O2" ; "-fno-strict-aliasing" ; "-fwrapv" ; "-O2" ; "-flto=auto" ; "-ffat-lto-objects" ; "-fexceptions" ; "-g" ; "-grecord-gcc-switches" ; "-pipe" ; "-Wall" ; "-Werror=format-security" ; "-Wp,-D_FORTIFY_SOURCE=2" ; "-Wp,-D_GLIBCXX_ASSERTIONS" ; "-specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1" ; "-fstack-protector-strong" ; "-m64" ; "-march=x86-64-v2" ; "-mtune=generic" ; "-fasynchronous-unwind-tables" ; "-fstack-clash-protection" ; "-fcf-protection" ; "-pthread" ; "-fPIC" ; "-O2" ; "-flto=auto" ; "-ffat-lto-objects" ; "-fexceptions" ; "-g" ; "-grecord-gcc-switches" ; "-pipe" ; "-Wall" ; "-Werror=format-security" ; "-Wp,-D_FORTIFY_SOURCE=2" ; "-Wp,-D_GLIBCXX_ASSERTIONS" ; "-specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1" ; "-fstack-protector-strong" ; "-m64" ; "-march=x86-64-v2" ; "-mtune=generic" ; "-fasynchronous-unwind-tables" ; "-fstack-clash-protection" ; "-fcf-protection" ; "-D_FILE_OFFSET_BITS=64" ] ; native_c_libraries = [ "-Wl,-z,relro" ; "-Wl,--as-needed" ; "-Wl,-z,now" ; "-specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld" ; "-Wl,--build-id=sha1" ; "-lm" ; "-lpthread" ] ; native_pack_linker = [ "ld"; "-r"; "-o" ] ; cc_profile = [] ; architecture = "amd64" ; model = "default" ; int_size = 63 ; word_size = 64 ; system = "linux" ; asm = [ "as" ] ; 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-gnu" ; target = "x86_64-pc-linux-gnu" ; profiling = false ; flambda = true ; spacetime = false ; safe_string = true ; exec_magic_number = "Caml1999X032" ; cmi_magic_number = "Caml1999I032" ; cmo_magic_number = "Caml1999O032" ; cma_magic_number = "Caml1999A032" ; cmx_magic_number = "Caml1999y032" ; cmxa_magic_number = "Caml1999z032" ; ast_impl_magic_number = "Caml1999M032" ; ast_intf_magic_number = "Caml1999N032" ; cmxs_magic_number = "Caml1999D032" ; cmt_magic_number = "Caml1999T032" ; natdynlink_supported = true ; supports_shared_libraries = true ; windows_unicode = false } } Actual targets: - recursive alias @install Running[1]: (cd _build/default && /usr/bin/ocamlc.opt -w -40 -g -bin-annot -I .curses.objs/byte -I /usr/lib64/ocaml/unix -no-alias-deps -o .curses.objs/byte/curses.cmi -c -intf curses.mli) Running[2]: (cd _build/default && /usr/bin/ocamlc.opt -w -40 -g -bin-annot -I .discover.eobjs/byte -I /usr/lib64/ocaml/dune-configurator -I /usr/lib64/ocaml/stdune/csexp -I /usr/lib64/ocaml/unix -no-alias-deps -o .discover.eobjs/byte/dune__exe__Discover.cmo -c -impl discover.ml) Running[3]: (cd _build/default && /usr/bin/ocamlopt.opt -w -40 -g -I .discover.eobjs/byte -I .discover.eobjs/native -I /usr/lib64/ocaml/dune-configurator -I /usr/lib64/ocaml/stdune/csexp -I /usr/lib64/ocaml/unix -intf-suffix .ml -no-alias-deps -o .discover.eobjs/native/dune__exe__Discover.cmx -c -impl discover.ml) Running[4]: (cd _build/default && /usr/bin/ocamlopt.opt -w -40 -g -o discover.exe /usr/lib64/ocaml/unix/unix.cmxa /usr/lib64/ocaml/stdune/csexp/csexp.cmxa /usr/lib64/ocaml/dune-configurator/configurator.cmxa .discover.eobjs/native/dune__exe__Discover.cmx) Running[5]: (cd _build/default && ./discover.exe) Running[6]: (cd _build/default && /usr/bin/sh -c 'gcc -O2 -fno-strict-aliasing -fwrapv -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -pthread -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -x c -E _curses.ml') > _build/default/curses.ml Running[7]: (cd _build/default && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -pthread -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_FILE_OFFSET_BITS=64 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DHAVE_CONFIG_H -g -I /usr/lib64/ocaml -I /usr/lib64/ocaml/unix -o ml_curses.o -c ml_curses.c) Running[8]: (cd _build/default && /usr/bin/ocamlopt.opt -w -40 -g -I .curses.objs/byte -I .curses.objs/native -I /usr/lib64/ocaml/unix -intf-suffix .ml -no-alias-deps -o .curses.objs/native/curses.cmx -c -impl curses.ml) Running[9]: (cd _build/default && /usr/bin/ocamlc.opt -w -40 -g -bin-annot -I .curses.objs/byte -I /usr/lib64/ocaml/unix -intf-suffix .ml -no-alias-deps -o .curses.objs/byte/curses.cmo -c -impl curses.ml) Running[10]: (cd _build/default && /usr/bin/ocamlc.opt -w -40 -g -a -o curses.cma -dllib -lcurses_stubs -cclib -lcurses_stubs -cclib -lncursesw -cclib -ltinfo .curses.objs/byte/curses.cmo) Running[11]: (cd _build/default && /usr/bin/ocamlopt.opt -w -40 -g -a -o curses.cmxa -cclib -lcurses_stubs -cclib -lncursesw -cclib -ltinfo .curses.objs/native/curses.cmx) Output[7]: In file included from ml_curses.c:7: functions.c: In function 'mlcurses_addstr': /usr/lib64/ocaml/caml/mlvalues.h:308:23: warning: pointer targets in passing argument 2 of 'waddnstr' differ in signedness [-Wpointer-sign] 308 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) /usr/lib64/ocaml/caml/memory.h:423:29: note: in definition of macro 'CAMLreturnT' 423 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:72:25: note: in expansion of macro 'CAMLreturn' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long' 79 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:401:21: note: in expansion of macro 'Val_int' 401 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:72:36: note: in expansion of macro 'Val_bool' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ ml_curses.c:127:9: note: in expansion of macro 'r_err' 127 | { RA1 r_##tr(f(a_##ta(aa))); } | ^~ ml_curses.c:109:25: note: in expansion of macro 'Bytes_val' 109 | #define a_string(a) Bytes_val(a) | ^~~~~~~~~ ml_curses.c:127:18: note: in expansion of macro 'a_string' 127 | { RA1 r_##tr(f(a_##ta(aa))); } | ^~ functions.c:48:1: note: in expansion of macro 'ML1' 48 | ML1(addstr,err,string) | ^~~ In file included from ml_curses.c:22: /usr/include/curses.h:830:47: note: expected 'const char *' but argument is of type 'unsigned char *' 830 | extern NCURSES_EXPORT(int) waddnstr (WINDOW *,const char *,int); /* implemented */ | ^~~~~~~~~~~~ functions.c: In function 'mlcurses_waddstr': /usr/lib64/ocaml/caml/mlvalues.h:308:23: warning: pointer targets in passing argument 2 of 'waddnstr' differ in signedness [-Wpointer-sign] 308 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * /usr/lib64/ocaml/caml/memory.h:423:29: note: in definition of macro 'CAMLreturnT' 423 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:72:25: note: in expansion of macro 'CAMLreturn' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long' 79 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:401:21: note: in expansion of macro 'Val_int' 401 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:72:36: note: in expansion of macro 'Val_bool' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ ml_curses.c:130:9: note: in expansion of macro 'r_err' 130 | { RA2 r_##tr(f(a_##ta(aa),a_##tb(ab))); } | ^~ ml_curses.c:109:25: note: in expansion of macro 'Bytes_val' 109 | #define a_string(a) Bytes_val(a) | ^~~~~~~~~ ml_curses.c:130:29: note: in expansion of macro 'a_string' 130 | { RA2 r_##tr(f(a_##ta(aa),a_##tb(ab))); } | ^~ functions.c:49:1: note: in expansion of macro 'ML2' 49 | ML2(waddstr,err,window,string) | ^~~ /usr/include/curses.h:830:47: note: expected 'const char *' but argument is of type 'unsigned char *' 830 | extern NCURSES_EXPORT(int) waddnstr (WINDOW *,const char *,int); /* implemented */ | ^~~~~~~~~~~~ functions.c: In function 'mlcurses_mvaddstr': /usr/lib64/ocaml/caml/mlvalues.h:308:23: warning: pointer targets in passing argument 2 of 'waddnstr' differ in signedness [-Wpointer-sign] 308 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) /usr/lib64/ocaml/caml/memory.h:423:29: note: in definition of macro 'CAMLreturnT' 423 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:72:25: note: in expansion of macro 'CAMLreturn' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long' 79 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:401:21: note: in expansion of macro 'Val_int' 401 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:72:36: note: in expansion of macro 'Val_bool' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ ml_curses.c:133:9: note: in expansion of macro 'r_err' 133 | { RA3 r_##tr(f(a_##ta(aa),a_##tb(ab),a_##tc(ac))); } | ^~ ml_curses.c:109:25: note: in expansion of macro 'Bytes_val' 109 | #define a_string(a) Bytes_val(a) | ^~~~~~~~~ ml_curses.c:133:40: note: in expansion of macro 'a_string' 133 | { RA3 r_##tr(f(a_##ta(aa),a_##tb(ab),a_##tc(ac))); } | ^~ functions.c:50:1: note: in expansion of macro 'ML3' 50 | ML3(mvaddstr,err,int,int,string) | ^~~ /usr/include/curses.h:830:47: note: expected 'const char *' but argument is of type 'unsigned char *' 830 | extern NCURSES_EXPORT(int) waddnstr (WINDOW *,const char *,int); /* implemented */ | ^~~~~~~~~~~~ functions.c: In function 'mlcurses_mvwaddstr': /usr/lib64/ocaml/caml/mlvalues.h:308:23: warning: pointer targets in passing argument 2 of 'waddnstr' differ in signedness [-Wpointer-sign] 308 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) /usr/lib64/ocaml/caml/memory.h:423:29: note: in definition of macro 'CAMLreturnT' 423 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:72:25: note: in expansion of macro 'CAMLreturn' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long' 79 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:401:21: note: in expansion of macro 'Val_int' 401 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:72:36: note: in expansion of macro 'Val_bool' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ ml_curses.c:136:9: note: in expansion of macro 'r_err' 136 | { RA4 r_##tr(f(a_##ta(aa),a_##tb(ab),a_##tc(ac),a_##td(ad))); } | ^~ ml_curses.c:109:25: note: in expansion of macro 'Bytes_val' 109 | #define a_string(a) Bytes_val(a) | ^~~~~~~~~ ml_curses.c:136:51: note: in expansion of macro 'a_string' 136 | { RA4 r_##tr(f(a_##ta(aa),a_##tb(ab),a_##tc(ac),a_##td(ad))); } | ^~ functions.c:51:1: note: in expansion of macro 'ML4' 51 | ML4(mvwaddstr,err,window,int,int,string) | ^~~ /usr/include/curses.h:830:47: note: expected 'const char *' but argument is of type 'unsigned char *' 830 | extern NCURSES_EXPORT(int) waddnstr (WINDOW *,const char *,int); /* implemented */ | ^~~~~~~~~~~~ functions.c: In function 'mlcurses_addnstr': functions.c:53:32: warning: pointer targets in passing argument 2 of 'waddnstr' differ in signedness [-Wpointer-sign] 53 | BEG3 r_err(addnstr(a_string(aa)+a_int(ab),a_int(ac))); END | ^ | | | unsigned char * /usr/lib64/ocaml/caml/memory.h:423:29: note: in definition of macro 'CAMLreturnT' 423 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:72:25: note: in expansion of macro 'CAMLreturn' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long' 79 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:401:21: note: in expansion of macro 'Val_int' 401 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:72:36: note: in expansion of macro 'Val_bool' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:53:6: note: in expansion of macro 'r_err' 53 | BEG3 r_err(addnstr(a_string(aa)+a_int(ab),a_int(ac))); END | ^~~~~ /usr/include/curses.h:830:47: note: expected 'const char *' but argument is of type 'unsigned char *' 830 | extern NCURSES_EXPORT(int) waddnstr (WINDOW *,const char *,int); /* implemented */ | ^~~~~~~~~~~~ functions.c: In function 'mlcurses_waddnstr': functions.c:55:46: warning: pointer targets in passing argument 2 of 'waddnstr' differ in signedness [-Wpointer-sign] 55 | BEG4 r_err(waddnstr(a_window(aa),a_string(ab)+a_int(ac),a_int(ad))); END /usr/lib64/ocaml/caml/memory.h:423:29: note: in definition of macro 'CAMLreturnT' 423 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:72:25: note: in expansion of macro 'CAMLreturn' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long' 79 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:401:21: note: in expansion of macro 'Val_int' 401 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:72:36: note: in expansion of macro 'Val_bool' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:55:6: note: in expansion of macro 'r_err' 55 | BEG4 r_err(waddnstr(a_window(aa),a_string(ab)+a_int(ac),a_int(ad))); END | ^~~~~ /usr/include/curses.h:830:47: note: expected 'const char *' but argument is of type 'unsigned char *' 830 | extern NCURSES_EXPORT(int) waddnstr (WINDOW *,const char *,int); /* implemented */ | ^~~~~~~~~~~~ functions.c: In function 'mlcurses_mvaddnstr': functions.c:58:15: warning: pointer targets in passing argument 2 of 'waddnstr' differ in signedness [-Wpointer-sign] 58 | a_string(ac)+a_int(ad),a_int(ae))); END | ^ | | | unsigned char * /usr/lib64/ocaml/caml/memory.h:423:29: note: in definition of macro 'CAMLreturnT' 423 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:72:25: note: in expansion of macro 'CAMLreturn' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long' 79 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:401:21: note: in expansion of macro 'Val_int' 401 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:72:36: note: in expansion of macro 'Val_bool' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:57:6: note: in expansion of macro 'r_err' 57 | BEG5 r_err(mvaddnstr(a_int(aa),a_int(ab), | ^~~~~ /usr/include/curses.h:830:47: note: expected 'const char *' but argument is of type 'unsigned char *' 830 | extern NCURSES_EXPORT(int) waddnstr (WINDOW *,const char *,int); /* implemented */ | ^~~~~~~~~~~~ functions.c: In function 'mlcurses_mvwaddnstr_native': functions.c:61:15: warning: pointer targets in passing argument 2 of 'waddnstr' differ in signedness [-Wpointer-sign] 61 | a_string(ad)+a_int(ae),a_int(af))); END | ^ | | | unsigned char * /usr/lib64/ocaml/caml/memory.h:423:29: note: in definition of macro 'CAMLreturnT' 423 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:72:25: note: in expansion of macro 'CAMLreturn' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long' 79 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:401:21: note: in expansion of macro 'Val_int' 401 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:72:36: note: in expansion of macro 'Val_bool' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:60:6: note: in expansion of macro 'r_err' 60 | BEG6 r_err(mvwaddnstr(a_window(aa),a_int(ab),a_int(ac), | ^~~~~ /usr/include/curses.h:830:47: note: expected 'const char *' but argument is of type 'unsigned char *' 830 | extern NCURSES_EXPORT(int) waddnstr (WINDOW *,const char *,int); /* implemented */ | ^~~~~~~~~~~~ In file included from ml_curses.c:237: functions.c: In function 'mlcurses_color_content': functions.c:161:19: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 161 | BEG1 short x,y,z; if(color_content(Int_val(aa),&x,&y,&z)==ERR) | ^~ ml_curses.c:91:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 91 | { CAMLlocal1(ret); AWB(ret); \ | ^ functions.c:162:13: note: in expansion of macro 'r_int_int_int' 162 | x=y=z=-1; r_int_int_int(x,y,z); END | ^~~~~~~~~~~~~ functions.c: In function 'mlcurses_getstr': /usr/lib64/ocaml/caml/mlvalues.h:308:23: warning: pointer targets in passing argument 2 of 'wgetnstr' differ in signedness [-Wpointer-sign] 308 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * /usr/lib64/ocaml/caml/memory.h:423:29: note: in definition of macro 'CAMLreturnT' 423 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:72:25: note: in expansion of macro 'CAMLreturn' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long' 79 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:401:21: note: in expansion of macro 'Val_int' 401 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:72:36: note: in expansion of macro 'Val_bool' 72 | #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),caml_string_length(aa))); END | ^~~~~ ml_curses.c:109:25: note: in expansion of macro 'Bytes_val' 109 | #define a_string(a) Bytes_val(a) | ^~~~~~~~~ functions.c:195:20: note: in expansion of macro 'a_string' 195 | BEG1 r_err(getnstr(a_string(aa),caml_string_length(aa))); END | ^~~~~~~~ /usr/include/curses.h:853:47: note: expected 'char *' but argument is of type 'unsigned char *' 853 | extern NCURSES_EXPORT(int) wgetnstr (WINDOW *,char *,int); /* implemented */ | ^~~~~~ functions.c: In function 'mlcurses_wgetstr': /usr/lib64/ocaml/caml/mlvalues.h:308:23: warning: pointer targets in passing argument 2 of 'wgetnstr' differ in signedness [-Wpointer-sign] 308 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * /usr/lib64/ocaml/caml/memory.h:423:29: note: in definition of macro 'CAMLreturnT' 423 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:72:25: note: in expansion of macro 'CAMLreturn' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long' 79 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:401:21: note: in expansion of macro 'Val_int' 401 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:72:36: note: in expansion of macro 'Val_bool' 72 | #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),caml_string_length(ab))); END | ^~~~~ ml_curses.c:109:25: note: in expansion of macro 'Bytes_val' 109 | #define a_string(a) Bytes_val(a) | ^~~~~~~~~ functions.c:197:34: note: in expansion of macro 'a_string' 197 | BEG2 r_err(wgetnstr(a_window(aa),a_string(ab),caml_string_length(ab))); END | ^~~~~~~~ /usr/include/curses.h:853:47: note: expected 'char *' but argument is of type 'unsigned char *' 853 | extern NCURSES_EXPORT(int) wgetnstr (WINDOW *,char *,int); /* implemented */ | ^~~~~~ functions.c: In function 'mlcurses_mvgetstr': /usr/lib64/ocaml/caml/mlvalues.h:308:23: warning: pointer targets in passing argument 2 of 'wgetnstr' differ in signedness [-Wpointer-sign] 308 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) /usr/lib64/ocaml/caml/memory.h:423:29: note: in definition of macro 'CAMLreturnT' 423 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:72:25: note: in expansion of macro 'CAMLreturn' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long' 79 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:401:21: note: in expansion of macro 'Val_int' 401 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:72:36: note: in expansion of macro 'Val_bool' 72 | #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),caml_string_length(ac))); END | ^~~~~ ml_curses.c:109:25: note: in expansion of macro 'Bytes_val' 109 | #define a_string(a) Bytes_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),caml_string_length(ac))); END | ^~~~~~~~ /usr/include/curses.h:853:47: note: expected 'char *' but argument is of type 'unsigned char *' 853 | extern NCURSES_EXPORT(int) wgetnstr (WINDOW *,char *,int); /* implemented */ | ^~~~~~ functions.c: In function 'mlcurses_mvwgetstr': /usr/lib64/ocaml/caml/mlvalues.h:308:23: warning: pointer targets in passing argument 2 of 'wgetnstr' differ in signedness [-Wpointer-sign] 308 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) /usr/lib64/ocaml/caml/memory.h:423:29: note: in definition of macro 'CAMLreturnT' 423 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:72:25: note: in expansion of macro 'CAMLreturn' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long' 79 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:401:21: note: in expansion of macro 'Val_int' 401 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:72:36: note: in expansion of macro 'Val_bool' 72 | #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:109:25: note: in expansion of macro 'Bytes_val' 109 | #define a_string(a) Bytes_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:853:47: note: expected 'char *' but argument is of type 'unsigned char *' 853 | extern NCURSES_EXPORT(int) wgetnstr (WINDOW *,char *,int); /* implemented */ | ^~~~~~ functions.c: In function 'mlcurses_getnstr': functions.c:204:32: warning: pointer targets in passing argument 2 of 'wgetnstr' differ in signedness [-Wpointer-sign] 204 | BEG3 r_err(getnstr(a_string(aa)+a_int(ab),a_int(ac))); END /usr/lib64/ocaml/caml/memory.h:423:29: note: in definition of macro 'CAMLreturnT' 423 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:72:25: note: in expansion of macro 'CAMLreturn' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long' 79 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:401:21: note: in expansion of macro 'Val_int' 401 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:72:36: note: in expansion of macro 'Val_bool' 72 | #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:853:47: note: expected 'char *' but argument is of type 'unsigned char *' 853 | extern NCURSES_EXPORT(int) wgetnstr (WINDOW *,char *,int); /* implemented */ | ^~~~~~ functions.c: In function 'mlcurses_wgetnstr': functions.c:206:46: warning: pointer targets in passing argument 2 of 'wgetnstr' differ in signedness [-Wpointer-sign] 206 | BEG4 r_err(wgetnstr(a_window(aa),a_string(ab)+a_int(ac),a_int(ad))); END /usr/lib64/ocaml/caml/memory.h:423:29: note: in definition of macro 'CAMLreturnT' 423 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:72:25: note: in expansion of macro 'CAMLreturn' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long' 79 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:401:21: note: in expansion of macro 'Val_int' 401 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:72:36: note: in expansion of macro 'Val_bool' 72 | #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:853:47: note: expected 'char *' but argument is of type 'unsigned char *' 853 | extern NCURSES_EXPORT(int) wgetnstr (WINDOW *,char *,int); /* implemented */ | ^~~~~~ functions.c: In function 'mlcurses_mvgetnstr': functions.c:208:54: warning: pointer targets in passing argument 2 of 'wgetnstr' differ in signedness [-Wpointer-sign] 208 | BEG5 r_err(mvgetnstr(a_int(aa),a_int(ab),a_string(ac)+a_int(ad), | ^ | | | unsigned char * /usr/lib64/ocaml/caml/memory.h:423:29: note: in definition of macro 'CAMLreturnT' 423 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:72:25: note: in expansion of macro 'CAMLreturn' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long' 79 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:401:21: note: in expansion of macro 'Val_int' 401 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:72:36: note: in expansion of macro 'Val_bool' 72 | #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:853:47: note: expected 'char *' but argument is of type 'unsigned char *' 853 | extern NCURSES_EXPORT(int) wgetnstr (WINDOW *,char *,int); /* implemented */ | ^~~~~~ functions.c: In function 'mlcurses_mvwgetnstr_native': functions.c:211:68: warning: pointer targets in passing argument 2 of 'wgetnstr' differ in signedness [-Wpointer-sign] 211 | BEG6 r_err(mvwgetnstr(a_window(aa),a_int(ab),a_int(ac),a_string(ad)+a_int(ae), | ^ | | | unsigned char * /usr/lib64/ocaml/caml/memory.h:423:29: note: in definition of macro 'CAMLreturnT' 423 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:72:25: note: in expansion of macro 'CAMLreturn' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long' 79 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:401:21: note: in expansion of macro 'Val_int' 401 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:72:36: note: in expansion of macro 'Val_bool' 72 | #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:853:47: note: expected 'char *' but argument is of type 'unsigned char *' 853 | extern NCURSES_EXPORT(int) wgetnstr (WINDOW *,char *,int); /* implemented */ | ^~~~~~ In file included from ml_curses.c:5: functions.c: In function 'mlcurses_newterm': /usr/lib64/ocaml/caml/mlvalues.h:308:23: warning: pointer targets in passing argument 1 of 'newterm' differ in signedness [-Wpointer-sign] 308 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * ml_curses.c:109:25: note: in expansion of macro 'Bytes_val' 109 | #define a_string(a) Bytes_val(a) | ^~~~~~~~~ functions.c:299:13: note: in expansion of macro 'a_string' 299 | s=newterm(a_string(aa),fa,fb); | ^~~~~~~~ /usr/include/curses.h:744:42: note: expected 'const char *' but argument is of type 'unsigned char *' 744 | extern NCURSES_EXPORT(SCREEN *) newterm (const char *,FILE *,FILE *); /* implemented */ | ^~~~~~~~~~~~ functions.c: In function 'mlcurses_insstr': /usr/lib64/ocaml/caml/mlvalues.h:308:23: warning: pointer targets in passing argument 2 of 'winsnstr' differ in signedness [-Wpointer-sign] 308 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) /usr/lib64/ocaml/caml/memory.h:423:29: note: in definition of macro 'CAMLreturnT' 423 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:72:25: note: in expansion of macro 'CAMLreturn' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long' 79 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:401:21: note: in expansion of macro 'Val_int' 401 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:72:36: note: in expansion of macro 'Val_bool' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:316:6: note: in expansion of macro 'r_err' 316 | BEG1 r_err(insnstr(a_string(aa),caml_string_length(aa))); END | ^~~~~ ml_curses.c:109:25: note: in expansion of macro 'Bytes_val' 109 | #define a_string(a) Bytes_val(a) | ^~~~~~~~~ functions.c:316:20: note: in expansion of macro 'a_string' 316 | BEG1 r_err(insnstr(a_string(aa),caml_string_length(aa))); END | ^~~~~~~~ /usr/include/curses.h:863:48: note: expected 'const char *' but argument is of type 'unsigned char *' 863 | extern NCURSES_EXPORT(int) winsnstr (WINDOW *, const char *,int); /* implemented */ | ^~~~~~~~~~~~ functions.c: In function 'mlcurses_winsstr': /usr/lib64/ocaml/caml/mlvalues.h:308:23: warning: pointer targets in passing argument 2 of 'winsnstr' differ in signedness [-Wpointer-sign] 308 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * /usr/lib64/ocaml/caml/memory.h:423:29: note: in definition of macro 'CAMLreturnT' 423 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:72:25: note: in expansion of macro 'CAMLreturn' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long' 79 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:401:21: note: in expansion of macro 'Val_int' 401 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:72:36: note: in expansion of macro 'Val_bool' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:318:6: note: in expansion of macro 'r_err' 318 | BEG2 r_err(winsnstr(a_window(aa),a_string(ab),caml_string_length(ab))); END | ^~~~~ ml_curses.c:109:25: note: in expansion of macro 'Bytes_val' 109 | #define a_string(a) Bytes_val(a) | ^~~~~~~~~ functions.c:318:34: note: in expansion of macro 'a_string' 318 | BEG2 r_err(winsnstr(a_window(aa),a_string(ab),caml_string_length(ab))); END | ^~~~~~~~ /usr/include/curses.h:863:48: note: expected 'const char *' but argument is of type 'unsigned char *' 863 | extern NCURSES_EXPORT(int) winsnstr (WINDOW *, const char *,int); /* implemented */ | ^~~~~~~~~~~~ functions.c: In function 'mlcurses_mvinsstr': /usr/lib64/ocaml/caml/mlvalues.h:308:23: warning: pointer targets in passing argument 2 of 'winsnstr' differ in signedness [-Wpointer-sign] 308 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) /usr/lib64/ocaml/caml/memory.h:423:29: note: in definition of macro 'CAMLreturnT' 423 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:72:25: note: in expansion of macro 'CAMLreturn' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long' 79 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:401:21: note: in expansion of macro 'Val_int' 401 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:72:36: note: in expansion of macro 'Val_bool' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:320:6: note: in expansion of macro 'r_err' 320 | BEG3 r_err(mvinsnstr(a_int(aa),a_int(ab),a_string(ac),caml_string_length(ac))); END | ^~~~~ ml_curses.c:109:25: note: in expansion of macro 'Bytes_val' 109 | #define a_string(a) Bytes_val(a) | ^~~~~~~~~ functions.c:320:42: note: in expansion of macro 'a_string' 320 | BEG3 r_err(mvinsnstr(a_int(aa),a_int(ab),a_string(ac),caml_string_length(ac))); END | ^~~~~~~~ /usr/include/curses.h:863:48: note: expected 'const char *' but argument is of type 'unsigned char *' 863 | extern NCURSES_EXPORT(int) winsnstr (WINDOW *, const char *,int); /* implemented */ | ^~~~~~~~~~~~ functions.c: In function 'mlcurses_mvwinsstr': /usr/lib64/ocaml/caml/mlvalues.h:308:23: warning: pointer targets in passing argument 2 of 'winsnstr' differ in signedness [-Wpointer-sign] 308 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) /usr/lib64/ocaml/caml/memory.h:423:29: note: in definition of macro 'CAMLreturnT' 423 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:72:25: note: in expansion of macro 'CAMLreturn' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long' 79 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:401:21: note: in expansion of macro 'Val_int' 401 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:72:36: note: in expansion of macro 'Val_bool' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:322:6: note: in expansion of macro 'r_err' 322 | BEG4 r_err(mvwinsnstr(a_window(aa),a_int(ab),a_int(ac), | ^~~~~ ml_curses.c:109:25: note: in expansion of macro 'Bytes_val' 109 | #define a_string(a) Bytes_val(a) | ^~~~~~~~~ functions.c:323:3: note: in expansion of macro 'a_string' 323 | a_string(ad),caml_string_length(ad))); END | ^~~~~~~~ /usr/include/curses.h:863:48: note: expected 'const char *' but argument is of type 'unsigned char *' 863 | extern NCURSES_EXPORT(int) winsnstr (WINDOW *, const char *,int); /* implemented */ | ^~~~~~~~~~~~ functions.c: In function 'mlcurses_insnstr': functions.c:325:32: warning: pointer targets in passing argument 2 of 'winsnstr' differ in signedness [-Wpointer-sign] 325 | BEG3 r_err(insnstr(a_string(aa)+a_int(ab),a_int(ac))); END | ^ | | | unsigned char * /usr/lib64/ocaml/caml/memory.h:423:29: note: in definition of macro 'CAMLreturnT' 423 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:72:25: note: in expansion of macro 'CAMLreturn' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long' 79 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:401:21: note: in expansion of macro 'Val_int' 401 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:72:36: note: in expansion of macro 'Val_bool' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:325:6: note: in expansion of macro 'r_err' 325 | BEG3 r_err(insnstr(a_string(aa)+a_int(ab),a_int(ac))); END | ^~~~~ /usr/include/curses.h:863:48: note: expected 'const char *' but argument is of type 'unsigned char *' 863 | extern NCURSES_EXPORT(int) winsnstr (WINDOW *, const char *,int); /* implemented */ | ^~~~~~~~~~~~ functions.c: In function 'mlcurses_winsnstr': functions.c:327:46: warning: pointer targets in passing argument 2 of 'winsnstr' differ in signedness [-Wpointer-sign] 327 | BEG4 r_err(winsnstr(a_window(aa),a_string(ab)+a_int(ac),a_int(ad))); END /usr/lib64/ocaml/caml/memory.h:423:29: note: in definition of macro 'CAMLreturnT' 423 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:72:25: note: in expansion of macro 'CAMLreturn' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long' 79 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:401:21: note: in expansion of macro 'Val_int' 401 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:72:36: note: in expansion of macro 'Val_bool' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:327:6: note: in expansion of macro 'r_err' 327 | BEG4 r_err(winsnstr(a_window(aa),a_string(ab)+a_int(ac),a_int(ad))); END | ^~~~~ /usr/include/curses.h:863:48: note: expected 'const char *' but argument is of type 'unsigned char *' 863 | extern NCURSES_EXPORT(int) winsnstr (WINDOW *, const char *,int); /* implemented */ | ^~~~~~~~~~~~ functions.c: In function 'mlcurses_mvinsnstr': functions.c:329:54: warning: pointer targets in passing argument 2 of 'winsnstr' differ in signedness [-Wpointer-sign] 329 | BEG5 r_err(mvinsnstr(a_int(aa),a_int(ab),a_string(ac)+a_int(ad),a_int(ae))); END | ^ | | | unsigned char * /usr/lib64/ocaml/caml/memory.h:423:29: note: in definition of macro 'CAMLreturnT' 423 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:72:25: note: in expansion of macro 'CAMLreturn' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long' 79 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:401:21: note: in expansion of macro 'Val_int' 401 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:72:36: note: in expansion of macro 'Val_bool' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:329:6: note: in expansion of macro 'r_err' 329 | BEG5 r_err(mvinsnstr(a_int(aa),a_int(ab),a_string(ac)+a_int(ad),a_int(ae))); END | ^~~~~ /usr/include/curses.h:863:48: note: expected 'const char *' but argument is of type 'unsigned char *' 863 | extern NCURSES_EXPORT(int) winsnstr (WINDOW *, const char *,int); /* implemented */ | ^~~~~~~~~~~~ functions.c: In function 'mlcurses_mvwinsnstr_native': functions.c:332:15: warning: pointer targets in passing argument 2 of 'winsnstr' differ in signedness [-Wpointer-sign] 332 | a_string(ad)+a_int(ae),a_int(af))); END | ^ | | | unsigned char * /usr/lib64/ocaml/caml/memory.h:423:29: note: in definition of macro 'CAMLreturnT' 423 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:72:25: note: in expansion of macro 'CAMLreturn' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long' 79 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:401:21: note: in expansion of macro 'Val_int' 401 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:72:36: note: in expansion of macro 'Val_bool' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:331:6: note: in expansion of macro 'r_err' 331 | BEG6 r_err(mvwinsnstr(a_window(aa),a_int(ab),a_int(ac), | ^~~~~ /usr/include/curses.h:863:48: note: expected 'const char *' but argument is of type 'unsigned char *' 863 | extern NCURSES_EXPORT(int) winsnstr (WINDOW *, const char *,int); /* implemented */ | ^~~~~~~~~~~~ functions.c: In function 'mlcurses_instr': /usr/lib64/ocaml/caml/mlvalues.h:308:23: warning: pointer targets in passing argument 2 of 'winnstr' differ in signedness [-Wpointer-sign] 308 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) /usr/lib64/ocaml/caml/memory.h:423:29: note: in definition of macro 'CAMLreturnT' 423 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:72:25: note: in expansion of macro 'CAMLreturn' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long' 79 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:401:21: note: in expansion of macro 'Val_int' 401 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:72:36: note: in expansion of macro 'Val_bool' 72 | #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),caml_string_length(aa))); END | ^~~~~ ml_curses.c:109:25: note: in expansion of macro 'Bytes_val' 109 | #define a_string(a) Bytes_val(a) | ^~~~~~~~~ functions.c:337:19: note: in expansion of macro 'a_string' 337 | BEG1 r_err(innstr(a_string(aa),caml_string_length(aa))); END | ^~~~~~~~ /usr/include/curses.h:859:47: note: expected 'char *' but argument is of type 'unsigned char *' 859 | extern NCURSES_EXPORT(int) winnstr (WINDOW *, char *, int); /* implemented */ | ^~~~~~ functions.c: In function 'mlcurses_winstr': /usr/lib64/ocaml/caml/mlvalues.h:308:23: warning: pointer targets in passing argument 2 of 'winnstr' differ in signedness [-Wpointer-sign] 308 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * /usr/lib64/ocaml/caml/memory.h:423:29: note: in definition of macro 'CAMLreturnT' 423 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:72:25: note: in expansion of macro 'CAMLreturn' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long' 79 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:401:21: note: in expansion of macro 'Val_int' 401 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:72:36: note: in expansion of macro 'Val_bool' 72 | #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),caml_string_length(ab))); END | ^~~~~ ml_curses.c:109:25: note: in expansion of macro 'Bytes_val' 109 | #define a_string(a) Bytes_val(a) | ^~~~~~~~~ functions.c:339:33: note: in expansion of macro 'a_string' 339 | BEG2 r_err(winnstr(a_window(aa),a_string(ab),caml_string_length(ab))); END | ^~~~~~~~ /usr/include/curses.h:859:47: note: expected 'char *' but argument is of type 'unsigned char *' 859 | extern NCURSES_EXPORT(int) winnstr (WINDOW *, char *, int); /* implemented */ | ^~~~~~ functions.c: In function 'mlcurses_mvinstr': /usr/lib64/ocaml/caml/mlvalues.h:308:23: warning: pointer targets in passing argument 2 of 'winnstr' differ in signedness [-Wpointer-sign] 308 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) /usr/lib64/ocaml/caml/memory.h:423:29: note: in definition of macro 'CAMLreturnT' 423 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:72:25: note: in expansion of macro 'CAMLreturn' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long' 79 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:401:21: note: in expansion of macro 'Val_int' 401 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:72:36: note: in expansion of macro 'Val_bool' 72 | #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),caml_string_length(ac))); END | ^~~~~ ml_curses.c:109:25: note: in expansion of macro 'Bytes_val' 109 | #define a_string(a) Bytes_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),caml_string_length(ac))); END | ^~~~~~~~ /usr/include/curses.h:859:47: note: expected 'char *' but argument is of type 'unsigned char *' 859 | extern NCURSES_EXPORT(int) winnstr (WINDOW *, char *, int); /* implemented */ | ^~~~~~ functions.c: In function 'mlcurses_mvwinstr': /usr/lib64/ocaml/caml/mlvalues.h:308:23: warning: pointer targets in passing argument 2 of 'winnstr' differ in signedness [-Wpointer-sign] 308 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) /usr/lib64/ocaml/caml/memory.h:423:29: note: in definition of macro 'CAMLreturnT' 423 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:72:25: note: in expansion of macro 'CAMLreturn' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long' 79 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:401:21: note: in expansion of macro 'Val_int' 401 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:72:36: note: in expansion of macro 'Val_bool' 72 | #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:109:25: note: in expansion of macro 'Bytes_val' 109 | #define a_string(a) Bytes_val(a) | ^~~~~~~~~ functions.c:344:3: note: in expansion of macro 'a_string' 344 | a_string(ad),caml_string_length(ad))); END | ^~~~~~~~ /usr/include/curses.h:859:47: note: expected 'char *' but argument is of type 'unsigned char *' 859 | extern NCURSES_EXPORT(int) winnstr (WINDOW *, char *, int); /* implemented */ | ^~~~~~ functions.c: In function 'mlcurses_innstr': functions.c:346:31: warning: pointer targets in passing argument 2 of 'winnstr' differ in signedness [-Wpointer-sign] 346 | BEG3 r_err(innstr(a_string(aa)+a_int(ab),a_int(ac))); END | ^ | | | unsigned char * /usr/lib64/ocaml/caml/memory.h:423:29: note: in definition of macro 'CAMLreturnT' 423 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:72:25: note: in expansion of macro 'CAMLreturn' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long' 79 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:401:21: note: in expansion of macro 'Val_int' 401 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:72:36: note: in expansion of macro 'Val_bool' 72 | #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:859:47: note: expected 'char *' but argument is of type 'unsigned char *' 859 | extern NCURSES_EXPORT(int) winnstr (WINDOW *, char *, int); /* implemented */ | ^~~~~~ functions.c: In function 'mlcurses_winnstr': functions.c:348:45: warning: pointer targets in passing argument 2 of 'winnstr' differ in signedness [-Wpointer-sign] 348 | BEG4 r_err(winnstr(a_window(aa),a_string(ab)+a_int(ac),a_int(ad))); END /usr/lib64/ocaml/caml/memory.h:423:29: note: in definition of macro 'CAMLreturnT' 423 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:72:25: note: in expansion of macro 'CAMLreturn' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long' 79 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:401:21: note: in expansion of macro 'Val_int' 401 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:72:36: note: in expansion of macro 'Val_bool' 72 | #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:859:47: note: expected 'char *' but argument is of type 'unsigned char *' 859 | extern NCURSES_EXPORT(int) winnstr (WINDOW *, char *, int); /* implemented */ | ^~~~~~ functions.c: In function 'mlcurses_mvinnstr': functions.c:350:53: warning: pointer targets in passing argument 2 of 'winnstr' differ in signedness [-Wpointer-sign] 350 | BEG5 r_err(mvinnstr(a_int(aa),a_int(ab),a_string(ac)+a_int(ad),a_int(ae))); END | ^ | | | unsigned char * /usr/lib64/ocaml/caml/memory.h:423:29: note: in definition of macro 'CAMLreturnT' 423 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:72:25: note: in expansion of macro 'CAMLreturn' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long' 79 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:401:21: note: in expansion of macro 'Val_int' 401 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:72:36: note: in expansion of macro 'Val_bool' 72 | #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:859:47: note: expected 'char *' but argument is of type 'unsigned char *' 859 | extern NCURSES_EXPORT(int) winnstr (WINDOW *, char *, int); /* implemented */ | ^~~~~~ functions.c: In function 'mlcurses_mvwinnstr_native': functions.c:353:15: warning: pointer targets in passing argument 2 of 'winnstr' differ in signedness [-Wpointer-sign] 353 | a_string(ad)+a_int(ae),a_int(af))); END | ^ | | | unsigned char * /usr/lib64/ocaml/caml/memory.h:423:29: note: in definition of macro 'CAMLreturnT' 423 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:72:25: note: in expansion of macro 'CAMLreturn' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long' 79 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:401:21: note: in expansion of macro 'Val_int' 401 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:72:36: note: in expansion of macro 'Val_bool' 72 | #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:859:47: note: expected 'char *' but argument is of type 'unsigned char *' 859 | extern NCURSES_EXPORT(int) winnstr (WINDOW *, char *, int); /* implemented */ | ^~~~~~ functions.c: In function 'mlcurses_scr_dump': /usr/lib64/ocaml/caml/mlvalues.h:308:23: warning: pointer targets in passing argument 1 of 'scr_dump' differ in signedness [-Wpointer-sign] 308 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * /usr/lib64/ocaml/caml/memory.h:423:29: note: in definition of macro 'CAMLreturnT' 423 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:72:25: note: in expansion of macro 'CAMLreturn' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long' 79 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:401:21: note: in expansion of macro 'Val_int' 401 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:72:36: note: in expansion of macro 'Val_bool' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ ml_curses.c:127:9: note: in expansion of macro 'r_err' 127 | { RA1 r_##tr(f(a_##ta(aa))); } | ^~ ml_curses.c:109:25: note: in expansion of macro 'Bytes_val' 109 | #define a_string(a) Bytes_val(a) | ^~~~~~~~~ ml_curses.c:127:18: note: in expansion of macro 'a_string' 127 | { RA1 r_##tr(f(a_##ta(aa))); } | ^~ functions.c:466:1: note: in expansion of macro 'ML1' 466 | ML1(scr_dump,err,string) | ^~~ /usr/include/curses.h:775:38: note: expected 'const char *' but argument is of type 'unsigned char *' 775 | extern NCURSES_EXPORT(int) scr_dump (const char *); /* implemented */ | ^~~~~~~~~~~~ functions.c: In function 'mlcurses_scr_restore': /usr/lib64/ocaml/caml/mlvalues.h:308:23: warning: pointer targets in passing argument 1 of 'scr_restore' differ in signedness [-Wpointer-sign] 308 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * /usr/lib64/ocaml/caml/memory.h:423:29: note: in definition of macro 'CAMLreturnT' 423 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:72:25: note: in expansion of macro 'CAMLreturn' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long' 79 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:401:21: note: in expansion of macro 'Val_int' 401 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:72:36: note: in expansion of macro 'Val_bool' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ ml_curses.c:127:9: note: in expansion of macro 'r_err' 127 | { RA1 r_##tr(f(a_##ta(aa))); } | ^~ ml_curses.c:109:25: note: in expansion of macro 'Bytes_val' 109 | #define a_string(a) Bytes_val(a) | ^~~~~~~~~ ml_curses.c:127:18: note: in expansion of macro 'a_string' 127 | { RA1 r_##tr(f(a_##ta(aa))); } | ^~ functions.c:467:1: note: in expansion of macro 'ML1' 467 | ML1(scr_restore,err,string) | ^~~ /usr/include/curses.h:780:41: note: expected 'const char *' but argument is of type 'unsigned char *' 780 | extern NCURSES_EXPORT(int) scr_restore (const char *); /* implemented */ | ^~~~~~~~~~~~ functions.c: In function 'mlcurses_scr_init': /usr/lib64/ocaml/caml/mlvalues.h:308:23: warning: pointer targets in passing argument 1 of 'scr_init' differ in signedness [-Wpointer-sign] 308 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * /usr/lib64/ocaml/caml/memory.h:423:29: note: in definition of macro 'CAMLreturnT' 423 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:72:25: note: in expansion of macro 'CAMLreturn' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long' 79 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:401:21: note: in expansion of macro 'Val_int' 401 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:72:36: note: in expansion of macro 'Val_bool' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ ml_curses.c:127:9: note: in expansion of macro 'r_err' 127 | { RA1 r_##tr(f(a_##ta(aa))); } | ^~ ml_curses.c:109:25: note: in expansion of macro 'Bytes_val' 109 | #define a_string(a) Bytes_val(a) | ^~~~~~~~~ ml_curses.c:127:18: note: in expansion of macro 'a_string' 127 | { RA1 r_##tr(f(a_##ta(aa))); } | ^~ functions.c:468:1: note: in expansion of macro 'ML1' 468 | ML1(scr_init,err,string) | ^~~ /usr/include/curses.h:776:38: note: expected 'const char *' but argument is of type 'unsigned char *' 776 | extern NCURSES_EXPORT(int) scr_init (const char *); /* implemented */ | ^~~~~~~~~~~~ functions.c: In function 'mlcurses_scr_set': /usr/lib64/ocaml/caml/mlvalues.h:308:23: warning: pointer targets in passing argument 1 of 'scr_set' differ in signedness [-Wpointer-sign] 308 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * /usr/lib64/ocaml/caml/memory.h:423:29: note: in definition of macro 'CAMLreturnT' 423 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:72:25: note: in expansion of macro 'CAMLreturn' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long' 79 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:401:21: note: in expansion of macro 'Val_int' 401 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:72:36: note: in expansion of macro 'Val_bool' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ ml_curses.c:127:9: note: in expansion of macro 'r_err' 127 | { RA1 r_##tr(f(a_##ta(aa))); } | ^~ ml_curses.c:109:25: note: in expansion of macro 'Bytes_val' 109 | #define a_string(a) Bytes_val(a) | ^~~~~~~~~ ml_curses.c:127:18: note: in expansion of macro 'a_string' 127 | { RA1 r_##tr(f(a_##ta(aa))); } | ^~ functions.c:469:1: note: in expansion of macro 'ML1' 469 | ML1(scr_set,err,string) | ^~~ /usr/include/curses.h:781:37: note: expected 'const char *' but argument is of type 'unsigned char *' 781 | extern NCURSES_EXPORT(int) scr_set (const char *); /* implemented */ | ^~~~~~~~~~~~ functions.c: In function 'mlcurses_slk_set': /usr/lib64/ocaml/caml/mlvalues.h:308:23: warning: pointer targets in passing argument 2 of 'slk_set' differ in signedness [-Wpointer-sign] 308 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * /usr/lib64/ocaml/caml/memory.h:423:29: note: in definition of macro 'CAMLreturnT' 423 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:72:25: note: in expansion of macro 'CAMLreturn' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long' 79 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:401:21: note: in expansion of macro 'Val_int' 401 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:72:36: note: in expansion of macro 'Val_bool' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ ml_curses.c:133:9: note: in expansion of macro 'r_err' 133 | { RA3 r_##tr(f(a_##ta(aa),a_##tb(ab),a_##tc(ac))); } | ^~ ml_curses.c:109:25: note: in expansion of macro 'Bytes_val' 109 | #define a_string(a) Bytes_val(a) | ^~~~~~~~~ ml_curses.c:133:29: note: in expansion of macro 'a_string' 133 | { RA3 r_##tr(f(a_##ta(aa),a_##tb(ab),a_##tc(ac))); } | ^~ functions.c:480:1: note: in expansion of macro 'ML3' 480 | ML3(slk_set,err,int,string,int) | ^~~ /usr/include/curses.h:798:41: note: expected 'const char *' but argument is of type 'unsigned char *' 798 | extern NCURSES_EXPORT(int) slk_set (int,const char *,int); /* implemented */ | ^~~~~~~~~~~~ functions.c: In function 'mlcurses_tgetflag': /usr/lib64/ocaml/caml/mlvalues.h:308:23: warning: pointer targets in passing argument 1 of 'tgetflag' differ in signedness [-Wpointer-sign] 308 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * /usr/lib64/ocaml/caml/memory.h:423:29: note: in definition of macro 'CAMLreturnT' 423 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:77:25: note: in expansion of macro 'CAMLreturn' 77 | #define r_bool(f) CAMLreturn(Val_bool(f)) | ^~~~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long' 79 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:401:21: note: in expansion of macro 'Val_int' 401 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:77:36: note: in expansion of macro 'Val_bool' 77 | #define r_bool(f) CAMLreturn(Val_bool(f)) | ^~~~~~~~ ml_curses.c:127:9: note: in expansion of macro 'r_bool' 127 | { RA1 r_##tr(f(a_##ta(aa))); } | ^~ ml_curses.c:109:25: note: in expansion of macro 'Bytes_val' 109 | #define a_string(a) Bytes_val(a) | ^~~~~~~~~ ml_curses.c:127:18: note: in expansion of macro 'a_string' 127 | { RA1 r_##tr(f(a_##ta(aa))); } | ^~ functions.c:506:1: note: in expansion of macro 'ML1' 506 | ML1(tgetflag,bool,string) | ^~~ In file included from ml_curses.c:28: /usr/include/term.h:849:38: note: expected 'const char *' but argument is of type 'unsigned char *' 849 | extern NCURSES_EXPORT(int) tgetflag (const char *); | ^~~~~~~~~~~~ functions.c: In function 'mlcurses_tgetnum': /usr/lib64/ocaml/caml/mlvalues.h:308:23: warning: pointer targets in passing argument 1 of 'tgetnum' differ in signedness [-Wpointer-sign] 308 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * /usr/lib64/ocaml/caml/memory.h:423:29: note: in definition of macro 'CAMLreturnT' 423 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:73:25: note: in expansion of macro 'CAMLreturn' 73 | #define r_int(f) CAMLreturn(Val_int(f)) | ^~~~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long' 79 | #define Val_int(x) Val_long(x) | ^~~~~~~~ ml_curses.c:73:36: note: in expansion of macro 'Val_int' 73 | #define r_int(f) CAMLreturn(Val_int(f)) | ^~~~~~~ ml_curses.c:127:9: note: in expansion of macro 'r_int' 127 | { RA1 r_##tr(f(a_##ta(aa))); } | ^~ ml_curses.c:109:25: note: in expansion of macro 'Bytes_val' 109 | #define a_string(a) Bytes_val(a) | ^~~~~~~~~ ml_curses.c:127:18: note: in expansion of macro 'a_string' 127 | { RA1 r_##tr(f(a_##ta(aa))); } | ^~ functions.c:507:1: note: in expansion of macro 'ML1' 507 | ML1(tgetnum,int,string) | ^~~ /usr/include/term.h:850:37: note: expected 'const char *' but argument is of type 'unsigned char *' 850 | extern NCURSES_EXPORT(int) tgetnum (const char *); | ^~~~~~~~~~~~ functions.c: In function 'mlcurses_tgoto': /usr/lib64/ocaml/caml/mlvalues.h:308:23: warning: pointer targets in passing argument 1 of 'tgoto' differ in signedness [-Wpointer-sign] 308 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * ml_curses.c:98:21: note: in definition of macro 'r_string' 98 | { const char *ret=f; \ | ^ ml_curses.c:109:25: note: in expansion of macro 'Bytes_val' 109 | #define a_string(a) Bytes_val(a) | ^~~~~~~~~ ml_curses.c:133:18: note: in expansion of macro 'a_string' 133 | { RA3 r_##tr(f(a_##ta(aa),a_##tb(ab),a_##tc(ac))); } | ^~ functions.c:510:1: note: in expansion of macro 'ML3' 510 | ML3(tgoto,string,string,int,int) | ^~~ /usr/include/term.h:847:38: note: expected 'const char *' but argument is of type 'unsigned char *' 847 | extern NCURSES_EXPORT(char *) tgoto (const char *, int, int); | ^~~~~~~~~~~~ functions.c: In function 'mlcurses_setupterm': /usr/lib64/ocaml/caml/mlvalues.h:308:23: warning: pointer targets in passing argument 1 of 'setupterm' differ in signedness [-Wpointer-sign] 308 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * /usr/lib64/ocaml/caml/memory.h:423:29: note: in definition of macro 'CAMLreturnT' 423 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:72:25: note: in expansion of macro 'CAMLreturn' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long' 79 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:401:21: note: in expansion of macro 'Val_int' 401 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:72:36: note: in expansion of macro 'Val_bool' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:515:13: note: in expansion of macro 'r_err' 515 | BEG2 int r; r_err(setupterm(a_string(aa),a_int(ab),&r)); END | ^~~~~ ml_curses.c:109:25: note: in expansion of macro 'Bytes_val' 109 | #define a_string(a) Bytes_val(a) | ^~~~~~~~~ functions.c:515:29: note: in expansion of macro 'a_string' 515 | BEG2 int r; r_err(setupterm(a_string(aa),a_int(ab),&r)); END | ^~~~~~~~ /usr/include/term.h:824:39: note: expected 'const char *' but argument is of type 'unsigned char *' 824 | extern NCURSES_EXPORT(int) setupterm (const char *,int,int *); | ^~~~~~~~~~~~ functions.c: In function 'mlcurses_setterm': /usr/lib64/ocaml/caml/mlvalues.h:308:23: warning: pointer targets in passing argument 1 of 'setupterm' differ in signedness [-Wpointer-sign] 308 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * /usr/lib64/ocaml/caml/memory.h:423:29: note: in definition of macro 'CAMLreturnT' 423 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:72:25: note: in expansion of macro 'CAMLreturn' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long' 79 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:401:21: note: in expansion of macro 'Val_int' 401 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:72:36: note: in expansion of macro 'Val_bool' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ ml_curses.c:127:9: note: in expansion of macro 'r_err' 127 | { RA1 r_##tr(f(a_##ta(aa))); } | ^~ ml_curses.c:109:25: note: in expansion of macro 'Bytes_val' 109 | #define a_string(a) Bytes_val(a) | ^~~~~~~~~ ml_curses.c:127:18: note: in expansion of macro 'a_string' 127 | { RA1 r_##tr(f(a_##ta(aa))); } | ^~ functions.c:516:1: note: in expansion of macro 'ML1' 516 | ML1(setterm,err,string) | ^~~ /usr/include/term.h:824:39: note: expected 'const char *' but argument is of type 'unsigned char *' 824 | extern NCURSES_EXPORT(int) setupterm (const char *,int,int *); | ^~~~~~~~~~~~ functions.c: In function 'mlcurses_restartterm': /usr/lib64/ocaml/caml/mlvalues.h:308:23: warning: pointer targets in passing argument 1 of 'restartterm' differ in signedness [-Wpointer-sign] 308 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * /usr/lib64/ocaml/caml/memory.h:423:29: note: in definition of macro 'CAMLreturnT' 423 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:72:25: note: in expansion of macro 'CAMLreturn' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long' 79 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:401:21: note: in expansion of macro 'Val_int' 401 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:72:36: note: in expansion of macro 'Val_bool' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:522:13: note: in expansion of macro 'r_err' 522 | BEG2 int r; r_err(restartterm(a_string(aa),a_int(ab),&r)); END | ^~~~~ ml_curses.c:109:25: note: in expansion of macro 'Bytes_val' 109 | #define a_string(a) Bytes_val(a) | ^~~~~~~~~ functions.c:522:31: note: in expansion of macro 'a_string' 522 | BEG2 int r; r_err(restartterm(a_string(aa),a_int(ab),&r)); END | ^~~~~~~~ /usr/include/term.h:823:41: note: expected 'const char *' but argument is of type 'unsigned char *' 823 | extern NCURSES_EXPORT(int) restartterm (NCURSES_CONST char *, int, int *); | ^ functions.c: In function 'mlcurses_putp': /usr/lib64/ocaml/caml/mlvalues.h:308:23: warning: pointer targets in passing argument 1 of 'putp' differ in signedness [-Wpointer-sign] 308 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * /usr/lib64/ocaml/caml/memory.h:423:29: note: in definition of macro 'CAMLreturnT' 423 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:72:25: note: in expansion of macro 'CAMLreturn' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long' 79 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:401:21: note: in expansion of macro 'Val_int' 401 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:72:36: note: in expansion of macro 'Val_bool' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ ml_curses.c:127:9: note: in expansion of macro 'r_err' 127 | { RA1 r_##tr(f(a_##ta(aa))); } | ^~ ml_curses.c:109:25: note: in expansion of macro 'Bytes_val' 109 | #define a_string(a) Bytes_val(a) | ^~~~~~~~~ ml_curses.c:127:18: note: in expansion of macro 'a_string' 127 | { RA1 r_##tr(f(a_##ta(aa))); } | ^~ functions.c:523:1: note: in expansion of macro 'ML1' 523 | ML1(putp,err,string) | ^~~ /usr/include/curses.h:890:34: note: expected 'const char *' but argument is of type 'unsigned char *' 890 | extern NCURSES_EXPORT(int) putp (const char *); /* implemented */ | ^~~~~~~~~~~~ functions.c: In function 'mlcurses_tigetflag': /usr/lib64/ocaml/caml/mlvalues.h:308:23: warning: pointer targets in passing argument 1 of 'tigetflag' differ in signedness [-Wpointer-sign] 308 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * /usr/lib64/ocaml/caml/memory.h:423:29: note: in definition of macro 'CAMLreturnT' 423 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:77:25: note: in expansion of macro 'CAMLreturn' 77 | #define r_bool(f) CAMLreturn(Val_bool(f)) | ^~~~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long' 79 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:401:21: note: in expansion of macro 'Val_int' 401 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:77:36: note: in expansion of macro 'Val_bool' 77 | #define r_bool(f) CAMLreturn(Val_bool(f)) | ^~~~~~~~ functions.c:527:6: note: in expansion of macro 'r_bool' 527 | BEG1 r_bool(tigetflag(a_string(aa))>0); END | ^~~~~~ ml_curses.c:109:25: note: in expansion of macro 'Bytes_val' 109 | #define a_string(a) Bytes_val(a) | ^~~~~~~~~ functions.c:527:23: note: in expansion of macro 'a_string' 527 | BEG1 r_bool(tigetflag(a_string(aa))>0); END | ^~~~~~~~ /usr/include/curses.h:887:39: note: expected 'const char *' but argument is of type 'unsigned char *' 887 | extern NCURSES_EXPORT(int) tigetflag (const char *); /* implemented */ | ^~~~~~~~~~~~ functions.c: In function 'mlcurses_tigetnum': /usr/lib64/ocaml/caml/mlvalues.h:308:23: warning: pointer targets in passing argument 1 of 'tigetnum' differ in signedness [-Wpointer-sign] 308 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * /usr/lib64/ocaml/caml/memory.h:423:29: note: in definition of macro 'CAMLreturnT' 423 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:73:25: note: in expansion of macro 'CAMLreturn' 73 | #define r_int(f) CAMLreturn(Val_int(f)) | ^~~~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long' 79 | #define Val_int(x) Val_long(x) | ^~~~~~~~ ml_curses.c:73:36: note: in expansion of macro 'Val_int' 73 | #define r_int(f) CAMLreturn(Val_int(f)) | ^~~~~~~ ml_curses.c:127:9: note: in expansion of macro 'r_int' 127 | { RA1 r_##tr(f(a_##ta(aa))); } | ^~ ml_curses.c:109:25: note: in expansion of macro 'Bytes_val' 109 | #define a_string(a) Bytes_val(a) | ^~~~~~~~~ ml_curses.c:127:18: note: in expansion of macro 'a_string' 127 | { RA1 r_##tr(f(a_##ta(aa))); } | ^~ functions.c:528:1: note: in expansion of macro 'ML1' 528 | ML1(tigetnum,int,string) | ^~~ /usr/include/curses.h:888:38: note: expected 'const char *' but argument is of type 'unsigned char *' 888 | extern NCURSES_EXPORT(int) tigetnum (const char *); /* implemented */ | ^~~~~~~~~~~~ functions.c: In function 'mlcurses_tigetstr': /usr/lib64/ocaml/caml/mlvalues.h:308:23: warning: pointer targets in passing argument 1 of 'tigetstr' differ in signedness [-Wpointer-sign] 308 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * ml_curses.c:109:25: note: in expansion of macro 'Bytes_val' 109 | #define a_string(a) Bytes_val(a) | ^~~~~~~~~ functions.c:530:23: note: in expansion of macro 'a_string' 530 | BEG1 char *s=tigetstr(a_string(aa)); | ^~~~~~~~ /usr/include/curses.h:889:41: note: expected 'const char *' but argument is of type 'unsigned char *' 889 | extern NCURSES_EXPORT(char *) tigetstr (const char *); /* implemented */ | ^~~~~~~~~~~~ functions.c: In function 'mlcurses_tputs': /usr/lib64/ocaml/caml/mlvalues.h:308:23: warning: pointer targets in passing argument 1 of 'tputs' differ in signedness [-Wpointer-sign] 308 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * /usr/lib64/ocaml/caml/memory.h:423:29: note: in definition of macro 'CAMLreturnT' 423 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:72:25: note: in expansion of macro 'CAMLreturn' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long' 79 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:401:21: note: in expansion of macro 'Val_int' 401 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:72:36: note: in expansion of macro 'Val_bool' 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:535:3: note: in expansion of macro 'r_err' 535 | r_err(tputs(a_string(aa),a_int(ab),putc_callback)); END | ^~~~~ ml_curses.c:109:25: note: in expansion of macro 'Bytes_val' 109 | #define a_string(a) Bytes_val(a) | ^~~~~~~~~ functions.c:535:15: note: in expansion of macro 'a_string' 535 | r_err(tputs(a_string(aa),a_int(ab),putc_callback)); END | ^~~~~~~~ /usr/include/term.h:851:35: note: expected 'const char *' but argument is of type 'unsigned char *' 851 | extern NCURSES_EXPORT(int) tputs (const char *, int, int (*)(int)); | ^~~~~~~~~~~~ functions.c: In function 'mlcurses_tparm': /usr/lib64/ocaml/caml/mlvalues.h:308:23: warning: pointer targets in passing argument 1 of 'tparm' differ in signedness [-Wpointer-sign] 308 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * ml_curses.c:98:21: note: in definition of macro 'r_string' 98 | { const char *ret=f; \ | ^ ml_curses.c:109:25: note: in expansion of macro 'Bytes_val' 109 | #define a_string(a) Bytes_val(a) | ^~~~~~~~~ functions.c:554:31: note: in expansion of macro 'a_string' 554 | r_string(mlcurses_rpl_tparm(a_string(aa),t[0],t[1],t[2],t[3],t[4], | ^~~~~~~~ /usr/include/curses.h:893:38: note: expected 'const char *' but argument is of type 'unsigned char *' 893 | extern NCURSES_EXPORT(char *) tparm (const char *, ...); /* special */ | ^~~~~~~~~~~~ Running[12]: (cd _build/default && /usr/bin/ocamlmklib.opt -g -o curses_stubs ml_curses.o -ldopt -lncursesw -ldopt -ltinfo) Running[13]: (cd _build/default && /usr/bin/ocamlopt.opt -w -40 -g -shared -linkall -I . -o curses.cmxs curses.cmxa) Promoting "_build/default/curses.install" to "curses.install" + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Oevt4f + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ocaml-curses-1.0.11-2.ocs23.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ocaml-curses-1.0.11-2.ocs23.x86_64 ++ dirname /builddir/build/BUILDROOT/ocaml-curses-1.0.11-2.ocs23.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ocaml-curses-1.0.11-2.ocs23.x86_64 + cd curses-1.0.11 + dune install --destdir=/builddir/build/BUILDROOT/ocaml-curses-1.0.11-2.ocs23.x86_64 --verbose --release -j32 Shared cache: disabled Workspace root: /builddir/build/BUILD/curses-1.0.11 Dune context: { name = "default" ; kind = "default" ; profile = Release ; merlin = true ; for_host = None ; fdo_target_exe = None ; build_dir = In_build_dir "default" ; 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" : "/builddir/build/BUILD/curses-1.0.11/_build/install/default/lib/stublibs" ; "DUNE_OCAML_HARDCODED" : "/usr/lib64/ocaml:/usr/lib64/ocaml" ; "DUNE_OCAML_STDLIB" : "/usr/lib64/ocaml" ; "DUNE_SOURCEROOT" : "/builddir/build/BUILD/curses-1.0.11" ; "INSIDE_DUNE" : "/builddir/build/BUILD/curses-1.0.11/_build/default" ; "MANPATH" : "/builddir/build/BUILD/curses-1.0.11/_build/install/default/man" ; "OCAMLFIND_IGNORE_DUPS_IN" : "/builddir/build/BUILD/curses-1.0.11/_build/install/default/lib" ; "OCAMLPATH" : "/builddir/build/BUILD/curses-1.0.11/_build/install/default/lib" ; "OCAMLTOP_INCLUDE_PATH" : "/builddir/build/BUILD/curses-1.0.11/_build/install/default/lib/toplevel" } ; findlib_paths = [ External "/usr/lib64/ocaml"; External "/usr/lib64/ocaml" ] ; natdynlink_supported = true ; supports_shared_libraries = true ; ocaml_config = { version = "5.0.1+dev0-2022-12-15" ; standard_library_default = "/usr/lib64/ocaml" ; standard_library = "/usr/lib64/ocaml" ; standard_runtime = "the_standard_runtime_variable_was_deleted" ; ccomp_type = "cc" ; c_compiler = "gcc" ; ocamlc_cflags = [ "-O2" ; "-fno-strict-aliasing" ; "-fwrapv" ; "-O2" ; "-flto=auto" ; "-ffat-lto-objects" ; "-fexceptions" ; "-g" ; "-grecord-gcc-switches" ; "-pipe" ; "-Wall" ; "-Werror=format-security" ; "-Wp,-D_FORTIFY_SOURCE=2" ; "-Wp,-D_GLIBCXX_ASSERTIONS" ; "-specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1" ; "-fstack-protector-strong" ; "-m64" ; "-march=x86-64-v2" ; "-mtune=generic" ; "-fasynchronous-unwind-tables" ; "-fstack-clash-protection" ; "-fcf-protection" ; "-pthread" ; "-fPIC" ; "-O2" ; "-flto=auto" ; "-ffat-lto-objects" ; "-fexceptions" ; "-g" ; "-grecord-gcc-switches" ; "-pipe" ; "-Wall" ; "-Werror=format-security" ; "-Wp,-D_FORTIFY_SOURCE=2" ; "-Wp,-D_GLIBCXX_ASSERTIONS" ; "-specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1" ; "-fstack-protector-strong" ; "-m64" ; "-march=x86-64-v2" ; "-mtune=generic" ; "-fasynchronous-unwind-tables" ; "-fstack-clash-protection" ; "-fcf-protection" ] ; ocamlc_cppflags = [ "-D_FILE_OFFSET_BITS=64" ] ; ocamlopt_cflags = [ "-O2" ; "-fno-strict-aliasing" ; "-fwrapv" ; "-O2" ; "-flto=auto" ; "-ffat-lto-objects" ; "-fexceptions" ; "-g" ; "-grecord-gcc-switches" ; "-pipe" ; "-Wall" ; "-Werror=format-security" ; "-Wp,-D_FORTIFY_SOURCE=2" ; "-Wp,-D_GLIBCXX_ASSERTIONS" ; "-specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1" ; "-fstack-protector-strong" ; "-m64" ; "-march=x86-64-v2" ; "-mtune=generic" ; "-fasynchronous-unwind-tables" ; "-fstack-clash-protection" ; "-fcf-protection" ; "-pthread" ; "-fPIC" ; "-O2" ; "-flto=auto" ; "-ffat-lto-objects" ; "-fexceptions" ; "-g" ; "-grecord-gcc-switches" ; "-pipe" ; "-Wall" ; "-Werror=format-security" ; "-Wp,-D_FORTIFY_SOURCE=2" ; "-Wp,-D_GLIBCXX_ASSERTIONS" ; "-specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1" ; "-fstack-protector-strong" ; "-m64" ; "-march=x86-64-v2" ; "-mtune=generic" ; "-fasynchronous-unwind-tables" ; "-fstack-clash-protection" ; "-fcf-protection" ] ; ocamlopt_cppflags = [ "-D_FILE_OFFSET_BITS=64" ] ; bytecomp_c_compiler = [ "gcc" ; "-O2" ; "-fno-strict-aliasing" ; "-fwrapv" ; "-O2" ; "-flto=auto" ; "-ffat-lto-objects" ; "-fexceptions" ; "-g" ; "-grecord-gcc-switches" ; "-pipe" ; "-Wall" ; "-Werror=format-security" ; "-Wp,-D_FORTIFY_SOURCE=2" ; "-Wp,-D_GLIBCXX_ASSERTIONS" ; "-specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1" ; "-fstack-protector-strong" ; "-m64" ; "-march=x86-64-v2" ; "-mtune=generic" ; "-fasynchronous-unwind-tables" ; "-fstack-clash-protection" ; "-fcf-protection" ; "-pthread" ; "-fPIC" ; "-O2" ; "-flto=auto" ; "-ffat-lto-objects" ; "-fexceptions" ; "-g" ; "-grecord-gcc-switches" ; "-pipe" ; "-Wall" ; "-Werror=format-security" ; "-Wp,-D_FORTIFY_SOURCE=2" ; "-Wp,-D_GLIBCXX_ASSERTIONS" ; "-specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1" ; "-fstack-protector-strong" ; "-m64" ; "-march=x86-64-v2" ; "-mtune=generic" ; "-fasynchronous-unwind-tables" ; "-fstack-clash-protection" ; "-fcf-protection" ; "-D_FILE_OFFSET_BITS=64" ] ; bytecomp_c_libraries = [ "-Wl,-z,relro" ; "-Wl,--as-needed" ; "-Wl,-z,now" ; "-specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld" ; "-Wl,--build-id=sha1" ; "-lm" ; "-lpthread" ] ; native_c_compiler = [ "gcc" ; "-O2" ; "-fno-strict-aliasing" ; "-fwrapv" ; "-O2" ; "-flto=auto" ; "-ffat-lto-objects" ; "-fexceptions" ; "-g" ; "-grecord-gcc-switches" ; "-pipe" ; "-Wall" ; "-Werror=format-security" ; "-Wp,-D_FORTIFY_SOURCE=2" ; "-Wp,-D_GLIBCXX_ASSERTIONS" ; "-specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1" ; "-fstack-protector-strong" ; "-m64" ; "-march=x86-64-v2" ; "-mtune=generic" ; "-fasynchronous-unwind-tables" ; "-fstack-clash-protection" ; "-fcf-protection" ; "-pthread" ; "-fPIC" ; "-O2" ; "-flto=auto" ; "-ffat-lto-objects" ; "-fexceptions" ; "-g" ; "-grecord-gcc-switches" ; "-pipe" ; "-Wall" ; "-Werror=format-security" ; "-Wp,-D_FORTIFY_SOURCE=2" ; "-Wp,-D_GLIBCXX_ASSERTIONS" ; "-specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1" ; "-fstack-protector-strong" ; "-m64" ; "-march=x86-64-v2" ; "-mtune=generic" ; "-fasynchronous-unwind-tables" ; "-fstack-clash-protection" ; "-fcf-protection" ; "-D_FILE_OFFSET_BITS=64" ] ; native_c_libraries = [ "-Wl,-z,relro" ; "-Wl,--as-needed" ; "-Wl,-z,now" ; "-specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld" ; "-Wl,--build-id=sha1" ; "-lm" ; "-lpthread" ] ; native_pack_linker = [ "ld"; "-r"; "-o" ] ; cc_profile = [] ; architecture = "amd64" ; model = "default" ; int_size = 63 ; word_size = 64 ; system = "linux" ; asm = [ "as" ] ; 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-gnu" ; target = "x86_64-pc-linux-gnu" ; profiling = false ; flambda = true ; spacetime = false ; safe_string = true ; exec_magic_number = "Caml1999X032" ; cmi_magic_number = "Caml1999I032" ; cmo_magic_number = "Caml1999O032" ; cma_magic_number = "Caml1999A032" ; cmx_magic_number = "Caml1999y032" ; cmxa_magic_number = "Caml1999z032" ; ast_impl_magic_number = "Caml1999M032" ; ast_intf_magic_number = "Caml1999N032" ; cmxs_magic_number = "Caml1999D032" ; cmt_magic_number = "Caml1999T032" ; natdynlink_supported = true ; supports_shared_libraries = true ; windows_unicode = false } } Installing /builddir/build/BUILDROOT/ocaml-curses-1.0.11-2.ocs23.x86_64/usr/lib64/ocaml/curses/META Installing /builddir/build/BUILDROOT/ocaml-curses-1.0.11-2.ocs23.x86_64/usr/lib64/ocaml/curses/curses.a Installing /builddir/build/BUILDROOT/ocaml-curses-1.0.11-2.ocs23.x86_64/usr/lib64/ocaml/curses/curses.cma Installing /builddir/build/BUILDROOT/ocaml-curses-1.0.11-2.ocs23.x86_64/usr/lib64/ocaml/curses/curses.cmi Installing /builddir/build/BUILDROOT/ocaml-curses-1.0.11-2.ocs23.x86_64/usr/lib64/ocaml/curses/curses.cmt Installing /builddir/build/BUILDROOT/ocaml-curses-1.0.11-2.ocs23.x86_64/usr/lib64/ocaml/curses/curses.cmti Installing /builddir/build/BUILDROOT/ocaml-curses-1.0.11-2.ocs23.x86_64/usr/lib64/ocaml/curses/curses.cmx Installing /builddir/build/BUILDROOT/ocaml-curses-1.0.11-2.ocs23.x86_64/usr/lib64/ocaml/curses/curses.cmxa Installing /builddir/build/BUILDROOT/ocaml-curses-1.0.11-2.ocs23.x86_64/usr/lib64/ocaml/curses/curses.ml Installing /builddir/build/BUILDROOT/ocaml-curses-1.0.11-2.ocs23.x86_64/usr/lib64/ocaml/curses/curses.mli Installing /builddir/build/BUILDROOT/ocaml-curses-1.0.11-2.ocs23.x86_64/usr/lib64/ocaml/curses/dune-package Installing /builddir/build/BUILDROOT/ocaml-curses-1.0.11-2.ocs23.x86_64/usr/lib64/ocaml/curses/libcurses_stubs.a Installing /builddir/build/BUILDROOT/ocaml-curses-1.0.11-2.ocs23.x86_64/usr/lib64/ocaml/curses/opam Installing /builddir/build/BUILDROOT/ocaml-curses-1.0.11-2.ocs23.x86_64/usr/lib64/ocaml/curses/curses.cmxs Installing /builddir/build/BUILDROOT/ocaml-curses-1.0.11-2.ocs23.x86_64/usr/doc/curses/CHANGES.md Installing /builddir/build/BUILDROOT/ocaml-curses-1.0.11-2.ocs23.x86_64/usr/doc/curses/README.md Installing /builddir/build/BUILDROOT/ocaml-curses-1.0.11-2.ocs23.x86_64/usr/lib64/ocaml/stublibs/dllcurses_stubs.so + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 1.0.11-2.ocs23 --unique-debug-suffix -1.0.11-2.ocs23.x86_64 --unique-debug-src-base ocaml-curses-1.0.11-2.ocs23.x86_64 -S debugsourcefiles.list /builddir/build/BUILD/curses-1.0.11 extracting debug info from /builddir/build/BUILDROOT/ocaml-curses-1.0.11-2.ocs23.x86_64/usr/lib64/ocaml/stublibs/dllcurses_stubs.so extracting debug info from /builddir/build/BUILDROOT/ocaml-curses-1.0.11-2.ocs23.x86_64/usr/lib64/ocaml/curses/curses.cmxs cpio: _build/default/atomic.ml: Cannot stat: No such file or directory 106 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Processing files: ocaml-curses-1.0.11-2.ocs23.x86_64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.kAkmnT + umask 022 + cd /builddir/build/BUILD + cd curses-1.0.11 + LICENSEDIR=/builddir/build/BUILDROOT/ocaml-curses-1.0.11-2.ocs23.x86_64/usr/share/licenses/ocaml-curses + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ocaml-curses-1.0.11-2.ocs23.x86_64/usr/share/licenses/ocaml-curses + cp -pr COPYING /builddir/build/BUILDROOT/ocaml-curses-1.0.11-2.ocs23.x86_64/usr/share/licenses/ocaml-curses + RPM_EC=0 ++ jobs -p + exit 0 Provides: ocaml(Curses) = 382a85d93cc0faa8b4ebf4ea3cc03878 ocaml-curses = 1.0.11-2.ocs23 ocaml-curses(x86-64) = 1.0.11-2.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-x86-64.so.2()(64bit) ld-linux-x86-64.so.2(GLIBC_2.3)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.4)(64bit) libncursesw.so.6()(64bit) libtinfo.so.6()(64bit) ocaml(CamlinternalFormatBasics) = cecfafd5c021473f5e358c96ac7502a0 ocaml(Stdlib) = 85f85ddb47edc0c7579657eee740302d ocaml(Stdlib__Bigarray) = 55a812d9a3c89e7a8ebb917e63e4beea ocaml(Stdlib__Complex) = d5f041ccbe9783af90ca38337002fb4e ocaml(Stdlib__Either) = b3ad0f8c65f28252059edebc03f68808 ocaml(Stdlib__Hashtbl) = bafdecabd3fce4f5ccc09a1a5587dab4 ocaml(Stdlib__List) = feb7c568830f9f239501efb83f4725e4 ocaml(Stdlib__Seq) = cc3f899885b746f777815dc93be7ede2 ocaml(Unix) = 8da0575524ccb15782c0ca7ebc83ccb8 rtld(GNU_HASH) Processing files: ocaml-curses-devel-1.0.11-2.ocs23.x86_64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.w6gp8L + umask 022 + cd /builddir/build/BUILD + cd curses-1.0.11 + LICENSEDIR=/builddir/build/BUILDROOT/ocaml-curses-1.0.11-2.ocs23.x86_64/usr/share/licenses/ocaml-curses-devel + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ocaml-curses-1.0.11-2.ocs23.x86_64/usr/share/licenses/ocaml-curses-devel + cp -pr COPYING /builddir/build/BUILDROOT/ocaml-curses-1.0.11-2.ocs23.x86_64/usr/share/licenses/ocaml-curses-devel + RPM_EC=0 ++ jobs -p + exit 0 Provides: ocaml(Curses) = 382a85d93cc0faa8b4ebf4ea3cc03878 ocaml-curses-devel = 1.0.11-2.ocs23 ocaml-curses-devel(x86-64) = 1.0.11-2.ocs23 ocamlx(Curses) = 8602cdb248a09328d264f61453138306 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ocaml(CamlinternalFormatBasics) = cecfafd5c021473f5e358c96ac7502a0 ocaml(Stdlib) = 85f85ddb47edc0c7579657eee740302d ocaml(Stdlib__Bigarray) = 55a812d9a3c89e7a8ebb917e63e4beea ocaml(Stdlib__Complex) = d5f041ccbe9783af90ca38337002fb4e ocaml(Stdlib__Either) = b3ad0f8c65f28252059edebc03f68808 ocaml(Stdlib__Hashtbl) = bafdecabd3fce4f5ccc09a1a5587dab4 ocaml(Stdlib__List) = feb7c568830f9f239501efb83f4725e4 ocaml(Stdlib__Seq) = cc3f899885b746f777815dc93be7ede2 ocaml(Unix) = 8da0575524ccb15782c0ca7ebc83ccb8 ocamlx(Stdlib) = c6f226e44d674edd1d531948ff863828 ocamlx(Stdlib__Domain) = d7f8796322f2cd99efcf341f8e42acf4 ocamlx(Stdlib__Hashtbl) = acdc6437bcb9e7a81c6ed8660e82b471 ocamlx(Stdlib__List) = b78ab95aebcef67de9b99ec053edb534 ocamlx(Stdlib__Random) = 2617b12d0fefbf237d757668e0688155 Processing files: ocaml-curses-debugsource-1.0.11-2.ocs23.x86_64 Provides: ocaml-curses-debugsource = 1.0.11-2.ocs23 ocaml-curses-debugsource(x86-64) = 1.0.11-2.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: ocaml-curses-debuginfo-1.0.11-2.ocs23.x86_64 Provides: debuginfo(build-id) = 4cb37aa1e3116ec38660783d0dd8a67c50979e40 debuginfo(build-id) = fe3be4380a0e87cca14093f16416090af148258a ocaml-curses-debuginfo = 1.0.11-2.ocs23 ocaml-curses-debuginfo(x86-64) = 1.0.11-2.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: ocaml-curses-debugsource(x86-64) = 1.0.11-2.ocs23 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ocaml-curses-1.0.11-2.ocs23.x86_64 Wrote: /builddir/build/RPMS/ocaml-curses-debugsource-1.0.11-2.ocs23.x86_64.rpm Wrote: /builddir/build/RPMS/ocaml-curses-devel-1.0.11-2.ocs23.x86_64.rpm Wrote: /builddir/build/RPMS/ocaml-curses-debuginfo-1.0.11-2.ocs23.x86_64.rpm Wrote: /builddir/build/RPMS/ocaml-curses-1.0.11-2.ocs23.x86_64.rpm Child return code was: 0