Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/ocaml-curses.spec'], chrootPath='/var/lib/mock/f33-build-136354-41873/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': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/ocaml-curses.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1582675200 Wrote: /builddir/build/SRPMS/ocaml-curses-1.0.4-12.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/ocaml-curses.spec'], chrootPath='/var/lib/mock/f33-build-136354-41873/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': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/ocaml-curses.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1582675200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.onolxJ + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ocaml-curses-1.0.4 + /usr/bin/tar -xof - + /usr/bin/gzip -dc /builddir/build/SOURCES/ocaml-curses-1.0.4.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd ocaml-curses-1.0.4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + autoreconf + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.AX37GG + umask 022 + cd /builddir/build/BUILD + cd ocaml-curses-1.0.4 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + '[' 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=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-widec configure: WARNING: unrecognized options: --disable-dependency-tracking checking for riscv64-redhat-linux-gnu-gcc... no checking for 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 riscv64-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 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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_CONFIG_H \ -DPIC \ -o ml_curses.o " ml_curses.c 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:73:37: warning: 'y' may be used uninitialized in this function [-Wmaybe-uninitialized] 73 | #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:73:37: warning: 'x' may be used uninitialized in this function [-Wmaybe-uninitialized] 73 | #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 -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 -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.6cRzBJ + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ocaml-curses-1.0.4-12.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ocaml-curses-1.0.4-12.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/ocaml-curses-1.0.4-12.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ocaml-curses-1.0.4-12.fc33.riscv64 + cd ocaml-curses-1.0.4 + export DESTDIR=/builddir/build/BUILDROOT/ocaml-curses-1.0.4-12.fc33.riscv64 + DESTDIR=/builddir/build/BUILDROOT/ocaml-curses-1.0.4-12.fc33.riscv64 + export OCAMLFIND_DESTDIR=/builddir/build/BUILDROOT/ocaml-curses-1.0.4-12.fc33.riscv64/usr/lib64/ocaml + OCAMLFIND_DESTDIR=/builddir/build/BUILDROOT/ocaml-curses-1.0.4-12.fc33.riscv64/usr/lib64/ocaml + mkdir -p /builddir/build/BUILDROOT/ocaml-curses-1.0.4-12.fc33.riscv64/usr/lib64/ocaml /builddir/build/BUILDROOT/ocaml-curses-1.0.4-12.fc33.riscv64/usr/lib64/ocaml/stublibs + ocamlfind install curses META curses.cmi keys.cmi curses.cmx keys.cmx curses.cma curses.cmxa curses.a libcurses_stubs.a dllcurses_stubs.so curses.mli Installed /builddir/build/BUILDROOT/ocaml-curses-1.0.4-12.fc33.riscv64/usr/lib64/ocaml/curses/curses.mli Installed /builddir/build/BUILDROOT/ocaml-curses-1.0.4-12.fc33.riscv64/usr/lib64/ocaml/curses/libcurses_stubs.a Installed /builddir/build/BUILDROOT/ocaml-curses-1.0.4-12.fc33.riscv64/usr/lib64/ocaml/curses/curses.a Installed /builddir/build/BUILDROOT/ocaml-curses-1.0.4-12.fc33.riscv64/usr/lib64/ocaml/curses/curses.cmxa Installed /builddir/build/BUILDROOT/ocaml-curses-1.0.4-12.fc33.riscv64/usr/lib64/ocaml/curses/curses.cma Installed /builddir/build/BUILDROOT/ocaml-curses-1.0.4-12.fc33.riscv64/usr/lib64/ocaml/curses/keys.cmx Installed /builddir/build/BUILDROOT/ocaml-curses-1.0.4-12.fc33.riscv64/usr/lib64/ocaml/curses/curses.cmx Installed /builddir/build/BUILDROOT/ocaml-curses-1.0.4-12.fc33.riscv64/usr/lib64/ocaml/curses/keys.cmi Installed /builddir/build/BUILDROOT/ocaml-curses-1.0.4-12.fc33.riscv64/usr/lib64/ocaml/curses/curses.cmi Installed /builddir/build/BUILDROOT/ocaml-curses-1.0.4-12.fc33.riscv64/usr/lib64/ocaml/stublibs/dllcurses_stubs.so Installed /builddir/build/BUILDROOT/ocaml-curses-1.0.4-12.fc33.riscv64/usr/lib64/ocaml/stublibs/dllcurses_stubs.so.owner ocamlfind: [WARNING] You have installed DLLs but the directory /builddir/build/BUILDROOT/ocaml-curses-1.0.4-12.fc33.riscv64/usr/lib64/ocaml/stublibs is not mentioned in ld.conf Installed /builddir/build/BUILDROOT/ocaml-curses-1.0.4-12.fc33.riscv64/usr/lib64/ocaml/curses/META + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.0.4-12.fc33 --unique-debug-suffix -1.0.4-12.fc33.riscv64 --unique-debug-src-base ocaml-curses-1.0.4-12.fc33.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/ocaml-curses-1.0.4 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/ocaml-curses-1.0.4-12.fc33.riscv64/usr/lib64/ocaml/stublibs/dllcurses_stubs.so extracting debug info from /builddir/build/BUILDROOT/ocaml-curses-1.0.4-12.fc33.riscv64/usr/lib64/ocaml/stublibs/dllcurses_stubs.so original debug info size: 300kB, size after compression: 292kB /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 /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: ocaml-curses-1.0.4-12.fc33.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.v3JpxG + umask 022 + cd /builddir/build/BUILD + cd ocaml-curses-1.0.4 + DOCDIR=/builddir/build/BUILDROOT/ocaml-curses-1.0.4-12.fc33.riscv64/usr/share/doc/ocaml-curses + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ocaml-curses-1.0.4-12.fc33.riscv64/usr/share/doc/ocaml-curses + cp -pr COPYING /builddir/build/BUILDROOT/ocaml-curses-1.0.4-12.fc33.riscv64/usr/share/doc/ocaml-curses + RPM_EC=0 ++ jobs -p + exit 0 Provides: ocaml(Curses) = a69a69b7caff708c6f903da7e5fe1095 ocaml(Keys) = a58e3dba3ff3b2d288a168749f155649 ocaml-curses = 1.0.4-12.fc33 ocaml-curses(riscv-64) = 1.0.4-12.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libncursesw.so.6()(64bit) libtinfo.so.6()(64bit) ocaml(CamlinternalFormatBasics) = 96d16aae6255eb02a788ee96a8adb816 ocaml(Stdlib) = 4d1e23b7e21beafc7e35ae8d03175363 ocaml(Stdlib__bigarray) = 05907fc209481be80b21790fae4c6564 ocaml(Stdlib__complex) = c8ad444e037b6368d875b65a282f43df ocaml(Stdlib__hashtbl) = b794b186a6191285f001cf280b91ef64 ocaml(Stdlib__list) = 8e6fa4ee6fcb775ae0fe9bba7ec058dc ocaml(Stdlib__seq) = 22b526b221509ae244d8671d8e17a697 ocaml(Unix) = 75745d85df17608013d29430b5962f53 ocaml(runtime) = 4.09.0 rtld(GNU_HASH) Processing files: ocaml-curses-devel-1.0.4-12.fc33.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.PJ3ErH + umask 022 + cd /builddir/build/BUILD + cd ocaml-curses-1.0.4 + DOCDIR=/builddir/build/BUILDROOT/ocaml-curses-1.0.4-12.fc33.riscv64/usr/share/doc/ocaml-curses-devel + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ocaml-curses-1.0.4-12.fc33.riscv64/usr/share/doc/ocaml-curses-devel + cp -pr COPYING /builddir/build/BUILDROOT/ocaml-curses-1.0.4-12.fc33.riscv64/usr/share/doc/ocaml-curses-devel + RPM_EC=0 ++ jobs -p + exit 0 Provides: ocaml-curses-devel = 1.0.4-12.fc33 ocaml-curses-devel(riscv-64) = 1.0.4-12.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: ocaml-curses-debugsource-1.0.4-12.fc33.riscv64 Provides: ocaml-curses-debugsource = 1.0.4-12.fc33 ocaml-curses-debugsource(riscv-64) = 1.0.4-12.fc33 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-12.fc33.riscv64 Provides: debuginfo(build-id) = 22bc55c7efe29c4505f86ca5d2dbc38eb8d46509 ocaml-curses-debuginfo = 1.0.4-12.fc33 ocaml-curses-debuginfo(riscv-64) = 1.0.4-12.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: ocaml-curses-debugsource(riscv-64) = 1.0.4-12.fc33 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ocaml-curses-1.0.4-12.fc33.riscv64 Wrote: /builddir/build/RPMS/ocaml-curses-debugsource-1.0.4-12.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/ocaml-curses-1.0.4-12.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/ocaml-curses-debuginfo-1.0.4-12.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/ocaml-curses-devel-1.0.4-12.fc33.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.sWeZ4H + umask 022 + cd /builddir/build/BUILD + cd ocaml-curses-1.0.4 + /usr/bin/rm -rf /builddir/build/BUILDROOT/ocaml-curses-1.0.4-12.fc33.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0