Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/ocaml-curses.spec'], chrootPath='/var/lib/mock/dist-oc9-build-50762-14595/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/ocaml-curses.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/ocaml-curses-1.0.4-3.oc9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/ocaml-curses.spec'], chrootPath='/var/lib/mock/dist-oc9-build-50762-14595/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/ocaml-curses.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Qqgc7W + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ocaml-curses-1.0.4 + /usr/bin/gzip -dc /builddir/build/SOURCES/ocaml-curses-1.0.4.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd ocaml-curses-1.0.4 + /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.7L30xT + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd ocaml-curses-1.0.4 + 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 + '[' '-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-09-21 00:47:47.271909919 +0800 +++ ./configure 2023-09-21 00:47:47.404909106 +0800 @@ -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/OpenCloudOS/OpenCloudOS-hardened-ld' ']' ++ find . -name ltmain.sh + ./configure --build=x86_64-opencloudos-linux-gnu --host=x86_64-opencloudos-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 --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-widec configure: WARNING: unrecognized options: --disable-dependency-tracking configure: loading site script /usr/share/config.site checking for x86_64-opencloudos-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 x86_64-opencloudos-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 curses.mli > ._bcdi/curses.di ocamldep -pp "gcc -x c -E " curses.ml > ._d/curses.d ocamldep keys.ml > ._d/keys.d ocamlc -c -cc "gcc" -ccopt "-fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DHAVE_CONFIG_H \ -DPIC \ -o ml_curses.o " ml_curses.c In file included from ml_curses.c:216: 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 | ^~~~~~~~~~~~~ In file included from ml_curses.c:7: functions.c: In function 'mlcurses_getstr': /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:460:29: note: in definition of macro 'CAMLreturnT' 460 | 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': /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:460:29: note: in definition of macro 'CAMLreturnT' 460 | 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': /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:460:29: note: in definition of macro 'CAMLreturnT' 460 | 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': /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:460:29: note: in definition of macro 'CAMLreturnT' 460 | 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:460:29: note: in definition of macro 'CAMLreturnT' 460 | 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:460:29: note: in definition of macro 'CAMLreturnT' 460 | 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:460:29: note: in definition of macro 'CAMLreturnT' 460 | 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:460:29: note: in definition of macro 'CAMLreturnT' 460 | 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_instr': /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:460:29: note: in definition of macro 'CAMLreturnT' 460 | 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': /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:460:29: note: in definition of macro 'CAMLreturnT' 460 | 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': /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:460:29: note: in definition of macro 'CAMLreturnT' 460 | 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': /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:460:29: note: in definition of macro 'CAMLreturnT' 460 | 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:460:29: note: in definition of macro 'CAMLreturnT' 460 | 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:460:29: note: in definition of macro 'CAMLreturnT' 460 | 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:460:29: note: in definition of macro 'CAMLreturnT' 460 | 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:460:29: note: in definition of macro 'CAMLreturnT' 460 | 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_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: 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) | ^~~ In file included from ml_curses.c:5: /usr/lib64/ocaml/caml/mlvalues.h: 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/OpenCloudOS/OpenCloudOS-hardened-ld -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/OpenCloudOS/OpenCloudOS-hardened-ld -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.5b02la + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ocaml-curses-1.0.4-3.oc9.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ocaml-curses-1.0.4-3.oc9.x86_64 ++ dirname /builddir/build/BUILDROOT/ocaml-curses-1.0.4-3.oc9.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ocaml-curses-1.0.4-3.oc9.x86_64 + cd ocaml-curses-1.0.4 + export DESTDIR=/builddir/build/BUILDROOT/ocaml-curses-1.0.4-3.oc9.x86_64 + DESTDIR=/builddir/build/BUILDROOT/ocaml-curses-1.0.4-3.oc9.x86_64 + export OCAMLFIND_DESTDIR=/builddir/build/BUILDROOT/ocaml-curses-1.0.4-3.oc9.x86_64/usr/lib64/ocaml + OCAMLFIND_DESTDIR=/builddir/build/BUILDROOT/ocaml-curses-1.0.4-3.oc9.x86_64/usr/lib64/ocaml + mkdir -p /builddir/build/BUILDROOT/ocaml-curses-1.0.4-3.oc9.x86_64/usr/lib64/ocaml /builddir/build/BUILDROOT/ocaml-curses-1.0.4-3.oc9.x86_64/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-3.oc9.x86_64/usr/lib64/ocaml/curses/curses.mli Installed /builddir/build/BUILDROOT/ocaml-curses-1.0.4-3.oc9.x86_64/usr/lib64/ocaml/curses/libcurses_stubs.a Installed /builddir/build/BUILDROOT/ocaml-curses-1.0.4-3.oc9.x86_64/usr/lib64/ocaml/curses/curses.a Installed /builddir/build/BUILDROOT/ocaml-curses-1.0.4-3.oc9.x86_64/usr/lib64/ocaml/curses/curses.cmxa Installed /builddir/build/BUILDROOT/ocaml-curses-1.0.4-3.oc9.x86_64/usr/lib64/ocaml/curses/curses.cma Installed /builddir/build/BUILDROOT/ocaml-curses-1.0.4-3.oc9.x86_64/usr/lib64/ocaml/curses/keys.cmx Installed /builddir/build/BUILDROOT/ocaml-curses-1.0.4-3.oc9.x86_64/usr/lib64/ocaml/curses/curses.cmx Installed /builddir/build/BUILDROOT/ocaml-curses-1.0.4-3.oc9.x86_64/usr/lib64/ocaml/curses/keys.cmi Installed /builddir/build/BUILDROOT/ocaml-curses-1.0.4-3.oc9.x86_64/usr/lib64/ocaml/curses/curses.cmi Installed /builddir/build/BUILDROOT/ocaml-curses-1.0.4-3.oc9.x86_64/usr/lib64/ocaml/stublibs/dllcurses_stubs.so Installed /builddir/build/BUILDROOT/ocaml-curses-1.0.4-3.oc9.x86_64/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-3.oc9.x86_64/usr/lib64/ocaml/stublibs is not mentioned in ld.conf Installed /builddir/build/BUILDROOT/ocaml-curses-1.0.4-3.oc9.x86_64/usr/lib64/ocaml/curses/META + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 1.0.4-3.oc9 --unique-debug-suffix -1.0.4-3.oc9.x86_64 --unique-debug-src-base ocaml-curses-1.0.4-3.oc9.x86_64 -S debugsourcefiles.list /builddir/build/BUILD/ocaml-curses-1.0.4 extracting debug info from /builddir/build/BUILDROOT/ocaml-curses-1.0.4-3.oc9.x86_64/usr/lib64/ocaml/stublibs/dllcurses_stubs.so Support for debuginfod is not compiled into GDB. 55 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Processing files: ocaml-curses-1.0.4-3.oc9.x86_64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.LBRtbQ + umask 022 + cd /builddir/build/BUILD + cd ocaml-curses-1.0.4 + LICENSEDIR=/builddir/build/BUILDROOT/ocaml-curses-1.0.4-3.oc9.x86_64/usr/share/licenses/ocaml-curses + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ocaml-curses-1.0.4-3.oc9.x86_64/usr/share/licenses/ocaml-curses + cp -pr COPYING /builddir/build/BUILDROOT/ocaml-curses-1.0.4-3.oc9.x86_64/usr/share/licenses/ocaml-curses + RPM_EC=0 ++ jobs -p + exit 0 Provides: ocaml(Curses) = 8a3a4e370d428c96341a57ab8f402c79 ocaml(Keys) = 621710c6019c67767e55652a254e68bb ocaml-curses = 1.0.4-3.oc9 ocaml-curses(x86-64) = 1.0.4-3.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.4)(64bit) libncursesw.so.6()(64bit) libtinfo.so.6()(64bit) ocaml(CamlinternalFormatBasics) = c4b583a727ec28f5bc9ba36adc64cfc7 ocaml(Stdlib) = 2d082666be7fc2ba916e7233397491df ocaml(Stdlib__Bigarray) = 0658efab07b830634f1823572d2cce61 ocaml(Stdlib__Complex) = dc5b34d1ccde5a5d3b060f66f0bf3ab0 ocaml(Stdlib__Either) = 24a5d315a7028b5fabcaa9f6b3def93c ocaml(Stdlib__Hashtbl) = f8a1618a0afdf7b51a7efc58d3ada50b ocaml(Stdlib__List) = a655ec23bee4d972dcda1182a3264cf3 ocaml(Stdlib__Seq) = 4a64380180d45f6d850ce24ab1076b18 ocaml(Unix) = 49c6c492a189deeaed5bf77a6793e7fa rtld(GNU_HASH) Processing files: ocaml-curses-devel-1.0.4-3.oc9.x86_64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.BvDiAf + umask 022 + cd /builddir/build/BUILD + cd ocaml-curses-1.0.4 + LICENSEDIR=/builddir/build/BUILDROOT/ocaml-curses-1.0.4-3.oc9.x86_64/usr/share/licenses/ocaml-curses-devel + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ocaml-curses-1.0.4-3.oc9.x86_64/usr/share/licenses/ocaml-curses-devel + cp -pr COPYING /builddir/build/BUILDROOT/ocaml-curses-1.0.4-3.oc9.x86_64/usr/share/licenses/ocaml-curses-devel + RPM_EC=0 ++ jobs -p + exit 0 Provides: ocaml(Curses) = 8a3a4e370d428c96341a57ab8f402c79 ocaml(Keys) = 621710c6019c67767e55652a254e68bb ocaml-curses-devel = 1.0.4-3.oc9 ocaml-curses-devel(x86-64) = 1.0.4-3.oc9 ocamlx(Curses) = bc029f46832978510f66d3e4707ba705 ocamlx(Keys) = 1fda50d30f5587e031bfb02c5cff9768 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ocaml(CamlinternalFormatBasics) = c4b583a727ec28f5bc9ba36adc64cfc7 ocaml(Stdlib) = 2d082666be7fc2ba916e7233397491df ocaml(Stdlib__Bigarray) = 0658efab07b830634f1823572d2cce61 ocaml(Stdlib__Complex) = dc5b34d1ccde5a5d3b060f66f0bf3ab0 ocaml(Stdlib__Either) = 24a5d315a7028b5fabcaa9f6b3def93c ocaml(Stdlib__Hashtbl) = f8a1618a0afdf7b51a7efc58d3ada50b ocaml(Stdlib__List) = a655ec23bee4d972dcda1182a3264cf3 ocaml(Stdlib__Seq) = 4a64380180d45f6d850ce24ab1076b18 ocaml(Unix) = 49c6c492a189deeaed5bf77a6793e7fa ocamlx(Stdlib) = f8b8b4ee0b917ebd74ad56082a6500fe ocamlx(Stdlib__Hashtbl) = 04f772f8913c4d9f535a6c6c2d722fb4 ocamlx(Stdlib__List) = 21b8c13f8a244aae814f6acdfce31ac4 Processing files: ocaml-curses-debugsource-1.0.4-3.oc9.x86_64 Provides: ocaml-curses-debugsource = 1.0.4-3.oc9 ocaml-curses-debugsource(x86-64) = 1.0.4-3.oc9 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-3.oc9.x86_64 Provides: debuginfo(build-id) = 25b802b52091008a156afa4d46f588ef048f7584 ocaml-curses-debuginfo = 1.0.4-3.oc9 ocaml-curses-debuginfo(x86-64) = 1.0.4-3.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: ocaml-curses-debugsource(x86-64) = 1.0.4-3.oc9 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ocaml-curses-1.0.4-3.oc9.x86_64 Wrote: /builddir/build/RPMS/ocaml-curses-debugsource-1.0.4-3.oc9.x86_64.rpm Wrote: /builddir/build/RPMS/ocaml-curses-debuginfo-1.0.4-3.oc9.x86_64.rpm Wrote: /builddir/build/RPMS/ocaml-curses-devel-1.0.4-3.oc9.x86_64.rpm Wrote: /builddir/build/RPMS/ocaml-curses-1.0.4-3.oc9.x86_64.rpm Child return code was: 0