+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/ocaml-zarith.spec --define "debug_package %{nil}" --undefine _annotated_build --define "_missing_doc_files_terminate_build %{nil}" --define "_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d" --define "_emacs_sitelispdir /usr/share/emacs/site-lisp" --nocheck ' mockbuild Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.SvllLq + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf Zarith-release-1.7 + /usr/bin/tar -xof - + /usr/bin/gzip -dc /builddir/build/SOURCES/release-1.7.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd Zarith-release-1.7 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cp /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 '\''|' configure + sed -i 's|-ccopt|-g &|;s|-shared|-g &|' project.mak + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.hrSzW6 + umask 022 + cd /builddir/build/BUILD + cd Zarith-release-1.7 + export 'CC=gcc -Wa,--noexecstack' + CC='gcc -Wa,--noexecstack' + 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 ' + 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 ' + export OCAMLFLAGS=-g + OCAMLFLAGS=-g + export OCAMLOPTFLAGS=-g + OCAMLOPTFLAGS=-g + ./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 -Wa,--noexecstack -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 : 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 detected configuration: native-code: yes dynamic linking: yes asm path: none defines: -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 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 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 -g -c z.mli ocamlc -g -c z.ml ocamlc -g -c q.mli ocamlc -g -c q.ml ocamlc -g -c big_int_Z.mli ocamlc -g -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_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 " -c caml_z.c ocamlmklib -failsafe -o zarith caml_z.o -lgmp ocamlopt -g -c z.ml ocamlopt -g -c q.ml ocamlopt -g -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 + make doc mkdir -p html ocamldoc -html -d html -charset utf8 z.mli q.mli big_int_Z.mli + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.CHfBZh + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ocaml-zarith-1.7-1.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ocaml-zarith-1.7-1.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/ocaml-zarith-1.7-1.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ocaml-zarith-1.7-1.fc28.riscv64 + cd Zarith-release-1.7 + mkdir -p /builddir/build/BUILDROOT/ocaml-zarith-1.7-1.fc28.riscv64/usr/lib64/ocaml/stublibs + make install INSTALLDIR=/builddir/build/BUILDROOT/ocaml-zarith-1.7-1.fc28.riscv64/usr/lib64/ocaml ocamlfind install -destdir "/builddir/build/BUILDROOT/ocaml-zarith-1.7-1.fc28.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.a zarith.cmxa z.cmx q.cmx big_int_Z.cmx zarith.cmxs -optional dllzarith.so Installed /builddir/build/BUILDROOT/ocaml-zarith-1.7-1.fc28.riscv64/usr/lib64/ocaml/zarith/zarith.cmxs Installed /builddir/build/BUILDROOT/ocaml-zarith-1.7-1.fc28.riscv64/usr/lib64/ocaml/zarith/big_int_Z.cmx Installed /builddir/build/BUILDROOT/ocaml-zarith-1.7-1.fc28.riscv64/usr/lib64/ocaml/zarith/q.cmx Installed /builddir/build/BUILDROOT/ocaml-zarith-1.7-1.fc28.riscv64/usr/lib64/ocaml/zarith/z.cmx Installed /builddir/build/BUILDROOT/ocaml-zarith-1.7-1.fc28.riscv64/usr/lib64/ocaml/zarith/zarith.cmxa Installed /builddir/build/BUILDROOT/ocaml-zarith-1.7-1.fc28.riscv64/usr/lib64/ocaml/zarith/zarith.a Installed /builddir/build/BUILDROOT/ocaml-zarith-1.7-1.fc28.riscv64/usr/lib64/ocaml/zarith/big_int_Z.cmi Installed /builddir/build/BUILDROOT/ocaml-zarith-1.7-1.fc28.riscv64/usr/lib64/ocaml/zarith/q.cmi Installed /builddir/build/BUILDROOT/ocaml-zarith-1.7-1.fc28.riscv64/usr/lib64/ocaml/zarith/z.cmi Installed /builddir/build/BUILDROOT/ocaml-zarith-1.7-1.fc28.riscv64/usr/lib64/ocaml/zarith/big_int_Z.mli Installed /builddir/build/BUILDROOT/ocaml-zarith-1.7-1.fc28.riscv64/usr/lib64/ocaml/zarith/q.mli Installed /builddir/build/BUILDROOT/ocaml-zarith-1.7-1.fc28.riscv64/usr/lib64/ocaml/zarith/z.mli Installed /builddir/build/BUILDROOT/ocaml-zarith-1.7-1.fc28.riscv64/usr/lib64/ocaml/zarith/libzarith.a Installed /builddir/build/BUILDROOT/ocaml-zarith-1.7-1.fc28.riscv64/usr/lib64/ocaml/zarith/zarith.cma Installed /builddir/build/BUILDROOT/ocaml-zarith-1.7-1.fc28.riscv64/usr/lib64/ocaml/zarith/zarith.h Installed /builddir/build/BUILDROOT/ocaml-zarith-1.7-1.fc28.riscv64/usr/lib64/ocaml/stublibs/dllzarith.so Installed /builddir/build/BUILDROOT/ocaml-zarith-1.7-1.fc28.riscv64/usr/lib64/ocaml/stublibs/dllzarith.so.owner ocamlfind: [WARNING] You have installed DLLs but the directory /builddir/build/BUILDROOT/ocaml-zarith-1.7-1.fc28.riscv64/usr/lib64/ocaml/stublibs is not mentioned in ld.conf Installed /builddir/build/BUILDROOT/ocaml-zarith-1.7-1.fc28.riscv64/usr/lib64/ocaml/zarith/META + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /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 /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: ocaml-zarith-1.7-1.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.d25ziP + umask 022 + cd /builddir/build/BUILD + cd Zarith-release-1.7 + DOCDIR=/builddir/build/BUILDROOT/ocaml-zarith-1.7-1.fc28.riscv64/usr/share/doc/ocaml-zarith + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ocaml-zarith-1.7-1.fc28.riscv64/usr/share/doc/ocaml-zarith + cp -pr README.md /builddir/build/BUILDROOT/ocaml-zarith-1.7-1.fc28.riscv64/usr/share/doc/ocaml-zarith + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.c5WqZW + umask 022 + cd /builddir/build/BUILD + cd Zarith-release-1.7 + LICENSEDIR=/builddir/build/BUILDROOT/ocaml-zarith-1.7-1.fc28.riscv64/usr/share/licenses/ocaml-zarith + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ocaml-zarith-1.7-1.fc28.riscv64/usr/share/licenses/ocaml-zarith + cp -pr LICENSE /builddir/build/BUILDROOT/ocaml-zarith-1.7-1.fc28.riscv64/usr/share/licenses/ocaml-zarith + exit 0 Provides: ocaml(Big_int_Z) = 03399bb0a0069eb3f1ad35fea6eab9a4 ocaml(Q) = 8e34d87fc78226c0d7b20cc7ec9b057d ocaml(Z) = befcebb698eb4c2dfdc7d3f1020a58fd ocaml-zarith = 1.7-1.fc28 ocaml-zarith(riscv-64) = 1.7-1.fc28 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) libgmp.so.10()(64bit) ocaml(Buffer) = 9c9b3639d23d7746c571cdf04646eb29 ocaml(Callback) = 381b3818bd7b7f37a7bf11fb6c76a12a ocaml(CamlinternalFormatBasics) = 79ae8c0eb753af6b441fe05456c7970b ocaml(Format) = 1a17539924469551f027475153d4d3b5 ocaml(Int32) = dbc028028ad4d59759d36dd6c0796919 ocaml(Int64) = f1c602b12ea723a45bbe6143f116a991 ocaml(Obj) = 8a1a1ebb4979c1cf4966cc2e706bd0f9 ocaml(Pervasives) = 9b04ecdc97e5102c1d342892ef7ad9a2 ocaml(String) = e6a69bfe22781c3a43e5dc04b6d1728a ocaml(Uchar) = 596c497318b5c3057b47b9d6747ef5d1 ocaml(Z) = befcebb698eb4c2dfdc7d3f1020a58fd ocaml(runtime) = 4.06.0 rtld(GNU_HASH) Processing files: ocaml-zarith-devel-1.7-1.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.6N0xxI + umask 022 + cd /builddir/build/BUILD + cd Zarith-release-1.7 + DOCDIR=/builddir/build/BUILDROOT/ocaml-zarith-1.7-1.fc28.riscv64/usr/share/doc/ocaml-zarith-devel + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ocaml-zarith-1.7-1.fc28.riscv64/usr/share/doc/ocaml-zarith-devel + cp -pr README.md /builddir/build/BUILDROOT/ocaml-zarith-1.7-1.fc28.riscv64/usr/share/doc/ocaml-zarith-devel + cp -pr html /builddir/build/BUILDROOT/ocaml-zarith-1.7-1.fc28.riscv64/usr/share/doc/ocaml-zarith-devel + exit 0 Provides: ocaml-zarith-devel = 1.7-1.fc28 ocaml-zarith-devel(riscv-64) = 1.7-1.fc28 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ocaml-zarith-1.7-1.fc28.riscv64 Wrote: /builddir/build/SRPMS/ocaml-zarith-1.7-1.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/ocaml-zarith-1.7-1.fc28.riscv64.rpm Wrote: /builddir/build/RPMS/riscv64/ocaml-zarith-devel-1.7-1.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.uj2JQ3 + umask 022 + cd /builddir/build/BUILD + cd Zarith-release-1.7 + /usr/bin/rm -rf /builddir/build/BUILDROOT/ocaml-zarith-1.7-1.fc28.riscv64 + exit 0 + touch /buildok + cleanup + set +e + sync + sleep 5 + sync + poweroff Terminated ++ cleanup ++ set +e ++ sync Terminated +++ cleanup +++ set +e +++ sync +++ sleep 5 +++ sync +++ poweroff