Mock Version: 1.4.14 Mock Version: 1.4.14 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/ocaml-curses.spec'], chrootPath='/var/lib/mock/f31-build-85107-31576/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=345600uid=986gid=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=1564531200 Wrote: /builddir/build/SRPMS/ocaml-curses-1.0.4-6.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/ocaml-curses.spec'], chrootPath='/var/lib/mock/f31-build-85107-31576/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=345600uid=986gid=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=1564531200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.IHqqQW + 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 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.qxXZhV + 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 + '[' 1 = 1 ']' BUILDSTDERR: +++ dirname ./configure BUILDSTDERR: ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' BUILDSTDERR: ++ find . -name ltmain.sh + ./configure --build=riscv64-koji-linux-gnu --host=riscv64-koji-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 BUILDSTDERR: configure: WARNING: unrecognized options: --disable-dependency-tracking BUILDSTDERR: configure: WARNING: unrecognized options: --disable-dependency-tracking + make all BUILDSTDERR: functions.c: In function 'mlcurses_unctrl': BUILDSTDERR: functions.c:596:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 596 | ML1(unctrl,string,chtype) BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ml_curses.c:77:15: note: in definition of macro 'r_string' BUILDSTDERR: 77 | { char *ret=f; \ BUILDSTDERR: | ^ BUILDSTDERR: functions.c:596:1: note: in expansion of macro 'ML1' BUILDSTDERR: 596 | ML1(unctrl,string,chtype) BUILDSTDERR: | ^~~ BUILDSTDERR: functions.c: In function 'mlcurses_keyname': BUILDSTDERR: functions.c:597:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 597 | ML1(keyname,string,int) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ml_curses.c:77:15: note: in definition of macro 'r_string' BUILDSTDERR: 77 | { char *ret=f; \ BUILDSTDERR: | ^ BUILDSTDERR: functions.c:597:1: note: in expansion of macro 'ML1' BUILDSTDERR: 597 | ML1(keyname,string,int) BUILDSTDERR: | ^~~ BUILDSTDERR: In file included from ml_curses.c:216: BUILDSTDERR: functions.c: In function 'mlcurses_getsyx': BUILDSTDERR: functions.c:386:12: warning: 'y' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 386 | BEG0 int x,y; getsyx(y,x); r_int_int(y,x); END BUILDSTDERR: | ^ BUILDSTDERR: functions.c:386:10: warning: 'x' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 386 | BEG0 int x,y; getsyx(y,x); r_int_int(y,x); END BUILDSTDERR: | ^ + make opt + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 checking for riscv64-koji-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-koji-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 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 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[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 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.oqgYCW + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ocaml-curses-1.0.4-6.fc31.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ocaml-curses-1.0.4-6.fc31.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/ocaml-curses-1.0.4-6.fc31.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ocaml-curses-1.0.4-6.fc31.riscv64 + cd ocaml-curses-1.0.4 + export DESTDIR=/builddir/build/BUILDROOT/ocaml-curses-1.0.4-6.fc31.riscv64 + DESTDIR=/builddir/build/BUILDROOT/ocaml-curses-1.0.4-6.fc31.riscv64 + export OCAMLFIND_DESTDIR=/builddir/build/BUILDROOT/ocaml-curses-1.0.4-6.fc31.riscv64/usr/lib64/ocaml + OCAMLFIND_DESTDIR=/builddir/build/BUILDROOT/ocaml-curses-1.0.4-6.fc31.riscv64/usr/lib64/ocaml + mkdir -p /builddir/build/BUILDROOT/ocaml-curses-1.0.4-6.fc31.riscv64/usr/lib64/ocaml /builddir/build/BUILDROOT/ocaml-curses-1.0.4-6.fc31.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 BUILDSTDERR: Installed /builddir/build/BUILDROOT/ocaml-curses-1.0.4-6.fc31.riscv64/usr/lib64/ocaml/curses/curses.mli BUILDSTDERR: Installed /builddir/build/BUILDROOT/ocaml-curses-1.0.4-6.fc31.riscv64/usr/lib64/ocaml/curses/libcurses_stubs.a BUILDSTDERR: Installed /builddir/build/BUILDROOT/ocaml-curses-1.0.4-6.fc31.riscv64/usr/lib64/ocaml/curses/curses.a BUILDSTDERR: Installed /builddir/build/BUILDROOT/ocaml-curses-1.0.4-6.fc31.riscv64/usr/lib64/ocaml/curses/curses.cmxa BUILDSTDERR: Installed /builddir/build/BUILDROOT/ocaml-curses-1.0.4-6.fc31.riscv64/usr/lib64/ocaml/curses/curses.cma BUILDSTDERR: Installed /builddir/build/BUILDROOT/ocaml-curses-1.0.4-6.fc31.riscv64/usr/lib64/ocaml/curses/keys.cmx BUILDSTDERR: Installed /builddir/build/BUILDROOT/ocaml-curses-1.0.4-6.fc31.riscv64/usr/lib64/ocaml/curses/curses.cmx BUILDSTDERR: Installed /builddir/build/BUILDROOT/ocaml-curses-1.0.4-6.fc31.riscv64/usr/lib64/ocaml/curses/keys.cmi BUILDSTDERR: Installed /builddir/build/BUILDROOT/ocaml-curses-1.0.4-6.fc31.riscv64/usr/lib64/ocaml/curses/curses.cmi BUILDSTDERR: Installed /builddir/build/BUILDROOT/ocaml-curses-1.0.4-6.fc31.riscv64/usr/lib64/ocaml/stublibs/dllcurses_stubs.so BUILDSTDERR: Installed /builddir/build/BUILDROOT/ocaml-curses-1.0.4-6.fc31.riscv64/usr/lib64/ocaml/stublibs/dllcurses_stubs.so.owner BUILDSTDERR: ocamlfind: [WARNING] You have installed DLLs but the directory /builddir/build/BUILDROOT/ocaml-curses-1.0.4-6.fc31.riscv64/usr/lib64/ocaml/stublibs is not mentioned in ld.conf BUILDSTDERR: Installed /builddir/build/BUILDROOT/ocaml-curses-1.0.4-6.fc31.riscv64/usr/lib64/ocaml/curses/META + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.0.4-6.fc31 --unique-debug-suffix -1.0.4-6.fc31.riscv64 --unique-debug-src-base ocaml-curses-1.0.4-6.fc31.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 BUILDSTDERR: 55 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /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 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/ocaml-curses-1.0.4-6.fc31.riscv64/usr/lib64/ocaml/stublibs/dllcurses_stubs.so extracting debug info from /builddir/build/BUILDROOT/ocaml-curses-1.0.4-6.fc31.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. Processing files: ocaml-curses-1.0.4-6.fc31.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.Dir4GT + umask 022 + cd /builddir/build/BUILD + cd ocaml-curses-1.0.4 + DOCDIR=/builddir/build/BUILDROOT/ocaml-curses-1.0.4-6.fc31.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-6.fc31.riscv64/usr/share/doc/ocaml-curses + cp -pr COPYING /builddir/build/BUILDROOT/ocaml-curses-1.0.4-6.fc31.riscv64/usr/share/doc/ocaml-curses + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Provides: ocaml(Curses) = 7784683fecd32496e0b7ee0be9430782 ocaml(Keys) = c119e09805888dd82abe381f161f4ad4 ocaml-curses = 1.0.4-6.fc31 ocaml-curses(riscv-64) = 1.0.4-6.fc31 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(CamlinternalBigarray) = 4ff98b0650eef9c38ee9c9930e0c3e9b ocaml(CamlinternalFormatBasics) = 79ae8c0eb753af6b441fe05456c7970b ocaml(Complex) = cd4856c93f21942683ce190142e88396 ocaml(Hashtbl) = 0a88e320f172d3413ba0d5e0f9c70ccd ocaml(List) = 7a6b1f92720df765cf38d67f920844fe ocaml(Pervasives) = 9b04ecdc97e5102c1d342892ef7ad9a2 ocaml(Unix) = 053326e853ce10e1fadf8d891f08f891 ocaml(runtime) = 4.06.0 rtld(GNU_HASH) Processing files: ocaml-curses-devel-1.0.4-6.fc31.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.LH51MW + umask 022 + cd /builddir/build/BUILD + cd ocaml-curses-1.0.4 + DOCDIR=/builddir/build/BUILDROOT/ocaml-curses-1.0.4-6.fc31.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-6.fc31.riscv64/usr/share/doc/ocaml-curses-devel + cp -pr COPYING /builddir/build/BUILDROOT/ocaml-curses-1.0.4-6.fc31.riscv64/usr/share/doc/ocaml-curses-devel + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Provides: ocaml-curses-devel = 1.0.4-6.fc31 ocaml-curses-devel(riscv-64) = 1.0.4-6.fc31 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-6.fc31.riscv64 Provides: ocaml-curses-debugsource = 1.0.4-6.fc31 ocaml-curses-debugsource(riscv-64) = 1.0.4-6.fc31 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-6.fc31.riscv64 Provides: debuginfo(build-id) = 90befc306ef2c3f55fd2ff7d367fd3b25d32f4a0 ocaml-curses-debuginfo = 1.0.4-6.fc31 ocaml-curses-debuginfo(riscv-64) = 1.0.4-6.fc31 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-6.fc31 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ocaml-curses-1.0.4-6.fc31.riscv64 Wrote: /builddir/build/RPMS/ocaml-curses-debugsource-1.0.4-6.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/ocaml-curses-1.0.4-6.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/ocaml-curses-debuginfo-1.0.4-6.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/ocaml-curses-devel-1.0.4-6.fc31.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.fy99IT + umask 022 + cd /builddir/build/BUILD + cd ocaml-curses-1.0.4 + /usr/bin/rm -rf /builddir/build/BUILDROOT/ocaml-curses-1.0.4-6.fc31.riscv64 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Child return code was: 0