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-zarith.spec'], chrootPath='/var/lib/mock/f33-build-153731-43339/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-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'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1582675200 Wrote: /builddir/build/SRPMS/ocaml-zarith-1.9.1-7.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-zarith.spec'], chrootPath='/var/lib/mock/f33-build-153731-43339/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-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'} 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.GfeePU + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf Zarith-release-1.9.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/release-1.9.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd Zarith-release-1.9.1 + /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|^ccdef='\'''\''|ccdef='\''-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 -ri 's/(-ccopt|-shared|-failsafe)/-g &/' project.mak + sed -i 's/+compiler-libs/& -g/;s/\($(OCAMLC)\) -o/\1 -g -o/' project.mak + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.KvoABW + umask 022 + cd /builddir/build/BUILD + cd Zarith-release-1.9.1 + export CC=gcc + CC=gcc + ./configure 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 : 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 detected configuration: native-code: yes dynamic linking: yes asm path: none defines: -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 libraries: -lgmp C options: asm options 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 + make ./z_pp.pl none Name "main::extra" used only once: possible typo at ./z_pp.pl line 29. ocamldep -native z.ml q.ml big_int_Z.ml z.mli q.mli big_int_Z.mli > depend ocamlc -I +compiler-libs -g -bin-annot -c z.mli ocamlc -I +compiler-libs -g -bin-annot -c z.ml ocamlc -I +compiler-libs -g -bin-annot -c q.mli ocamlc -I +compiler-libs -g -bin-annot -c q.ml ocamlc -I +compiler-libs -g -bin-annot -c big_int_Z.mli ocamlc -I +compiler-libs -g -bin-annot -c big_int_Z.ml ocamlmklib -g -failsafe -o zarith z.cmo q.cmo big_int_Z.cmo -lgmp ocamlc -g -ccopt "-I/usr/lib64/ocaml -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 -g -failsafe -o zarith caml_z.o -lgmp ocamlc -I +compiler-libs -g -bin-annot -c zarith_top.ml ocamlc -g -o zarith_top.cma -a zarith_top.cmo ocamlopt -I +compiler-libs -g -c z.ml ocamlopt -I +compiler-libs -g -c q.ml ocamlopt -I +compiler-libs -g -c big_int_Z.ml ocamlmklib -g -failsafe -o zarith z.cmx q.cmx big_int_Z.cmx -lgmp ocamlopt -g -shared -o zarith.cmxs -I . zarith.cmxa -linkall + make doc mkdir -p html ocamldoc -html -d html -charset utf8 z.mli q.mli big_int_Z.mli + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.vq1wAY + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ocaml-zarith-1.9.1-7.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ocaml-zarith-1.9.1-7.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/ocaml-zarith-1.9.1-7.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ocaml-zarith-1.9.1-7.fc33.riscv64 + cd Zarith-release-1.9.1 + mkdir -p /builddir/build/BUILDROOT/ocaml-zarith-1.9.1-7.fc33.riscv64/usr/lib64/ocaml/stublibs + make install INSTALLDIR=/builddir/build/BUILDROOT/ocaml-zarith-1.9.1-7.fc33.riscv64/usr/lib64/ocaml ocamlfind install -destdir "/builddir/build/BUILDROOT/ocaml-zarith-1.9.1-7.fc33.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 Installed /builddir/build/BUILDROOT/ocaml-zarith-1.9.1-7.fc33.riscv64/usr/lib64/ocaml/zarith/big_int_Z.cmti Installed /builddir/build/BUILDROOT/ocaml-zarith-1.9.1-7.fc33.riscv64/usr/lib64/ocaml/zarith/q.cmti Installed /builddir/build/BUILDROOT/ocaml-zarith-1.9.1-7.fc33.riscv64/usr/lib64/ocaml/zarith/z.cmti Installed /builddir/build/BUILDROOT/ocaml-zarith-1.9.1-7.fc33.riscv64/usr/lib64/ocaml/zarith/zarith.cmxs Installed /builddir/build/BUILDROOT/ocaml-zarith-1.9.1-7.fc33.riscv64/usr/lib64/ocaml/zarith/big_int_Z.cmx Installed /builddir/build/BUILDROOT/ocaml-zarith-1.9.1-7.fc33.riscv64/usr/lib64/ocaml/zarith/q.cmx Installed /builddir/build/BUILDROOT/ocaml-zarith-1.9.1-7.fc33.riscv64/usr/lib64/ocaml/zarith/z.cmx Installed /builddir/build/BUILDROOT/ocaml-zarith-1.9.1-7.fc33.riscv64/usr/lib64/ocaml/zarith/zarith.cmxa Installed /builddir/build/BUILDROOT/ocaml-zarith-1.9.1-7.fc33.riscv64/usr/lib64/ocaml/zarith/zarith.a Installed /builddir/build/BUILDROOT/ocaml-zarith-1.9.1-7.fc33.riscv64/usr/lib64/ocaml/zarith/zarith_top.cma Installed /builddir/build/BUILDROOT/ocaml-zarith-1.9.1-7.fc33.riscv64/usr/lib64/ocaml/zarith/big_int_Z.cmi Installed /builddir/build/BUILDROOT/ocaml-zarith-1.9.1-7.fc33.riscv64/usr/lib64/ocaml/zarith/q.cmi Installed /builddir/build/BUILDROOT/ocaml-zarith-1.9.1-7.fc33.riscv64/usr/lib64/ocaml/zarith/z.cmi Installed /builddir/build/BUILDROOT/ocaml-zarith-1.9.1-7.fc33.riscv64/usr/lib64/ocaml/zarith/big_int_Z.mli Installed /builddir/build/BUILDROOT/ocaml-zarith-1.9.1-7.fc33.riscv64/usr/lib64/ocaml/zarith/q.mli Installed /builddir/build/BUILDROOT/ocaml-zarith-1.9.1-7.fc33.riscv64/usr/lib64/ocaml/zarith/z.mli Installed /builddir/build/BUILDROOT/ocaml-zarith-1.9.1-7.fc33.riscv64/usr/lib64/ocaml/zarith/libzarith.a Installed /builddir/build/BUILDROOT/ocaml-zarith-1.9.1-7.fc33.riscv64/usr/lib64/ocaml/zarith/zarith.cma Installed /builddir/build/BUILDROOT/ocaml-zarith-1.9.1-7.fc33.riscv64/usr/lib64/ocaml/zarith/zarith.h Installed /builddir/build/BUILDROOT/ocaml-zarith-1.9.1-7.fc33.riscv64/usr/lib64/ocaml/stublibs/dllzarith.so Installed /builddir/build/BUILDROOT/ocaml-zarith-1.9.1-7.fc33.riscv64/usr/lib64/ocaml/stublibs/dllzarith.so.owner ocamlfind: [WARNING] You have installed DLLs but the directory /builddir/build/BUILDROOT/ocaml-zarith-1.9.1-7.fc33.riscv64/usr/lib64/ocaml/stublibs is not mentioned in ld.conf Installed /builddir/build/BUILDROOT/ocaml-zarith-1.9.1-7.fc33.riscv64/usr/lib64/ocaml/zarith/META + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.9.1-7.fc33 --unique-debug-suffix -1.9.1-7.fc33.riscv64 --unique-debug-src-base ocaml-zarith-1.9.1-7.fc33.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/Zarith-release-1.9.1 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/ocaml-zarith-1.9.1-7.fc33.riscv64/usr/lib64/ocaml/stublibs/dllzarith.so explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/ocaml-zarith-1.9.1-7.fc33.riscv64/usr/lib64/ocaml/zarith/zarith.cmxs extracting debug info from /builddir/build/BUILDROOT/ocaml-zarith-1.9.1-7.fc33.riscv64/usr/lib64/ocaml/stublibs/dllzarith.so extracting debug info from /builddir/build/BUILDROOT/ocaml-zarith-1.9.1-7.fc33.riscv64/usr/lib64/ocaml/zarith/zarith.cmxs original debug info size: 484kB, size after compression: 480kB /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. cpio: stdlib.ml: Cannot stat: No such file or directory cpio: string.ml: Cannot stat: No such file or directory 200 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 Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.EOsUdU + umask 022 + cd /builddir/build/BUILD + cd Zarith-release-1.9.1 + export LD_LIBRARY_PATH=/builddir/build/BUILD/Zarith-release-1.9.1 + LD_LIBRARY_PATH=/builddir/build/BUILD/Zarith-release-1.9.1 + make tests make -C tests test make[1]: Entering directory '/builddir/build/BUILD/Zarith-release-1.9.1/tests' ocamlopt -I .. -ccopt "-L.." zarith.cmxa -o zq.exe zq.ml Testing zq (native)... zq: FAILED make[1]: *** [Makefile:15: test] Error 2 make[1]: Leaving directory '/builddir/build/BUILD/Zarith-release-1.9.1/tests' make: *** [project.mak:70: tests] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.EOsUdU (%check) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.EOsUdU (%check) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/mockbuild/trace_decorator.py", line 95, in trace result = func(*args, **kw) File "/usr/lib/python3.8/site-packages/mockbuild/util.py", line 746, in do_with_status 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