Mock Version: 2.16
ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target s390x --nodeps /builddir/build/SPECS/ocaml-curses.spec'], chrootPath='/var/lib/mock/rocky-9-s390x/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x3ffaed4cf60>timeout=0uid=1004gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False)
Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target s390x --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;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False
Building target platforms: s390x
Building for target s390x
setting SOURCE_DATE_EPOCH=1628467200
Wrote: /builddir/build/SRPMS/ocaml-curses-1.0.4-23.el9.src.rpm
Child return code was: 0
ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target s390x --nodeps /builddir/build/SPECS/ocaml-curses.spec'], chrootPath='/var/lib/mock/rocky-9-s390x/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x3ffaed4cf60>timeout=0uid=1004gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False)
Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target s390x --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;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False
Building target platforms: s390x
Building for target s390x
setting SOURCE_DATE_EPOCH=1628467200
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.gGtT1x
+ 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 .
+ autoreconf
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.f7y8sy
+ umask 022
+ cd /builddir/build/BUILD
+ cd ocaml-curses-1.0.4
+ 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules'
+ export FCFLAGS
+ 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 '
+ 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	2022-04-15 12:52:47.022870818 -0400
+++ ./configure	2022-04-15 12:52:47.122870818 -0400
@@ -1717,7 +1717,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
+ ./configure --build=s390x-redhat-linux-gnu --host=s390x-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 --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-widec
configure: WARNING: unrecognized options: --disable-dependency-tracking
checking for s390x-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 we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc and cc understand -c and -o together... yes
checking for s390x-redhat-linux-gnu-ranlib... no
checking for ranlib... ranlib
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking windows.h usability... no
checking windows.h presence... no
checking for windows.h... no
checking for working ncurses library... found in -lncursesw
checking for term.h... found in <term.h>
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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-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:265:24: warning: passing argument 2 of 'wgetnstr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  265 | #define String_val(x) ((const char *) Bp_val(x))
      |                       ~^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/lib64/ocaml/caml/memory.h:476:29: note: in definition of macro 'CAMLreturnT'
  476 |   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:362:21: note: in expansion of macro 'Val_int'
  362 | #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:818:47: note: expected 'char *' but argument is of type 'const char *'
  818 | extern NCURSES_EXPORT(int) wgetnstr (WINDOW *,char *,int);              /* implemented */
      |                                               ^~~~~~
In file included from ml_curses.c:7:
functions.c: In function 'mlcurses_wgetstr':
/usr/lib64/ocaml/caml/mlvalues.h:265:24: warning: passing argument 2 of 'wgetnstr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  265 | #define String_val(x) ((const char *) Bp_val(x))
      |                       ~^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/lib64/ocaml/caml/memory.h:476:29: note: in definition of macro 'CAMLreturnT'
  476 |   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:362:21: note: in expansion of macro 'Val_int'
  362 | #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
      |                                  ^~~~~~~~
In file included from ml_curses.c:22:
/usr/include/curses.h:818:47: note: expected 'char *' but argument is of type 'const char *'
  818 | extern NCURSES_EXPORT(int) wgetnstr (WINDOW *,char *,int);              /* implemented */
      |                                               ^~~~~~
In file included from ml_curses.c:7:
functions.c: In function 'mlcurses_mvgetstr':
/usr/lib64/ocaml/caml/mlvalues.h:265:24: warning: passing argument 2 of 'wgetnstr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  265 | #define String_val(x) ((const char *) Bp_val(x))
/usr/lib64/ocaml/caml/memory.h:476:29: note: in definition of macro 'CAMLreturnT'
  476 |   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:362:21: note: in expansion of macro 'Val_int'
  362 | #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
      |                                          ^~~~~~~~
In file included from ml_curses.c:22:
/usr/include/curses.h:818:47: note: expected 'char *' but argument is of type 'const char *'
  818 | extern NCURSES_EXPORT(int) wgetnstr (WINDOW *,char *,int);              /* implemented */
      |                                               ^~~~~~
In file included from ml_curses.c:7:
functions.c: In function 'mlcurses_mvwgetstr':
/usr/lib64/ocaml/caml/mlvalues.h:265:24: warning: passing argument 2 of 'wgetnstr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  265 | #define String_val(x) ((const char *) Bp_val(x))
/usr/lib64/ocaml/caml/memory.h:476:29: note: in definition of macro 'CAMLreturnT'
  476 |   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:362:21: note: in expansion of macro 'Val_int'
  362 | #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),
      |                                                        ^~~~~~~~
In file included from ml_curses.c:22:
/usr/include/curses.h:818:47: note: expected 'char *' but argument is of type 'const char *'
  818 | extern NCURSES_EXPORT(int) wgetnstr (WINDOW *,char *,int);              /* implemented */
      |                                               ^~~~~~
In file included from ml_curses.c:7:
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:476:29: note: in definition of macro 'CAMLreturnT'
  476 |   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:362:21: note: in expansion of macro 'Val_int'
  362 | #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
      |      ^~~~~
In file included from ml_curses.c:22:
/usr/include/curses.h:818:47: note: expected 'char *' but argument is of type 'const char *'
  818 | extern NCURSES_EXPORT(int) wgetnstr (WINDOW *,char *,int);              /* implemented */
      |                                               ^~~~~~
In file included from ml_curses.c:7:
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:476:29: note: in definition of macro 'CAMLreturnT'
  476 |   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:362:21: note: in expansion of macro 'Val_int'
  362 | #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
      |      ^~~~~
In file included from ml_curses.c:22:
/usr/include/curses.h:818:47: note: expected 'char *' but argument is of type 'const char *'
  818 | extern NCURSES_EXPORT(int) wgetnstr (WINDOW *,char *,int);              /* implemented */
      |                                               ^~~~~~
In file included from ml_curses.c:7:
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:476:29: note: in definition of macro 'CAMLreturnT'
  476 |   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:362:21: note: in expansion of macro 'Val_int'
  362 | #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),
      |      ^~~~~
In file included from ml_curses.c:22:
/usr/include/curses.h:818:47: note: expected 'char *' but argument is of type 'const char *'
  818 | extern NCURSES_EXPORT(int) wgetnstr (WINDOW *,char *,int);              /* implemented */
      |                                               ^~~~~~
In file included from ml_curses.c:7:
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:476:29: note: in definition of macro 'CAMLreturnT'
  476 |   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:362:21: note: in expansion of macro 'Val_int'
  362 | #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),
      |      ^~~~~
In file included from ml_curses.c:22:
/usr/include/curses.h:818:47: note: expected 'char *' but argument is of type 'const char *'
  818 | extern NCURSES_EXPORT(int) wgetnstr (WINDOW *,char *,int);              /* implemented */
      |                                               ^~~~~~
In file included from ml_curses.c:7:
functions.c: In function 'mlcurses_instr':
/usr/lib64/ocaml/caml/mlvalues.h:265:24: warning: passing argument 2 of 'winnstr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  265 | #define String_val(x) ((const char *) Bp_val(x))
/usr/lib64/ocaml/caml/memory.h:476:29: note: in definition of macro 'CAMLreturnT'
  476 |   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:362:21: note: in expansion of macro 'Val_int'
  362 | #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
      |                   ^~~~~~~~
In file included from ml_curses.c:22:
/usr/include/curses.h:824:47: note: expected 'char *' but argument is of type 'const char *'
  824 | extern NCURSES_EXPORT(int) winnstr (WINDOW *, char *, int);             /* implemented */
      |                                               ^~~~~~
In file included from ml_curses.c:7:
functions.c: In function 'mlcurses_winstr':
/usr/lib64/ocaml/caml/mlvalues.h:265:24: warning: passing argument 2 of 'winnstr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  265 | #define String_val(x) ((const char *) Bp_val(x))
      |                       ~^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/lib64/ocaml/caml/memory.h:476:29: note: in definition of macro 'CAMLreturnT'
  476 |   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:362:21: note: in expansion of macro 'Val_int'
  362 | #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
      |                                 ^~~~~~~~
In file included from ml_curses.c:22:
/usr/include/curses.h:824:47: note: expected 'char *' but argument is of type 'const char *'
  824 | extern NCURSES_EXPORT(int) winnstr (WINDOW *, char *, int);             /* implemented */
      |                                               ^~~~~~
In file included from ml_curses.c:7:
functions.c: In function 'mlcurses_mvinstr':
/usr/lib64/ocaml/caml/mlvalues.h:265:24: warning: passing argument 2 of 'winnstr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  265 | #define String_val(x) ((const char *) Bp_val(x))
/usr/lib64/ocaml/caml/memory.h:476:29: note: in definition of macro 'CAMLreturnT'
  476 |   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:362:21: note: in expansion of macro 'Val_int'
  362 | #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
      |                                         ^~~~~~~~
In file included from ml_curses.c:22:
/usr/include/curses.h:824:47: note: expected 'char *' but argument is of type 'const char *'
  824 | extern NCURSES_EXPORT(int) winnstr (WINDOW *, char *, int);             /* implemented */
      |                                               ^~~~~~
In file included from ml_curses.c:7:
functions.c: In function 'mlcurses_mvwinstr':
/usr/lib64/ocaml/caml/mlvalues.h:265:24: warning: passing argument 2 of 'winnstr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  265 | #define String_val(x) ((const char *) Bp_val(x))
/usr/lib64/ocaml/caml/memory.h:476:29: note: in definition of macro 'CAMLreturnT'
  476 |   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:362:21: note: in expansion of macro 'Val_int'
  362 | #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
      |   ^~~~~~~~
In file included from ml_curses.c:22:
/usr/include/curses.h:824:47: note: expected 'char *' but argument is of type 'const char *'
  824 | extern NCURSES_EXPORT(int) winnstr (WINDOW *, char *, int);             /* implemented */
      |                                               ^~~~~~
In file included from ml_curses.c:7:
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:476:29: note: in definition of macro 'CAMLreturnT'
  476 |   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:362:21: note: in expansion of macro 'Val_int'
  362 | #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
      |      ^~~~~
In file included from ml_curses.c:22:
/usr/include/curses.h:824:47: note: expected 'char *' but argument is of type 'const char *'
  824 | extern NCURSES_EXPORT(int) winnstr (WINDOW *, char *, int);             /* implemented */
      |                                               ^~~~~~
In file included from ml_curses.c:7:
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:476:29: note: in definition of macro 'CAMLreturnT'
  476 |   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:362:21: note: in expansion of macro 'Val_int'
  362 | #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
      |      ^~~~~
In file included from ml_curses.c:22:
/usr/include/curses.h:824:47: note: expected 'char *' but argument is of type 'const char *'
  824 | extern NCURSES_EXPORT(int) winnstr (WINDOW *, char *, int);             /* implemented */
      |                                               ^~~~~~
In file included from ml_curses.c:7:
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:476:29: note: in definition of macro 'CAMLreturnT'
  476 |   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:362:21: note: in expansion of macro 'Val_int'
  362 | #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
      |      ^~~~~
In file included from ml_curses.c:22:
/usr/include/curses.h:824:47: note: expected 'char *' but argument is of type 'const char *'
  824 | extern NCURSES_EXPORT(int) winnstr (WINDOW *, char *, int);             /* implemented */
      |                                               ^~~~~~
In file included from ml_curses.c:7:
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:476:29: note: in definition of macro 'CAMLreturnT'
  476 |   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:362:21: note: in expansion of macro 'Val_int'
  362 | #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),
      |      ^~~~~
In file included from ml_curses.c:22:
/usr/include/curses.h:824:47: note: expected 'char *' but argument is of type 'const char *'
  824 | 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:
functions.c: In function 'mlcurses_getsyx':
/usr/lib64/ocaml/caml/mlvalues.h:75:37: warning: 'y' may be used uninitialized [-Wmaybe-uninitialized]
   75 | #define Val_long(x)     ((intnat) (((uintnat)(x) << 1)) + 1)
      |                                     ^
In file included from ml_curses.c:216:
functions.c:386:12: note: 'y' was declared here
  386 | BEG0 int x,y; getsyx(y,x); r_int_int(y,x); END
      |            ^
In file included from ml_curses.c:5:
/usr/lib64/ocaml/caml/mlvalues.h:75:37: warning: 'x' may be used uninitialized [-Wmaybe-uninitialized]
   75 | #define Val_long(x)     ((intnat) (((uintnat)(x) << 1)) + 1)
      |                                     ^
In file included from ml_curses.c:216:
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      -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     -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.GxJw5C
+ umask 022
+ cd /builddir/build/BUILD
+ '[' /builddir/build/BUILDROOT/ocaml-curses-1.0.4-23.el9.s390x '!=' / ']'
+ rm -rf /builddir/build/BUILDROOT/ocaml-curses-1.0.4-23.el9.s390x
++ dirname /builddir/build/BUILDROOT/ocaml-curses-1.0.4-23.el9.s390x
+ mkdir -p /builddir/build/BUILDROOT
+ mkdir /builddir/build/BUILDROOT/ocaml-curses-1.0.4-23.el9.s390x
+ cd ocaml-curses-1.0.4
+ export DESTDIR=/builddir/build/BUILDROOT/ocaml-curses-1.0.4-23.el9.s390x
+ DESTDIR=/builddir/build/BUILDROOT/ocaml-curses-1.0.4-23.el9.s390x
+ export OCAMLFIND_DESTDIR=/builddir/build/BUILDROOT/ocaml-curses-1.0.4-23.el9.s390x/usr/lib64/ocaml
+ OCAMLFIND_DESTDIR=/builddir/build/BUILDROOT/ocaml-curses-1.0.4-23.el9.s390x/usr/lib64/ocaml
+ mkdir -p /builddir/build/BUILDROOT/ocaml-curses-1.0.4-23.el9.s390x/usr/lib64/ocaml /builddir/build/BUILDROOT/ocaml-curses-1.0.4-23.el9.s390x/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-23.el9.s390x/usr/lib64/ocaml/curses/curses.mli
Installed /builddir/build/BUILDROOT/ocaml-curses-1.0.4-23.el9.s390x/usr/lib64/ocaml/curses/libcurses_stubs.a
Installed /builddir/build/BUILDROOT/ocaml-curses-1.0.4-23.el9.s390x/usr/lib64/ocaml/curses/curses.a
Installed /builddir/build/BUILDROOT/ocaml-curses-1.0.4-23.el9.s390x/usr/lib64/ocaml/curses/curses.cmxa
Installed /builddir/build/BUILDROOT/ocaml-curses-1.0.4-23.el9.s390x/usr/lib64/ocaml/curses/curses.cma
Installed /builddir/build/BUILDROOT/ocaml-curses-1.0.4-23.el9.s390x/usr/lib64/ocaml/curses/keys.cmx
Installed /builddir/build/BUILDROOT/ocaml-curses-1.0.4-23.el9.s390x/usr/lib64/ocaml/curses/curses.cmx
Installed /builddir/build/BUILDROOT/ocaml-curses-1.0.4-23.el9.s390x/usr/lib64/ocaml/curses/keys.cmi
Installed /builddir/build/BUILDROOT/ocaml-curses-1.0.4-23.el9.s390x/usr/lib64/ocaml/curses/curses.cmi
Installed /builddir/build/BUILDROOT/ocaml-curses-1.0.4-23.el9.s390x/usr/lib64/ocaml/stublibs/dllcurses_stubs.so
Installed /builddir/build/BUILDROOT/ocaml-curses-1.0.4-23.el9.s390x/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-23.el9.s390x/usr/lib64/ocaml/stublibs is not mentioned in ld.conf
Installed /builddir/build/BUILDROOT/ocaml-curses-1.0.4-23.el9.s390x/usr/lib64/ocaml/curses/META
+ /usr/lib/rpm/find-debuginfo.sh -j10 --strict-build-id -m -i --build-id-seed 1.0.4-23.el9 --unique-debug-suffix -1.0.4-23.el9.s390x --unique-debug-src-base ocaml-curses-1.0.4-23.el9.s390x --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/ocaml-curses-1.0.4
explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/ocaml-curses-1.0.4-23.el9.s390x/usr/lib64/ocaml/stublibs/dllcurses_stubs.so
extracting debug info from /builddir/build/BUILDROOT/ocaml-curses-1.0.4-23.el9.s390x/usr/lib64/ocaml/stublibs/dllcurses_stubs.so
original debug info size: 236kB, size after compression: 224kB
/usr/lib/rpm/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/redhat/brp-python-bytecompile '' 1 0
+ /usr/lib/rpm/brp-python-hardlink
+ /usr/lib/rpm/redhat/brp-mangle-shebangs
Processing files: ocaml-curses-1.0.4-23.el9.s390x
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.Zvahlk
+ umask 022
+ cd /builddir/build/BUILD
+ cd ocaml-curses-1.0.4
+ DOCDIR=/builddir/build/BUILDROOT/ocaml-curses-1.0.4-23.el9.s390x/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-23.el9.s390x/usr/share/doc/ocaml-curses
+ cp -pr COPYING /builddir/build/BUILDROOT/ocaml-curses-1.0.4-23.el9.s390x/usr/share/doc/ocaml-curses
+ RPM_EC=0
++ jobs -p
+ exit 0
Provides: ocaml(Curses) = 1b631eeb6b0a72c3938b33fcb6901a9c ocaml(Keys) = 3a6a39cd1f9ef65d5c6bb5ad56083d69 ocaml-curses = 1.0.4-23.el9 ocaml-curses(s390-64) = 1.0.4-23.el9
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)(64bit) libc.so.6(GLIBC_2.4)(64bit) libncursesw.so.6()(64bit) libtinfo.so.6()(64bit) ocaml(CamlinternalFormatBasics) = 3a3ca1838627f7762f49679ce0278ad1 ocaml(Stdlib) = c21c5d26416461b543321872a551ea0d ocaml(Stdlib__bigarray) = 8f51e488a7f2bd0c6137bb9ba75b530e ocaml(Stdlib__complex) = 2221dce26021209ffd747f2125bf7f10 ocaml(Stdlib__hashtbl) = b762db4e3b71657dfcfd14539af9611a ocaml(Stdlib__list) = 15cef02558cc6576c616c84f09d5b0ea ocaml(Stdlib__seq) = d6a8de25c9eecf5ae9420a9f3f8b2e88 ocaml(Unix) = e6d191b089c68976347fa6524bb28048 rtld(GNU_HASH)
Processing files: ocaml-curses-devel-1.0.4-23.el9.s390x
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.dsnn94
+ umask 022
+ cd /builddir/build/BUILD
+ cd ocaml-curses-1.0.4
+ DOCDIR=/builddir/build/BUILDROOT/ocaml-curses-1.0.4-23.el9.s390x/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-23.el9.s390x/usr/share/doc/ocaml-curses-devel
+ cp -pr COPYING /builddir/build/BUILDROOT/ocaml-curses-1.0.4-23.el9.s390x/usr/share/doc/ocaml-curses-devel
+ RPM_EC=0
++ jobs -p
+ exit 0
Provides: ocaml(Curses) = 1b631eeb6b0a72c3938b33fcb6901a9c ocaml(Keys) = 3a6a39cd1f9ef65d5c6bb5ad56083d69 ocaml-curses-devel = 1.0.4-23.el9 ocaml-curses-devel(s390-64) = 1.0.4-23.el9 ocamlx(Curses) = 261d18e28ec1c8d8db575fe3609f9fee ocamlx(Keys) = be1ac1228da35caafe134bc4294b9120
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: ocaml(CamlinternalFormatBasics) = 3a3ca1838627f7762f49679ce0278ad1 ocaml(Stdlib) = c21c5d26416461b543321872a551ea0d ocaml(Stdlib__bigarray) = 8f51e488a7f2bd0c6137bb9ba75b530e ocaml(Stdlib__complex) = 2221dce26021209ffd747f2125bf7f10 ocaml(Stdlib__hashtbl) = b762db4e3b71657dfcfd14539af9611a ocaml(Stdlib__list) = 15cef02558cc6576c616c84f09d5b0ea ocaml(Stdlib__seq) = d6a8de25c9eecf5ae9420a9f3f8b2e88 ocaml(Unix) = e6d191b089c68976347fa6524bb28048 ocamlx(Stdlib) = 5b1118fc938423037933e63643e9f671 ocamlx(Stdlib__hashtbl) = 519d30b3ae6a668dd4e8be3c8388eb6c ocamlx(Stdlib__list) = 616c01a522cf78b2637efb3a5984d62d
Processing files: ocaml-curses-debugsource-1.0.4-23.el9.s390x
Provides: ocaml-curses-debugsource = 1.0.4-23.el9 ocaml-curses-debugsource(s390-64) = 1.0.4-23.el9
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-23.el9.s390x
Provides: debuginfo(build-id) = 51d10336b29480c73c65ac750d488cce7eb79090 ocaml-curses-debuginfo = 1.0.4-23.el9 ocaml-curses-debuginfo(s390-64) = 1.0.4-23.el9
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Recommends: ocaml-curses-debugsource(s390-64) = 1.0.4-23.el9
Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ocaml-curses-1.0.4-23.el9.s390x
Wrote: /builddir/build/RPMS/ocaml-curses-debugsource-1.0.4-23.el9.s390x.rpm
Wrote: /builddir/build/RPMS/ocaml-curses-debuginfo-1.0.4-23.el9.s390x.rpm
Wrote: /builddir/build/RPMS/ocaml-curses-1.0.4-23.el9.s390x.rpm
Wrote: /builddir/build/RPMS/ocaml-curses-devel-1.0.4-23.el9.s390x.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.YAfZiw
+ umask 022
+ cd /builddir/build/BUILD
+ cd ocaml-curses-1.0.4
+ /usr/bin/rm -rf /builddir/build/BUILDROOT/ocaml-curses-1.0.4-23.el9.s390x
+ RPM_EC=0
++ jobs -p
+ exit 0
Child return code was: 0