Mock Version: 5.0 Mock Version: 5.0 Mock Version: 5.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/ocaml-curses.spec'], chrootPath='/var/lib/mock/f41-build-820301-152163/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=604800uid=982gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.wo3tf883:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.wo3tf883:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '1504e0333d6b44d7bd1c8fbc1dad8291', '-D', '/var/lib/mock/f41-build-820301-152163/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.wo3tf883:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1721260800 Wrote: /builddir/build/SRPMS/ocaml-curses-1.0.11-11.fc41.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/ocaml-curses.spec'], chrootPath='/var/lib/mock/f41-build-820301-152163/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=604800uid=982gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.wo3tf883:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.wo3tf883:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'aa2e0714301e4c71bad87e7d636938a4', '-D', '/var/lib/mock/f41-build-820301-152163/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.wo3tf883:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1721260800 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.Ob8TiT + umask 022 + cd /builddir/build/BUILD/ocaml-curses-1.0.11-build + test -d /builddir/build/BUILD/ocaml-curses-1.0.11-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/ocaml-curses-1.0.11-build + /usr/bin/rm -rf /builddir/build/BUILD/ocaml-curses-1.0.11-build + /usr/bin/mkdir -p /builddir/build/BUILD/ocaml-curses-1.0.11-build + /usr/bin/mkdir -p /builddir/build/BUILD/ocaml-curses-1.0.11-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.MPhbHS + umask 022 + cd /builddir/build/BUILD/ocaml-curses-1.0.11-build + cd /builddir/build/BUILD/ocaml-curses-1.0.11-build + rm -rf curses-1.0.11 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/curses-1.0.11.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd curses-1.0.11 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.eLH2R9 + umask 022 + cd /builddir/build/BUILD/ocaml-curses-1.0.11-build + CFLAGS='-O2 -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 -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -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 -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -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 -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -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 -mno-omit-leaf-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=-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 -j64 Shared cache: disabled Shared cache location: /builddir/.cache/dune/db Workspace root: /builddir/build/BUILD/ocaml-curses-1.0.11-build/curses-1.0.11 Dune context: { name = "default" ; kind = "default" ; profile = Release ; merlin = true ; fdo_target_exe = None ; build_dir = In_build_dir "default" ; instrument_with = [] } Actual targets: - recursive alias @install Running[1]: (cd _build/default && /usr/bin/ocamlc.opt -w -40 -g -bin-annot -bin-annot-occurrences -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 -bin-annot-occurrences -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 -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 -mno-omit-leaf-frame-pointer -pthread -fPIC -O2 -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 -mno-omit-leaf-frame-pointer -pthread -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 -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 -mno-omit-leaf-frame-pointer -pthread -fPIC -O2 -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 -mno-omit-leaf-frame-pointer -pthread -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 -bin-annot-occurrences -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:333:23: warning: pointer targets in passing argument 2 of ‘waddnstr’ differ in signedness [-Wpointer-sign] 333 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) /usr/lib64/ocaml/caml/memory.h:415:29: note: in definition of macro ‘CAMLreturnT’ 415 | 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:82:20: note: in expansion of macro ‘Val_long’ 82 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:426:21: note: in expansion of macro ‘Val_int’ 426 | #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:844:47: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 844 | extern NCURSES_EXPORT(int) waddnstr (WINDOW *,const char *,int); /* implemented */ | ^~~~~~~~~~~~ functions.c: In function ‘mlcurses_waddstr’: /usr/lib64/ocaml/caml/mlvalues.h:333:23: warning: pointer targets in passing argument 2 of ‘waddnstr’ differ in signedness [-Wpointer-sign] 333 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * /usr/lib64/ocaml/caml/memory.h:415:29: note: in definition of macro ‘CAMLreturnT’ 415 | 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:82:20: note: in expansion of macro ‘Val_long’ 82 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:426:21: note: in expansion of macro ‘Val_int’ 426 | #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:844:47: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 844 | extern NCURSES_EXPORT(int) waddnstr (WINDOW *,const char *,int); /* implemented */ | ^~~~~~~~~~~~ functions.c: In function ‘mlcurses_mvaddstr’: /usr/lib64/ocaml/caml/mlvalues.h:333:23: warning: pointer targets in passing argument 2 of ‘waddnstr’ differ in signedness [-Wpointer-sign] 333 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) /usr/lib64/ocaml/caml/memory.h:415:29: note: in definition of macro ‘CAMLreturnT’ 415 | 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:82:20: note: in expansion of macro ‘Val_long’ 82 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:426:21: note: in expansion of macro ‘Val_int’ 426 | #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:844:47: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 844 | extern NCURSES_EXPORT(int) waddnstr (WINDOW *,const char *,int); /* implemented */ | ^~~~~~~~~~~~ functions.c: In function ‘mlcurses_mvwaddstr’: /usr/lib64/ocaml/caml/mlvalues.h:333:23: warning: pointer targets in passing argument 2 of ‘waddnstr’ differ in signedness [-Wpointer-sign] 333 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) /usr/lib64/ocaml/caml/memory.h:415:29: note: in definition of macro ‘CAMLreturnT’ 415 | 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:82:20: note: in expansion of macro ‘Val_long’ 82 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:426:21: note: in expansion of macro ‘Val_int’ 426 | #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:844:47: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 844 | 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:415:29: note: in definition of macro ‘CAMLreturnT’ 415 | 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:82:20: note: in expansion of macro ‘Val_long’ 82 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:426:21: note: in expansion of macro ‘Val_int’ 426 | #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:844:47: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 844 | 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:415:29: note: in definition of macro ‘CAMLreturnT’ 415 | 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:82:20: note: in expansion of macro ‘Val_long’ 82 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:426:21: note: in expansion of macro ‘Val_int’ 426 | #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:844:47: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 844 | 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:415:29: note: in definition of macro ‘CAMLreturnT’ 415 | 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:82:20: note: in expansion of macro ‘Val_long’ 82 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:426:21: note: in expansion of macro ‘Val_int’ 426 | #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:844:47: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 844 | 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:415:29: note: in definition of macro ‘CAMLreturnT’ 415 | 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:82:20: note: in expansion of macro ‘Val_long’ 82 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:426:21: note: in expansion of macro ‘Val_int’ 426 | #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:844:47: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 844 | 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:333:23: warning: pointer targets in passing argument 2 of ‘wgetnstr’ differ in signedness [-Wpointer-sign] 333 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * /usr/lib64/ocaml/caml/memory.h:415:29: note: in definition of macro ‘CAMLreturnT’ 415 | 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:82:20: note: in expansion of macro ‘Val_long’ 82 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:426:21: note: in expansion of macro ‘Val_int’ 426 | #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:867:47: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 867 | extern NCURSES_EXPORT(int) wgetnstr (WINDOW *,char *,int); /* implemented */ | ^~~~~~ functions.c: In function ‘mlcurses_wgetstr’: /usr/lib64/ocaml/caml/mlvalues.h:333:23: warning: pointer targets in passing argument 2 of ‘wgetnstr’ differ in signedness [-Wpointer-sign] 333 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * /usr/lib64/ocaml/caml/memory.h:415:29: note: in definition of macro ‘CAMLreturnT’ 415 | 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:82:20: note: in expansion of macro ‘Val_long’ 82 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:426:21: note: in expansion of macro ‘Val_int’ 426 | #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:867:47: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 867 | extern NCURSES_EXPORT(int) wgetnstr (WINDOW *,char *,int); /* implemented */ | ^~~~~~ functions.c: In function ‘mlcurses_mvgetstr’: /usr/lib64/ocaml/caml/mlvalues.h:333:23: warning: pointer targets in passing argument 2 of ‘wgetnstr’ differ in signedness [-Wpointer-sign] 333 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) /usr/lib64/ocaml/caml/memory.h:415:29: note: in definition of macro ‘CAMLreturnT’ 415 | 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:82:20: note: in expansion of macro ‘Val_long’ 82 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:426:21: note: in expansion of macro ‘Val_int’ 426 | #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:867:47: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 867 | extern NCURSES_EXPORT(int) wgetnstr (WINDOW *,char *,int); /* implemented */ | ^~~~~~ functions.c: In function ‘mlcurses_mvwgetstr’: /usr/lib64/ocaml/caml/mlvalues.h:333:23: warning: pointer targets in passing argument 2 of ‘wgetnstr’ differ in signedness [-Wpointer-sign] 333 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) /usr/lib64/ocaml/caml/memory.h:415:29: note: in definition of macro ‘CAMLreturnT’ 415 | 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:82:20: note: in expansion of macro ‘Val_long’ 82 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:426:21: note: in expansion of macro ‘Val_int’ 426 | #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:867:47: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 867 | 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:415:29: note: in definition of macro ‘CAMLreturnT’ 415 | 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:82:20: note: in expansion of macro ‘Val_long’ 82 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:426:21: note: in expansion of macro ‘Val_int’ 426 | #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:867:47: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 867 | 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:415:29: note: in definition of macro ‘CAMLreturnT’ 415 | 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:82:20: note: in expansion of macro ‘Val_long’ 82 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:426:21: note: in expansion of macro ‘Val_int’ 426 | #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:867:47: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 867 | 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:415:29: note: in definition of macro ‘CAMLreturnT’ 415 | 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:82:20: note: in expansion of macro ‘Val_long’ 82 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:426:21: note: in expansion of macro ‘Val_int’ 426 | #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:867:47: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 867 | 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:415:29: note: in definition of macro ‘CAMLreturnT’ 415 | 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:82:20: note: in expansion of macro ‘Val_long’ 82 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:426:21: note: in expansion of macro ‘Val_int’ 426 | #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:867:47: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 867 | 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:333:23: warning: pointer targets in passing argument 1 of ‘newterm’ differ in signedness [-Wpointer-sign] 333 | #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:758:42: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 758 | extern NCURSES_EXPORT(SCREEN *) newterm (const char *,FILE *,FILE *); /* implemented */ | ^~~~~~~~~~~~ functions.c: In function ‘mlcurses_insstr’: /usr/lib64/ocaml/caml/mlvalues.h:333:23: warning: pointer targets in passing argument 2 of ‘winsnstr’ differ in signedness [-Wpointer-sign] 333 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) /usr/lib64/ocaml/caml/memory.h:415:29: note: in definition of macro ‘CAMLreturnT’ 415 | 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:82:20: note: in expansion of macro ‘Val_long’ 82 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:426:21: note: in expansion of macro ‘Val_int’ 426 | #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:877:48: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 877 | extern NCURSES_EXPORT(int) winsnstr (WINDOW *, const char *,int); /* implemented */ | ^~~~~~~~~~~~ functions.c: In function ‘mlcurses_winsstr’: /usr/lib64/ocaml/caml/mlvalues.h:333:23: warning: pointer targets in passing argument 2 of ‘winsnstr’ differ in signedness [-Wpointer-sign] 333 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * /usr/lib64/ocaml/caml/memory.h:415:29: note: in definition of macro ‘CAMLreturnT’ 415 | 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:82:20: note: in expansion of macro ‘Val_long’ 82 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:426:21: note: in expansion of macro ‘Val_int’ 426 | #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:877:48: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 877 | extern NCURSES_EXPORT(int) winsnstr (WINDOW *, const char *,int); /* implemented */ | ^~~~~~~~~~~~ functions.c: In function ‘mlcurses_mvinsstr’: /usr/lib64/ocaml/caml/mlvalues.h:333:23: warning: pointer targets in passing argument 2 of ‘winsnstr’ differ in signedness [-Wpointer-sign] 333 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) /usr/lib64/ocaml/caml/memory.h:415:29: note: in definition of macro ‘CAMLreturnT’ 415 | 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:82:20: note: in expansion of macro ‘Val_long’ 82 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:426:21: note: in expansion of macro ‘Val_int’ 426 | #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:877:48: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 877 | extern NCURSES_EXPORT(int) winsnstr (WINDOW *, const char *,int); /* implemented */ | ^~~~~~~~~~~~ functions.c: In function ‘mlcurses_mvwinsstr’: /usr/lib64/ocaml/caml/mlvalues.h:333:23: warning: pointer targets in passing argument 2 of ‘winsnstr’ differ in signedness [-Wpointer-sign] 333 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) /usr/lib64/ocaml/caml/memory.h:415:29: note: in definition of macro ‘CAMLreturnT’ 415 | 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:82:20: note: in expansion of macro ‘Val_long’ 82 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:426:21: note: in expansion of macro ‘Val_int’ 426 | #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:877:48: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 877 | 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:415:29: note: in definition of macro ‘CAMLreturnT’ 415 | 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:82:20: note: in expansion of macro ‘Val_long’ 82 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:426:21: note: in expansion of macro ‘Val_int’ 426 | #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:877:48: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 877 | 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:415:29: note: in definition of macro ‘CAMLreturnT’ 415 | 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:82:20: note: in expansion of macro ‘Val_long’ 82 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:426:21: note: in expansion of macro ‘Val_int’ 426 | #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:877:48: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 877 | 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:415:29: note: in definition of macro ‘CAMLreturnT’ 415 | 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:82:20: note: in expansion of macro ‘Val_long’ 82 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:426:21: note: in expansion of macro ‘Val_int’ 426 | #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:877:48: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 877 | 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:415:29: note: in definition of macro ‘CAMLreturnT’ 415 | 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:82:20: note: in expansion of macro ‘Val_long’ 82 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:426:21: note: in expansion of macro ‘Val_int’ 426 | #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:877:48: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 877 | extern NCURSES_EXPORT(int) winsnstr (WINDOW *, const char *,int); /* implemented */ | ^~~~~~~~~~~~ functions.c: In function ‘mlcurses_instr’: /usr/lib64/ocaml/caml/mlvalues.h:333:23: warning: pointer targets in passing argument 2 of ‘winnstr’ differ in signedness [-Wpointer-sign] 333 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) /usr/lib64/ocaml/caml/memory.h:415:29: note: in definition of macro ‘CAMLreturnT’ 415 | 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:82:20: note: in expansion of macro ‘Val_long’ 82 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:426:21: note: in expansion of macro ‘Val_int’ 426 | #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:873:47: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 873 | extern NCURSES_EXPORT(int) winnstr (WINDOW *, char *, int); /* implemented */ | ^~~~~~ functions.c: In function ‘mlcurses_winstr’: /usr/lib64/ocaml/caml/mlvalues.h:333:23: warning: pointer targets in passing argument 2 of ‘winnstr’ differ in signedness [-Wpointer-sign] 333 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * /usr/lib64/ocaml/caml/memory.h:415:29: note: in definition of macro ‘CAMLreturnT’ 415 | 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:82:20: note: in expansion of macro ‘Val_long’ 82 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:426:21: note: in expansion of macro ‘Val_int’ 426 | #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:873:47: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 873 | extern NCURSES_EXPORT(int) winnstr (WINDOW *, char *, int); /* implemented */ | ^~~~~~ functions.c: In function ‘mlcurses_mvinstr’: /usr/lib64/ocaml/caml/mlvalues.h:333:23: warning: pointer targets in passing argument 2 of ‘winnstr’ differ in signedness [-Wpointer-sign] 333 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) /usr/lib64/ocaml/caml/memory.h:415:29: note: in definition of macro ‘CAMLreturnT’ 415 | 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:82:20: note: in expansion of macro ‘Val_long’ 82 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:426:21: note: in expansion of macro ‘Val_int’ 426 | #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:873:47: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 873 | extern NCURSES_EXPORT(int) winnstr (WINDOW *, char *, int); /* implemented */ | ^~~~~~ functions.c: In function ‘mlcurses_mvwinstr’: /usr/lib64/ocaml/caml/mlvalues.h:333:23: warning: pointer targets in passing argument 2 of ‘winnstr’ differ in signedness [-Wpointer-sign] 333 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) /usr/lib64/ocaml/caml/memory.h:415:29: note: in definition of macro ‘CAMLreturnT’ 415 | 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:82:20: note: in expansion of macro ‘Val_long’ 82 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:426:21: note: in expansion of macro ‘Val_int’ 426 | #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:873:47: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 873 | 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:415:29: note: in definition of macro ‘CAMLreturnT’ 415 | 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:82:20: note: in expansion of macro ‘Val_long’ 82 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:426:21: note: in expansion of macro ‘Val_int’ 426 | #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:873:47: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 873 | 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:415:29: note: in definition of macro ‘CAMLreturnT’ 415 | 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:82:20: note: in expansion of macro ‘Val_long’ 82 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:426:21: note: in expansion of macro ‘Val_int’ 426 | #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:873:47: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 873 | 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:415:29: note: in definition of macro ‘CAMLreturnT’ 415 | 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:82:20: note: in expansion of macro ‘Val_long’ 82 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:426:21: note: in expansion of macro ‘Val_int’ 426 | #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:873:47: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 873 | 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:415:29: note: in definition of macro ‘CAMLreturnT’ 415 | 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:82:20: note: in expansion of macro ‘Val_long’ 82 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:426:21: note: in expansion of macro ‘Val_int’ 426 | #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:873:47: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 873 | extern NCURSES_EXPORT(int) winnstr (WINDOW *, char *, int); /* implemented */ | ^~~~~~ functions.c: In function ‘mlcurses_scr_dump’: /usr/lib64/ocaml/caml/mlvalues.h:333:23: warning: pointer targets in passing argument 1 of ‘scr_dump’ differ in signedness [-Wpointer-sign] 333 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * /usr/lib64/ocaml/caml/memory.h:415:29: note: in definition of macro ‘CAMLreturnT’ 415 | 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:82:20: note: in expansion of macro ‘Val_long’ 82 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:426:21: note: in expansion of macro ‘Val_int’ 426 | #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:789:38: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 789 | extern NCURSES_EXPORT(int) scr_dump (const char *); /* implemented */ | ^~~~~~~~~~~~ functions.c: In function ‘mlcurses_scr_restore’: /usr/lib64/ocaml/caml/mlvalues.h:333:23: warning: pointer targets in passing argument 1 of ‘scr_restore’ differ in signedness [-Wpointer-sign] 333 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * /usr/lib64/ocaml/caml/memory.h:415:29: note: in definition of macro ‘CAMLreturnT’ 415 | 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:82:20: note: in expansion of macro ‘Val_long’ 82 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:426:21: note: in expansion of macro ‘Val_int’ 426 | #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:794:41: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 794 | extern NCURSES_EXPORT(int) scr_restore (const char *); /* implemented */ | ^~~~~~~~~~~~ functions.c: In function ‘mlcurses_scr_init’: /usr/lib64/ocaml/caml/mlvalues.h:333:23: warning: pointer targets in passing argument 1 of ‘scr_init’ differ in signedness [-Wpointer-sign] 333 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * /usr/lib64/ocaml/caml/memory.h:415:29: note: in definition of macro ‘CAMLreturnT’ 415 | 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:82:20: note: in expansion of macro ‘Val_long’ 82 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:426:21: note: in expansion of macro ‘Val_int’ 426 | #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:790:38: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 790 | extern NCURSES_EXPORT(int) scr_init (const char *); /* implemented */ | ^~~~~~~~~~~~ functions.c: In function ‘mlcurses_scr_set’: /usr/lib64/ocaml/caml/mlvalues.h:333:23: warning: pointer targets in passing argument 1 of ‘scr_set’ differ in signedness [-Wpointer-sign] 333 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * /usr/lib64/ocaml/caml/memory.h:415:29: note: in definition of macro ‘CAMLreturnT’ 415 | 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:82:20: note: in expansion of macro ‘Val_long’ 82 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:426:21: note: in expansion of macro ‘Val_int’ 426 | #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:795:37: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 795 | extern NCURSES_EXPORT(int) scr_set (const char *); /* implemented */ | ^~~~~~~~~~~~ functions.c: In function ‘mlcurses_slk_set’: /usr/lib64/ocaml/caml/mlvalues.h:333:23: warning: pointer targets in passing argument 2 of ‘slk_set’ differ in signedness [-Wpointer-sign] 333 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * /usr/lib64/ocaml/caml/memory.h:415:29: note: in definition of macro ‘CAMLreturnT’ 415 | 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:82:20: note: in expansion of macro ‘Val_long’ 82 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:426:21: note: in expansion of macro ‘Val_int’ 426 | #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:812:41: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 812 | extern NCURSES_EXPORT(int) slk_set (int,const char *,int); /* implemented */ | ^~~~~~~~~~~~ functions.c: In function ‘mlcurses_tgetflag’: /usr/lib64/ocaml/caml/mlvalues.h:333:23: warning: pointer targets in passing argument 1 of ‘tgetflag’ differ in signedness [-Wpointer-sign] 333 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * /usr/lib64/ocaml/caml/memory.h:415:29: note: in definition of macro ‘CAMLreturnT’ 415 | 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:82:20: note: in expansion of macro ‘Val_long’ 82 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:426:21: note: in expansion of macro ‘Val_int’ 426 | #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:333:23: warning: pointer targets in passing argument 1 of ‘tgetnum’ differ in signedness [-Wpointer-sign] 333 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * /usr/lib64/ocaml/caml/memory.h:415:29: note: in definition of macro ‘CAMLreturnT’ 415 | 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:82:20: note: in expansion of macro ‘Val_long’ 82 | #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:333:23: warning: pointer targets in passing argument 1 of ‘tgoto’ differ in signedness [-Wpointer-sign] 333 | #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:333:23: warning: pointer targets in passing argument 1 of ‘setupterm’ differ in signedness [-Wpointer-sign] 333 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * /usr/lib64/ocaml/caml/memory.h:415:29: note: in definition of macro ‘CAMLreturnT’ 415 | 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:82:20: note: in expansion of macro ‘Val_long’ 82 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:426:21: note: in expansion of macro ‘Val_int’ 426 | #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:333:23: warning: pointer targets in passing argument 1 of ‘setupterm’ differ in signedness [-Wpointer-sign] 333 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * /usr/lib64/ocaml/caml/memory.h:415:29: note: in definition of macro ‘CAMLreturnT’ 415 | 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:82:20: note: in expansion of macro ‘Val_long’ 82 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:426:21: note: in expansion of macro ‘Val_int’ 426 | #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:333:23: warning: pointer targets in passing argument 1 of ‘restartterm’ differ in signedness [-Wpointer-sign] 333 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * /usr/lib64/ocaml/caml/memory.h:415:29: note: in definition of macro ‘CAMLreturnT’ 415 | 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:82:20: note: in expansion of macro ‘Val_long’ 82 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:426:21: note: in expansion of macro ‘Val_int’ 426 | #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:333:23: warning: pointer targets in passing argument 1 of ‘putp’ differ in signedness [-Wpointer-sign] 333 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * /usr/lib64/ocaml/caml/memory.h:415:29: note: in definition of macro ‘CAMLreturnT’ 415 | 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:82:20: note: in expansion of macro ‘Val_long’ 82 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:426:21: note: in expansion of macro ‘Val_int’ 426 | #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:904:34: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 904 | extern NCURSES_EXPORT(int) putp (const char *); /* implemented */ | ^~~~~~~~~~~~ functions.c: In function ‘mlcurses_tigetflag’: /usr/lib64/ocaml/caml/mlvalues.h:333:23: warning: pointer targets in passing argument 1 of ‘tigetflag’ differ in signedness [-Wpointer-sign] 333 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * /usr/lib64/ocaml/caml/memory.h:415:29: note: in definition of macro ‘CAMLreturnT’ 415 | 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:82:20: note: in expansion of macro ‘Val_long’ 82 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:426:21: note: in expansion of macro ‘Val_int’ 426 | #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:901:39: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 901 | extern NCURSES_EXPORT(int) tigetflag (const char *); /* implemented */ | ^~~~~~~~~~~~ functions.c: In function ‘mlcurses_tigetnum’: /usr/lib64/ocaml/caml/mlvalues.h:333:23: warning: pointer targets in passing argument 1 of ‘tigetnum’ differ in signedness [-Wpointer-sign] 333 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * /usr/lib64/ocaml/caml/memory.h:415:29: note: in definition of macro ‘CAMLreturnT’ 415 | 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:82:20: note: in expansion of macro ‘Val_long’ 82 | #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:902:38: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 902 | extern NCURSES_EXPORT(int) tigetnum (const char *); /* implemented */ | ^~~~~~~~~~~~ functions.c: In function ‘mlcurses_tigetstr’: /usr/lib64/ocaml/caml/mlvalues.h:333:23: warning: pointer targets in passing argument 1 of ‘tigetstr’ differ in signedness [-Wpointer-sign] 333 | #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:903:41: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 903 | extern NCURSES_EXPORT(char *) tigetstr (const char *); /* implemented */ | ^~~~~~~~~~~~ functions.c: In function ‘mlcurses_tputs’: /usr/lib64/ocaml/caml/mlvalues.h:333:23: warning: pointer targets in passing argument 1 of ‘tputs’ differ in signedness [-Wpointer-sign] 333 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * /usr/lib64/ocaml/caml/memory.h:415:29: note: in definition of macro ‘CAMLreturnT’ 415 | 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:82:20: note: in expansion of macro ‘Val_long’ 82 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:426:21: note: in expansion of macro ‘Val_int’ 426 | #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:333:23: warning: pointer targets in passing argument 1 of ‘tparm’ differ in signedness [-Wpointer-sign] 333 | #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:907:38: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 907 | 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.Kfd414 + umask 022 + cd /builddir/build/BUILD/ocaml-curses-1.0.11-build + '[' /builddir/build/BUILD/ocaml-curses-1.0.11-build/BUILDROOT '!=' / ']' + rm -rf /builddir/build/BUILD/ocaml-curses-1.0.11-build/BUILDROOT ++ dirname /builddir/build/BUILD/ocaml-curses-1.0.11-build/BUILDROOT + mkdir -p /builddir/build/BUILD/ocaml-curses-1.0.11-build + mkdir /builddir/build/BUILD/ocaml-curses-1.0.11-build/BUILDROOT + CFLAGS='-O2 -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 -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -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 -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -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 -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -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 -mno-omit-leaf-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=-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/BUILD/ocaml-curses-1.0.11-build/BUILDROOT --verbose --release -j64 Shared cache: disabled Shared cache location: /builddir/.cache/dune/db Workspace root: /builddir/build/BUILD/ocaml-curses-1.0.11-build/curses-1.0.11 Dune context: { name = "default" ; kind = "default" ; profile = Release ; merlin = true ; fdo_target_exe = None ; build_dir = In_build_dir "default" ; instrument_with = [] } Installing /builddir/build/BUILD/ocaml-curses-1.0.11-build/BUILDROOT/usr/lib64/ocaml/curses/META Installing /builddir/build/BUILD/ocaml-curses-1.0.11-build/BUILDROOT/usr/lib64/ocaml/curses/curses.a Installing /builddir/build/BUILD/ocaml-curses-1.0.11-build/BUILDROOT/usr/lib64/ocaml/curses/curses.cma Installing /builddir/build/BUILD/ocaml-curses-1.0.11-build/BUILDROOT/usr/lib64/ocaml/curses/curses.cmi Installing /builddir/build/BUILD/ocaml-curses-1.0.11-build/BUILDROOT/usr/lib64/ocaml/curses/curses.cmt Installing /builddir/build/BUILD/ocaml-curses-1.0.11-build/BUILDROOT/usr/lib64/ocaml/curses/curses.cmti Installing /builddir/build/BUILD/ocaml-curses-1.0.11-build/BUILDROOT/usr/lib64/ocaml/curses/curses.cmx Installing /builddir/build/BUILD/ocaml-curses-1.0.11-build/BUILDROOT/usr/lib64/ocaml/curses/curses.cmxa Installing /builddir/build/BUILD/ocaml-curses-1.0.11-build/BUILDROOT/usr/lib64/ocaml/curses/curses.ml Installing /builddir/build/BUILD/ocaml-curses-1.0.11-build/BUILDROOT/usr/lib64/ocaml/curses/curses.mli Installing /builddir/build/BUILD/ocaml-curses-1.0.11-build/BUILDROOT/usr/lib64/ocaml/curses/dune-package Installing /builddir/build/BUILD/ocaml-curses-1.0.11-build/BUILDROOT/usr/lib64/ocaml/curses/libcurses_stubs.a Installing /builddir/build/BUILD/ocaml-curses-1.0.11-build/BUILDROOT/usr/lib64/ocaml/curses/opam Installing /builddir/build/BUILD/ocaml-curses-1.0.11-build/BUILDROOT/usr/lib64/ocaml/curses/curses.cmxs Installing /builddir/build/BUILD/ocaml-curses-1.0.11-build/BUILDROOT/usr/doc/curses/CHANGES.md Installing /builddir/build/BUILD/ocaml-curses-1.0.11-build/BUILDROOT/usr/doc/curses/README.md Installing /builddir/build/BUILD/ocaml-curses-1.0.11-build/BUILDROOT/usr/lib64/ocaml/stublibs/dllcurses_stubs.so + '[' -d _build/default/_doc/_html ']' + rm -rf /builddir/build/BUILD/ocaml-curses-1.0.11-build/BUILDROOT/usr/doc ++ find /builddir/build/BUILD/ocaml-curses-1.0.11-build/BUILDROOT/usr/lib64/ocaml -name '*.mli' + mlis=/builddir/build/BUILD/ocaml-curses-1.0.11-build/BUILDROOT/usr/lib64/ocaml/curses/curses.mli + rm -f /builddir/build/BUILD/ocaml-curses-1.0.11-build/BUILDROOT/usr/lib64/ocaml/curses/curses.ml + /usr/bin/python3 /usr/lib/rpm/redhat/ocaml_files.py /builddir/build/BUILD/ocaml-curses-1.0.11-build/BUILDROOT /usr/lib64/ocaml + /usr/bin/find-debuginfo -j64 --strict-build-id -m -i --build-id-seed 1.0.11-11.fc41 --unique-debug-suffix -1.0.11-11.fc41.riscv64 --unique-debug-src-base ocaml-curses-1.0.11-11.fc41.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/ocaml-curses-1.0.11-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-11.fc41.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 -j64 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/bin/add-determinism --brp -j64 /builddir/build/BUILD/ocaml-curses-1.0.11-build/BUILDROOT /builddir/build/BUILD/ocaml-curses-1.0.11-build/BUILDROOT/usr/lib64/ocaml/curses/curses.a: replacing with normalized version /builddir/build/BUILD/ocaml-curses-1.0.11-build/BUILDROOT/usr/lib64/ocaml/curses/libcurses_stubs.a: replacing with normalized version Scanned 19 directories and 21 files, processed 2 inodes, 2 modified (2 replaced + 0 rewritten), 0 unsupported format, 0 errors Reading /builddir/build/BUILD/ocaml-curses-1.0.11-build/SPECPARTS/rpm-debuginfo.specpart Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.GetXMG + umask 022 + cd /builddir/build/BUILD/ocaml-curses-1.0.11-build + CFLAGS='-O2 -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 -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -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 -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -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 -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -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 -mno-omit-leaf-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=-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 -j64 Shared cache: disabled Shared cache location: /builddir/.cache/dune/db Workspace root: /builddir/build/BUILD/ocaml-curses-1.0.11-build/curses-1.0.11 Dune context: { name = "default" ; kind = "default" ; profile = Release ; merlin = true ; fdo_target_exe = None ; build_dir = In_build_dir "default" ; instrument_with = [] } + RPM_EC=0 ++ jobs -p + exit 0 Processing files: ocaml-curses-1.0.11-11.fc41.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.U4Nfew + umask 022 + cd /builddir/build/BUILD/ocaml-curses-1.0.11-build + cd curses-1.0.11 + DOCDIR=/builddir/build/BUILD/ocaml-curses-1.0.11-build/BUILDROOT/usr/share/doc/ocaml-curses + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILD/ocaml-curses-1.0.11-build/BUILDROOT/usr/share/doc/ocaml-curses + cp -pr /builddir/build/BUILD/ocaml-curses-1.0.11-build/curses-1.0.11/CHANGES.md /builddir/build/BUILD/ocaml-curses-1.0.11-build/BUILDROOT/usr/share/doc/ocaml-curses + cp -pr /builddir/build/BUILD/ocaml-curses-1.0.11-build/curses-1.0.11/README.md /builddir/build/BUILD/ocaml-curses-1.0.11-build/BUILDROOT/usr/share/doc/ocaml-curses + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.HYNeOZ + umask 022 + cd /builddir/build/BUILD/ocaml-curses-1.0.11-build + cd curses-1.0.11 + LICENSEDIR=/builddir/build/BUILD/ocaml-curses-1.0.11-build/BUILDROOT/usr/share/licenses/ocaml-curses + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILD/ocaml-curses-1.0.11-build/BUILDROOT/usr/share/licenses/ocaml-curses + cp -pr /builddir/build/BUILD/ocaml-curses-1.0.11-build/curses-1.0.11/COPYING /builddir/build/BUILD/ocaml-curses-1.0.11-build/BUILDROOT/usr/share/licenses/ocaml-curses + RPM_EC=0 ++ jobs -p + exit 0 Provides: ocaml(Curses) = af17f9f5489dedc373160a47f500ce6d ocaml-curses = 1.0.11-11.fc41 ocaml-curses(riscv-64) = 1.0.11-11.fc41 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) = 2ef2d91ced81f6c72f852bab8ab406e0 ocaml(Stdlib) = e8d9af458547c45080a71b9a6eaed658 ocaml(Stdlib__Bigarray) = 8317b42277334e4ae5794d3cbabcaf4f ocaml(Stdlib__Complex) = 052959c6d02e4e692e7944dd137c4095 ocaml(Stdlib__Either) = d56b2e9ca14b69fdeef09f3b2fbd10ad ocaml(Stdlib__Hashtbl) = a95c460b872969c8d1b778e529006189 ocaml(Stdlib__List) = 0cd6f52e67f5324941afcf7df215a281 ocaml(Stdlib__Seq) = ac22688c50c848ab417492a023ff76ab ocaml(Unix) = 59e61ff7441dfacaa24d4eed6d45eeda rtld(GNU_HASH) Processing files: ocaml-curses-devel-1.0.11-11.fc41.riscv64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.JMqeJ8 + umask 022 + cd /builddir/build/BUILD/ocaml-curses-1.0.11-build + cd curses-1.0.11 + LICENSEDIR=/builddir/build/BUILD/ocaml-curses-1.0.11-build/BUILDROOT/usr/share/licenses/ocaml-curses-devel + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILD/ocaml-curses-1.0.11-build/BUILDROOT/usr/share/licenses/ocaml-curses-devel + cp -pr /builddir/build/BUILD/ocaml-curses-1.0.11-build/curses-1.0.11/COPYING /builddir/build/BUILD/ocaml-curses-1.0.11-build/BUILDROOT/usr/share/licenses/ocaml-curses-devel + RPM_EC=0 ++ jobs -p + exit 0 Provides: ocaml(Curses) = af17f9f5489dedc373160a47f500ce6d ocaml-curses-devel = 1.0.11-11.fc41 ocaml-curses-devel(riscv-64) = 1.0.11-11.fc41 ocamlx(Curses) = cfd043fe9b5c5d8d501aa991c6ce6a2b Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ocaml(CamlinternalFormatBasics) = 2ef2d91ced81f6c72f852bab8ab406e0 ocaml(Stdlib) = e8d9af458547c45080a71b9a6eaed658 ocaml(Stdlib__Bigarray) = 8317b42277334e4ae5794d3cbabcaf4f ocaml(Stdlib__Complex) = 052959c6d02e4e692e7944dd137c4095 ocaml(Stdlib__Either) = d56b2e9ca14b69fdeef09f3b2fbd10ad ocaml(Stdlib__Hashtbl) = a95c460b872969c8d1b778e529006189 ocaml(Stdlib__List) = 0cd6f52e67f5324941afcf7df215a281 ocaml(Stdlib__Seq) = ac22688c50c848ab417492a023ff76ab ocaml(Unix) = 59e61ff7441dfacaa24d4eed6d45eeda ocamlx(Stdlib) = 447646e3941e7bd0789ef2758721e0f3 ocamlx(Stdlib__Domain) = cc0101b954510b60650e5e09ef15a63f ocamlx(Stdlib__Hashtbl) = 32e5b8b459bfbe8d42f9cbdc0881f25b ocamlx(Stdlib__List) = 0c98d5e09fe7a58103f7fc0c065faf7b ocamlx(Stdlib__Random) = 8a2126a10d76d3c628e1b10cc98f4557 Processing files: ocaml-curses-debugsource-1.0.11-11.fc41.riscv64 Provides: ocaml-curses-debugsource = 1.0.11-11.fc41 ocaml-curses-debugsource(riscv-64) = 1.0.11-11.fc41 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-11.fc41.riscv64 Provides: debuginfo(build-id) = 03c12b31a405ca93f5c1438a6dad43b038e31639 debuginfo(build-id) = bb3200951b233242b557970b0313fd0cf8bde57f ocaml-curses-debuginfo = 1.0.11-11.fc41 ocaml-curses-debuginfo(riscv-64) = 1.0.11-11.fc41 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-11.fc41 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILD/ocaml-curses-1.0.11-build/BUILDROOT Wrote: /builddir/build/RPMS/ocaml-curses-debugsource-1.0.11-11.fc41.riscv64.rpm Wrote: /builddir/build/RPMS/ocaml-curses-1.0.11-11.fc41.riscv64.rpm Wrote: /builddir/build/RPMS/ocaml-curses-debuginfo-1.0.11-11.fc41.riscv64.rpm Wrote: /builddir/build/RPMS/ocaml-curses-devel-1.0.11-11.fc41.riscv64.rpm Child return code was: 0