Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/ocaml-curses.spec'], chrootPath='/var/lib/mock/f40-build-739659-109148/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=1209600uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --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: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1696464000 Wrote: /builddir/build/SRPMS/ocaml-curses-1.0.11-4.fc40.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/ocaml-curses.spec'], chrootPath='/var/lib/mock/f40-build-739659-109148/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=1209600uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --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: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1696464000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.XZ6BiB + 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 + rm -rf /builddir/build/BUILD/curses-1.0.11-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/curses-1.0.11-SPECPARTS + /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.pvBiHt + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + 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 -j4 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" ; installed_env = map { "INSIDE_DUNE" : "/builddir/build/BUILD/curses-1.0.11/_build/default" } ; findlib_paths = [ External "/usr/lib64/ocaml"; External "/usr/lib64/ocaml" ] ; ocaml_config = { version = "5.1.0" ; 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" ; "-fexceptions" ; "-g" ; "-grecord-gcc-switches" ; "-pipe" ; "-Wall" ; "-Werror=format-security" ; "-Werror=implicit-function-declaration" ; "-Werror=implicit-int" ; "-Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3" ; "-Wp,-D_GLIBCXX_ASSERTIONS" ; "-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1" ; "-fstack-protector-strong" ; "-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1" ; "-fasynchronous-unwind-tables" ; "-fno-omit-frame-pointer" ; "-pthread" ; "-fPIC" ; "-O2" ; "-fexceptions" ; "-g" ; "-grecord-gcc-switches" ; "-pipe" ; "-Wall" ; "-Werror=format-security" ; "-Werror=implicit-function-declaration" ; "-Werror=implicit-int" ; "-Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3" ; "-Wp,-D_GLIBCXX_ASSERTIONS" ; "-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1" ; "-fstack-protector-strong" ; "-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1" ; "-fasynchronous-unwind-tables" ; "-fno-omit-frame-pointer" ] ; ocamlc_cppflags = [ "-D_FILE_OFFSET_BITS=64" ] ; ocamlopt_cflags = [ "-O2" ; "-fno-strict-aliasing" ; "-fwrapv" ; "-O2" ; "-fexceptions" ; "-g" ; "-grecord-gcc-switches" ; "-pipe" ; "-Wall" ; "-Werror=format-security" ; "-Werror=implicit-function-declaration" ; "-Werror=implicit-int" ; "-Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3" ; "-Wp,-D_GLIBCXX_ASSERTIONS" ; "-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1" ; "-fstack-protector-strong" ; "-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1" ; "-fasynchronous-unwind-tables" ; "-fno-omit-frame-pointer" ; "-pthread" ; "-fPIC" ; "-O2" ; "-fexceptions" ; "-g" ; "-grecord-gcc-switches" ; "-pipe" ; "-Wall" ; "-Werror=format-security" ; "-Werror=implicit-function-declaration" ; "-Werror=implicit-int" ; "-Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3" ; "-Wp,-D_GLIBCXX_ASSERTIONS" ; "-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1" ; "-fstack-protector-strong" ; "-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1" ; "-fasynchronous-unwind-tables" ; "-fno-omit-frame-pointer" ] ; ocamlopt_cppflags = [ "-D_FILE_OFFSET_BITS=64" ] ; bytecomp_c_compiler = [ "gcc" ; "-O2" ; "-fno-strict-aliasing" ; "-fwrapv" ; "-O2" ; "-fexceptions" ; "-g" ; "-grecord-gcc-switches" ; "-pipe" ; "-Wall" ; "-Werror=format-security" ; "-Werror=implicit-function-declaration" ; "-Werror=implicit-int" ; "-Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3" ; "-Wp,-D_GLIBCXX_ASSERTIONS" ; "-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1" ; "-fstack-protector-strong" ; "-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1" ; "-fasynchronous-unwind-tables" ; "-fno-omit-frame-pointer" ; "-pthread" ; "-fPIC" ; "-O2" ; "-fexceptions" ; "-g" ; "-grecord-gcc-switches" ; "-pipe" ; "-Wall" ; "-Werror=format-security" ; "-Werror=implicit-function-declaration" ; "-Werror=implicit-int" ; "-Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3" ; "-Wp,-D_GLIBCXX_ASSERTIONS" ; "-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1" ; "-fstack-protector-strong" ; "-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1" ; "-fasynchronous-unwind-tables" ; "-fno-omit-frame-pointer" ; "-D_FILE_OFFSET_BITS=64" ] ; bytecomp_c_libraries = [ "-Wl,-z,relro" ; "-Wl,--as-needed" ; "-Wl,-z,now" ; "-specs=/usr/lib/rpm/redhat/redhat-hardened-ld" ; "-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1" ; "-Wl,--build-id=sha1" ; "-lzstd" ; "-lm" ; "-lpthread" ] ; native_c_compiler = [ "gcc" ; "-O2" ; "-fno-strict-aliasing" ; "-fwrapv" ; "-O2" ; "-fexceptions" ; "-g" ; "-grecord-gcc-switches" ; "-pipe" ; "-Wall" ; "-Werror=format-security" ; "-Werror=implicit-function-declaration" ; "-Werror=implicit-int" ; "-Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3" ; "-Wp,-D_GLIBCXX_ASSERTIONS" ; "-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1" ; "-fstack-protector-strong" ; "-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1" ; "-fasynchronous-unwind-tables" ; "-fno-omit-frame-pointer" ; "-pthread" ; "-fPIC" ; "-O2" ; "-fexceptions" ; "-g" ; "-grecord-gcc-switches" ; "-pipe" ; "-Wall" ; "-Werror=format-security" ; "-Werror=implicit-function-declaration" ; "-Werror=implicit-int" ; "-Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3" ; "-Wp,-D_GLIBCXX_ASSERTIONS" ; "-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1" ; "-fstack-protector-strong" ; "-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1" ; "-fasynchronous-unwind-tables" ; "-fno-omit-frame-pointer" ; "-D_FILE_OFFSET_BITS=64" ] ; native_c_libraries = [ "-Wl,-z,relro" ; "-Wl,--as-needed" ; "-Wl,-z,now" ; "-specs=/usr/lib/rpm/redhat/redhat-hardened-ld" ; "-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1" ; "-Wl,--build-id=sha1" ; "-lzstd" ; "-lm" ; "-lpthread" ] ; native_pack_linker = [ "ld"; "-r"; "-o" ] ; cc_profile = [] ; architecture = "riscv" ; model = "riscv64" ; 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 = "riscv64-unknown-linux-gnu" ; target = "riscv64-unknown-linux-gnu" ; profiling = false ; flambda = true ; spacetime = false ; safe_string = true ; exec_magic_number = "Caml1999X033" ; cmi_magic_number = "Caml1999I033" ; cmo_magic_number = "Caml1999O033" ; cma_magic_number = "Caml1999A033" ; cmx_magic_number = "Caml1999y033" ; cmxa_magic_number = "Caml1999z033" ; ast_impl_magic_number = "Caml1999M033" ; ast_intf_magic_number = "Caml1999N033" ; cmxs_magic_number = "Caml1999D033" ; cmt_magic_number = "Caml1999T033" ; natdynlink_supported = true ; supports_shared_libraries = true ; windows_unicode = false } ; instrument_with = [] } 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/csexp -I /usr/lib64/ocaml/dune-configurator -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/csexp -I /usr/lib64/ocaml/dune-configurator -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/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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -pthread -fPIC -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -x c -E _curses.ml') > _build/default/curses.ml Running[7]: (cd _build/default && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -pthread -fPIC -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -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:330:23: warning: pointer targets in passing argument 2 of ‘waddnstr’ differ in signedness [-Wpointer-sign] 330 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) /usr/lib64/ocaml/caml/memory.h:414:29: note: in definition of macro ‘CAMLreturnT’ 414 | 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:81:20: note: in expansion of macro ‘Val_long’ 81 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:423:21: note: in expansion of macro ‘Val_int’ 423 | #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:330:23: warning: pointer targets in passing argument 2 of ‘waddnstr’ differ in signedness [-Wpointer-sign] 330 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * /usr/lib64/ocaml/caml/memory.h:414:29: note: in definition of macro ‘CAMLreturnT’ 414 | 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:81:20: note: in expansion of macro ‘Val_long’ 81 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:423:21: note: in expansion of macro ‘Val_int’ 423 | #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:330:23: warning: pointer targets in passing argument 2 of ‘waddnstr’ differ in signedness [-Wpointer-sign] 330 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) /usr/lib64/ocaml/caml/memory.h:414:29: note: in definition of macro ‘CAMLreturnT’ 414 | 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:81:20: note: in expansion of macro ‘Val_long’ 81 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:423:21: note: in expansion of macro ‘Val_int’ 423 | #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:330:23: warning: pointer targets in passing argument 2 of ‘waddnstr’ differ in signedness [-Wpointer-sign] 330 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) /usr/lib64/ocaml/caml/memory.h:414:29: note: in definition of macro ‘CAMLreturnT’ 414 | 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:81:20: note: in expansion of macro ‘Val_long’ 81 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:423:21: note: in expansion of macro ‘Val_int’ 423 | #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:414:29: note: in definition of macro ‘CAMLreturnT’ 414 | 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:81:20: note: in expansion of macro ‘Val_long’ 81 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:423:21: note: in expansion of macro ‘Val_int’ 423 | #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:414:29: note: in definition of macro ‘CAMLreturnT’ 414 | 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:81:20: note: in expansion of macro ‘Val_long’ 81 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:423:21: note: in expansion of macro ‘Val_int’ 423 | #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:414:29: note: in definition of macro ‘CAMLreturnT’ 414 | 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:81:20: note: in expansion of macro ‘Val_long’ 81 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:423:21: note: in expansion of macro ‘Val_int’ 423 | #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:414:29: note: in definition of macro ‘CAMLreturnT’ 414 | 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:81:20: note: in expansion of macro ‘Val_long’ 81 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:423:21: note: in expansion of macro ‘Val_int’ 423 | #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:330:23: warning: pointer targets in passing argument 2 of ‘wgetnstr’ differ in signedness [-Wpointer-sign] 330 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * /usr/lib64/ocaml/caml/memory.h:414:29: note: in definition of macro ‘CAMLreturnT’ 414 | 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:81:20: note: in expansion of macro ‘Val_long’ 81 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:423:21: note: in expansion of macro ‘Val_int’ 423 | #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:330:23: warning: pointer targets in passing argument 2 of ‘wgetnstr’ differ in signedness [-Wpointer-sign] 330 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * /usr/lib64/ocaml/caml/memory.h:414:29: note: in definition of macro ‘CAMLreturnT’ 414 | 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:81:20: note: in expansion of macro ‘Val_long’ 81 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:423:21: note: in expansion of macro ‘Val_int’ 423 | #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:330:23: warning: pointer targets in passing argument 2 of ‘wgetnstr’ differ in signedness [-Wpointer-sign] 330 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) /usr/lib64/ocaml/caml/memory.h:414:29: note: in definition of macro ‘CAMLreturnT’ 414 | 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:81:20: note: in expansion of macro ‘Val_long’ 81 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:423:21: note: in expansion of macro ‘Val_int’ 423 | #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:330:23: warning: pointer targets in passing argument 2 of ‘wgetnstr’ differ in signedness [-Wpointer-sign] 330 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) /usr/lib64/ocaml/caml/memory.h:414:29: note: in definition of macro ‘CAMLreturnT’ 414 | 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:81:20: note: in expansion of macro ‘Val_long’ 81 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:423:21: note: in expansion of macro ‘Val_int’ 423 | #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:414:29: note: in definition of macro ‘CAMLreturnT’ 414 | 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:81:20: note: in expansion of macro ‘Val_long’ 81 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:423:21: note: in expansion of macro ‘Val_int’ 423 | #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:414:29: note: in definition of macro ‘CAMLreturnT’ 414 | 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:81:20: note: in expansion of macro ‘Val_long’ 81 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:423:21: note: in expansion of macro ‘Val_int’ 423 | #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:414:29: note: in definition of macro ‘CAMLreturnT’ 414 | 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:81:20: note: in expansion of macro ‘Val_long’ 81 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:423:21: note: in expansion of macro ‘Val_int’ 423 | #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:414:29: note: in definition of macro ‘CAMLreturnT’ 414 | 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:81:20: note: in expansion of macro ‘Val_long’ 81 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:423:21: note: in expansion of macro ‘Val_int’ 423 | #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:330:23: warning: pointer targets in passing argument 1 of ‘newterm’ differ in signedness [-Wpointer-sign] 330 | #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:330:23: warning: pointer targets in passing argument 2 of ‘winsnstr’ differ in signedness [-Wpointer-sign] 330 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) /usr/lib64/ocaml/caml/memory.h:414:29: note: in definition of macro ‘CAMLreturnT’ 414 | 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:81:20: note: in expansion of macro ‘Val_long’ 81 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:423:21: note: in expansion of macro ‘Val_int’ 423 | #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:330:23: warning: pointer targets in passing argument 2 of ‘winsnstr’ differ in signedness [-Wpointer-sign] 330 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * /usr/lib64/ocaml/caml/memory.h:414:29: note: in definition of macro ‘CAMLreturnT’ 414 | 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:81:20: note: in expansion of macro ‘Val_long’ 81 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:423:21: note: in expansion of macro ‘Val_int’ 423 | #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:330:23: warning: pointer targets in passing argument 2 of ‘winsnstr’ differ in signedness [-Wpointer-sign] 330 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) /usr/lib64/ocaml/caml/memory.h:414:29: note: in definition of macro ‘CAMLreturnT’ 414 | 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:81:20: note: in expansion of macro ‘Val_long’ 81 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:423:21: note: in expansion of macro ‘Val_int’ 423 | #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:330:23: warning: pointer targets in passing argument 2 of ‘winsnstr’ differ in signedness [-Wpointer-sign] 330 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) /usr/lib64/ocaml/caml/memory.h:414:29: note: in definition of macro ‘CAMLreturnT’ 414 | 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:81:20: note: in expansion of macro ‘Val_long’ 81 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:423:21: note: in expansion of macro ‘Val_int’ 423 | #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:414:29: note: in definition of macro ‘CAMLreturnT’ 414 | 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:81:20: note: in expansion of macro ‘Val_long’ 81 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:423:21: note: in expansion of macro ‘Val_int’ 423 | #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:414:29: note: in definition of macro ‘CAMLreturnT’ 414 | 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:81:20: note: in expansion of macro ‘Val_long’ 81 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:423:21: note: in expansion of macro ‘Val_int’ 423 | #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:414:29: note: in definition of macro ‘CAMLreturnT’ 414 | 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:81:20: note: in expansion of macro ‘Val_long’ 81 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:423:21: note: in expansion of macro ‘Val_int’ 423 | #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:414:29: note: in definition of macro ‘CAMLreturnT’ 414 | 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:81:20: note: in expansion of macro ‘Val_long’ 81 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:423:21: note: in expansion of macro ‘Val_int’ 423 | #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:330:23: warning: pointer targets in passing argument 2 of ‘winnstr’ differ in signedness [-Wpointer-sign] 330 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) /usr/lib64/ocaml/caml/memory.h:414:29: note: in definition of macro ‘CAMLreturnT’ 414 | 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:81:20: note: in expansion of macro ‘Val_long’ 81 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:423:21: note: in expansion of macro ‘Val_int’ 423 | #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:330:23: warning: pointer targets in passing argument 2 of ‘winnstr’ differ in signedness [-Wpointer-sign] 330 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * /usr/lib64/ocaml/caml/memory.h:414:29: note: in definition of macro ‘CAMLreturnT’ 414 | 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:81:20: note: in expansion of macro ‘Val_long’ 81 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:423:21: note: in expansion of macro ‘Val_int’ 423 | #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:330:23: warning: pointer targets in passing argument 2 of ‘winnstr’ differ in signedness [-Wpointer-sign] 330 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) /usr/lib64/ocaml/caml/memory.h:414:29: note: in definition of macro ‘CAMLreturnT’ 414 | 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:81:20: note: in expansion of macro ‘Val_long’ 81 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:423:21: note: in expansion of macro ‘Val_int’ 423 | #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:330:23: warning: pointer targets in passing argument 2 of ‘winnstr’ differ in signedness [-Wpointer-sign] 330 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) /usr/lib64/ocaml/caml/memory.h:414:29: note: in definition of macro ‘CAMLreturnT’ 414 | 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:81:20: note: in expansion of macro ‘Val_long’ 81 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:423:21: note: in expansion of macro ‘Val_int’ 423 | #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:414:29: note: in definition of macro ‘CAMLreturnT’ 414 | 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:81:20: note: in expansion of macro ‘Val_long’ 81 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:423:21: note: in expansion of macro ‘Val_int’ 423 | #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:414:29: note: in definition of macro ‘CAMLreturnT’ 414 | 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:81:20: note: in expansion of macro ‘Val_long’ 81 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:423:21: note: in expansion of macro ‘Val_int’ 423 | #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:414:29: note: in definition of macro ‘CAMLreturnT’ 414 | 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:81:20: note: in expansion of macro ‘Val_long’ 81 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:423:21: note: in expansion of macro ‘Val_int’ 423 | #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:414:29: note: in definition of macro ‘CAMLreturnT’ 414 | 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:81:20: note: in expansion of macro ‘Val_long’ 81 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:423:21: note: in expansion of macro ‘Val_int’ 423 | #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:330:23: warning: pointer targets in passing argument 1 of ‘scr_dump’ differ in signedness [-Wpointer-sign] 330 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * /usr/lib64/ocaml/caml/memory.h:414:29: note: in definition of macro ‘CAMLreturnT’ 414 | 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:81:20: note: in expansion of macro ‘Val_long’ 81 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:423:21: note: in expansion of macro ‘Val_int’ 423 | #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:330:23: warning: pointer targets in passing argument 1 of ‘scr_restore’ differ in signedness [-Wpointer-sign] 330 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * /usr/lib64/ocaml/caml/memory.h:414:29: note: in definition of macro ‘CAMLreturnT’ 414 | 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:81:20: note: in expansion of macro ‘Val_long’ 81 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:423:21: note: in expansion of macro ‘Val_int’ 423 | #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:330:23: warning: pointer targets in passing argument 1 of ‘scr_init’ differ in signedness [-Wpointer-sign] 330 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * /usr/lib64/ocaml/caml/memory.h:414:29: note: in definition of macro ‘CAMLreturnT’ 414 | 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:81:20: note: in expansion of macro ‘Val_long’ 81 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:423:21: note: in expansion of macro ‘Val_int’ 423 | #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:330:23: warning: pointer targets in passing argument 1 of ‘scr_set’ differ in signedness [-Wpointer-sign] 330 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * /usr/lib64/ocaml/caml/memory.h:414:29: note: in definition of macro ‘CAMLreturnT’ 414 | 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:81:20: note: in expansion of macro ‘Val_long’ 81 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:423:21: note: in expansion of macro ‘Val_int’ 423 | #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:330:23: warning: pointer targets in passing argument 2 of ‘slk_set’ differ in signedness [-Wpointer-sign] 330 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * /usr/lib64/ocaml/caml/memory.h:414:29: note: in definition of macro ‘CAMLreturnT’ 414 | 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:81:20: note: in expansion of macro ‘Val_long’ 81 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:423:21: note: in expansion of macro ‘Val_int’ 423 | #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:330:23: warning: pointer targets in passing argument 1 of ‘tgetflag’ differ in signedness [-Wpointer-sign] 330 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * /usr/lib64/ocaml/caml/memory.h:414:29: note: in definition of macro ‘CAMLreturnT’ 414 | 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:81:20: note: in expansion of macro ‘Val_long’ 81 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:423:21: note: in expansion of macro ‘Val_int’ 423 | #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:846:38: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 846 | extern NCURSES_EXPORT(int) tgetflag (const char *); | ^~~~~~~~~~~~ functions.c: In function ‘mlcurses_tgetnum’: /usr/lib64/ocaml/caml/mlvalues.h:330:23: warning: pointer targets in passing argument 1 of ‘tgetnum’ differ in signedness [-Wpointer-sign] 330 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * /usr/lib64/ocaml/caml/memory.h:414:29: note: in definition of macro ‘CAMLreturnT’ 414 | 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:81:20: note: in expansion of macro ‘Val_long’ 81 | #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:847:37: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 847 | extern NCURSES_EXPORT(int) tgetnum (const char *); | ^~~~~~~~~~~~ functions.c: In function ‘mlcurses_tgoto’: /usr/lib64/ocaml/caml/mlvalues.h:330:23: warning: pointer targets in passing argument 1 of ‘tgoto’ differ in signedness [-Wpointer-sign] 330 | #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:844:38: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 844 | extern NCURSES_EXPORT(char *) tgoto (const char *, int, int); | ^~~~~~~~~~~~ functions.c: In function ‘mlcurses_setupterm’: /usr/lib64/ocaml/caml/mlvalues.h:330:23: warning: pointer targets in passing argument 1 of ‘setupterm’ differ in signedness [-Wpointer-sign] 330 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * /usr/lib64/ocaml/caml/memory.h:414:29: note: in definition of macro ‘CAMLreturnT’ 414 | 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:81:20: note: in expansion of macro ‘Val_long’ 81 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:423:21: note: in expansion of macro ‘Val_int’ 423 | #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:819:39: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 819 | extern NCURSES_EXPORT(int) setupterm (const char *,int,int *); | ^~~~~~~~~~~~ functions.c: In function ‘mlcurses_setterm’: /usr/lib64/ocaml/caml/mlvalues.h:330:23: warning: pointer targets in passing argument 1 of ‘setupterm’ differ in signedness [-Wpointer-sign] 330 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * /usr/lib64/ocaml/caml/memory.h:414:29: note: in definition of macro ‘CAMLreturnT’ 414 | 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:81:20: note: in expansion of macro ‘Val_long’ 81 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:423:21: note: in expansion of macro ‘Val_int’ 423 | #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:819:39: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 819 | extern NCURSES_EXPORT(int) setupterm (const char *,int,int *); | ^~~~~~~~~~~~ functions.c: In function ‘mlcurses_restartterm’: /usr/lib64/ocaml/caml/mlvalues.h:330:23: warning: pointer targets in passing argument 1 of ‘restartterm’ differ in signedness [-Wpointer-sign] 330 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * /usr/lib64/ocaml/caml/memory.h:414:29: note: in definition of macro ‘CAMLreturnT’ 414 | 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:81:20: note: in expansion of macro ‘Val_long’ 81 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:423:21: note: in expansion of macro ‘Val_int’ 423 | #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:818:41: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 818 | extern NCURSES_EXPORT(int) restartterm (NCURSES_CONST char *, int, int *); | ^ functions.c: In function ‘mlcurses_putp’: /usr/lib64/ocaml/caml/mlvalues.h:330:23: warning: pointer targets in passing argument 1 of ‘putp’ differ in signedness [-Wpointer-sign] 330 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * /usr/lib64/ocaml/caml/memory.h:414:29: note: in definition of macro ‘CAMLreturnT’ 414 | 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:81:20: note: in expansion of macro ‘Val_long’ 81 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:423:21: note: in expansion of macro ‘Val_int’ 423 | #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:330:23: warning: pointer targets in passing argument 1 of ‘tigetflag’ differ in signedness [-Wpointer-sign] 330 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * /usr/lib64/ocaml/caml/memory.h:414:29: note: in definition of macro ‘CAMLreturnT’ 414 | 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:81:20: note: in expansion of macro ‘Val_long’ 81 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:423:21: note: in expansion of macro ‘Val_int’ 423 | #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:330:23: warning: pointer targets in passing argument 1 of ‘tigetnum’ differ in signedness [-Wpointer-sign] 330 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * /usr/lib64/ocaml/caml/memory.h:414:29: note: in definition of macro ‘CAMLreturnT’ 414 | 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:81:20: note: in expansion of macro ‘Val_long’ 81 | #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:330:23: warning: pointer targets in passing argument 1 of ‘tigetstr’ differ in signedness [-Wpointer-sign] 330 | #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:330:23: warning: pointer targets in passing argument 1 of ‘tputs’ differ in signedness [-Wpointer-sign] 330 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * /usr/lib64/ocaml/caml/memory.h:414:29: note: in definition of macro ‘CAMLreturnT’ 414 | 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:81:20: note: in expansion of macro ‘Val_long’ 81 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:423:21: note: in expansion of macro ‘Val_int’ 423 | #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:848:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 848 | extern NCURSES_EXPORT(int) tputs (const char *, int, int (*)(int)); | ^~~~~~~~~~~~ functions.c: In function ‘mlcurses_tparm’: /usr/lib64/ocaml/caml/mlvalues.h:330:23: warning: pointer targets in passing argument 1 of ‘tparm’ differ in signedness [-Wpointer-sign] 330 | #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 -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.8M4aaQ + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ocaml-curses-1.0.11-4.fc40.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ocaml-curses-1.0.11-4.fc40.riscv64 ++ dirname /builddir/build/BUILDROOT/ocaml-curses-1.0.11-4.fc40.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ocaml-curses-1.0.11-4.fc40.riscv64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + 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 install --destdir=/builddir/build/BUILDROOT/ocaml-curses-1.0.11-4.fc40.riscv64 --verbose --release -j4 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" ; installed_env = map { "INSIDE_DUNE" : "/builddir/build/BUILD/curses-1.0.11/_build/default" } ; findlib_paths = [ External "/usr/lib64/ocaml"; External "/usr/lib64/ocaml" ] ; ocaml_config = { version = "5.1.0" ; 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" ; "-fexceptions" ; "-g" ; "-grecord-gcc-switches" ; "-pipe" ; "-Wall" ; "-Werror=format-security" ; "-Werror=implicit-function-declaration" ; "-Werror=implicit-int" ; "-Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3" ; "-Wp,-D_GLIBCXX_ASSERTIONS" ; "-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1" ; "-fstack-protector-strong" ; "-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1" ; "-fasynchronous-unwind-tables" ; "-fno-omit-frame-pointer" ; "-pthread" ; "-fPIC" ; "-O2" ; "-fexceptions" ; "-g" ; "-grecord-gcc-switches" ; "-pipe" ; "-Wall" ; "-Werror=format-security" ; "-Werror=implicit-function-declaration" ; "-Werror=implicit-int" ; "-Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3" ; "-Wp,-D_GLIBCXX_ASSERTIONS" ; "-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1" ; "-fstack-protector-strong" ; "-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1" ; "-fasynchronous-unwind-tables" ; "-fno-omit-frame-pointer" ] ; ocamlc_cppflags = [ "-D_FILE_OFFSET_BITS=64" ] ; ocamlopt_cflags = [ "-O2" ; "-fno-strict-aliasing" ; "-fwrapv" ; "-O2" ; "-fexceptions" ; "-g" ; "-grecord-gcc-switches" ; "-pipe" ; "-Wall" ; "-Werror=format-security" ; "-Werror=implicit-function-declaration" ; "-Werror=implicit-int" ; "-Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3" ; "-Wp,-D_GLIBCXX_ASSERTIONS" ; "-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1" ; "-fstack-protector-strong" ; "-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1" ; "-fasynchronous-unwind-tables" ; "-fno-omit-frame-pointer" ; "-pthread" ; "-fPIC" ; "-O2" ; "-fexceptions" ; "-g" ; "-grecord-gcc-switches" ; "-pipe" ; "-Wall" ; "-Werror=format-security" ; "-Werror=implicit-function-declaration" ; "-Werror=implicit-int" ; "-Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3" ; "-Wp,-D_GLIBCXX_ASSERTIONS" ; "-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1" ; "-fstack-protector-strong" ; "-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1" ; "-fasynchronous-unwind-tables" ; "-fno-omit-frame-pointer" ] ; ocamlopt_cppflags = [ "-D_FILE_OFFSET_BITS=64" ] ; bytecomp_c_compiler = [ "gcc" ; "-O2" ; "-fno-strict-aliasing" ; "-fwrapv" ; "-O2" ; "-fexceptions" ; "-g" ; "-grecord-gcc-switches" ; "-pipe" ; "-Wall" ; "-Werror=format-security" ; "-Werror=implicit-function-declaration" ; "-Werror=implicit-int" ; "-Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3" ; "-Wp,-D_GLIBCXX_ASSERTIONS" ; "-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1" ; "-fstack-protector-strong" ; "-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1" ; "-fasynchronous-unwind-tables" ; "-fno-omit-frame-pointer" ; "-pthread" ; "-fPIC" ; "-O2" ; "-fexceptions" ; "-g" ; "-grecord-gcc-switches" ; "-pipe" ; "-Wall" ; "-Werror=format-security" ; "-Werror=implicit-function-declaration" ; "-Werror=implicit-int" ; "-Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3" ; "-Wp,-D_GLIBCXX_ASSERTIONS" ; "-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1" ; "-fstack-protector-strong" ; "-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1" ; "-fasynchronous-unwind-tables" ; "-fno-omit-frame-pointer" ; "-D_FILE_OFFSET_BITS=64" ] ; bytecomp_c_libraries = [ "-Wl,-z,relro" ; "-Wl,--as-needed" ; "-Wl,-z,now" ; "-specs=/usr/lib/rpm/redhat/redhat-hardened-ld" ; "-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1" ; "-Wl,--build-id=sha1" ; "-lzstd" ; "-lm" ; "-lpthread" ] ; native_c_compiler = [ "gcc" ; "-O2" ; "-fno-strict-aliasing" ; "-fwrapv" ; "-O2" ; "-fexceptions" ; "-g" ; "-grecord-gcc-switches" ; "-pipe" ; "-Wall" ; "-Werror=format-security" ; "-Werror=implicit-function-declaration" ; "-Werror=implicit-int" ; "-Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3" ; "-Wp,-D_GLIBCXX_ASSERTIONS" ; "-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1" ; "-fstack-protector-strong" ; "-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1" ; "-fasynchronous-unwind-tables" ; "-fno-omit-frame-pointer" ; "-pthread" ; "-fPIC" ; "-O2" ; "-fexceptions" ; "-g" ; "-grecord-gcc-switches" ; "-pipe" ; "-Wall" ; "-Werror=format-security" ; "-Werror=implicit-function-declaration" ; "-Werror=implicit-int" ; "-Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3" ; "-Wp,-D_GLIBCXX_ASSERTIONS" ; "-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1" ; "-fstack-protector-strong" ; "-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1" ; "-fasynchronous-unwind-tables" ; "-fno-omit-frame-pointer" ; "-D_FILE_OFFSET_BITS=64" ] ; native_c_libraries = [ "-Wl,-z,relro" ; "-Wl,--as-needed" ; "-Wl,-z,now" ; "-specs=/usr/lib/rpm/redhat/redhat-hardened-ld" ; "-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1" ; "-Wl,--build-id=sha1" ; "-lzstd" ; "-lm" ; "-lpthread" ] ; native_pack_linker = [ "ld"; "-r"; "-o" ] ; cc_profile = [] ; architecture = "riscv" ; model = "riscv64" ; 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 = "riscv64-unknown-linux-gnu" ; target = "riscv64-unknown-linux-gnu" ; profiling = false ; flambda = true ; spacetime = false ; safe_string = true ; exec_magic_number = "Caml1999X033" ; cmi_magic_number = "Caml1999I033" ; cmo_magic_number = "Caml1999O033" ; cma_magic_number = "Caml1999A033" ; cmx_magic_number = "Caml1999y033" ; cmxa_magic_number = "Caml1999z033" ; ast_impl_magic_number = "Caml1999M033" ; ast_intf_magic_number = "Caml1999N033" ; cmxs_magic_number = "Caml1999D033" ; cmt_magic_number = "Caml1999T033" ; natdynlink_supported = true ; supports_shared_libraries = true ; windows_unicode = false } ; instrument_with = [] } Installing /builddir/build/BUILDROOT/ocaml-curses-1.0.11-4.fc40.riscv64/usr/lib64/ocaml/curses/META Installing /builddir/build/BUILDROOT/ocaml-curses-1.0.11-4.fc40.riscv64/usr/lib64/ocaml/curses/curses.a Installing /builddir/build/BUILDROOT/ocaml-curses-1.0.11-4.fc40.riscv64/usr/lib64/ocaml/curses/curses.cma Installing /builddir/build/BUILDROOT/ocaml-curses-1.0.11-4.fc40.riscv64/usr/lib64/ocaml/curses/curses.cmi Installing /builddir/build/BUILDROOT/ocaml-curses-1.0.11-4.fc40.riscv64/usr/lib64/ocaml/curses/curses.cmt Installing /builddir/build/BUILDROOT/ocaml-curses-1.0.11-4.fc40.riscv64/usr/lib64/ocaml/curses/curses.cmti Installing /builddir/build/BUILDROOT/ocaml-curses-1.0.11-4.fc40.riscv64/usr/lib64/ocaml/curses/curses.cmx Installing /builddir/build/BUILDROOT/ocaml-curses-1.0.11-4.fc40.riscv64/usr/lib64/ocaml/curses/curses.cmxa Installing /builddir/build/BUILDROOT/ocaml-curses-1.0.11-4.fc40.riscv64/usr/lib64/ocaml/curses/curses.ml Installing /builddir/build/BUILDROOT/ocaml-curses-1.0.11-4.fc40.riscv64/usr/lib64/ocaml/curses/curses.mli Installing /builddir/build/BUILDROOT/ocaml-curses-1.0.11-4.fc40.riscv64/usr/lib64/ocaml/curses/dune-package Installing /builddir/build/BUILDROOT/ocaml-curses-1.0.11-4.fc40.riscv64/usr/lib64/ocaml/curses/libcurses_stubs.a Installing /builddir/build/BUILDROOT/ocaml-curses-1.0.11-4.fc40.riscv64/usr/lib64/ocaml/curses/opam Installing /builddir/build/BUILDROOT/ocaml-curses-1.0.11-4.fc40.riscv64/usr/lib64/ocaml/curses/curses.cmxs Installing /builddir/build/BUILDROOT/ocaml-curses-1.0.11-4.fc40.riscv64/usr/doc/curses/CHANGES.md Installing /builddir/build/BUILDROOT/ocaml-curses-1.0.11-4.fc40.riscv64/usr/doc/curses/README.md Installing /builddir/build/BUILDROOT/ocaml-curses-1.0.11-4.fc40.riscv64/usr/lib64/ocaml/stublibs/dllcurses_stubs.so + '[' -d _build/default/_doc/_html ']' + rm -rf /builddir/build/BUILDROOT/ocaml-curses-1.0.11-4.fc40.riscv64/usr/doc ++ find /builddir/build/BUILDROOT/ocaml-curses-1.0.11-4.fc40.riscv64/usr/lib64/ocaml -name '*.mli' + mlis=/builddir/build/BUILDROOT/ocaml-curses-1.0.11-4.fc40.riscv64/usr/lib64/ocaml/curses/curses.mli + rm -f /builddir/build/BUILDROOT/ocaml-curses-1.0.11-4.fc40.riscv64/usr/lib64/ocaml/curses/curses.ml + /usr/bin/python3 /usr/lib/rpm/redhat/ocaml_files.py /builddir/build/BUILDROOT/ocaml-curses-1.0.11-4.fc40.riscv64 /usr/lib64/ocaml + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 1.0.11-4.fc40 --unique-debug-suffix -1.0.11-4.fc40.riscv64 --unique-debug-src-base ocaml-curses-1.0.11-4.fc40.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/curses-1.0.11 find-debuginfo: starting Extracting debug info from 2 files DWARF-compressing 2 files sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/ocaml-curses-1.0.11-4.fc40.riscv64 cpio: _build/default/atomic.ml: Cannot stat: No such file or directory 106 blocks find-debuginfo: done + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j4 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.8aAr7f + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + 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 runtest --verbose --release -j4 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" ; installed_env = map { "INSIDE_DUNE" : "/builddir/build/BUILD/curses-1.0.11/_build/default" } ; findlib_paths = [ External "/usr/lib64/ocaml"; External "/usr/lib64/ocaml" ] ; ocaml_config = { version = "5.1.0" ; 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" ; "-fexceptions" ; "-g" ; "-grecord-gcc-switches" ; "-pipe" ; "-Wall" ; "-Werror=format-security" ; "-Werror=implicit-function-declaration" ; "-Werror=implicit-int" ; "-Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3" ; "-Wp,-D_GLIBCXX_ASSERTIONS" ; "-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1" ; "-fstack-protector-strong" ; "-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1" ; "-fasynchronous-unwind-tables" ; "-fno-omit-frame-pointer" ; "-pthread" ; "-fPIC" ; "-O2" ; "-fexceptions" ; "-g" ; "-grecord-gcc-switches" ; "-pipe" ; "-Wall" ; "-Werror=format-security" ; "-Werror=implicit-function-declaration" ; "-Werror=implicit-int" ; "-Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3" ; "-Wp,-D_GLIBCXX_ASSERTIONS" ; "-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1" ; "-fstack-protector-strong" ; "-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1" ; "-fasynchronous-unwind-tables" ; "-fno-omit-frame-pointer" ] ; ocamlc_cppflags = [ "-D_FILE_OFFSET_BITS=64" ] ; ocamlopt_cflags = [ "-O2" ; "-fno-strict-aliasing" ; "-fwrapv" ; "-O2" ; "-fexceptions" ; "-g" ; "-grecord-gcc-switches" ; "-pipe" ; "-Wall" ; "-Werror=format-security" ; "-Werror=implicit-function-declaration" ; "-Werror=implicit-int" ; "-Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3" ; "-Wp,-D_GLIBCXX_ASSERTIONS" ; "-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1" ; "-fstack-protector-strong" ; "-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1" ; "-fasynchronous-unwind-tables" ; "-fno-omit-frame-pointer" ; "-pthread" ; "-fPIC" ; "-O2" ; "-fexceptions" ; "-g" ; "-grecord-gcc-switches" ; "-pipe" ; "-Wall" ; "-Werror=format-security" ; "-Werror=implicit-function-declaration" ; "-Werror=implicit-int" ; "-Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3" ; "-Wp,-D_GLIBCXX_ASSERTIONS" ; "-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1" ; "-fstack-protector-strong" ; "-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1" ; "-fasynchronous-unwind-tables" ; "-fno-omit-frame-pointer" ] ; ocamlopt_cppflags = [ "-D_FILE_OFFSET_BITS=64" ] ; bytecomp_c_compiler = [ "gcc" ; "-O2" ; "-fno-strict-aliasing" ; "-fwrapv" ; "-O2" ; "-fexceptions" ; "-g" ; "-grecord-gcc-switches" ; "-pipe" ; "-Wall" ; "-Werror=format-security" ; "-Werror=implicit-function-declaration" ; "-Werror=implicit-int" ; "-Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3" ; "-Wp,-D_GLIBCXX_ASSERTIONS" ; "-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1" ; "-fstack-protector-strong" ; "-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1" ; "-fasynchronous-unwind-tables" ; "-fno-omit-frame-pointer" ; "-pthread" ; "-fPIC" ; "-O2" ; "-fexceptions" ; "-g" ; "-grecord-gcc-switches" ; "-pipe" ; "-Wall" ; "-Werror=format-security" ; "-Werror=implicit-function-declaration" ; "-Werror=implicit-int" ; "-Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3" ; "-Wp,-D_GLIBCXX_ASSERTIONS" ; "-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1" ; "-fstack-protector-strong" ; "-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1" ; "-fasynchronous-unwind-tables" ; "-fno-omit-frame-pointer" ; "-D_FILE_OFFSET_BITS=64" ] ; bytecomp_c_libraries = [ "-Wl,-z,relro" ; "-Wl,--as-needed" ; "-Wl,-z,now" ; "-specs=/usr/lib/rpm/redhat/redhat-hardened-ld" ; "-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1" ; "-Wl,--build-id=sha1" ; "-lzstd" ; "-lm" ; "-lpthread" ] ; native_c_compiler = [ "gcc" ; "-O2" ; "-fno-strict-aliasing" ; "-fwrapv" ; "-O2" ; "-fexceptions" ; "-g" ; "-grecord-gcc-switches" ; "-pipe" ; "-Wall" ; "-Werror=format-security" ; "-Werror=implicit-function-declaration" ; "-Werror=implicit-int" ; "-Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3" ; "-Wp,-D_GLIBCXX_ASSERTIONS" ; "-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1" ; "-fstack-protector-strong" ; "-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1" ; "-fasynchronous-unwind-tables" ; "-fno-omit-frame-pointer" ; "-pthread" ; "-fPIC" ; "-O2" ; "-fexceptions" ; "-g" ; "-grecord-gcc-switches" ; "-pipe" ; "-Wall" ; "-Werror=format-security" ; "-Werror=implicit-function-declaration" ; "-Werror=implicit-int" ; "-Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3" ; "-Wp,-D_GLIBCXX_ASSERTIONS" ; "-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1" ; "-fstack-protector-strong" ; "-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1" ; "-fasynchronous-unwind-tables" ; "-fno-omit-frame-pointer" ; "-D_FILE_OFFSET_BITS=64" ] ; native_c_libraries = [ "-Wl,-z,relro" ; "-Wl,--as-needed" ; "-Wl,-z,now" ; "-specs=/usr/lib/rpm/redhat/redhat-hardened-ld" ; "-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1" ; "-Wl,--build-id=sha1" ; "-lzstd" ; "-lm" ; "-lpthread" ] ; native_pack_linker = [ "ld"; "-r"; "-o" ] ; cc_profile = [] ; architecture = "riscv" ; model = "riscv64" ; 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 = "riscv64-unknown-linux-gnu" ; target = "riscv64-unknown-linux-gnu" ; profiling = false ; flambda = true ; spacetime = false ; safe_string = true ; exec_magic_number = "Caml1999X033" ; cmi_magic_number = "Caml1999I033" ; cmo_magic_number = "Caml1999O033" ; cma_magic_number = "Caml1999A033" ; cmx_magic_number = "Caml1999y033" ; cmxa_magic_number = "Caml1999z033" ; ast_impl_magic_number = "Caml1999M033" ; ast_intf_magic_number = "Caml1999N033" ; cmxs_magic_number = "Caml1999D033" ; cmt_magic_number = "Caml1999T033" ; natdynlink_supported = true ; supports_shared_libraries = true ; windows_unicode = false } ; instrument_with = [] } Processing files: ocaml-curses-1.0.11-4.fc40.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.KkHuet + umask 022 + cd /builddir/build/BUILD + cd curses-1.0.11 + DOCDIR=/builddir/build/BUILDROOT/ocaml-curses-1.0.11-4.fc40.riscv64/usr/share/doc/ocaml-curses + export LC_ALL= + LC_ALL= + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ocaml-curses-1.0.11-4.fc40.riscv64/usr/share/doc/ocaml-curses + cp -pr /builddir/build/BUILD/curses-1.0.11/CHANGES.md /builddir/build/BUILDROOT/ocaml-curses-1.0.11-4.fc40.riscv64/usr/share/doc/ocaml-curses + cp -pr /builddir/build/BUILD/curses-1.0.11/README.md /builddir/build/BUILDROOT/ocaml-curses-1.0.11-4.fc40.riscv64/usr/share/doc/ocaml-curses + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.TUhcpf + umask 022 + cd /builddir/build/BUILD + cd curses-1.0.11 + LICENSEDIR=/builddir/build/BUILDROOT/ocaml-curses-1.0.11-4.fc40.riscv64/usr/share/licenses/ocaml-curses + export LC_ALL= + LC_ALL= + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ocaml-curses-1.0.11-4.fc40.riscv64/usr/share/licenses/ocaml-curses + cp -pr /builddir/build/BUILD/curses-1.0.11/COPYING /builddir/build/BUILDROOT/ocaml-curses-1.0.11-4.fc40.riscv64/usr/share/licenses/ocaml-curses + RPM_EC=0 ++ jobs -p + exit 0 Provides: ocaml(Curses) = fc66496ea479b554c94a21affba982c0 ocaml-curses = 1.0.11-4.fc40 ocaml-curses(riscv-64) = 1.0.11-4.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libncursesw.so.6()(64bit) libtinfo.so.6()(64bit) ocaml(CamlinternalFormatBasics) = 2125f26b831153c92a44f06bfde570ae ocaml(Stdlib) = 0b4549228bc9b8c1cfa1e888d7432bdf ocaml(Stdlib__Bigarray) = 7c919af812ad8dfb0033b8dde0d08c07 ocaml(Stdlib__Complex) = e64ee90eddc7b10ec8fbe26c11240f8e ocaml(Stdlib__Either) = 4c7aace90230bd854d0973c7e456ef08 ocaml(Stdlib__Hashtbl) = c04858fec86768f735bb82b2552d3868 ocaml(Stdlib__List) = 8992587f26a4ebfea5772490b254b328 ocaml(Stdlib__Seq) = e469865a3128bb838ded5895e9e9e56c ocaml(Unix) = 3a423732520b05536abd290bef5048fe rtld(GNU_HASH) Processing files: ocaml-curses-devel-1.0.11-4.fc40.riscv64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.MLbQK8 + umask 022 + cd /builddir/build/BUILD + cd curses-1.0.11 + LICENSEDIR=/builddir/build/BUILDROOT/ocaml-curses-1.0.11-4.fc40.riscv64/usr/share/licenses/ocaml-curses-devel + export LC_ALL= + LC_ALL= + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ocaml-curses-1.0.11-4.fc40.riscv64/usr/share/licenses/ocaml-curses-devel + cp -pr /builddir/build/BUILD/curses-1.0.11/COPYING /builddir/build/BUILDROOT/ocaml-curses-1.0.11-4.fc40.riscv64/usr/share/licenses/ocaml-curses-devel + RPM_EC=0 ++ jobs -p + exit 0 Provides: ocaml(Curses) = fc66496ea479b554c94a21affba982c0 ocaml-curses-devel = 1.0.11-4.fc40 ocaml-curses-devel(riscv-64) = 1.0.11-4.fc40 ocamlx(Curses) = 861fa466abbc013275f09a8b8cb02ab6 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ocaml(CamlinternalFormatBasics) = 2125f26b831153c92a44f06bfde570ae ocaml(Stdlib) = 0b4549228bc9b8c1cfa1e888d7432bdf ocaml(Stdlib__Bigarray) = 7c919af812ad8dfb0033b8dde0d08c07 ocaml(Stdlib__Complex) = e64ee90eddc7b10ec8fbe26c11240f8e ocaml(Stdlib__Either) = 4c7aace90230bd854d0973c7e456ef08 ocaml(Stdlib__Hashtbl) = c04858fec86768f735bb82b2552d3868 ocaml(Stdlib__List) = 8992587f26a4ebfea5772490b254b328 ocaml(Stdlib__Seq) = e469865a3128bb838ded5895e9e9e56c ocaml(Unix) = 3a423732520b05536abd290bef5048fe ocamlx(Stdlib) = 7c3fb23fb2557acd252ec040e1020319 ocamlx(Stdlib__Domain) = 9508b777df5086cd80599270908bfec2 ocamlx(Stdlib__Hashtbl) = 9531514b7ee9cf989da6b9fb2410c8ea ocamlx(Stdlib__List) = 20be74b4596423cab2792d8275abf1ea ocamlx(Stdlib__Random) = 755e8c0f74d6e5babf19c28b381bfd1b Processing files: ocaml-curses-debugsource-1.0.11-4.fc40.riscv64 Provides: ocaml-curses-debugsource = 1.0.11-4.fc40 ocaml-curses-debugsource(riscv-64) = 1.0.11-4.fc40 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-4.fc40.riscv64 Provides: debuginfo(build-id) = 3425e96bafffd414e8d00fda4f4a9f2f31949b92 debuginfo(build-id) = 500af57b34027109646092f51fbf931537bcc219 ocaml-curses-debuginfo = 1.0.11-4.fc40 ocaml-curses-debuginfo(riscv-64) = 1.0.11-4.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: ocaml-curses-debugsource(riscv-64) = 1.0.11-4.fc40 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ocaml-curses-1.0.11-4.fc40.riscv64 Wrote: /builddir/build/RPMS/ocaml-curses-debugsource-1.0.11-4.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/ocaml-curses-1.0.11-4.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/ocaml-curses-debuginfo-1.0.11-4.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/ocaml-curses-devel-1.0.11-4.fc40.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.qzXZud + umask 022 + cd /builddir/build/BUILD + cd curses-1.0.11 + /usr/bin/rm -rf /builddir/build/BUILDROOT/ocaml-curses-1.0.11-4.fc40.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.d1eaK9 + umask 022 + cd /builddir/build/BUILD + rm -rf /builddir/build/BUILD/curses-1.0.11-SPECPARTS + rm -rf curses-1.0.11 curses-1.0.11.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0