Mock Version: 1.4.9 Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/ocaml-zarith.spec'], chrootPath='/var/lib/mock/f31-build-95576-32331/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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/ocaml-zarith.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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1564531200 Wrote: /builddir/build/SRPMS/ocaml-zarith-1.8-4.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/ocaml-zarith.spec'], chrootPath='/var/lib/mock/f31-build-95576-32331/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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/ocaml-zarith.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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} 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.KEiM89 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf Zarith-release-1.8 + /usr/bin/gzip -dc /builddir/build/SOURCES/release-1.8.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd Zarith-release-1.8 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cp -p /usr/lib/rpm/redhat/config.guess config.guess + sed -i 's|^asopt='\'''\''|asopt='\''-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'\''|' configure + sed -i 's|-ccopt|-g &|;s|-shared|-g &|' project.mak + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.0raNia + umask 022 + cd /builddir/build/BUILD + cd Zarith-release-1.8 + export CC=gcc + CC=gcc + export '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' + 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 OCAMLFLAGS=-g + OCAMLFLAGS=-g + export OCAMLOPTFLAGS=-g + OCAMLOPTFLAGS=-g + ./configure + make BUILDSTDERR: Name "main::extra" used only once: possible typo at ./z_pp.pl line 29. + make doc + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 binary ocaml: found in /usr/bin binary ocamlc: found in /usr/bin binary ocamldep: found in /usr/bin binary ocamlmklib: found in /usr/bin binary ocamldoc: found in /usr/bin binary ar: found in /usr/bin binary perl: found in /usr/bin binary gcc: found in /usr/bin binary ocamlopt: found in /usr/bin checking compilation with gcc -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: working include caml/mlvalues.h: found library dynlink.cmxa: found binary ocamlfind: found in /usr/bin OCaml's word size is 64 binary uname: found in /usr/bin unknown host riscv64-unknown-linux-gnu include gmp.h: found library gmp: found OCaml extended comparison supported OCaml new hash functions available OCaml supports -bin-annot to produce documentation Using OCaml legacy C API custom operations detected configuration: native-code: yes dynamic linking: yes asm path: none defines: -DZ_OCAML_LEGACY_CUSTOM_OPERATIONS -DZ_OCAML_HASH -DZ_OCAML_COMPARE_EXT -DHAS_GMP libraries: -lgmp C options: -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 asm options -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 installation path: /usr/lib64/ocaml installation method findlib configuration successful! now type "make" to build then type "make install" or "sudo make install" to install ./z_pp.pl none ocamldep -native z.ml q.ml big_int_Z.ml z.mli q.mli big_int_Z.mli > depend ocamlc -I +compiler-libs -bin-annot -c z.mli ocamlc -I +compiler-libs -bin-annot -c z.ml ocamlc -I +compiler-libs -bin-annot -c q.mli ocamlc -I +compiler-libs -bin-annot -c q.ml ocamlc -I +compiler-libs -bin-annot -c big_int_Z.mli ocamlc -I +compiler-libs -bin-annot -c big_int_Z.ml ocamlmklib -failsafe -o zarith z.cmo q.cmo big_int_Z.cmo -lgmp ocamlc -g -ccopt "-I/usr/lib64/ocaml -DZ_OCAML_LEGACY_CUSTOM_OPERATIONS -DZ_OCAML_HASH -DZ_OCAML_COMPARE_EXT -DHAS_GMP -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" -c caml_z.c ocamlmklib -failsafe -o zarith caml_z.o -lgmp ocamlc -I +compiler-libs -bin-annot -c zarith_top.ml ocamlc -o zarith_top.cma -a zarith_top.cmo ocamlopt -I +compiler-libs -c z.ml ocamlopt -I +compiler-libs -c q.ml ocamlopt -I +compiler-libs -c big_int_Z.ml ocamlmklib -failsafe -o zarith z.cmx q.cmx big_int_Z.cmx -lgmp ocamlopt -g -shared -o zarith.cmxs -I . zarith.cmxa -linkall mkdir -p html ocamldoc -html -d html -charset utf8 z.mli q.mli big_int_Z.mli Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.w20qia + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ocaml-zarith-1.8-4.fc31.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ocaml-zarith-1.8-4.fc31.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/ocaml-zarith-1.8-4.fc31.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ocaml-zarith-1.8-4.fc31.riscv64 + cd Zarith-release-1.8 + mkdir -p /builddir/build/BUILDROOT/ocaml-zarith-1.8-4.fc31.riscv64/usr/lib64/ocaml/stublibs + make install INSTALLDIR=/builddir/build/BUILDROOT/ocaml-zarith-1.8-4.fc31.riscv64/usr/lib64/ocaml BUILDSTDERR: Installed /builddir/build/BUILDROOT/ocaml-zarith-1.8-4.fc31.riscv64/usr/lib64/ocaml/zarith/big_int_Z.cmti BUILDSTDERR: Installed /builddir/build/BUILDROOT/ocaml-zarith-1.8-4.fc31.riscv64/usr/lib64/ocaml/zarith/q.cmti BUILDSTDERR: Installed /builddir/build/BUILDROOT/ocaml-zarith-1.8-4.fc31.riscv64/usr/lib64/ocaml/zarith/z.cmti BUILDSTDERR: Installed /builddir/build/BUILDROOT/ocaml-zarith-1.8-4.fc31.riscv64/usr/lib64/ocaml/zarith/zarith.cmxs BUILDSTDERR: Installed /builddir/build/BUILDROOT/ocaml-zarith-1.8-4.fc31.riscv64/usr/lib64/ocaml/zarith/big_int_Z.cmx BUILDSTDERR: Installed /builddir/build/BUILDROOT/ocaml-zarith-1.8-4.fc31.riscv64/usr/lib64/ocaml/zarith/q.cmx BUILDSTDERR: Installed /builddir/build/BUILDROOT/ocaml-zarith-1.8-4.fc31.riscv64/usr/lib64/ocaml/zarith/z.cmx BUILDSTDERR: Installed /builddir/build/BUILDROOT/ocaml-zarith-1.8-4.fc31.riscv64/usr/lib64/ocaml/zarith/zarith.cmxa BUILDSTDERR: Installed /builddir/build/BUILDROOT/ocaml-zarith-1.8-4.fc31.riscv64/usr/lib64/ocaml/zarith/zarith.a BUILDSTDERR: Installed /builddir/build/BUILDROOT/ocaml-zarith-1.8-4.fc31.riscv64/usr/lib64/ocaml/zarith/zarith_top.cma BUILDSTDERR: Installed /builddir/build/BUILDROOT/ocaml-zarith-1.8-4.fc31.riscv64/usr/lib64/ocaml/zarith/big_int_Z.cmi BUILDSTDERR: Installed /builddir/build/BUILDROOT/ocaml-zarith-1.8-4.fc31.riscv64/usr/lib64/ocaml/zarith/q.cmi BUILDSTDERR: Installed /builddir/build/BUILDROOT/ocaml-zarith-1.8-4.fc31.riscv64/usr/lib64/ocaml/zarith/z.cmi BUILDSTDERR: Installed /builddir/build/BUILDROOT/ocaml-zarith-1.8-4.fc31.riscv64/usr/lib64/ocaml/zarith/big_int_Z.mli BUILDSTDERR: Installed /builddir/build/BUILDROOT/ocaml-zarith-1.8-4.fc31.riscv64/usr/lib64/ocaml/zarith/q.mli BUILDSTDERR: Installed /builddir/build/BUILDROOT/ocaml-zarith-1.8-4.fc31.riscv64/usr/lib64/ocaml/zarith/z.mli BUILDSTDERR: Installed /builddir/build/BUILDROOT/ocaml-zarith-1.8-4.fc31.riscv64/usr/lib64/ocaml/zarith/libzarith.a BUILDSTDERR: Installed /builddir/build/BUILDROOT/ocaml-zarith-1.8-4.fc31.riscv64/usr/lib64/ocaml/zarith/zarith.cma BUILDSTDERR: Installed /builddir/build/BUILDROOT/ocaml-zarith-1.8-4.fc31.riscv64/usr/lib64/ocaml/zarith/zarith.h BUILDSTDERR: Installed /builddir/build/BUILDROOT/ocaml-zarith-1.8-4.fc31.riscv64/usr/lib64/ocaml/stublibs/dllzarith.so BUILDSTDERR: Installed /builddir/build/BUILDROOT/ocaml-zarith-1.8-4.fc31.riscv64/usr/lib64/ocaml/stublibs/dllzarith.so.owner BUILDSTDERR: ocamlfind: [WARNING] You have installed DLLs but the directory /builddir/build/BUILDROOT/ocaml-zarith-1.8-4.fc31.riscv64/usr/lib64/ocaml/stublibs is not mentioned in ld.conf BUILDSTDERR: Installed /builddir/build/BUILDROOT/ocaml-zarith-1.8-4.fc31.riscv64/usr/lib64/ocaml/zarith/META + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.8-4.fc31 --unique-debug-suffix -1.8-4.fc31.riscv64 --unique-debug-src-base ocaml-zarith-1.8-4.fc31.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/Zarith-release-1.8 BUILDSTDERR: 158 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 ocamlfind install -destdir "/builddir/build/BUILDROOT/ocaml-zarith-1.8-4.fc31.riscv64/usr/lib64/ocaml" zarith META zarith.h zarith.cma libzarith.a z.mli q.mli big_int_Z.mli z.cmi q.cmi big_int_Z.cmi zarith_top.cma zarith.a zarith.cmxa z.cmx q.cmx big_int_Z.cmx zarith.cmxs z.cmti q.cmti big_int_Z.cmti -optional dllzarith.so explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/ocaml-zarith-1.8-4.fc31.riscv64/usr/lib64/ocaml/stublibs/dllzarith.so explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/ocaml-zarith-1.8-4.fc31.riscv64/usr/lib64/ocaml/zarith/zarith.cmxs extracting debug info from /builddir/build/BUILDROOT/ocaml-zarith-1.8-4.fc31.riscv64/usr/lib64/ocaml/zarith/zarith.cmxs extracting debug info from /builddir/build/BUILDROOT/ocaml-zarith-1.8-4.fc31.riscv64/usr/lib64/ocaml/stublibs/dllzarith.so original debug info size: 476kB, size after compression: 472kB /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.6YePbc + umask 022 + cd /builddir/build/BUILD + cd Zarith-release-1.8 + export LD_LIBRARY_PATH=/builddir/build/BUILD/Zarith-release-1.8 + LD_LIBRARY_PATH=/builddir/build/BUILD/Zarith-release-1.8 + make tests BUILDSTDERR: make[1]: *** [Makefile:15: test] Error 2 BUILDSTDERR: make: *** [project.mak:70: tests] Error 2 make -C tests test make[1]: Entering directory '/builddir/build/BUILD/Zarith-release-1.8/tests' ocamlopt -I .. -ccopt "-L.." zarith.cmxa -o zq.exe zq.ml Testing zq (native)... zq: FAILED make[1]: Leaving directory '/builddir/build/BUILD/Zarith-release-1.8/tests' RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.6YePbc (%check) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.6YePbc (%check) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 626, in do raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/ocaml-zarith.spec