+ 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.CTrEd1 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf zarith-1.4.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/zarith-1.4.1.tgz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd zarith-1.4.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (caml-z.patch):' Patch #1 (caml-z.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file caml_z.c + 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.nUAPy7 + umask 022 + cd /builddir/build/BUILD + cd zarith-1.4.1 + 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 ocamldep -native *.ml *.mli > depend ocamlc -g -c z.mli File "z.mli", line 63, characters 0-51: Warning 3: deprecated: [@@noalloc] should be used instead of "noalloc" File "z.mli", line 229, characters 0-53: Warning 3: deprecated: [@@noalloc] should be used instead of "noalloc" File "z.mli", line 236, characters 0-67: Warning 3: deprecated: [@@noalloc] should be used instead of "noalloc" File "z.mli", line 318, characters 0-56: Warning 3: deprecated: [@@noalloc] should be used instead of "noalloc" File "z.mli", line 321, characters 0-60: Warning 3: deprecated: [@@noalloc] should be used instead of "noalloc" File "z.mli", line 324, characters 0-60: Warning 3: deprecated: [@@noalloc] should be used instead of "noalloc" File "z.mli", line 327, characters 0-68: Warning 3: deprecated: [@@noalloc] should be used instead of "noalloc" File "z.mli", line 356, characters 0-58: Warning 3: deprecated: [@@noalloc] should be used instead of "noalloc" File "z.mli", line 364, characters 0-55: Warning 3: deprecated: [@@noalloc] should be used instead of "noalloc" File "z.mli", line 379, characters 0-47: Warning 3: deprecated: [@@noalloc] should be used instead of "noalloc" File "z.mli", line 396, characters 0-47: Warning 3: deprecated: [@@noalloc] should be used instead of "noalloc" File "z.mli", line 506, characters 0-47: Warning 3: deprecated: [@@noalloc] should be used instead of "noalloc" File "z.mli", line 601, characters 0-49: Warning 3: deprecated: [@@noalloc] should be used instead of "noalloc" ocamlc -g -c z.ml File "z.ml", line 50, characters 0-51: Warning 3: deprecated: [@@noalloc] should be used instead of "noalloc" File "z.ml", line 61, characters 0-58: Warning 3: deprecated: [@@noalloc] should be used instead of "noalloc" File "z.ml", line 62, characters 0-55: Warning 3: deprecated: [@@noalloc] should be used instead of "noalloc" File "z.ml", line 63, characters 0-47: Warning 3: deprecated: [@@noalloc] should be used instead of "noalloc" File "z.ml", line 68, characters 0-53: Warning 3: deprecated: [@@noalloc] should be used instead of "noalloc" File "z.ml", line 69, characters 0-67: Warning 3: deprecated: [@@noalloc] should be used instead of "noalloc" File "z.ml", line 72, characters 0-47: Warning 3: deprecated: [@@noalloc] should be used instead of "noalloc" File "z.ml", line 73, characters 0-56: Warning 3: deprecated: [@@noalloc] should be used instead of "noalloc" File "z.ml", line 74, characters 0-60: Warning 3: deprecated: [@@noalloc] should be used instead of "noalloc" File "z.ml", line 75, characters 0-60: Warning 3: deprecated: [@@noalloc] should be used instead of "noalloc" File "z.ml", line 76, characters 0-68: Warning 3: deprecated: [@@noalloc] should be used instead of "noalloc" File "z.ml", line 88, characters 0-47: Warning 3: deprecated: [@@noalloc] should be used instead of "noalloc" File "z.ml", line 135, characters 0-70: Warning 3: deprecated: [@@noalloc] should be used instead of "noalloc" File "z.ml", line 216, characters 0-49: Warning 3: deprecated: [@@noalloc] should be used instead of "noalloc" 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 File "z.ml", line 50, characters 0-51: Warning 3: deprecated: [@@noalloc] should be used instead of "noalloc" File "z.ml", line 61, characters 0-58: Warning 3: deprecated: [@@noalloc] should be used instead of "noalloc" File "z.ml", line 62, characters 0-55: Warning 3: deprecated: [@@noalloc] should be used instead of "noalloc" File "z.ml", line 63, characters 0-47: Warning 3: deprecated: [@@noalloc] should be used instead of "noalloc" File "z.ml", line 68, characters 0-53: Warning 3: deprecated: [@@noalloc] should be used instead of "noalloc" File "z.ml", line 69, characters 0-67: Warning 3: deprecated: [@@noalloc] should be used instead of "noalloc" File "z.ml", line 72, characters 0-47: Warning 3: deprecated: [@@noalloc] should be used instead of "noalloc" File "z.ml", line 73, characters 0-56: Warning 3: deprecated: [@@noalloc] should be used instead of "noalloc" File "z.ml", line 74, characters 0-60: Warning 3: deprecated: [@@noalloc] should be used instead of "noalloc" File "z.ml", line 75, characters 0-60: Warning 3: deprecated: [@@noalloc] should be used instead of "noalloc" File "z.ml", line 76, characters 0-68: Warning 3: deprecated: [@@noalloc] should be used instead of "noalloc" File "z.ml", line 88, characters 0-47: Warning 3: deprecated: [@@noalloc] should be used instead of "noalloc" File "z.ml", line 135, characters 0-70: Warning 3: deprecated: [@@noalloc] should be used instead of "noalloc" File "z.ml", line 216, characters 0-49: Warning 3: deprecated: [@@noalloc] should be used instead of "noalloc" 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 + make doc mkdir -p html ocamldoc -html -d html -charset utf8 z.mli q.mli big_int_Z.mli File "z.mli", line 63, characters 0-51: Warning 3: deprecated: [@@noalloc] should be used instead of "noalloc" File "z.mli", line 229, characters 0-53: Warning 3: deprecated: [@@noalloc] should be used instead of "noalloc" File "z.mli", line 236, characters 0-67: Warning 3: deprecated: [@@noalloc] should be used instead of "noalloc" File "z.mli", line 318, characters 0-56: Warning 3: deprecated: [@@noalloc] should be used instead of "noalloc" File "z.mli", line 321, characters 0-60: Warning 3: deprecated: [@@noalloc] should be used instead of "noalloc" File "z.mli", line 324, characters 0-60: Warning 3: deprecated: [@@noalloc] should be used instead of "noalloc" File "z.mli", line 327, characters 0-68: Warning 3: deprecated: [@@noalloc] should be used instead of "noalloc" File "z.mli", line 356, characters 0-58: Warning 3: deprecated: [@@noalloc] should be used instead of "noalloc" File "z.mli", line 364, characters 0-55: Warning 3: deprecated: [@@noalloc] should be used instead of "noalloc" File "z.mli", line 379, characters 0-47: Warning 3: deprecated: [@@noalloc] should be used instead of "noalloc" File "z.mli", line 396, characters 0-47: Warning 3: deprecated: [@@noalloc] should be used instead of "noalloc" File "z.mli", line 506, characters 0-47: Warning 3: deprecated: [@@noalloc] should be used instead of "noalloc" File "z.mli", line 601, characters 0-49: Warning 3: deprecated: [@@noalloc] should be used instead of "noalloc" + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.fuK8Ib + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ocaml-zarith-1.4.1-11.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ocaml-zarith-1.4.1-11.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/ocaml-zarith-1.4.1-11.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ocaml-zarith-1.4.1-11.fc28.riscv64 + cd zarith-1.4.1 + mkdir -p /builddir/build/BUILDROOT/ocaml-zarith-1.4.1-11.fc28.riscv64/usr/lib64/ocaml/stublibs + make install INSTALLDIR=/builddir/build/BUILDROOT/ocaml-zarith-1.4.1-11.fc28.riscv64/usr/lib64/ocaml ocamlfind install -destdir "/builddir/build/BUILDROOT/ocaml-zarith-1.4.1-11.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 zarith.cmxs dllzarith.so Installed /builddir/build/BUILDROOT/ocaml-zarith-1.4.1-11.fc28.riscv64/usr/lib64/ocaml/zarith/zarith.cmxs Installed /builddir/build/BUILDROOT/ocaml-zarith-1.4.1-11.fc28.riscv64/usr/lib64/ocaml/zarith/zarith.cmxa Installed /builddir/build/BUILDROOT/ocaml-zarith-1.4.1-11.fc28.riscv64/usr/lib64/ocaml/zarith/zarith.a Installed /builddir/build/BUILDROOT/ocaml-zarith-1.4.1-11.fc28.riscv64/usr/lib64/ocaml/zarith/big_int_Z.cmi Installed /builddir/build/BUILDROOT/ocaml-zarith-1.4.1-11.fc28.riscv64/usr/lib64/ocaml/zarith/q.cmi Installed /builddir/build/BUILDROOT/ocaml-zarith-1.4.1-11.fc28.riscv64/usr/lib64/ocaml/zarith/z.cmi Installed /builddir/build/BUILDROOT/ocaml-zarith-1.4.1-11.fc28.riscv64/usr/lib64/ocaml/zarith/big_int_Z.mli Installed /builddir/build/BUILDROOT/ocaml-zarith-1.4.1-11.fc28.riscv64/usr/lib64/ocaml/zarith/q.mli Installed /builddir/build/BUILDROOT/ocaml-zarith-1.4.1-11.fc28.riscv64/usr/lib64/ocaml/zarith/z.mli Installed /builddir/build/BUILDROOT/ocaml-zarith-1.4.1-11.fc28.riscv64/usr/lib64/ocaml/zarith/libzarith.a Installed /builddir/build/BUILDROOT/ocaml-zarith-1.4.1-11.fc28.riscv64/usr/lib64/ocaml/zarith/zarith.cma Installed /builddir/build/BUILDROOT/ocaml-zarith-1.4.1-11.fc28.riscv64/usr/lib64/ocaml/zarith/zarith.h Installed /builddir/build/BUILDROOT/ocaml-zarith-1.4.1-11.fc28.riscv64/usr/lib64/ocaml/stublibs/dllzarith.so Installed /builddir/build/BUILDROOT/ocaml-zarith-1.4.1-11.fc28.riscv64/usr/lib64/ocaml/stublibs/dllzarith.so.owner ocamlfind: [WARNING] You have installed DLLs but the directory /builddir/build/BUILDROOT/ocaml-zarith-1.4.1-11.fc28.riscv64/usr/lib64/ocaml/stublibs is not mentioned in ld.conf Installed /builddir/build/BUILDROOT/ocaml-zarith-1.4.1-11.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.4.1-11.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.SUcUhg + umask 022 + cd /builddir/build/BUILD + cd zarith-1.4.1 + DOCDIR=/builddir/build/BUILDROOT/ocaml-zarith-1.4.1-11.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.4.1-11.fc28.riscv64/usr/share/doc/ocaml-zarith + cp -pr Changes /builddir/build/BUILDROOT/ocaml-zarith-1.4.1-11.fc28.riscv64/usr/share/doc/ocaml-zarith + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.4w9aaD + umask 022 + cd /builddir/build/BUILD + cd zarith-1.4.1 + LICENSEDIR=/builddir/build/BUILDROOT/ocaml-zarith-1.4.1-11.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.4.1-11.fc28.riscv64/usr/share/licenses/ocaml-zarith + cp -pr LICENSE /builddir/build/BUILDROOT/ocaml-zarith-1.4.1-11.fc28.riscv64/usr/share/licenses/ocaml-zarith + exit 0 Provides: ocaml(Big_int_Z) = 2e8914557221deed7fc21d5c21b53aa7 ocaml(Q) = 4f4384756c6f915d15007c64c8d04d54 ocaml(Z) = f15bc15fc18382f07491df9af435077d ocaml-zarith = 1.4.1-11.fc28 ocaml-zarith(riscv-64) = 1.4.1-11.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) = f15bc15fc18382f07491df9af435077d ocaml(runtime) = 4.06.0 rtld(GNU_HASH) Processing files: ocaml-zarith-devel-1.4.1-11.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.8wXlAS + umask 022 + cd /builddir/build/BUILD + cd zarith-1.4.1 + DOCDIR=/builddir/build/BUILDROOT/ocaml-zarith-1.4.1-11.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.4.1-11.fc28.riscv64/usr/share/doc/ocaml-zarith-devel + cp -pr README /builddir/build/BUILDROOT/ocaml-zarith-1.4.1-11.fc28.riscv64/usr/share/doc/ocaml-zarith-devel + cp -pr html /builddir/build/BUILDROOT/ocaml-zarith-1.4.1-11.fc28.riscv64/usr/share/doc/ocaml-zarith-devel + exit 0 Provides: ocaml-zarith-devel = 1.4.1-11.fc28 ocaml-zarith-devel(riscv-64) = 1.4.1-11.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.4.1-11.fc28.riscv64 Wrote: /builddir/build/SRPMS/ocaml-zarith-1.4.1-11.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/ocaml-zarith-1.4.1-11.fc28.riscv64.rpm Wrote: /builddir/build/RPMS/riscv64/ocaml-zarith-devel-1.4.1-11.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.UAZslJ + umask 022 + cd /builddir/build/BUILD + cd zarith-1.4.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/ocaml-zarith-1.4.1-11.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