Mock Version: 1.4.13 Mock Version: 1.4.13 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/ocaml-curses.spec'], chrootPath='/var/lib/mock/f30-build-37421-21447/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=996gid=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 Wrote: /builddir/build/SRPMS/ocaml-curses-1.0.4-1.fc30.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/f30-build-37421-21447/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=996gid=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 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.jdR9gv + 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 + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.HTuTIz + 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 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 BUILDSTDERR: 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 BUILDSTDERR: functions.c: In function 'mlcurses_unctrl': BUILDSTDERR: functions.c:596:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: ML1(unctrl,string,chtype) BUILDSTDERR: ^~~~~~ BUILDSTDERR: ml_curses.c:77:15: note: in definition of macro 'r_string' BUILDSTDERR: { char *ret=f; \ BUILDSTDERR: ^ BUILDSTDERR: functions.c:596:1: note: in expansion of macro 'ML1' BUILDSTDERR: 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: ML1(keyname,string,int) BUILDSTDERR: ^~~~~~~ BUILDSTDERR: ml_curses.c:77:15: note: in definition of macro 'r_string' BUILDSTDERR: { char *ret=f; \ BUILDSTDERR: ^ BUILDSTDERR: functions.c:597:1: note: in expansion of macro 'ML1' BUILDSTDERR: 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: 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: BEG0 int x,y; getsyx(y,x); r_int_int(y,x); END BUILDSTDERR: ^ 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 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.TlVxhn + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ocaml-curses-1.0.4-1.fc30.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ocaml-curses-1.0.4-1.fc30.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/ocaml-curses-1.0.4-1.fc30.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ocaml-curses-1.0.4-1.fc30.riscv64 + cd ocaml-curses-1.0.4 + export DESTDIR=/builddir/build/BUILDROOT/ocaml-curses-1.0.4-1.fc30.riscv64 + DESTDIR=/builddir/build/BUILDROOT/ocaml-curses-1.0.4-1.fc30.riscv64 + export OCAMLFIND_DESTDIR=/builddir/build/BUILDROOT/ocaml-curses-1.0.4-1.fc30.riscv64/usr/lib64/ocaml + OCAMLFIND_DESTDIR=/builddir/build/BUILDROOT/ocaml-curses-1.0.4-1.fc30.riscv64/usr/lib64/ocaml + mkdir -p /builddir/build/BUILDROOT/ocaml-curses-1.0.4-1.fc30.riscv64/usr/lib64/ocaml /builddir/build/BUILDROOT/ocaml-curses-1.0.4-1.fc30.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-1.fc30.riscv64/usr/lib64/ocaml/curses/curses.mli BUILDSTDERR: Installed /builddir/build/BUILDROOT/ocaml-curses-1.0.4-1.fc30.riscv64/usr/lib64/ocaml/curses/libcurses_stubs.a BUILDSTDERR: Installed /builddir/build/BUILDROOT/ocaml-curses-1.0.4-1.fc30.riscv64/usr/lib64/ocaml/curses/curses.a BUILDSTDERR: Installed /builddir/build/BUILDROOT/ocaml-curses-1.0.4-1.fc30.riscv64/usr/lib64/ocaml/curses/curses.cmxa BUILDSTDERR: Installed /builddir/build/BUILDROOT/ocaml-curses-1.0.4-1.fc30.riscv64/usr/lib64/ocaml/curses/curses.cma BUILDSTDERR: Installed /builddir/build/BUILDROOT/ocaml-curses-1.0.4-1.fc30.riscv64/usr/lib64/ocaml/curses/keys.cmx BUILDSTDERR: Installed /builddir/build/BUILDROOT/ocaml-curses-1.0.4-1.fc30.riscv64/usr/lib64/ocaml/curses/curses.cmx BUILDSTDERR: Installed /builddir/build/BUILDROOT/ocaml-curses-1.0.4-1.fc30.riscv64/usr/lib64/ocaml/curses/keys.cmi BUILDSTDERR: Installed /builddir/build/BUILDROOT/ocaml-curses-1.0.4-1.fc30.riscv64/usr/lib64/ocaml/curses/curses.cmi BUILDSTDERR: Installed /builddir/build/BUILDROOT/ocaml-curses-1.0.4-1.fc30.riscv64/usr/lib64/ocaml/stublibs/dllcurses_stubs.so BUILDSTDERR: Installed /builddir/build/BUILDROOT/ocaml-curses-1.0.4-1.fc30.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-1.fc30.riscv64/usr/lib64/ocaml/stublibs is not mentioned in ld.conf BUILDSTDERR: Installed /builddir/build/BUILDROOT/ocaml-curses-1.0.4-1.fc30.riscv64/usr/lib64/ocaml/curses/META + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.0.4-1.fc30 --unique-debug-suffix -1.0.4-1.fc30.riscv64 --unique-debug-src-base ocaml-curses-1.0.4-1.fc30.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-1.fc30.riscv64/usr/lib64/ocaml/stublibs/dllcurses_stubs.so extracting debug info from /builddir/build/BUILDROOT/ocaml-curses-1.0.4-1.fc30.riscv64/usr/lib64/ocaml/stublibs/dllcurses_stubs.so /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. BUILDSTDERR: 55 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig BUILDSTDERR: /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/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-1.fc30.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.QuPXJi + umask 022 + cd /builddir/build/BUILD + cd ocaml-curses-1.0.4 + DOCDIR=/builddir/build/BUILDROOT/ocaml-curses-1.0.4-1.fc30.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-1.fc30.riscv64/usr/share/doc/ocaml-curses + cp -pr COPYING /builddir/build/BUILDROOT/ocaml-curses-1.0.4-1.fc30.riscv64/usr/share/doc/ocaml-curses + exit 0 Provides: ocaml(Curses) = 83e80424de96b2c87f7b111ba383842c ocaml(Keys) = 4535e0a1f5107171a8e2e58e63a15f81 ocaml-curses = 1.0.4-1.fc30 ocaml-curses(riscv-64) = 1.0.4-1.fc30 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) = 7ea79e608e46b41c80c3251773e6fdf3 ocaml(Stdlib) = 2812fae09b173a42800ce3b48328b9cb ocaml(Stdlib__bigarray) = fde4e26503108d041547c9eef855a5fa ocaml(Stdlib__complex) = d4688bd6236fccf33550a083ea8e768f ocaml(Stdlib__hashtbl) = 682884027fa100c01983d89cfc4eaf69 ocaml(Stdlib__list) = 0c0f6e8daa075e845d18d212dd78098f ocaml(Stdlib__seq) = 5c66a1fd18f6126043d7af46d32b4b53 ocaml(Unix) = e5f3d189d40891229c2283728e203e8a ocaml(runtime) = 4.07.0 rtld(GNU_HASH) Processing files: ocaml-curses-devel-1.0.4-1.fc30.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.XkvRNj + umask 022 + cd /builddir/build/BUILD + cd ocaml-curses-1.0.4 + DOCDIR=/builddir/build/BUILDROOT/ocaml-curses-1.0.4-1.fc30.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-1.fc30.riscv64/usr/share/doc/ocaml-curses-devel + cp -pr COPYING /builddir/build/BUILDROOT/ocaml-curses-1.0.4-1.fc30.riscv64/usr/share/doc/ocaml-curses-devel + exit 0 Provides: ocaml-curses-devel = 1.0.4-1.fc30 ocaml-curses-devel(riscv-64) = 1.0.4-1.fc30 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-1.fc30.riscv64 Provides: ocaml-curses-debugsource = 1.0.4-1.fc30 ocaml-curses-debugsource(riscv-64) = 1.0.4-1.fc30 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-1.fc30.riscv64 Provides: debuginfo(build-id) = fb69ac10127dc85e450aeaec1fc60d70afd770c6 ocaml-curses-debuginfo = 1.0.4-1.fc30 ocaml-curses-debuginfo(riscv-64) = 1.0.4-1.fc30 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-1.fc30 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ocaml-curses-1.0.4-1.fc30.riscv64 Wrote: /builddir/build/RPMS/ocaml-curses-1.0.4-1.fc30.riscv64.rpm Wrote: /builddir/build/RPMS/ocaml-curses-devel-1.0.4-1.fc30.riscv64.rpm Wrote: /builddir/build/RPMS/ocaml-curses-debugsource-1.0.4-1.fc30.riscv64.rpm Wrote: /builddir/build/RPMS/ocaml-curses-debuginfo-1.0.4-1.fc30.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.4cGrnU + umask 022 + cd /builddir/build/BUILD + cd ocaml-curses-1.0.4 + /usr/bin/rm -rf /builddir/build/BUILDROOT/ocaml-curses-1.0.4-1.fc30.riscv64 + exit 0 Child return code was: 0