Mock Version: 5.5 Mock Version: 5.5 Mock Version: 5.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/ocaml-curses.spec'], chrootPath='/var/lib/mock/f41-build-50401051-6031310/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=201600uid=1000gid=425user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.s0xcegnq:/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.s0xcegnq:/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', '4c9d6d79680741d49373782cdf99ce22', '-D', '/var/lib/mock/f41-build-50401051-6031310/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.s0xcegnq:/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 aarch64 --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: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1706140800 Wrote: /builddir/build/SRPMS/ocaml-curses-1.0.11-8.fc41.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/ocaml-curses.spec'], chrootPath='/var/lib/mock/f41-build-50401051-6031310/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=201600uid=1000gid=425user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.s0xcegnq:/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.s0xcegnq:/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', '76c30d9bf96f4835991057278b013447', '-D', '/var/lib/mock/f41-build-50401051-6031310/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.s0xcegnq:/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 aarch64 --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: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1706140800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.UpA18O + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf curses-1.0.11 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/curses-1.0.11.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd curses-1.0.11 + rm -rf /builddir/build/BUILD/curses-1.0.11-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/curses-1.0.11-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.ibNwdk + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -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-errors -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 -j12 Shared cache: disabled Shared cache location: /builddir/.cache/dune/db Workspace root: /builddir/build/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 -I .curses.objs/byte -I /usr/lib64/ocaml/unix -no-alias-deps -o .curses.objs/byte/curses.cmi -c -intf curses.mli) Running[2]: (cd _build/default && /usr/bin/ocamlc.opt -w -40 -g -bin-annot -I .discover.eobjs/byte -I /usr/lib64/ocaml/csexp -I /usr/lib64/ocaml/dune-configurator -I /usr/lib64/ocaml/unix -no-alias-deps -o .discover.eobjs/byte/dune__exe__Discover.cmo -c -impl discover.ml) Running[3]: (cd _build/default && /usr/bin/ocamlopt.opt -w -40 -g -I .discover.eobjs/byte -I .discover.eobjs/native -I /usr/lib64/ocaml/csexp -I /usr/lib64/ocaml/dune-configurator -I /usr/lib64/ocaml/unix -intf-suffix .ml -no-alias-deps -o .discover.eobjs/native/dune__exe__Discover.cmx -c -impl discover.ml) Running[4]: (cd _build/default && /usr/bin/ocamlopt.opt -w -40 -g -o discover.exe /usr/lib64/ocaml/unix/unix.cmxa /usr/lib64/ocaml/csexp/csexp.cmxa /usr/lib64/ocaml/dune-configurator/configurator.cmxa .discover.eobjs/native/dune__exe__Discover.cmx) Running[5]: (cd _build/default && ./discover.exe) Running[6]: (cd _build/default && /usr/bin/sh -c 'gcc -O2 -fno-strict-aliasing -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -x c -E _curses.ml') > _build/default/curses.ml Running[7]: (cd _build/default && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_FILE_OFFSET_BITS=64 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DHAVE_CONFIG_H -g -I /usr/lib64/ocaml -I /usr/lib64/ocaml/unix -o ml_curses.o -c ml_curses.c) Running[8]: (cd _build/default && /usr/bin/ocamlopt.opt -w -40 -g -I .curses.objs/byte -I .curses.objs/native -I /usr/lib64/ocaml/unix -intf-suffix .ml -no-alias-deps -o .curses.objs/native/curses.cmx -c -impl curses.ml) Running[9]: (cd _build/default && /usr/bin/ocamlc.opt -w -40 -g -bin-annot -I .curses.objs/byte -I /usr/lib64/ocaml/unix -intf-suffix .ml -no-alias-deps -o .curses.objs/byte/curses.cmo -c -impl curses.ml) Running[10]: (cd _build/default && /usr/bin/ocamlc.opt -w -40 -g -a -o curses.cma -dllib -lcurses_stubs -cclib -lcurses_stubs -cclib -lncursesw -cclib -ltinfo .curses.objs/byte/curses.cmo) Running[11]: (cd _build/default && /usr/bin/ocamlopt.opt -w -40 -g -a -o curses.cmxa -cclib -lcurses_stubs -cclib -lncursesw -cclib -ltinfo .curses.objs/native/curses.cmx) Output[7]: In file included from ml_curses.c:7: functions.c: In function ‘mlcurses_addstr’: /usr/lib64/ocaml/caml/mlvalues.h:330:23: warning: pointer targets in passing argument 2 of ‘waddnstr’ differ in signedness [-Wpointer-sign] 330 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) /usr/lib64/ocaml/caml/memory.h: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:81:20: note: in expansion of macro ‘Val_long’ 81 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:423:21: note: in expansion of macro ‘Val_int’ 423 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:72:36: note: in expansion of macro ‘Val_bool’ 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ ml_curses.c:127:9: note: in expansion of macro ‘r_err’ 127 | { RA1 r_##tr(f(a_##ta(aa))); } | ^~ ml_curses.c:109:25: note: in expansion of macro ‘Bytes_val’ 109 | #define a_string(a) Bytes_val(a) | ^~~~~~~~~ ml_curses.c:127:18: note: in expansion of macro ‘a_string’ 127 | { RA1 r_##tr(f(a_##ta(aa))); } | ^~ functions.c:48:1: note: in expansion of macro ‘ML1’ 48 | ML1(addstr,err,string) | ^~~ In file included from ml_curses.c:22: /usr/include/curses.h: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:330:23: warning: pointer targets in passing argument 2 of ‘waddnstr’ differ in signedness [-Wpointer-sign] 330 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * /usr/lib64/ocaml/caml/memory.h: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:81:20: note: in expansion of macro ‘Val_long’ 81 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:423:21: note: in expansion of macro ‘Val_int’ 423 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:72:36: note: in expansion of macro ‘Val_bool’ 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ ml_curses.c:130:9: note: in expansion of macro ‘r_err’ 130 | { RA2 r_##tr(f(a_##ta(aa),a_##tb(ab))); } | ^~ ml_curses.c:109:25: note: in expansion of macro ‘Bytes_val’ 109 | #define a_string(a) Bytes_val(a) | ^~~~~~~~~ ml_curses.c:130:29: note: in expansion of macro ‘a_string’ 130 | { RA2 r_##tr(f(a_##ta(aa),a_##tb(ab))); } | ^~ functions.c:49:1: note: in expansion of macro ‘ML2’ 49 | ML2(waddstr,err,window,string) | ^~~ /usr/include/curses.h: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:330:23: warning: pointer targets in passing argument 2 of ‘waddnstr’ differ in signedness [-Wpointer-sign] 330 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) /usr/lib64/ocaml/caml/memory.h: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:81:20: note: in expansion of macro ‘Val_long’ 81 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:423:21: note: in expansion of macro ‘Val_int’ 423 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:72:36: note: in expansion of macro ‘Val_bool’ 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ ml_curses.c:133:9: note: in expansion of macro ‘r_err’ 133 | { RA3 r_##tr(f(a_##ta(aa),a_##tb(ab),a_##tc(ac))); } | ^~ ml_curses.c:109:25: note: in expansion of macro ‘Bytes_val’ 109 | #define a_string(a) Bytes_val(a) | ^~~~~~~~~ ml_curses.c:133:40: note: in expansion of macro ‘a_string’ 133 | { RA3 r_##tr(f(a_##ta(aa),a_##tb(ab),a_##tc(ac))); } | ^~ functions.c:50:1: note: in expansion of macro ‘ML3’ 50 | ML3(mvaddstr,err,int,int,string) | ^~~ /usr/include/curses.h: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:330:23: warning: pointer targets in passing argument 2 of ‘waddnstr’ differ in signedness [-Wpointer-sign] 330 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) /usr/lib64/ocaml/caml/memory.h: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:81:20: note: in expansion of macro ‘Val_long’ 81 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:423:21: note: in expansion of macro ‘Val_int’ 423 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:72:36: note: in expansion of macro ‘Val_bool’ 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ ml_curses.c:136:9: note: in expansion of macro ‘r_err’ 136 | { RA4 r_##tr(f(a_##ta(aa),a_##tb(ab),a_##tc(ac),a_##td(ad))); } | ^~ ml_curses.c:109:25: note: in expansion of macro ‘Bytes_val’ 109 | #define a_string(a) Bytes_val(a) | ^~~~~~~~~ ml_curses.c:136:51: note: in expansion of macro ‘a_string’ 136 | { RA4 r_##tr(f(a_##ta(aa),a_##tb(ab),a_##tc(ac),a_##td(ad))); } | ^~ functions.c:51:1: note: in expansion of macro ‘ML4’ 51 | ML4(mvwaddstr,err,window,int,int,string) | ^~~ /usr/include/curses.h: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:81:20: note: in expansion of macro ‘Val_long’ 81 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:423:21: note: in expansion of macro ‘Val_int’ 423 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:72:36: note: in expansion of macro ‘Val_bool’ 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:53:6: note: in expansion of macro ‘r_err’ 53 | BEG3 r_err(addnstr(a_string(aa)+a_int(ab),a_int(ac))); END | ^~~~~ /usr/include/curses.h: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:81:20: note: in expansion of macro ‘Val_long’ 81 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:423:21: note: in expansion of macro ‘Val_int’ 423 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:72:36: note: in expansion of macro ‘Val_bool’ 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:55:6: note: in expansion of macro ‘r_err’ 55 | BEG4 r_err(waddnstr(a_window(aa),a_string(ab)+a_int(ac),a_int(ad))); END | ^~~~~ /usr/include/curses.h: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:81:20: note: in expansion of macro ‘Val_long’ 81 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:423:21: note: in expansion of macro ‘Val_int’ 423 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:72:36: note: in expansion of macro ‘Val_bool’ 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:57:6: note: in expansion of macro ‘r_err’ 57 | BEG5 r_err(mvaddnstr(a_int(aa),a_int(ab), | ^~~~~ /usr/include/curses.h: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:81:20: note: in expansion of macro ‘Val_long’ 81 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:423:21: note: in expansion of macro ‘Val_int’ 423 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:72:36: note: in expansion of macro ‘Val_bool’ 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:60:6: note: in expansion of macro ‘r_err’ 60 | BEG6 r_err(mvwaddnstr(a_window(aa),a_int(ab),a_int(ac), | ^~~~~ /usr/include/curses.h: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:330:23: warning: pointer targets in passing argument 2 of ‘wgetnstr’ differ in signedness [-Wpointer-sign] 330 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * /usr/lib64/ocaml/caml/memory.h: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:81:20: note: in expansion of macro ‘Val_long’ 81 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:423:21: note: in expansion of macro ‘Val_int’ 423 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:72:36: note: in expansion of macro ‘Val_bool’ 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:195:6: note: in expansion of macro ‘r_err’ 195 | BEG1 r_err(getnstr(a_string(aa),caml_string_length(aa))); END | ^~~~~ ml_curses.c:109:25: note: in expansion of macro ‘Bytes_val’ 109 | #define a_string(a) Bytes_val(a) | ^~~~~~~~~ functions.c:195:20: note: in expansion of macro ‘a_string’ 195 | BEG1 r_err(getnstr(a_string(aa),caml_string_length(aa))); END | ^~~~~~~~ /usr/include/curses.h: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:330:23: warning: pointer targets in passing argument 2 of ‘wgetnstr’ differ in signedness [-Wpointer-sign] 330 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * /usr/lib64/ocaml/caml/memory.h: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:81:20: note: in expansion of macro ‘Val_long’ 81 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:423:21: note: in expansion of macro ‘Val_int’ 423 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:72:36: note: in expansion of macro ‘Val_bool’ 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:197:6: note: in expansion of macro ‘r_err’ 197 | BEG2 r_err(wgetnstr(a_window(aa),a_string(ab),caml_string_length(ab))); END | ^~~~~ ml_curses.c:109:25: note: in expansion of macro ‘Bytes_val’ 109 | #define a_string(a) Bytes_val(a) | ^~~~~~~~~ functions.c:197:34: note: in expansion of macro ‘a_string’ 197 | BEG2 r_err(wgetnstr(a_window(aa),a_string(ab),caml_string_length(ab))); END | ^~~~~~~~ /usr/include/curses.h: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:330:23: warning: pointer targets in passing argument 2 of ‘wgetnstr’ differ in signedness [-Wpointer-sign] 330 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) /usr/lib64/ocaml/caml/memory.h: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:81:20: note: in expansion of macro ‘Val_long’ 81 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:423:21: note: in expansion of macro ‘Val_int’ 423 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:72:36: note: in expansion of macro ‘Val_bool’ 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:199:6: note: in expansion of macro ‘r_err’ 199 | BEG3 r_err(mvgetnstr(a_int(aa),a_int(ab),a_string(ac),caml_string_length(ac))); END | ^~~~~ ml_curses.c:109:25: note: in expansion of macro ‘Bytes_val’ 109 | #define a_string(a) Bytes_val(a) | ^~~~~~~~~ functions.c:199:42: note: in expansion of macro ‘a_string’ 199 | BEG3 r_err(mvgetnstr(a_int(aa),a_int(ab),a_string(ac),caml_string_length(ac))); END | ^~~~~~~~ /usr/include/curses.h: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:330:23: warning: pointer targets in passing argument 2 of ‘wgetnstr’ differ in signedness [-Wpointer-sign] 330 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) /usr/lib64/ocaml/caml/memory.h: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:81:20: note: in expansion of macro ‘Val_long’ 81 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:423:21: note: in expansion of macro ‘Val_int’ 423 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:72:36: note: in expansion of macro ‘Val_bool’ 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:201:6: note: in expansion of macro ‘r_err’ 201 | BEG4 r_err(mvwgetnstr(a_window(aa),a_int(ab),a_int(ac),a_string(ad), | ^~~~~ ml_curses.c:109:25: note: in expansion of macro ‘Bytes_val’ 109 | #define a_string(a) Bytes_val(a) | ^~~~~~~~~ functions.c:201:56: note: in expansion of macro ‘a_string’ 201 | BEG4 r_err(mvwgetnstr(a_window(aa),a_int(ab),a_int(ac),a_string(ad), | ^~~~~~~~ /usr/include/curses.h: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:81:20: note: in expansion of macro ‘Val_long’ 81 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:423:21: note: in expansion of macro ‘Val_int’ 423 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:72:36: note: in expansion of macro ‘Val_bool’ 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:204:6: note: in expansion of macro ‘r_err’ 204 | BEG3 r_err(getnstr(a_string(aa)+a_int(ab),a_int(ac))); END | ^~~~~ /usr/include/curses.h: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:81:20: note: in expansion of macro ‘Val_long’ 81 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:423:21: note: in expansion of macro ‘Val_int’ 423 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:72:36: note: in expansion of macro ‘Val_bool’ 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:206:6: note: in expansion of macro ‘r_err’ 206 | BEG4 r_err(wgetnstr(a_window(aa),a_string(ab)+a_int(ac),a_int(ad))); END | ^~~~~ /usr/include/curses.h: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:81:20: note: in expansion of macro ‘Val_long’ 81 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:423:21: note: in expansion of macro ‘Val_int’ 423 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:72:36: note: in expansion of macro ‘Val_bool’ 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:208:6: note: in expansion of macro ‘r_err’ 208 | BEG5 r_err(mvgetnstr(a_int(aa),a_int(ab),a_string(ac)+a_int(ad), | ^~~~~ /usr/include/curses.h: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:81:20: note: in expansion of macro ‘Val_long’ 81 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:423:21: note: in expansion of macro ‘Val_int’ 423 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:72:36: note: in expansion of macro ‘Val_bool’ 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:211:6: note: in expansion of macro ‘r_err’ 211 | BEG6 r_err(mvwgetnstr(a_window(aa),a_int(ab),a_int(ac),a_string(ad)+a_int(ae), | ^~~~~ /usr/include/curses.h: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:330:23: warning: pointer targets in passing argument 1 of ‘newterm’ differ in signedness [-Wpointer-sign] 330 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * ml_curses.c:109:25: note: in expansion of macro ‘Bytes_val’ 109 | #define a_string(a) Bytes_val(a) | ^~~~~~~~~ functions.c:299:13: note: in expansion of macro ‘a_string’ 299 | s=newterm(a_string(aa),fa,fb); | ^~~~~~~~ /usr/include/curses.h: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:330:23: warning: pointer targets in passing argument 2 of ‘winsnstr’ differ in signedness [-Wpointer-sign] 330 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) /usr/lib64/ocaml/caml/memory.h: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:81:20: note: in expansion of macro ‘Val_long’ 81 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:423:21: note: in expansion of macro ‘Val_int’ 423 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:72:36: note: in expansion of macro ‘Val_bool’ 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:316:6: note: in expansion of macro ‘r_err’ 316 | BEG1 r_err(insnstr(a_string(aa),caml_string_length(aa))); END | ^~~~~ ml_curses.c:109:25: note: in expansion of macro ‘Bytes_val’ 109 | #define a_string(a) Bytes_val(a) | ^~~~~~~~~ functions.c:316:20: note: in expansion of macro ‘a_string’ 316 | BEG1 r_err(insnstr(a_string(aa),caml_string_length(aa))); END | ^~~~~~~~ /usr/include/curses.h: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:330:23: warning: pointer targets in passing argument 2 of ‘winsnstr’ differ in signedness [-Wpointer-sign] 330 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * /usr/lib64/ocaml/caml/memory.h: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:81:20: note: in expansion of macro ‘Val_long’ 81 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:423:21: note: in expansion of macro ‘Val_int’ 423 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:72:36: note: in expansion of macro ‘Val_bool’ 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:318:6: note: in expansion of macro ‘r_err’ 318 | BEG2 r_err(winsnstr(a_window(aa),a_string(ab),caml_string_length(ab))); END | ^~~~~ ml_curses.c:109:25: note: in expansion of macro ‘Bytes_val’ 109 | #define a_string(a) Bytes_val(a) | ^~~~~~~~~ functions.c:318:34: note: in expansion of macro ‘a_string’ 318 | BEG2 r_err(winsnstr(a_window(aa),a_string(ab),caml_string_length(ab))); END | ^~~~~~~~ /usr/include/curses.h: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:330:23: warning: pointer targets in passing argument 2 of ‘winsnstr’ differ in signedness [-Wpointer-sign] 330 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) /usr/lib64/ocaml/caml/memory.h: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:81:20: note: in expansion of macro ‘Val_long’ 81 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:423:21: note: in expansion of macro ‘Val_int’ 423 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:72:36: note: in expansion of macro ‘Val_bool’ 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:320:6: note: in expansion of macro ‘r_err’ 320 | BEG3 r_err(mvinsnstr(a_int(aa),a_int(ab),a_string(ac),caml_string_length(ac))); END | ^~~~~ ml_curses.c:109:25: note: in expansion of macro ‘Bytes_val’ 109 | #define a_string(a) Bytes_val(a) | ^~~~~~~~~ functions.c:320:42: note: in expansion of macro ‘a_string’ 320 | BEG3 r_err(mvinsnstr(a_int(aa),a_int(ab),a_string(ac),caml_string_length(ac))); END | ^~~~~~~~ /usr/include/curses.h: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:330:23: warning: pointer targets in passing argument 2 of ‘winsnstr’ differ in signedness [-Wpointer-sign] 330 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) /usr/lib64/ocaml/caml/memory.h: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:81:20: note: in expansion of macro ‘Val_long’ 81 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:423:21: note: in expansion of macro ‘Val_int’ 423 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:72:36: note: in expansion of macro ‘Val_bool’ 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:322:6: note: in expansion of macro ‘r_err’ 322 | BEG4 r_err(mvwinsnstr(a_window(aa),a_int(ab),a_int(ac), | ^~~~~ ml_curses.c:109:25: note: in expansion of macro ‘Bytes_val’ 109 | #define a_string(a) Bytes_val(a) | ^~~~~~~~~ functions.c:323:3: note: in expansion of macro ‘a_string’ 323 | a_string(ad),caml_string_length(ad))); END | ^~~~~~~~ /usr/include/curses.h: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:81:20: note: in expansion of macro ‘Val_long’ 81 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:423:21: note: in expansion of macro ‘Val_int’ 423 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:72:36: note: in expansion of macro ‘Val_bool’ 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:325:6: note: in expansion of macro ‘r_err’ 325 | BEG3 r_err(insnstr(a_string(aa)+a_int(ab),a_int(ac))); END | ^~~~~ /usr/include/curses.h: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:81:20: note: in expansion of macro ‘Val_long’ 81 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:423:21: note: in expansion of macro ‘Val_int’ 423 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:72:36: note: in expansion of macro ‘Val_bool’ 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:327:6: note: in expansion of macro ‘r_err’ 327 | BEG4 r_err(winsnstr(a_window(aa),a_string(ab)+a_int(ac),a_int(ad))); END | ^~~~~ /usr/include/curses.h: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:81:20: note: in expansion of macro ‘Val_long’ 81 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:423:21: note: in expansion of macro ‘Val_int’ 423 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:72:36: note: in expansion of macro ‘Val_bool’ 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:329:6: note: in expansion of macro ‘r_err’ 329 | BEG5 r_err(mvinsnstr(a_int(aa),a_int(ab),a_string(ac)+a_int(ad),a_int(ae))); END | ^~~~~ /usr/include/curses.h: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:81:20: note: in expansion of macro ‘Val_long’ 81 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:423:21: note: in expansion of macro ‘Val_int’ 423 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:72:36: note: in expansion of macro ‘Val_bool’ 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:331:6: note: in expansion of macro ‘r_err’ 331 | BEG6 r_err(mvwinsnstr(a_window(aa),a_int(ab),a_int(ac), | ^~~~~ /usr/include/curses.h: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:330:23: warning: pointer targets in passing argument 2 of ‘winnstr’ differ in signedness [-Wpointer-sign] 330 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) /usr/lib64/ocaml/caml/memory.h: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:81:20: note: in expansion of macro ‘Val_long’ 81 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:423:21: note: in expansion of macro ‘Val_int’ 423 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:72:36: note: in expansion of macro ‘Val_bool’ 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:337:6: note: in expansion of macro ‘r_err’ 337 | BEG1 r_err(innstr(a_string(aa),caml_string_length(aa))); END | ^~~~~ ml_curses.c:109:25: note: in expansion of macro ‘Bytes_val’ 109 | #define a_string(a) Bytes_val(a) | ^~~~~~~~~ functions.c:337:19: note: in expansion of macro ‘a_string’ 337 | BEG1 r_err(innstr(a_string(aa),caml_string_length(aa))); END | ^~~~~~~~ /usr/include/curses.h: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:330:23: warning: pointer targets in passing argument 2 of ‘winnstr’ differ in signedness [-Wpointer-sign] 330 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * /usr/lib64/ocaml/caml/memory.h: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:81:20: note: in expansion of macro ‘Val_long’ 81 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:423:21: note: in expansion of macro ‘Val_int’ 423 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:72:36: note: in expansion of macro ‘Val_bool’ 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:339:6: note: in expansion of macro ‘r_err’ 339 | BEG2 r_err(winnstr(a_window(aa),a_string(ab),caml_string_length(ab))); END | ^~~~~ ml_curses.c:109:25: note: in expansion of macro ‘Bytes_val’ 109 | #define a_string(a) Bytes_val(a) | ^~~~~~~~~ functions.c:339:33: note: in expansion of macro ‘a_string’ 339 | BEG2 r_err(winnstr(a_window(aa),a_string(ab),caml_string_length(ab))); END | ^~~~~~~~ /usr/include/curses.h: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:330:23: warning: pointer targets in passing argument 2 of ‘winnstr’ differ in signedness [-Wpointer-sign] 330 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) /usr/lib64/ocaml/caml/memory.h: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:81:20: note: in expansion of macro ‘Val_long’ 81 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:423:21: note: in expansion of macro ‘Val_int’ 423 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:72:36: note: in expansion of macro ‘Val_bool’ 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:341:6: note: in expansion of macro ‘r_err’ 341 | BEG3 r_err(mvinnstr(a_int(aa),a_int(ab),a_string(ac),caml_string_length(ac))); END | ^~~~~ ml_curses.c:109:25: note: in expansion of macro ‘Bytes_val’ 109 | #define a_string(a) Bytes_val(a) | ^~~~~~~~~ functions.c:341:41: note: in expansion of macro ‘a_string’ 341 | BEG3 r_err(mvinnstr(a_int(aa),a_int(ab),a_string(ac),caml_string_length(ac))); END | ^~~~~~~~ /usr/include/curses.h: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:330:23: warning: pointer targets in passing argument 2 of ‘winnstr’ differ in signedness [-Wpointer-sign] 330 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) /usr/lib64/ocaml/caml/memory.h: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:81:20: note: in expansion of macro ‘Val_long’ 81 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:423:21: note: in expansion of macro ‘Val_int’ 423 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:72:36: note: in expansion of macro ‘Val_bool’ 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:343:6: note: in expansion of macro ‘r_err’ 343 | BEG4 r_err(mvwinnstr(a_window(aa),a_int(ab),a_int(ac), | ^~~~~ ml_curses.c:109:25: note: in expansion of macro ‘Bytes_val’ 109 | #define a_string(a) Bytes_val(a) | ^~~~~~~~~ functions.c:344:3: note: in expansion of macro ‘a_string’ 344 | a_string(ad),caml_string_length(ad))); END | ^~~~~~~~ /usr/include/curses.h: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:81:20: note: in expansion of macro ‘Val_long’ 81 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:423:21: note: in expansion of macro ‘Val_int’ 423 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:72:36: note: in expansion of macro ‘Val_bool’ 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:346:6: note: in expansion of macro ‘r_err’ 346 | BEG3 r_err(innstr(a_string(aa)+a_int(ab),a_int(ac))); END | ^~~~~ /usr/include/curses.h: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:81:20: note: in expansion of macro ‘Val_long’ 81 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:423:21: note: in expansion of macro ‘Val_int’ 423 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:72:36: note: in expansion of macro ‘Val_bool’ 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:348:6: note: in expansion of macro ‘r_err’ 348 | BEG4 r_err(winnstr(a_window(aa),a_string(ab)+a_int(ac),a_int(ad))); END | ^~~~~ /usr/include/curses.h: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:81:20: note: in expansion of macro ‘Val_long’ 81 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:423:21: note: in expansion of macro ‘Val_int’ 423 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:72:36: note: in expansion of macro ‘Val_bool’ 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:350:6: note: in expansion of macro ‘r_err’ 350 | BEG5 r_err(mvinnstr(a_int(aa),a_int(ab),a_string(ac)+a_int(ad),a_int(ae))); END | ^~~~~ /usr/include/curses.h: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:81:20: note: in expansion of macro ‘Val_long’ 81 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:423:21: note: in expansion of macro ‘Val_int’ 423 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:72:36: note: in expansion of macro ‘Val_bool’ 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:352:6: note: in expansion of macro ‘r_err’ 352 | BEG6 r_err(mvwinnstr(a_window(aa),a_int(ab),a_int(ac), | ^~~~~ /usr/include/curses.h: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:330:23: warning: pointer targets in passing argument 1 of ‘scr_dump’ differ in signedness [-Wpointer-sign] 330 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * /usr/lib64/ocaml/caml/memory.h: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:81:20: note: in expansion of macro ‘Val_long’ 81 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:423:21: note: in expansion of macro ‘Val_int’ 423 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:72:36: note: in expansion of macro ‘Val_bool’ 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ ml_curses.c:127:9: note: in expansion of macro ‘r_err’ 127 | { RA1 r_##tr(f(a_##ta(aa))); } | ^~ ml_curses.c:109:25: note: in expansion of macro ‘Bytes_val’ 109 | #define a_string(a) Bytes_val(a) | ^~~~~~~~~ ml_curses.c:127:18: note: in expansion of macro ‘a_string’ 127 | { RA1 r_##tr(f(a_##ta(aa))); } | ^~ functions.c:466:1: note: in expansion of macro ‘ML1’ 466 | ML1(scr_dump,err,string) | ^~~ /usr/include/curses.h: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:330:23: warning: pointer targets in passing argument 1 of ‘scr_restore’ differ in signedness [-Wpointer-sign] 330 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * /usr/lib64/ocaml/caml/memory.h: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:81:20: note: in expansion of macro ‘Val_long’ 81 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:423:21: note: in expansion of macro ‘Val_int’ 423 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:72:36: note: in expansion of macro ‘Val_bool’ 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ ml_curses.c:127:9: note: in expansion of macro ‘r_err’ 127 | { RA1 r_##tr(f(a_##ta(aa))); } | ^~ ml_curses.c:109:25: note: in expansion of macro ‘Bytes_val’ 109 | #define a_string(a) Bytes_val(a) | ^~~~~~~~~ ml_curses.c:127:18: note: in expansion of macro ‘a_string’ 127 | { RA1 r_##tr(f(a_##ta(aa))); } | ^~ functions.c:467:1: note: in expansion of macro ‘ML1’ 467 | ML1(scr_restore,err,string) | ^~~ /usr/include/curses.h: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:330:23: warning: pointer targets in passing argument 1 of ‘scr_init’ differ in signedness [-Wpointer-sign] 330 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * /usr/lib64/ocaml/caml/memory.h: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:81:20: note: in expansion of macro ‘Val_long’ 81 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:423:21: note: in expansion of macro ‘Val_int’ 423 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:72:36: note: in expansion of macro ‘Val_bool’ 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ ml_curses.c:127:9: note: in expansion of macro ‘r_err’ 127 | { RA1 r_##tr(f(a_##ta(aa))); } | ^~ ml_curses.c:109:25: note: in expansion of macro ‘Bytes_val’ 109 | #define a_string(a) Bytes_val(a) | ^~~~~~~~~ ml_curses.c:127:18: note: in expansion of macro ‘a_string’ 127 | { RA1 r_##tr(f(a_##ta(aa))); } | ^~ functions.c:468:1: note: in expansion of macro ‘ML1’ 468 | ML1(scr_init,err,string) | ^~~ /usr/include/curses.h: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:330:23: warning: pointer targets in passing argument 1 of ‘scr_set’ differ in signedness [-Wpointer-sign] 330 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * /usr/lib64/ocaml/caml/memory.h: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:81:20: note: in expansion of macro ‘Val_long’ 81 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:423:21: note: in expansion of macro ‘Val_int’ 423 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:72:36: note: in expansion of macro ‘Val_bool’ 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ ml_curses.c:127:9: note: in expansion of macro ‘r_err’ 127 | { RA1 r_##tr(f(a_##ta(aa))); } | ^~ ml_curses.c:109:25: note: in expansion of macro ‘Bytes_val’ 109 | #define a_string(a) Bytes_val(a) | ^~~~~~~~~ ml_curses.c:127:18: note: in expansion of macro ‘a_string’ 127 | { RA1 r_##tr(f(a_##ta(aa))); } | ^~ functions.c:469:1: note: in expansion of macro ‘ML1’ 469 | ML1(scr_set,err,string) | ^~~ /usr/include/curses.h: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:330:23: warning: pointer targets in passing argument 2 of ‘slk_set’ differ in signedness [-Wpointer-sign] 330 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * /usr/lib64/ocaml/caml/memory.h: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:81:20: note: in expansion of macro ‘Val_long’ 81 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:423:21: note: in expansion of macro ‘Val_int’ 423 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:72:36: note: in expansion of macro ‘Val_bool’ 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ ml_curses.c:133:9: note: in expansion of macro ‘r_err’ 133 | { RA3 r_##tr(f(a_##ta(aa),a_##tb(ab),a_##tc(ac))); } | ^~ ml_curses.c:109:25: note: in expansion of macro ‘Bytes_val’ 109 | #define a_string(a) Bytes_val(a) | ^~~~~~~~~ ml_curses.c:133:29: note: in expansion of macro ‘a_string’ 133 | { RA3 r_##tr(f(a_##ta(aa),a_##tb(ab),a_##tc(ac))); } | ^~ functions.c:480:1: note: in expansion of macro ‘ML3’ 480 | ML3(slk_set,err,int,string,int) | ^~~ /usr/include/curses.h: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:330:23: warning: pointer targets in passing argument 1 of ‘tgetflag’ differ in signedness [-Wpointer-sign] 330 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * /usr/lib64/ocaml/caml/memory.h: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:81:20: note: in expansion of macro ‘Val_long’ 81 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:423:21: note: in expansion of macro ‘Val_int’ 423 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:77:36: note: in expansion of macro ‘Val_bool’ 77 | #define r_bool(f) CAMLreturn(Val_bool(f)) | ^~~~~~~~ ml_curses.c:127:9: note: in expansion of macro ‘r_bool’ 127 | { RA1 r_##tr(f(a_##ta(aa))); } | ^~ ml_curses.c:109:25: note: in expansion of macro ‘Bytes_val’ 109 | #define a_string(a) Bytes_val(a) | ^~~~~~~~~ ml_curses.c:127:18: note: in expansion of macro ‘a_string’ 127 | { RA1 r_##tr(f(a_##ta(aa))); } | ^~ functions.c:506:1: note: in expansion of macro ‘ML1’ 506 | ML1(tgetflag,bool,string) | ^~~ In file included from ml_curses.c:28: /usr/include/term.h:846:38: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 846 | extern NCURSES_EXPORT(int) tgetflag (const char *); | ^~~~~~~~~~~~ functions.c: In function ‘mlcurses_tgetnum’: /usr/lib64/ocaml/caml/mlvalues.h:330:23: warning: pointer targets in passing argument 1 of ‘tgetnum’ differ in signedness [-Wpointer-sign] 330 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * /usr/lib64/ocaml/caml/memory.h: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:81:20: note: in expansion of macro ‘Val_long’ 81 | #define Val_int(x) Val_long(x) | ^~~~~~~~ ml_curses.c:73:36: note: in expansion of macro ‘Val_int’ 73 | #define r_int(f) CAMLreturn(Val_int(f)) | ^~~~~~~ ml_curses.c:127:9: note: in expansion of macro ‘r_int’ 127 | { RA1 r_##tr(f(a_##ta(aa))); } | ^~ ml_curses.c:109:25: note: in expansion of macro ‘Bytes_val’ 109 | #define a_string(a) Bytes_val(a) | ^~~~~~~~~ ml_curses.c:127:18: note: in expansion of macro ‘a_string’ 127 | { RA1 r_##tr(f(a_##ta(aa))); } | ^~ functions.c:507:1: note: in expansion of macro ‘ML1’ 507 | ML1(tgetnum,int,string) | ^~~ /usr/include/term.h:847:37: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 847 | extern NCURSES_EXPORT(int) tgetnum (const char *); | ^~~~~~~~~~~~ functions.c: In function ‘mlcurses_tgoto’: /usr/lib64/ocaml/caml/mlvalues.h:330:23: warning: pointer targets in passing argument 1 of ‘tgoto’ differ in signedness [-Wpointer-sign] 330 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * ml_curses.c:98:21: note: in definition of macro ‘r_string’ 98 | { const char *ret=f; \ | ^ ml_curses.c:109:25: note: in expansion of macro ‘Bytes_val’ 109 | #define a_string(a) Bytes_val(a) | ^~~~~~~~~ ml_curses.c:133:18: note: in expansion of macro ‘a_string’ 133 | { RA3 r_##tr(f(a_##ta(aa),a_##tb(ab),a_##tc(ac))); } | ^~ functions.c:510:1: note: in expansion of macro ‘ML3’ 510 | ML3(tgoto,string,string,int,int) | ^~~ /usr/include/term.h:844:38: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 844 | extern NCURSES_EXPORT(char *) tgoto (const char *, int, int); | ^~~~~~~~~~~~ functions.c: In function ‘mlcurses_setupterm’: /usr/lib64/ocaml/caml/mlvalues.h:330:23: warning: pointer targets in passing argument 1 of ‘setupterm’ differ in signedness [-Wpointer-sign] 330 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * /usr/lib64/ocaml/caml/memory.h: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:81:20: note: in expansion of macro ‘Val_long’ 81 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:423:21: note: in expansion of macro ‘Val_int’ 423 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:72:36: note: in expansion of macro ‘Val_bool’ 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:515:13: note: in expansion of macro ‘r_err’ 515 | BEG2 int r; r_err(setupterm(a_string(aa),a_int(ab),&r)); END | ^~~~~ ml_curses.c:109:25: note: in expansion of macro ‘Bytes_val’ 109 | #define a_string(a) Bytes_val(a) | ^~~~~~~~~ functions.c:515:29: note: in expansion of macro ‘a_string’ 515 | BEG2 int r; r_err(setupterm(a_string(aa),a_int(ab),&r)); END | ^~~~~~~~ /usr/include/term.h:819:39: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 819 | extern NCURSES_EXPORT(int) setupterm (const char *,int,int *); | ^~~~~~~~~~~~ functions.c: In function ‘mlcurses_setterm’: /usr/lib64/ocaml/caml/mlvalues.h:330:23: warning: pointer targets in passing argument 1 of ‘setupterm’ differ in signedness [-Wpointer-sign] 330 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * /usr/lib64/ocaml/caml/memory.h: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:81:20: note: in expansion of macro ‘Val_long’ 81 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:423:21: note: in expansion of macro ‘Val_int’ 423 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:72:36: note: in expansion of macro ‘Val_bool’ 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ ml_curses.c:127:9: note: in expansion of macro ‘r_err’ 127 | { RA1 r_##tr(f(a_##ta(aa))); } | ^~ ml_curses.c:109:25: note: in expansion of macro ‘Bytes_val’ 109 | #define a_string(a) Bytes_val(a) | ^~~~~~~~~ ml_curses.c:127:18: note: in expansion of macro ‘a_string’ 127 | { RA1 r_##tr(f(a_##ta(aa))); } | ^~ functions.c:516:1: note: in expansion of macro ‘ML1’ 516 | ML1(setterm,err,string) | ^~~ /usr/include/term.h:819:39: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 819 | extern NCURSES_EXPORT(int) setupterm (const char *,int,int *); | ^~~~~~~~~~~~ functions.c: In function ‘mlcurses_restartterm’: /usr/lib64/ocaml/caml/mlvalues.h:330:23: warning: pointer targets in passing argument 1 of ‘restartterm’ differ in signedness [-Wpointer-sign] 330 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * /usr/lib64/ocaml/caml/memory.h: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:81:20: note: in expansion of macro ‘Val_long’ 81 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:423:21: note: in expansion of macro ‘Val_int’ 423 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:72:36: note: in expansion of macro ‘Val_bool’ 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:522:13: note: in expansion of macro ‘r_err’ 522 | BEG2 int r; r_err(restartterm(a_string(aa),a_int(ab),&r)); END | ^~~~~ ml_curses.c:109:25: note: in expansion of macro ‘Bytes_val’ 109 | #define a_string(a) Bytes_val(a) | ^~~~~~~~~ functions.c:522:31: note: in expansion of macro ‘a_string’ 522 | BEG2 int r; r_err(restartterm(a_string(aa),a_int(ab),&r)); END | ^~~~~~~~ /usr/include/term.h:818:41: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 818 | extern NCURSES_EXPORT(int) restartterm (NCURSES_CONST char *, int, int *); | ^ functions.c: In function ‘mlcurses_putp’: /usr/lib64/ocaml/caml/mlvalues.h:330:23: warning: pointer targets in passing argument 1 of ‘putp’ differ in signedness [-Wpointer-sign] 330 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * /usr/lib64/ocaml/caml/memory.h: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:81:20: note: in expansion of macro ‘Val_long’ 81 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:423:21: note: in expansion of macro ‘Val_int’ 423 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:72:36: note: in expansion of macro ‘Val_bool’ 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ ml_curses.c:127:9: note: in expansion of macro ‘r_err’ 127 | { RA1 r_##tr(f(a_##ta(aa))); } | ^~ ml_curses.c:109:25: note: in expansion of macro ‘Bytes_val’ 109 | #define a_string(a) Bytes_val(a) | ^~~~~~~~~ ml_curses.c:127:18: note: in expansion of macro ‘a_string’ 127 | { RA1 r_##tr(f(a_##ta(aa))); } | ^~ functions.c:523:1: note: in expansion of macro ‘ML1’ 523 | ML1(putp,err,string) | ^~~ /usr/include/curses.h: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:330:23: warning: pointer targets in passing argument 1 of ‘tigetflag’ differ in signedness [-Wpointer-sign] 330 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * /usr/lib64/ocaml/caml/memory.h: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:81:20: note: in expansion of macro ‘Val_long’ 81 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:423:21: note: in expansion of macro ‘Val_int’ 423 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:77:36: note: in expansion of macro ‘Val_bool’ 77 | #define r_bool(f) CAMLreturn(Val_bool(f)) | ^~~~~~~~ functions.c:527:6: note: in expansion of macro ‘r_bool’ 527 | BEG1 r_bool(tigetflag(a_string(aa))>0); END | ^~~~~~ ml_curses.c:109:25: note: in expansion of macro ‘Bytes_val’ 109 | #define a_string(a) Bytes_val(a) | ^~~~~~~~~ functions.c:527:23: note: in expansion of macro ‘a_string’ 527 | BEG1 r_bool(tigetflag(a_string(aa))>0); END | ^~~~~~~~ /usr/include/curses.h: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:330:23: warning: pointer targets in passing argument 1 of ‘tigetnum’ differ in signedness [-Wpointer-sign] 330 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * /usr/lib64/ocaml/caml/memory.h: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:81:20: note: in expansion of macro ‘Val_long’ 81 | #define Val_int(x) Val_long(x) | ^~~~~~~~ ml_curses.c:73:36: note: in expansion of macro ‘Val_int’ 73 | #define r_int(f) CAMLreturn(Val_int(f)) | ^~~~~~~ ml_curses.c:127:9: note: in expansion of macro ‘r_int’ 127 | { RA1 r_##tr(f(a_##ta(aa))); } | ^~ ml_curses.c:109:25: note: in expansion of macro ‘Bytes_val’ 109 | #define a_string(a) Bytes_val(a) | ^~~~~~~~~ ml_curses.c:127:18: note: in expansion of macro ‘a_string’ 127 | { RA1 r_##tr(f(a_##ta(aa))); } | ^~ functions.c:528:1: note: in expansion of macro ‘ML1’ 528 | ML1(tigetnum,int,string) | ^~~ /usr/include/curses.h: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:330:23: warning: pointer targets in passing argument 1 of ‘tigetstr’ differ in signedness [-Wpointer-sign] 330 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * ml_curses.c:109:25: note: in expansion of macro ‘Bytes_val’ 109 | #define a_string(a) Bytes_val(a) | ^~~~~~~~~ functions.c:530:23: note: in expansion of macro ‘a_string’ 530 | BEG1 char *s=tigetstr(a_string(aa)); | ^~~~~~~~ /usr/include/curses.h: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:330:23: warning: pointer targets in passing argument 1 of ‘tputs’ differ in signedness [-Wpointer-sign] 330 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * /usr/lib64/ocaml/caml/memory.h: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:81:20: note: in expansion of macro ‘Val_long’ 81 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:423:21: note: in expansion of macro ‘Val_int’ 423 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:72:36: note: in expansion of macro ‘Val_bool’ 72 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:535:3: note: in expansion of macro ‘r_err’ 535 | r_err(tputs(a_string(aa),a_int(ab),putc_callback)); END | ^~~~~ ml_curses.c:109:25: note: in expansion of macro ‘Bytes_val’ 109 | #define a_string(a) Bytes_val(a) | ^~~~~~~~~ functions.c:535:15: note: in expansion of macro ‘a_string’ 535 | r_err(tputs(a_string(aa),a_int(ab),putc_callback)); END | ^~~~~~~~ /usr/include/term.h:848:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 848 | extern NCURSES_EXPORT(int) tputs (const char *, int, int (*)(int)); | ^~~~~~~~~~~~ functions.c: In function ‘mlcurses_tparm’: /usr/lib64/ocaml/caml/mlvalues.h:330:23: warning: pointer targets in passing argument 1 of ‘tparm’ differ in signedness [-Wpointer-sign] 330 | #define Bytes_val(x) ((unsigned char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * ml_curses.c:98:21: note: in definition of macro ‘r_string’ 98 | { const char *ret=f; \ | ^ ml_curses.c:109:25: note: in expansion of macro ‘Bytes_val’ 109 | #define a_string(a) Bytes_val(a) | ^~~~~~~~~ functions.c:554:31: note: in expansion of macro ‘a_string’ 554 | r_string(mlcurses_rpl_tparm(a_string(aa),t[0],t[1],t[2],t[3],t[4], | ^~~~~~~~ /usr/include/curses.h: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.Bs68XQ + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ocaml-curses-1.0.11-8.fc41.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ocaml-curses-1.0.11-8.fc41.aarch64 ++ dirname /builddir/build/BUILDROOT/ocaml-curses-1.0.11-8.fc41.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ocaml-curses-1.0.11-8.fc41.aarch64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -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-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd curses-1.0.11 + dune install --destdir=/builddir/build/BUILDROOT/ocaml-curses-1.0.11-8.fc41.aarch64 --verbose --release -j12 Shared cache: disabled Shared cache location: /builddir/.cache/dune/db Workspace root: /builddir/build/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/BUILDROOT/ocaml-curses-1.0.11-8.fc41.aarch64/usr/lib64/ocaml/curses/META Installing /builddir/build/BUILDROOT/ocaml-curses-1.0.11-8.fc41.aarch64/usr/lib64/ocaml/curses/curses.a Installing /builddir/build/BUILDROOT/ocaml-curses-1.0.11-8.fc41.aarch64/usr/lib64/ocaml/curses/curses.cma Installing /builddir/build/BUILDROOT/ocaml-curses-1.0.11-8.fc41.aarch64/usr/lib64/ocaml/curses/curses.cmi Installing /builddir/build/BUILDROOT/ocaml-curses-1.0.11-8.fc41.aarch64/usr/lib64/ocaml/curses/curses.cmt Installing /builddir/build/BUILDROOT/ocaml-curses-1.0.11-8.fc41.aarch64/usr/lib64/ocaml/curses/curses.cmti Installing /builddir/build/BUILDROOT/ocaml-curses-1.0.11-8.fc41.aarch64/usr/lib64/ocaml/curses/curses.cmx Installing /builddir/build/BUILDROOT/ocaml-curses-1.0.11-8.fc41.aarch64/usr/lib64/ocaml/curses/curses.cmxa Installing /builddir/build/BUILDROOT/ocaml-curses-1.0.11-8.fc41.aarch64/usr/lib64/ocaml/curses/curses.ml Installing /builddir/build/BUILDROOT/ocaml-curses-1.0.11-8.fc41.aarch64/usr/lib64/ocaml/curses/curses.mli Installing /builddir/build/BUILDROOT/ocaml-curses-1.0.11-8.fc41.aarch64/usr/lib64/ocaml/curses/dune-package Installing /builddir/build/BUILDROOT/ocaml-curses-1.0.11-8.fc41.aarch64/usr/lib64/ocaml/curses/libcurses_stubs.a Installing /builddir/build/BUILDROOT/ocaml-curses-1.0.11-8.fc41.aarch64/usr/lib64/ocaml/curses/opam Installing /builddir/build/BUILDROOT/ocaml-curses-1.0.11-8.fc41.aarch64/usr/lib64/ocaml/curses/curses.cmxs Installing /builddir/build/BUILDROOT/ocaml-curses-1.0.11-8.fc41.aarch64/usr/doc/curses/CHANGES.md Installing /builddir/build/BUILDROOT/ocaml-curses-1.0.11-8.fc41.aarch64/usr/doc/curses/README.md Installing /builddir/build/BUILDROOT/ocaml-curses-1.0.11-8.fc41.aarch64/usr/lib64/ocaml/stublibs/dllcurses_stubs.so + '[' -d _build/default/_doc/_html ']' + rm -rf /builddir/build/BUILDROOT/ocaml-curses-1.0.11-8.fc41.aarch64/usr/doc ++ find /builddir/build/BUILDROOT/ocaml-curses-1.0.11-8.fc41.aarch64/usr/lib64/ocaml -name '*.mli' + mlis=/builddir/build/BUILDROOT/ocaml-curses-1.0.11-8.fc41.aarch64/usr/lib64/ocaml/curses/curses.mli + rm -f /builddir/build/BUILDROOT/ocaml-curses-1.0.11-8.fc41.aarch64/usr/lib64/ocaml/curses/curses.ml + /usr/bin/python3 /usr/lib/rpm/redhat/ocaml_files.py /builddir/build/BUILDROOT/ocaml-curses-1.0.11-8.fc41.aarch64 /usr/lib64/ocaml + /usr/bin/find-debuginfo -j12 --strict-build-id -m -i --build-id-seed 1.0.11-8.fc41 --unique-debug-suffix -1.0.11-8.fc41.aarch64 --unique-debug-src-base ocaml-curses-1.0.11-8.fc41.aarch64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/curses-1.0.11 find-debuginfo: starting Extracting debug info from 2 files DWARF-compressing 2 files sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/ocaml-curses-1.0.11-8.fc41.aarch64 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 -j12 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.L86Y5s + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -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-errors -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 -j12 Shared cache: disabled Shared cache location: /builddir/.cache/dune/db Workspace root: /builddir/build/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-8.fc41.aarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.jkAziy + umask 022 + cd /builddir/build/BUILD + cd curses-1.0.11 + DOCDIR=/builddir/build/BUILDROOT/ocaml-curses-1.0.11-8.fc41.aarch64/usr/share/doc/ocaml-curses + export LC_ALL= + LC_ALL= + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ocaml-curses-1.0.11-8.fc41.aarch64/usr/share/doc/ocaml-curses + cp -pr /builddir/build/BUILD/curses-1.0.11/CHANGES.md /builddir/build/BUILDROOT/ocaml-curses-1.0.11-8.fc41.aarch64/usr/share/doc/ocaml-curses + cp -pr /builddir/build/BUILD/curses-1.0.11/README.md /builddir/build/BUILDROOT/ocaml-curses-1.0.11-8.fc41.aarch64/usr/share/doc/ocaml-curses + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.3iL3iC + umask 022 + cd /builddir/build/BUILD + cd curses-1.0.11 + LICENSEDIR=/builddir/build/BUILDROOT/ocaml-curses-1.0.11-8.fc41.aarch64/usr/share/licenses/ocaml-curses + export LC_ALL= + LC_ALL= + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ocaml-curses-1.0.11-8.fc41.aarch64/usr/share/licenses/ocaml-curses + cp -pr /builddir/build/BUILD/curses-1.0.11/COPYING /builddir/build/BUILDROOT/ocaml-curses-1.0.11-8.fc41.aarch64/usr/share/licenses/ocaml-curses + RPM_EC=0 ++ jobs -p + exit 0 Provides: ocaml(Curses) = fc66496ea479b554c94a21affba982c0 ocaml-curses = 1.0.11-8.fc41 ocaml-curses(aarch-64) = 1.0.11-8.fc41 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libncursesw.so.6()(64bit) libtinfo.so.6()(64bit) ocaml(CamlinternalFormatBasics) = 2125f26b831153c92a44f06bfde570ae ocaml(Stdlib) = 0b4549228bc9b8c1cfa1e888d7432bdf ocaml(Stdlib__Bigarray) = 7c919af812ad8dfb0033b8dde0d08c07 ocaml(Stdlib__Complex) = e64ee90eddc7b10ec8fbe26c11240f8e ocaml(Stdlib__Either) = 4c7aace90230bd854d0973c7e456ef08 ocaml(Stdlib__Hashtbl) = c04858fec86768f735bb82b2552d3868 ocaml(Stdlib__List) = 8992587f26a4ebfea5772490b254b328 ocaml(Stdlib__Seq) = e469865a3128bb838ded5895e9e9e56c ocaml(Unix) = 3a423732520b05536abd290bef5048fe rtld(GNU_HASH) Processing files: ocaml-curses-devel-1.0.11-8.fc41.aarch64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.c919v8 + umask 022 + cd /builddir/build/BUILD + cd curses-1.0.11 + LICENSEDIR=/builddir/build/BUILDROOT/ocaml-curses-1.0.11-8.fc41.aarch64/usr/share/licenses/ocaml-curses-devel + export LC_ALL= + LC_ALL= + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ocaml-curses-1.0.11-8.fc41.aarch64/usr/share/licenses/ocaml-curses-devel + cp -pr /builddir/build/BUILD/curses-1.0.11/COPYING /builddir/build/BUILDROOT/ocaml-curses-1.0.11-8.fc41.aarch64/usr/share/licenses/ocaml-curses-devel + RPM_EC=0 ++ jobs -p + exit 0 Provides: ocaml(Curses) = fc66496ea479b554c94a21affba982c0 ocaml-curses-devel = 1.0.11-8.fc41 ocaml-curses-devel(aarch-64) = 1.0.11-8.fc41 ocamlx(Curses) = c07409e9823f434ecc317c5ccf9d124b Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ocaml(CamlinternalFormatBasics) = 2125f26b831153c92a44f06bfde570ae ocaml(Stdlib) = 0b4549228bc9b8c1cfa1e888d7432bdf ocaml(Stdlib__Bigarray) = 7c919af812ad8dfb0033b8dde0d08c07 ocaml(Stdlib__Complex) = e64ee90eddc7b10ec8fbe26c11240f8e ocaml(Stdlib__Either) = 4c7aace90230bd854d0973c7e456ef08 ocaml(Stdlib__Hashtbl) = c04858fec86768f735bb82b2552d3868 ocaml(Stdlib__List) = 8992587f26a4ebfea5772490b254b328 ocaml(Stdlib__Seq) = e469865a3128bb838ded5895e9e9e56c ocaml(Unix) = 3a423732520b05536abd290bef5048fe ocamlx(Stdlib) = 7c3fb23fb2557acd252ec040e1020319 ocamlx(Stdlib__Domain) = 7a0abbcd27898319a82074908fc1d331 ocamlx(Stdlib__Hashtbl) = 31148fabfc311be22cdd56e13064662f ocamlx(Stdlib__List) = 20be74b4596423cab2792d8275abf1ea ocamlx(Stdlib__Random) = 1787cbab60c5a2a5d1b5c104c91d1d9c Processing files: ocaml-curses-debugsource-1.0.11-8.fc41.aarch64 Provides: ocaml-curses-debugsource = 1.0.11-8.fc41 ocaml-curses-debugsource(aarch-64) = 1.0.11-8.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-8.fc41.aarch64 Provides: debuginfo(build-id) = a3f7a5e9515f6931357eb55cc9db19fea5dc7ad7 debuginfo(build-id) = af4c4b8f6184198bed6cac978407961ff6f8f9df ocaml-curses-debuginfo = 1.0.11-8.fc41 ocaml-curses-debuginfo(aarch-64) = 1.0.11-8.fc41 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: ocaml-curses-debugsource(aarch-64) = 1.0.11-8.fc41 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ocaml-curses-1.0.11-8.fc41.aarch64 Wrote: /builddir/build/RPMS/ocaml-curses-debugsource-1.0.11-8.fc41.aarch64.rpm Wrote: /builddir/build/RPMS/ocaml-curses-1.0.11-8.fc41.aarch64.rpm Wrote: /builddir/build/RPMS/ocaml-curses-debuginfo-1.0.11-8.fc41.aarch64.rpm Wrote: /builddir/build/RPMS/ocaml-curses-devel-1.0.11-8.fc41.aarch64.rpm Child return code was: 0