Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/ocaml-curses.spec'], chrootPath='/var/lib/mock/f38-build-685356-80578/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/ocaml-curses.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1674518400 Wrote: /builddir/build/SRPMS/ocaml-curses-1.0.4-29.fc38.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/ocaml-curses.spec'], chrootPath='/var/lib/mock/f38-build-685356-80578/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/ocaml-curses.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1674518400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.zDywXx + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ocaml-curses-1.0.4 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/ocaml-curses-1.0.4.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd ocaml-curses-1.0.4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + autoreconf configure.ac:42: warning: The macro `AC_TRY_LINK' is obsolete. configure.ac:42: You should run autoupdate. ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... configure.ac:42: the top level configure.ac:51: warning: The macro `AC_TRY_LINK' is obsolete. configure.ac:51: You should run autoupdate. ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... configure.ac:51: the top level configure.ac:51: warning: The macro `AC_TRY_LINK' is obsolete. configure.ac:51: You should run autoupdate. ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2894: _AC_LINK_IFELSE is expanded from... ./lib/autoconf/general.m4:2911: AC_LINK_IFELSE is expanded from... ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... configure.ac:51: the top level configure.ac:51: warning: The macro `AC_TRY_LINK' is obsolete. configure.ac:51: You should run autoupdate. ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2894: _AC_LINK_IFELSE is expanded from... ./lib/autoconf/general.m4:2911: AC_LINK_IFELSE is expanded from... ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2894: _AC_LINK_IFELSE is expanded from... ./lib/autoconf/general.m4:2911: AC_LINK_IFELSE is expanded from... ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... configure.ac:51: the top level configure.ac:51: warning: The macro `AC_TRY_LINK' is obsolete. configure.ac:51: You should run autoupdate. ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2894: _AC_LINK_IFELSE is expanded from... ./lib/autoconf/general.m4:2911: AC_LINK_IFELSE is expanded from... ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2894: _AC_LINK_IFELSE is expanded from... ./lib/autoconf/general.m4:2911: AC_LINK_IFELSE is expanded from... ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2894: _AC_LINK_IFELSE is expanded from... ./lib/autoconf/general.m4:2911: AC_LINK_IFELSE is expanded from... ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... configure.ac:51: the top level configure.ac:51: warning: The macro `AC_TRY_LINK' is obsolete. configure.ac:51: You should run autoupdate. ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2894: _AC_LINK_IFELSE is expanded from... ./lib/autoconf/general.m4:2911: AC_LINK_IFELSE is expanded from... ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2894: _AC_LINK_IFELSE is expanded from... ./lib/autoconf/general.m4:2911: AC_LINK_IFELSE is expanded from... ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2894: _AC_LINK_IFELSE is expanded from... ./lib/autoconf/general.m4:2911: AC_LINK_IFELSE is expanded from... ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2894: _AC_LINK_IFELSE is expanded from... ./lib/autoconf/general.m4:2911: AC_LINK_IFELSE is expanded from... ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... configure.ac:51: the top level configure.ac:93: warning: The macro `AC_TRY_COMPILE' is obsolete. configure.ac:93: You should run autoupdate. ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... configure.ac:93: the top level configure.ac:93: warning: The macro `AC_TRY_COMPILE' is obsolete. configure.ac:93: You should run autoupdate. ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2823: _AC_COMPILE_IFELSE is expanded from... ./lib/autoconf/general.m4:2839: AC_COMPILE_IFELSE is expanded from... ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... configure.ac:93: the top level configure.ac:93: warning: The macro `AC_TRY_COMPILE' is obsolete. configure.ac:93: You should run autoupdate. ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2823: _AC_COMPILE_IFELSE is expanded from... ./lib/autoconf/general.m4:2839: AC_COMPILE_IFELSE is expanded from... ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2823: _AC_COMPILE_IFELSE is expanded from... ./lib/autoconf/general.m4:2839: AC_COMPILE_IFELSE is expanded from... ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... configure.ac:93: the top level configure.ac:127: warning: The macro `AC_TRY_LINK' is obsolete. configure.ac:127: You should run autoupdate. ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... configure.ac:127: the top level + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Y3aRFw + 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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd ocaml-curses-1.0.4 + 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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2023-02-25 05:55:51.007378232 -0500 +++ ./configure 2023-02-25 05:55:52.487387705 -0500 @@ -1569,7 +1569,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh ++ grep -q runstatedir=DIR ./configure ++ echo --runstatedir=/run + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --runstatedir=/run --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-widec configure: WARNING: unrecognized options: --disable-dependency-tracking checking for riscv64-redhat-linux-gnu-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc and cc understand -c and -o together... yes checking for riscv64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for termios.h... yes checking for sys/ioctl.h... yes checking for windows.h... no checking for working ncurses library... found in -lncursesw checking for term.h... found in checking for wide character support in ncurses library... yes checking for resizeterm... yes checking for resize_term... yes configure: creating ./config.status config.status: creating Makefile config.status: creating config.ml config.status: creating config.h configure: WARNING: unrecognized options: --disable-dependency-tracking + make all make[1]: Entering directory '/builddir/build/BUILD/ocaml-curses-1.0.4' ocamldep keys.ml > ._d/keys.d ocamldep -pp "gcc -x c -E " curses.ml > ._d/curses.d ocamldep curses.mli > ._bcdi/curses.di OCamlMakefile:1066: warning: pattern recipe did not update peer target '._ncdi/curses.di'. ocamlc -c -cc "gcc" -ccopt "-fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -DHAVE_CONFIG_H \ -DPIC \ -o ml_curses.o " ml_curses.c ml_curses.c: In function 'putc_callback': ml_curses.c:203:13: warning: "callback_exn" is deprecated: use "caml_callback_exn" instead 203 | ret=callback_exn(putc_function,Val_int(c&255)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ml_curses.c:216: functions.c: In function 'mlcurses_addchstr': functions.c:19:13: warning: "failwith" is deprecated: use "caml_failwith" instead 19 | BEG1 copie(Wosize_val(aa),0,aa) call(addchstr(t)) END | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ functions.c: In function 'mlcurses_waddchstr': functions.c:21:13: warning: "failwith" is deprecated: use "caml_failwith" instead 21 | BEG2 copie(Wosize_val(ab),0,ab) call(waddchstr(a_window(aa),t)) END | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ functions.c: In function 'mlcurses_mvaddchstr': functions.c:23:13: warning: "failwith" is deprecated: use "caml_failwith" instead 23 | BEG3 copie(Wosize_val(ac),0,ac) call(mvaddchstr(a_int(aa),a_int(ab),t)) END | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ functions.c: In function 'mlcurses_mvwaddchstr': functions.c:25:13: warning: "failwith" is deprecated: use "caml_failwith" instead 25 | BEG4 copie(Wosize_val(ad),0,ad) | ^~~~~~~~~~~~~~~~~~~ functions.c: In function 'mlcurses_addchnstr': functions.c:29:13: warning: "failwith" is deprecated: use "caml_failwith" instead 29 | copie(Int_val(ac),i0,aa) | ^~~~~~~~~~~~~~ functions.c: In function 'mlcurses_waddchnstr': functions.c:33:13: warning: "failwith" is deprecated: use "caml_failwith" instead 33 | copie(Int_val(ad),i0,ab) | ^~~~~~~~~~~~~~ functions.c: In function 'mlcurses_mvaddchnstr': functions.c:37:13: warning: "failwith" is deprecated: use "caml_failwith" instead 37 | copie(Int_val(ae),i0,ac) | ^~~~~~~~~~~~~~ functions.c: In function 'mlcurses_mvwaddchnstr_native': functions.c:41:13: warning: "failwith" is deprecated: use "caml_failwith" instead 41 | copie(Int_val(af),i0,ad) | ^~~~~~~~~~~~~~ functions.c: In function 'mlcurses_color_content': functions.c: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:70:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 70 | { 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:162:13: warning: "alloc_tuple" is deprecated: use "caml_alloc_tuple" instead 162 | x=y=z=-1; r_int_int_int(x,y,z); END | ^~~~~~~~~~~~~~~~~~~~~~~~~ functions.c: In function 'mlcurses_pair_content': functions.c:165:13: warning: "alloc_tuple" is deprecated: use "caml_alloc_tuple" instead 165 | r_int_int(x,y); END | ^~~~~~~~~ functions.c: In function 'mlcurses_getstr': functions.c:195:13: warning: "string_length" is deprecated: use "caml_string_length" instead 195 | BEG1 r_err(getnstr(a_string(aa),string_length(aa))); END | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ml_curses.c:7: /usr/lib64/ocaml/caml/mlvalues.h:290:24: warning: passing argument 2 of 'wgetnstr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 290 | #define String_val(x) ((const char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/ocaml/caml/memory.h:462:29: note: in definition of macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:51:25: note: in expansion of macro 'CAMLreturn' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long' 79 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:387:21: note: in expansion of macro 'Val_int' 387 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:51:36: note: in expansion of macro 'Val_bool' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:195:6: note: in expansion of macro 'r_err' 195 | BEG1 r_err(getnstr(a_string(aa),string_length(aa))); END | ^~~~~ ml_curses.c:88:25: note: in expansion of macro 'String_val' 88 | #define a_string(a) String_val(a) | ^~~~~~~~~~ functions.c:195:20: note: in expansion of macro 'a_string' 195 | BEG1 r_err(getnstr(a_string(aa),string_length(aa))); END | ^~~~~~~~ In file included from ml_curses.c:22: /usr/include/curses.h:853:47: note: expected 'char *' but argument is of type 'const char *' 853 | extern NCURSES_EXPORT(int) wgetnstr (WINDOW *,char *,int); /* implemented */ | ^~~~~~ functions.c: In function 'mlcurses_wgetstr': functions.c:197:13: warning: "string_length" is deprecated: use "caml_string_length" instead 197 | BEG2 r_err(wgetnstr(a_window(aa),a_string(ab),string_length(ab))); END | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:290:24: warning: passing argument 2 of 'wgetnstr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 290 | #define String_val(x) ((const char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/ocaml/caml/memory.h:462:29: note: in definition of macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:51:25: note: in expansion of macro 'CAMLreturn' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long' 79 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:387:21: note: in expansion of macro 'Val_int' 387 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:51:36: note: in expansion of macro 'Val_bool' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:197:6: note: in expansion of macro 'r_err' 197 | BEG2 r_err(wgetnstr(a_window(aa),a_string(ab),string_length(ab))); END | ^~~~~ ml_curses.c:88:25: note: in expansion of macro 'String_val' 88 | #define a_string(a) String_val(a) | ^~~~~~~~~~ functions.c:197:34: note: in expansion of macro 'a_string' 197 | BEG2 r_err(wgetnstr(a_window(aa),a_string(ab),string_length(ab))); END | ^~~~~~~~ /usr/include/curses.h:853:47: note: expected 'char *' but argument is of type 'const char *' 853 | extern NCURSES_EXPORT(int) wgetnstr (WINDOW *,char *,int); /* implemented */ | ^~~~~~ functions.c: In function 'mlcurses_mvgetstr': functions.c:199:13: warning: "string_length" is deprecated: use "caml_string_length" instead 199 | BEG3 r_err(mvgetnstr(a_int(aa),a_int(ab),a_string(ac),string_length(ac))); END | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:290:24: warning: passing argument 2 of 'wgetnstr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 290 | #define String_val(x) ((const char *) Bp_val(x)) /usr/lib64/ocaml/caml/memory.h:462:29: note: in definition of macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:51:25: note: in expansion of macro 'CAMLreturn' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long' 79 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:387:21: note: in expansion of macro 'Val_int' 387 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:51:36: note: in expansion of macro 'Val_bool' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:199:6: note: in expansion of macro 'r_err' 199 | BEG3 r_err(mvgetnstr(a_int(aa),a_int(ab),a_string(ac),string_length(ac))); END | ^~~~~ ml_curses.c:88:25: note: in expansion of macro 'String_val' 88 | #define a_string(a) String_val(a) | ^~~~~~~~~~ functions.c:199:42: note: in expansion of macro 'a_string' 199 | BEG3 r_err(mvgetnstr(a_int(aa),a_int(ab),a_string(ac),string_length(ac))); END | ^~~~~~~~ /usr/include/curses.h:853:47: note: expected 'char *' but argument is of type 'const char *' 853 | extern NCURSES_EXPORT(int) wgetnstr (WINDOW *,char *,int); /* implemented */ | ^~~~~~ functions.c: In function 'mlcurses_mvwgetstr': functions.c:202:13: warning: "string_length" is deprecated: use "caml_string_length" instead 202 | string_length(ad))); END | ^~~~~~~~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:290:24: warning: passing argument 2 of 'wgetnstr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 290 | #define String_val(x) ((const char *) Bp_val(x)) /usr/lib64/ocaml/caml/memory.h:462:29: note: in definition of macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:51:25: note: in expansion of macro 'CAMLreturn' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long' 79 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:387:21: note: in expansion of macro 'Val_int' 387 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:51:36: note: in expansion of macro 'Val_bool' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:201:6: note: in expansion of macro 'r_err' 201 | BEG4 r_err(mvwgetnstr(a_window(aa),a_int(ab),a_int(ac),a_string(ad), | ^~~~~ ml_curses.c:88:25: note: in expansion of macro 'String_val' 88 | #define a_string(a) String_val(a) | ^~~~~~~~~~ functions.c:201:56: note: in expansion of macro 'a_string' 201 | BEG4 r_err(mvwgetnstr(a_window(aa),a_int(ab),a_int(ac),a_string(ad), | ^~~~~~~~ /usr/include/curses.h:853:47: note: expected 'char *' but argument is of type 'const char *' 853 | extern NCURSES_EXPORT(int) wgetnstr (WINDOW *,char *,int); /* implemented */ | ^~~~~~ functions.c: In function 'mlcurses_getnstr': functions.c:204:32: warning: passing argument 2 of 'wgetnstr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 204 | BEG3 r_err(getnstr(a_string(aa)+a_int(ab),a_int(ac))); END /usr/lib64/ocaml/caml/memory.h:462:29: note: in definition of macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:51:25: note: in expansion of macro 'CAMLreturn' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long' 79 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:387:21: note: in expansion of macro 'Val_int' 387 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:51:36: note: in expansion of macro 'Val_bool' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:204:6: note: in expansion of macro 'r_err' 204 | BEG3 r_err(getnstr(a_string(aa)+a_int(ab),a_int(ac))); END | ^~~~~ /usr/include/curses.h:853:47: note: expected 'char *' but argument is of type 'const char *' 853 | extern NCURSES_EXPORT(int) wgetnstr (WINDOW *,char *,int); /* implemented */ | ^~~~~~ functions.c: In function 'mlcurses_wgetnstr': functions.c:206:46: warning: passing argument 2 of 'wgetnstr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 206 | BEG4 r_err(wgetnstr(a_window(aa),a_string(ab)+a_int(ac),a_int(ad))); END /usr/lib64/ocaml/caml/memory.h:462:29: note: in definition of macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:51:25: note: in expansion of macro 'CAMLreturn' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long' 79 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:387:21: note: in expansion of macro 'Val_int' 387 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:51:36: note: in expansion of macro 'Val_bool' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:206:6: note: in expansion of macro 'r_err' 206 | BEG4 r_err(wgetnstr(a_window(aa),a_string(ab)+a_int(ac),a_int(ad))); END | ^~~~~ /usr/include/curses.h:853:47: note: expected 'char *' but argument is of type 'const char *' 853 | extern NCURSES_EXPORT(int) wgetnstr (WINDOW *,char *,int); /* implemented */ | ^~~~~~ functions.c: In function 'mlcurses_mvgetnstr': functions.c:208:54: warning: passing argument 2 of 'wgetnstr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 208 | BEG5 r_err(mvgetnstr(a_int(aa),a_int(ab),a_string(ac)+a_int(ad), | ^ /usr/lib64/ocaml/caml/memory.h:462:29: note: in definition of macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:51:25: note: in expansion of macro 'CAMLreturn' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long' 79 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:387:21: note: in expansion of macro 'Val_int' 387 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:51:36: note: in expansion of macro 'Val_bool' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:208:6: note: in expansion of macro 'r_err' 208 | BEG5 r_err(mvgetnstr(a_int(aa),a_int(ab),a_string(ac)+a_int(ad), | ^~~~~ /usr/include/curses.h:853:47: note: expected 'char *' but argument is of type 'const char *' 853 | extern NCURSES_EXPORT(int) wgetnstr (WINDOW *,char *,int); /* implemented */ | ^~~~~~ functions.c: In function 'mlcurses_mvwgetnstr_native': functions.c:211:68: warning: passing argument 2 of 'wgetnstr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 211 | BEG6 r_err(mvwgetnstr(a_window(aa),a_int(ab),a_int(ac),a_string(ad)+a_int(ae), | ^ /usr/lib64/ocaml/caml/memory.h:462:29: note: in definition of macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:51:25: note: in expansion of macro 'CAMLreturn' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long' 79 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:387:21: note: in expansion of macro 'Val_int' 387 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:51:36: note: in expansion of macro 'Val_bool' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:211:6: note: in expansion of macro 'r_err' 211 | BEG6 r_err(mvwgetnstr(a_window(aa),a_int(ab),a_int(ac),a_string(ad)+a_int(ae), | ^~~~~ /usr/include/curses.h:853:47: note: expected 'char *' but argument is of type 'const char *' 853 | extern NCURSES_EXPORT(int) wgetnstr (WINDOW *,char *,int); /* implemented */ | ^~~~~~ functions.c: In function 'mlcurses_getyx': functions.c:217:13: warning: "alloc_tuple" is deprecated: use "caml_alloc_tuple" instead 217 | BEG1 int x,y; getyx(a_window(aa),y,x); r_int_int(y,x); END | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ functions.c: In function 'mlcurses_getparyx': functions.c:219:13: warning: "alloc_tuple" is deprecated: use "caml_alloc_tuple" instead 219 | BEG1 int x,y; getparyx(a_window(aa),y,x); r_int_int(y,x); END | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ functions.c: In function 'mlcurses_getbegyx': functions.c:221:13: warning: "alloc_tuple" is deprecated: use "caml_alloc_tuple" instead 221 | BEG1 int x,y; getbegyx(a_window(aa),y,x); r_int_int(y,x); END | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ functions.c: In function 'mlcurses_getmaxyx': functions.c:223:13: warning: "alloc_tuple" is deprecated: use "caml_alloc_tuple" instead 223 | BEG1 int x,y; getmaxyx(a_window(aa),y,x); r_int_int(y,x); END | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ functions.c: In function 'mlcurses_newterm': functions.c:296:13: warning: "alloc_tuple" is deprecated: use "caml_alloc_tuple" instead 296 | r=alloc_tuple(3); | ^~~~~~~ functions.c:300:13: warning: "failwith" is deprecated: use "caml_failwith" instead 300 | if(s==NULL){ fclose(fa); fclose(fb); failwith("newterm"); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ functions.c: In function 'mlcurses_insstr': functions.c:315:13: warning: "string_length" is deprecated: use "caml_string_length" instead 315 | BEG1 r_err(insnstr(a_string(aa),string_length(aa))); END | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ functions.c: In function 'mlcurses_winsstr': functions.c:317:13: warning: "string_length" is deprecated: use "caml_string_length" instead 317 | BEG2 r_err(winsnstr(a_window(aa),a_string(ab),string_length(ab))); END | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ functions.c: In function 'mlcurses_mvinsstr': functions.c:319:13: warning: "string_length" is deprecated: use "caml_string_length" instead 319 | BEG3 r_err(mvinsnstr(a_int(aa),a_int(ab),a_string(ac),string_length(ac))); END | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ functions.c: In function 'mlcurses_mvwinsstr': functions.c:322:13: warning: "string_length" is deprecated: use "caml_string_length" instead 322 | a_string(ad),string_length(ad))); END | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ functions.c: In function 'mlcurses_instr': functions.c:336:13: warning: "string_length" is deprecated: use "caml_string_length" instead 336 | BEG1 r_err(innstr(a_string(aa),string_length(aa))); END | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:290:24: warning: passing argument 2 of 'winnstr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 290 | #define String_val(x) ((const char *) Bp_val(x)) /usr/lib64/ocaml/caml/memory.h:462:29: note: in definition of macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:51:25: note: in expansion of macro 'CAMLreturn' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long' 79 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:387:21: note: in expansion of macro 'Val_int' 387 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:51:36: note: in expansion of macro 'Val_bool' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:336:6: note: in expansion of macro 'r_err' 336 | BEG1 r_err(innstr(a_string(aa),string_length(aa))); END | ^~~~~ ml_curses.c:88:25: note: in expansion of macro 'String_val' 88 | #define a_string(a) String_val(a) | ^~~~~~~~~~ functions.c:336:19: note: in expansion of macro 'a_string' 336 | BEG1 r_err(innstr(a_string(aa),string_length(aa))); END | ^~~~~~~~ /usr/include/curses.h:859:47: note: expected 'char *' but argument is of type 'const char *' 859 | extern NCURSES_EXPORT(int) winnstr (WINDOW *, char *, int); /* implemented */ | ^~~~~~ functions.c: In function 'mlcurses_winstr': functions.c:338:13: warning: "string_length" is deprecated: use "caml_string_length" instead 338 | BEG2 r_err(winnstr(a_window(aa),a_string(ab),string_length(ab))); END | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:290:24: warning: passing argument 2 of 'winnstr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 290 | #define String_val(x) ((const char *) Bp_val(x)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/ocaml/caml/memory.h:462:29: note: in definition of macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:51:25: note: in expansion of macro 'CAMLreturn' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long' 79 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:387:21: note: in expansion of macro 'Val_int' 387 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:51:36: note: in expansion of macro 'Val_bool' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:338:6: note: in expansion of macro 'r_err' 338 | BEG2 r_err(winnstr(a_window(aa),a_string(ab),string_length(ab))); END | ^~~~~ ml_curses.c:88:25: note: in expansion of macro 'String_val' 88 | #define a_string(a) String_val(a) | ^~~~~~~~~~ functions.c:338:33: note: in expansion of macro 'a_string' 338 | BEG2 r_err(winnstr(a_window(aa),a_string(ab),string_length(ab))); END | ^~~~~~~~ /usr/include/curses.h:859:47: note: expected 'char *' but argument is of type 'const char *' 859 | extern NCURSES_EXPORT(int) winnstr (WINDOW *, char *, int); /* implemented */ | ^~~~~~ functions.c: In function 'mlcurses_mvinstr': functions.c:340:13: warning: "string_length" is deprecated: use "caml_string_length" instead 340 | BEG3 r_err(mvinnstr(a_int(aa),a_int(ab),a_string(ac),string_length(ac))); END | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:290:24: warning: passing argument 2 of 'winnstr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 290 | #define String_val(x) ((const char *) Bp_val(x)) /usr/lib64/ocaml/caml/memory.h:462:29: note: in definition of macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:51:25: note: in expansion of macro 'CAMLreturn' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long' 79 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:387:21: note: in expansion of macro 'Val_int' 387 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:51:36: note: in expansion of macro 'Val_bool' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:340:6: note: in expansion of macro 'r_err' 340 | BEG3 r_err(mvinnstr(a_int(aa),a_int(ab),a_string(ac),string_length(ac))); END | ^~~~~ ml_curses.c:88:25: note: in expansion of macro 'String_val' 88 | #define a_string(a) String_val(a) | ^~~~~~~~~~ functions.c:340:41: note: in expansion of macro 'a_string' 340 | BEG3 r_err(mvinnstr(a_int(aa),a_int(ab),a_string(ac),string_length(ac))); END | ^~~~~~~~ /usr/include/curses.h:859:47: note: expected 'char *' but argument is of type 'const char *' 859 | extern NCURSES_EXPORT(int) winnstr (WINDOW *, char *, int); /* implemented */ | ^~~~~~ functions.c: In function 'mlcurses_mvwinstr': functions.c:343:13: warning: "string_length" is deprecated: use "caml_string_length" instead 343 | a_string(ad),string_length(ad))); END | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:290:24: warning: passing argument 2 of 'winnstr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 290 | #define String_val(x) ((const char *) Bp_val(x)) /usr/lib64/ocaml/caml/memory.h:462:29: note: in definition of macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:51:25: note: in expansion of macro 'CAMLreturn' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long' 79 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:387:21: note: in expansion of macro 'Val_int' 387 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:51:36: note: in expansion of macro 'Val_bool' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:342:6: note: in expansion of macro 'r_err' 342 | BEG4 r_err(mvwinnstr(a_window(aa),a_int(ab),a_int(ac), | ^~~~~ ml_curses.c:88:25: note: in expansion of macro 'String_val' 88 | #define a_string(a) String_val(a) | ^~~~~~~~~~ functions.c:343:3: note: in expansion of macro 'a_string' 343 | a_string(ad),string_length(ad))); END | ^~~~~~~~ /usr/include/curses.h:859:47: note: expected 'char *' but argument is of type 'const char *' 859 | extern NCURSES_EXPORT(int) winnstr (WINDOW *, char *, int); /* implemented */ | ^~~~~~ functions.c: In function 'mlcurses_innstr': functions.c:345:31: warning: passing argument 2 of 'winnstr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 345 | BEG3 r_err(innstr(a_string(aa)+a_int(ab),a_int(ac))); END | ^ /usr/lib64/ocaml/caml/memory.h:462:29: note: in definition of macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:51:25: note: in expansion of macro 'CAMLreturn' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long' 79 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:387:21: note: in expansion of macro 'Val_int' 387 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:51:36: note: in expansion of macro 'Val_bool' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:345:6: note: in expansion of macro 'r_err' 345 | BEG3 r_err(innstr(a_string(aa)+a_int(ab),a_int(ac))); END | ^~~~~ /usr/include/curses.h:859:47: note: expected 'char *' but argument is of type 'const char *' 859 | extern NCURSES_EXPORT(int) winnstr (WINDOW *, char *, int); /* implemented */ | ^~~~~~ functions.c: In function 'mlcurses_winnstr': functions.c:347:45: warning: passing argument 2 of 'winnstr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 347 | BEG4 r_err(winnstr(a_window(aa),a_string(ab)+a_int(ac),a_int(ad))); END /usr/lib64/ocaml/caml/memory.h:462:29: note: in definition of macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:51:25: note: in expansion of macro 'CAMLreturn' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long' 79 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:387:21: note: in expansion of macro 'Val_int' 387 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:51:36: note: in expansion of macro 'Val_bool' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:347:6: note: in expansion of macro 'r_err' 347 | BEG4 r_err(winnstr(a_window(aa),a_string(ab)+a_int(ac),a_int(ad))); END | ^~~~~ /usr/include/curses.h:859:47: note: expected 'char *' but argument is of type 'const char *' 859 | extern NCURSES_EXPORT(int) winnstr (WINDOW *, char *, int); /* implemented */ | ^~~~~~ functions.c: In function 'mlcurses_mvinnstr': functions.c:349:53: warning: passing argument 2 of 'winnstr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 349 | BEG5 r_err(mvinnstr(a_int(aa),a_int(ab),a_string(ac)+a_int(ad),a_int(ae))); END | ^ /usr/lib64/ocaml/caml/memory.h:462:29: note: in definition of macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:51:25: note: in expansion of macro 'CAMLreturn' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long' 79 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:387:21: note: in expansion of macro 'Val_int' 387 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:51:36: note: in expansion of macro 'Val_bool' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:349:6: note: in expansion of macro 'r_err' 349 | BEG5 r_err(mvinnstr(a_int(aa),a_int(ab),a_string(ac)+a_int(ad),a_int(ae))); END | ^~~~~ /usr/include/curses.h:859:47: note: expected 'char *' but argument is of type 'const char *' 859 | extern NCURSES_EXPORT(int) winnstr (WINDOW *, char *, int); /* implemented */ | ^~~~~~ functions.c: In function 'mlcurses_mvwinnstr_native': functions.c:352:15: warning: passing argument 2 of 'winnstr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 352 | a_string(ad)+a_int(ae),a_int(af))); END | ^ /usr/lib64/ocaml/caml/memory.h:462:29: note: in definition of macro 'CAMLreturnT' 462 | type caml__temp_result = (result); \ | ^~~~~~ ml_curses.c:51:25: note: in expansion of macro 'CAMLreturn' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long' 79 | #define Val_int(x) Val_long(x) | ^~~~~~~~ /usr/lib64/ocaml/caml/mlvalues.h:387:21: note: in expansion of macro 'Val_int' 387 | #define Val_bool(x) Val_int((x) != 0) | ^~~~~~~ ml_curses.c:51:36: note: in expansion of macro 'Val_bool' 51 | #define r_err(f) CAMLreturn(Val_bool((f)!=ERR)) | ^~~~~~~~ functions.c:351:6: note: in expansion of macro 'r_err' 351 | BEG6 r_err(mvwinnstr(a_window(aa),a_int(ab),a_int(ac), | ^~~~~ /usr/include/curses.h:859:47: note: expected 'char *' but argument is of type 'const char *' 859 | extern NCURSES_EXPORT(int) winnstr (WINDOW *, char *, int); /* implemented */ | ^~~~~~ functions.c: In function 'mlcurses_getsyx': functions.c:386:13: warning: "alloc_tuple" is deprecated: use "caml_alloc_tuple" instead 386 | BEG0 int x,y; getsyx(y,x); r_int_int(y,x); END | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ functions.c: In function 'mlcurses_get_ripoff': functions.c:394:13: warning: "failwith" is deprecated: use "caml_failwith" instead 394 | BEG0 if(ripoff_niv==0) failwith("get_ripoff"); ripoff_niv--; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ functions.c:395:13: warning: "alloc_tuple" is deprecated: use "caml_alloc_tuple" instead 395 | r_window_int(ripoff_w[ripoff_niv],ripoff_l[ripoff_niv]); END | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ functions.c: In function 'mlcurses_mousemask': functions.c:403:13: warning: "alloc_tuple" is deprecated: use "caml_alloc_tuple" instead 403 | BEG1 mmask_t r=1234,n=Int_val(aa); n=mousemask(n,&r); r_int_int(n,r); END | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ functions.c: In function 'mlcurses_slk_label': functions.c:483:13: warning: "failwith" is deprecated: use "caml_failwith" instead 483 | ML1(slk_label,string,int) | ^~~~~~~~~~~~~ functions.c:483:13: warning: "copy_string" is deprecated: use "caml_copy_string" instead 483 | ML1(slk_label,string,int) | ^~~~~~~~~~~~~ functions.c: In function 'mlcurses_longname': functions.c:498:13: warning: "failwith" is deprecated: use "caml_failwith" instead 498 | ML0(longname,string) | ^~~~~~~~ functions.c:498:13: warning: "copy_string" is deprecated: use "caml_copy_string" instead 498 | ML0(longname,string) | ^~~~~~~~ functions.c: In function 'mlcurses_termname': functions.c:500:13: warning: "failwith" is deprecated: use "caml_failwith" instead 500 | ML0(termname,string) | ^~~~~~~~ functions.c:500:13: warning: "copy_string" is deprecated: use "caml_copy_string" instead 500 | ML0(termname,string) | ^~~~~~~~ functions.c: In function 'mlcurses_tgetstr': functions.c:509:13: warning: "failwith" is deprecated: use "caml_failwith" instead 509 | BEG1 r_string(tgetstr(String_val(aa),NULL)); END | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ functions.c:509:13: warning: "copy_string" is deprecated: use "caml_copy_string" instead 509 | BEG1 r_string(tgetstr(String_val(aa),NULL)); END | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ functions.c: In function 'mlcurses_tgoto': functions.c:510:13: warning: "failwith" is deprecated: use "caml_failwith" instead 510 | ML3(tgoto,string,string,int,int) | ^~~~~~~~~~~~~~~~~~~~ functions.c:510:13: warning: "copy_string" is deprecated: use "caml_copy_string" instead 510 | ML3(tgoto,string,string,int,int) | ^~~~~~~~~~~~~~~~~~~~ functions.c: In function 'mlcurses_tigetstr': functions.c:531:13: warning: "failwith" is deprecated: use "caml_failwith" instead 531 | if((s==NULL)||(s==(char * )-1)) failwith("tigetstr"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ functions.c:532:13: warning: "copy_string" is deprecated: use "caml_copy_string" instead 532 | CAMLreturn(copy_string(s)); END | ^~~~~~~~~~~~~~~~~~~~~ functions.c: In function 'mlcurses_tparm': functions.c:555:13: warning: "failwith" is deprecated: use "caml_failwith" instead 555 | t[5],t[6],t[7],t[8],t[9])); END | ^~~~~~~~~~~~~~~~~~~~~~~ functions.c:555:13: warning: "copy_string" is deprecated: use "caml_copy_string" instead 555 | t[5],t[6],t[7],t[8],t[9])); END | ^~~~~~~~~~~~~~~~~~~~~~~ functions.c: In function 'mlcurses_bool_terminfo_variable': functions.c:576:13: warning: "alloc_tuple" is deprecated: use "caml_alloc_tuple" instead 576 | ML1d(bool_terminfo_variable,string*string*string,int) BEG1 arrayret(bool) END | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ functions.c:576:13: warning: "copy_string" is deprecated: use "caml_copy_string" instead functions.c:576:13: warning: "copy_string" is deprecated: use "caml_copy_string" instead functions.c:576:13: warning: "copy_string" is deprecated: use "caml_copy_string" instead functions.c:576:13: warning: "copy_string" is deprecated: use "caml_copy_string" instead functions.c: In function 'mlcurses_num_terminfo_variable': functions.c:577:13: warning: "alloc_tuple" is deprecated: use "caml_alloc_tuple" instead 577 | ML1d(num_terminfo_variable,string*string*string,int) BEG1 arrayret(num) END | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ functions.c:577:13: warning: "copy_string" is deprecated: use "caml_copy_string" instead functions.c:577:13: warning: "copy_string" is deprecated: use "caml_copy_string" instead functions.c:577:13: warning: "copy_string" is deprecated: use "caml_copy_string" instead functions.c:577:13: warning: "copy_string" is deprecated: use "caml_copy_string" instead functions.c: In function 'mlcurses_str_terminfo_variable': functions.c:578:13: warning: "alloc_tuple" is deprecated: use "caml_alloc_tuple" instead 578 | ML1d(str_terminfo_variable,string*string*string,int) BEG1 arrayret(str) END | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ functions.c:578:13: warning: "copy_string" is deprecated: use "caml_copy_string" instead functions.c:578:13: warning: "copy_string" is deprecated: use "caml_copy_string" instead functions.c:578:13: warning: "copy_string" is deprecated: use "caml_copy_string" instead functions.c:578:13: warning: "copy_string" is deprecated: use "caml_copy_string" instead functions.c: In function 'mlcurses_unctrl': functions.c:596:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 596 | ML1(unctrl,string,chtype) | ^~~~~~ ml_curses.c:77:15: note: in definition of macro 'r_string' 77 | { char *ret=f; \ | ^ functions.c:596:1: note: in expansion of macro 'ML1' 596 | ML1(unctrl,string,chtype) | ^~~ functions.c:596:13: warning: "failwith" is deprecated: use "caml_failwith" instead 596 | ML1(unctrl,string,chtype) | ^~~~~~~~~~~~~ functions.c:596:13: warning: "copy_string" is deprecated: use "caml_copy_string" instead 596 | ML1(unctrl,string,chtype) | ^~~~~~~~~~~~~ functions.c: In function 'mlcurses_keyname': functions.c:597:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 597 | ML1(keyname,string,int) | ^~~~~~~ ml_curses.c:77:15: note: in definition of macro 'r_string' 77 | { char *ret=f; \ | ^ functions.c:597:1: note: in expansion of macro 'ML1' 597 | ML1(keyname,string,int) | ^~~ functions.c:597:13: warning: "failwith" is deprecated: use "caml_failwith" instead 597 | ML1(keyname,string,int) | ^~~~~~~~~~~ functions.c:597:13: warning: "copy_string" is deprecated: use "caml_copy_string" instead 597 | ML1(keyname,string,int) | ^~~~~~~~~~~ functions.c: In function 'mlcurses_get_acs_codes': functions.c:628:13: warning: "alloc_tuple" is deprecated: use "caml_alloc_tuple" instead 628 | tr=alloc_tuple(32); | ^~~~~~~~~ functions.c: In function 'mlcurses_get_size': functions.c:657:13: warning: "alloc_tuple" is deprecated: use "caml_alloc_tuple" instead 657 | r_int_int(ws.ws_row,ws.ws_col); | ^~~~~~~~~~~~~~~~~~~~~ functions.c: In function 'mlcurses_get_size_fd': functions.c:671:13: warning: "alloc_tuple" is deprecated: use "caml_alloc_tuple" instead 671 | r_int_int(ws.ws_row,ws.ws_col); | ^~~~~~~~~~~~~~~~~~~~~ ml_curses.c: In function 'mlcurses_getch': ml_curses.c:226:13: warning: "enter_blocking_section" is deprecated: use "caml_enter_blocking_section" instead 226 | enter_blocking_section(); | ^~~~~~~~~~~~~~~~ ml_curses.c:228:13: warning: "leave_blocking_section" is deprecated: use "caml_leave_blocking_section" instead 228 | leave_blocking_section(); | ^~~~~~~~~~~~~~~~ ml_curses.c: In function 'mlcurses_wgetch': ml_curses.c:243:13: warning: "enter_blocking_section" is deprecated: use "caml_enter_blocking_section" instead 243 | enter_blocking_section(); | ^~~~~~~~~~~~~~~~ ml_curses.c:245:13: warning: "leave_blocking_section" is deprecated: use "caml_leave_blocking_section" instead 245 | leave_blocking_section(); | ^~~~~~~~~~~~~~~~ functions.c: In function 'mlcurses_getsyx': /usr/lib64/ocaml/caml/mlvalues.h:75:50: warning: 'y' may be used uninitialized [-Wmaybe-uninitialized] 75 | #define Val_long(x) ((intnat) (((uintnat)(x) << 1)) + 1) | ~~~~~~~~~~~~~~~^~~~~~ functions.c:386:12: note: 'y' was declared here 386 | BEG0 int x,y; getsyx(y,x); r_int_int(y,x); END | ^ /usr/lib64/ocaml/caml/mlvalues.h:75:50: warning: 'x' may be used uninitialized [-Wmaybe-uninitialized] 75 | #define Val_long(x) ((intnat) (((uintnat)(x) << 1)) + 1) | ~~~~~~~~~~~~~~~^~~~~~ functions.c:386:10: note: 'x' was declared here 386 | BEG0 int x,y; getsyx(y,x); r_int_int(y,x); END | ^ ar rcs libcurses_stubs.a ml_curses.o ocamlc -c -g keys.ml ocamlc -c -g curses.mli ocamlc -c -pp "gcc -x c -E " -g curses.ml ocamlmklib \ -o curses_stubs ml_curses.o -lncursesw \ ocamlc -a -dllib dllcurses_stubs.so -custom -g -ccopt -Wl,-z,relro -ccopt -Wl,--as-needed -ccopt -Wl,-z,now -ccopt -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -ccopt -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -ccopt -Wl,--build-id=sha1 -cclib -lcurses_stubs -cclib -lncursesw -o curses.cma keys.cmo curses.cmo make[1]: Leaving directory '/builddir/build/BUILD/ocaml-curses-1.0.4' sed \ -e 's/@PACKAGE@/curses/' \ -e 's/@VERSION@/1.0.4/' \ -e 's/@CURSES@/ncurses/' \ < META.in > META ranlib *.a + make opt make[1]: Entering directory '/builddir/build/BUILD/ocaml-curses-1.0.4' ocamldep -native curses.mli > ._ncdi/curses.di make[1]: 'libcurses_stubs.a' is up to date. ocamlopt -c -g keys.ml ocamlopt -c -pp "gcc -x c -E " -g curses.ml ocamlopt -a -g -ccopt -Wl,-z,relro -ccopt -Wl,--as-needed -ccopt -Wl,-z,now -ccopt -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -ccopt -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -ccopt -Wl,--build-id=sha1 -cclib -lcurses_stubs -cclib -lncursesw -o curses.cmxa keys.cmx curses.cmx make[1]: Leaving directory '/builddir/build/BUILD/ocaml-curses-1.0.4' ranlib *.a + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.2OGRDF + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ocaml-curses-1.0.4-29.fc38.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ocaml-curses-1.0.4-29.fc38.riscv64 ++ dirname /builddir/build/BUILDROOT/ocaml-curses-1.0.4-29.fc38.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ocaml-curses-1.0.4-29.fc38.riscv64 + 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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd ocaml-curses-1.0.4 + export DESTDIR=/builddir/build/BUILDROOT/ocaml-curses-1.0.4-29.fc38.riscv64 + DESTDIR=/builddir/build/BUILDROOT/ocaml-curses-1.0.4-29.fc38.riscv64 + export OCAMLFIND_DESTDIR=/builddir/build/BUILDROOT/ocaml-curses-1.0.4-29.fc38.riscv64/usr/lib64/ocaml + OCAMLFIND_DESTDIR=/builddir/build/BUILDROOT/ocaml-curses-1.0.4-29.fc38.riscv64/usr/lib64/ocaml + mkdir -p /builddir/build/BUILDROOT/ocaml-curses-1.0.4-29.fc38.riscv64/usr/lib64/ocaml /builddir/build/BUILDROOT/ocaml-curses-1.0.4-29.fc38.riscv64/usr/lib64/ocaml/stublibs + ocamlfind install curses META curses.cmi keys.cmi curses.cmx keys.cmx curses.cma curses.cmxa curses.a libcurses_stubs.a dllcurses_stubs.so curses.mli Installed /builddir/build/BUILDROOT/ocaml-curses-1.0.4-29.fc38.riscv64/usr/lib64/ocaml/curses/curses.mli Installed /builddir/build/BUILDROOT/ocaml-curses-1.0.4-29.fc38.riscv64/usr/lib64/ocaml/curses/libcurses_stubs.a Installed /builddir/build/BUILDROOT/ocaml-curses-1.0.4-29.fc38.riscv64/usr/lib64/ocaml/curses/curses.a Installed /builddir/build/BUILDROOT/ocaml-curses-1.0.4-29.fc38.riscv64/usr/lib64/ocaml/curses/curses.cmxa Installed /builddir/build/BUILDROOT/ocaml-curses-1.0.4-29.fc38.riscv64/usr/lib64/ocaml/curses/curses.cma Installed /builddir/build/BUILDROOT/ocaml-curses-1.0.4-29.fc38.riscv64/usr/lib64/ocaml/curses/keys.cmx Installed /builddir/build/BUILDROOT/ocaml-curses-1.0.4-29.fc38.riscv64/usr/lib64/ocaml/curses/curses.cmx Installed /builddir/build/BUILDROOT/ocaml-curses-1.0.4-29.fc38.riscv64/usr/lib64/ocaml/curses/keys.cmi Installed /builddir/build/BUILDROOT/ocaml-curses-1.0.4-29.fc38.riscv64/usr/lib64/ocaml/curses/curses.cmi Installed /builddir/build/BUILDROOT/ocaml-curses-1.0.4-29.fc38.riscv64/usr/lib64/ocaml/stublibs/dllcurses_stubs.so Installed /builddir/build/BUILDROOT/ocaml-curses-1.0.4-29.fc38.riscv64/usr/lib64/ocaml/stublibs/dllcurses_stubs.so.owner ocamlfind: [WARNING] You have installed DLLs but the directory /builddir/build/BUILDROOT/ocaml-curses-1.0.4-29.fc38.riscv64/usr/lib64/ocaml/stublibs is not mentioned in ld.conf Installed /builddir/build/BUILDROOT/ocaml-curses-1.0.4-29.fc38.riscv64/usr/lib64/ocaml/curses/META + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 1.0.4-29.fc38 --unique-debug-suffix -1.0.4-29.fc38.riscv64 --unique-debug-src-base ocaml-curses-1.0.4-29.fc38.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/ocaml-curses-1.0.4 extracting debug info from /builddir/build/BUILDROOT/ocaml-curses-1.0.4-29.fc38.riscv64/usr/lib64/ocaml/stublibs/dllcurses_stubs.so original debug info size: 768kB, size after compression: 760kB /usr/bin/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 55 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j4 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: ocaml-curses-1.0.4-29.fc38.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.njpubB + umask 022 + cd /builddir/build/BUILD + cd ocaml-curses-1.0.4 + DOCDIR=/builddir/build/BUILDROOT/ocaml-curses-1.0.4-29.fc38.riscv64/usr/share/doc/ocaml-curses + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ocaml-curses-1.0.4-29.fc38.riscv64/usr/share/doc/ocaml-curses + cp -pr COPYING /builddir/build/BUILDROOT/ocaml-curses-1.0.4-29.fc38.riscv64/usr/share/doc/ocaml-curses + RPM_EC=0 ++ jobs -p + exit 0 Provides: ocaml(Curses) = e157ae9a39106170b47c6d1657887ff9 ocaml(Keys) = 75453f622a4a282154ee6661bb67bdb1 ocaml-curses = 1.0.4-29.fc38 ocaml-curses(riscv-64) = 1.0.4-29.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libncursesw.so.6()(64bit) libtinfo.so.6()(64bit) ocaml(CamlinternalFormatBasics) = 8f8f634558798ee408df3c50a5539b15 ocaml(Stdlib) = 79b0e9d3b6f7fed07eb3cc2abb961b91 ocaml(Stdlib__Bigarray) = 994a14f10d5ae081663b52b790ee11d3 ocaml(Stdlib__Complex) = 4555217c759e89d65daa8f682eb09b35 ocaml(Stdlib__Either) = 26845df28d19584687a38a1ab814c3f9 ocaml(Stdlib__Hashtbl) = 34c0fdd524bf2a75e4d5af64a6d34401 ocaml(Stdlib__List) = ee222542f6f8195441543b8b399b64b9 ocaml(Stdlib__Seq) = b63511032211eae4b567ba313cd72962 ocaml(Unix) = 84bb8ec8ae50f70acba86f5b72088b1c rtld(GNU_HASH) Processing files: ocaml-curses-devel-1.0.4-29.fc38.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.3GC5bI + umask 022 + cd /builddir/build/BUILD + cd ocaml-curses-1.0.4 + DOCDIR=/builddir/build/BUILDROOT/ocaml-curses-1.0.4-29.fc38.riscv64/usr/share/doc/ocaml-curses-devel + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ocaml-curses-1.0.4-29.fc38.riscv64/usr/share/doc/ocaml-curses-devel + cp -pr COPYING /builddir/build/BUILDROOT/ocaml-curses-1.0.4-29.fc38.riscv64/usr/share/doc/ocaml-curses-devel + RPM_EC=0 ++ jobs -p + exit 0 Provides: ocaml(Curses) = e157ae9a39106170b47c6d1657887ff9 ocaml(Keys) = 75453f622a4a282154ee6661bb67bdb1 ocaml-curses-devel = 1.0.4-29.fc38 ocaml-curses-devel(riscv-64) = 1.0.4-29.fc38 ocamlx(Curses) = a27758e2e5e9072c883652453dc6fdc4 ocamlx(Keys) = 5ca52efc7cb2320bdec25df6b6401bfd Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ocaml(CamlinternalFormatBasics) = 8f8f634558798ee408df3c50a5539b15 ocaml(Stdlib) = 79b0e9d3b6f7fed07eb3cc2abb961b91 ocaml(Stdlib__Bigarray) = 994a14f10d5ae081663b52b790ee11d3 ocaml(Stdlib__Complex) = 4555217c759e89d65daa8f682eb09b35 ocaml(Stdlib__Either) = 26845df28d19584687a38a1ab814c3f9 ocaml(Stdlib__Hashtbl) = 34c0fdd524bf2a75e4d5af64a6d34401 ocaml(Stdlib__List) = ee222542f6f8195441543b8b399b64b9 ocaml(Stdlib__Seq) = b63511032211eae4b567ba313cd72962 ocaml(Unix) = 84bb8ec8ae50f70acba86f5b72088b1c ocamlx(Stdlib) = 29fc6b4fd90dc91235156e20d0575996 ocamlx(Stdlib__Hashtbl) = c60c5e9b84ec15b69584c299944d0abb ocamlx(Stdlib__List) = 75bce4c751643e407b6e75caf60b9db7 Processing files: ocaml-curses-debugsource-1.0.4-29.fc38.riscv64 Provides: ocaml-curses-debugsource = 1.0.4-29.fc38 ocaml-curses-debugsource(riscv-64) = 1.0.4-29.fc38 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.4-29.fc38.riscv64 Provides: debuginfo(build-id) = faefb8ad5a063b80ad798a323659eda771292c25 ocaml-curses-debuginfo = 1.0.4-29.fc38 ocaml-curses-debuginfo(riscv-64) = 1.0.4-29.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: ocaml-curses-debugsource(riscv-64) = 1.0.4-29.fc38 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ocaml-curses-1.0.4-29.fc38.riscv64 Wrote: /builddir/build/RPMS/ocaml-curses-debugsource-1.0.4-29.fc38.riscv64.rpm Wrote: /builddir/build/RPMS/ocaml-curses-1.0.4-29.fc38.riscv64.rpm Wrote: /builddir/build/RPMS/ocaml-curses-debuginfo-1.0.4-29.fc38.riscv64.rpm Wrote: /builddir/build/RPMS/ocaml-curses-devel-1.0.4-29.fc38.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.MvC0mN + umask 022 + cd /builddir/build/BUILD + cd ocaml-curses-1.0.4 + /usr/bin/rm -rf /builddir/build/BUILDROOT/ocaml-curses-1.0.4-29.fc38.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.aoVuwt + umask 022 + cd /builddir/build/BUILD + rm -rf ocaml-curses-1.0.4 ocaml-curses-1.0.4.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0