+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/ocaml-ancient.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.LdV4J7 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ancient-0.9.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/ancient-0.9.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd ancient-0.9.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (ancient-0.9.0-use-ocamlopt-g.patch):' Patch #1 (ancient-0.9.0-use-ocamlopt-g.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Makefile + echo 'Patch #2 (ancient-0.9.0-use-header_t.patch):' Patch #2 (ancient-0.9.0-use-header_t.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file ancient_c.c + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.65OpTz + umask 022 + cd /builddir/build/BUILD + cd ancient-0.9.0 + pushd mmalloc ~/build/BUILD/ancient-0.9.0/mmalloc ~/build/BUILD/ancient-0.9.0 + 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 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 ' + 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 -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 -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' x-specs=/usr/lib/rpm/redhat/redhat-hardened-ld ']' ++ find . -name ltmain.sh + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-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 checking for riscv64-redhat-linux-gnu-gcc... no checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... 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 ANSI C... none needed checking for riscv64-redhat-linux-gnu-ar... no checking for ar... ar checking for riscv64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking how to run the C preprocessor... gcc -E checking for egrep... 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 for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for getpagesize... yes checking for working mmap... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking for unistd.h... (cached) yes configure: creating ./config.status config.status: creating Makefile + make cc -c -g -fPIC -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDLIB_H=1 -DHAVE_UNISTD_H=1 -DHAVE_GETPAGESIZE=1 -DHAVE_MMAP=1 -DHAVE_LIMITS_H=1 -DHAVE_STDDEF_H=1 -DHAVE_UNISTD_H=1 -I. -I./../include ./mm.c rm -rf libmmalloc.a ar qv libmmalloc.a mm.o ar: creating libmmalloc.a a - mm.o ranlib libmmalloc.a + popd ~/build/BUILD/ancient-0.9.0 + CFLAGS='-g -fPIC -Wall -Werror -I/usr/lib64/ocaml -DOCAML_VERSION_MAJOR=$(OCAML_VERSION_MAJOR) -DOCAML_VERSION_MINOR=$(OCAML_VERSION_MINOR) -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 ' + make all make -C mmalloc make[1]: Entering directory '/builddir/build/BUILD/ancient-0.9.0/mmalloc' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/builddir/build/BUILD/ancient-0.9.0/mmalloc' ocamlfind ocamlc -g -package unix -c ancient.mli ocamlfind ocamlc -g -package unix -c ancient.ml gcc -g -fPIC -Wall -Werror -DOCAML_VERSION_MAJOR=4 -DOCAML_VERSION_MINOR=6 -I/usr/lib64/ocaml -c -o ancient_c.o ancient_c.c ocamlmklib -g -o ancient -Lmmalloc -lmmalloc ancient.cmo ancient_c.o ocamlfind ocamlopt -g -package unix -c ancient.ml ocamlmklib -g -o ancient -Lmmalloc -lmmalloc ancient.cmx ancient_c.o sed -e 's/@PACKAGE@/ancient/' \ -e 's/@VERSION@/0.9.0/' \ < META.in > META ocamlfind ocamlopt -g -package unix -c test_ancient_dict_write.ml LIBRARY_PATH=.:$LIBRARY_PATH \ ocamlfind ocamlopt -g -package unix -linkpkg -o test_ancient_dict_write.opt ancient.cmxa test_ancient_dict_write.cmx ocamlfind ocamlopt -g -package unix -c test_ancient_dict_verify.ml LIBRARY_PATH=.:$LIBRARY_PATH \ ocamlfind ocamlopt -g -package unix -linkpkg -o test_ancient_dict_verify.opt ancient.cmxa test_ancient_dict_verify.cmx ocamlfind ocamlopt -g -package unix -c test_ancient_dict_read.ml LIBRARY_PATH=.:$LIBRARY_PATH \ ocamlfind ocamlopt -g -package unix -linkpkg -o test_ancient_dict_read.opt ancient.cmxa test_ancient_dict_read.cmx + make doc rm -rf html mkdir html ocamlfind ocamldoc -html -stars -sort -package unix -d html ancient.ml{i,} File "ancient.mli", line 33, character 0: [Invalid_argument is not a valid exception constructor in "@raise [Invalid_argument "deleted"] if the object has been deleted." File "ancient.mli", line 37, character 0: [Invalid_argument is not a valid exception constructor in "@raise [Invalid_argument "deleted"] if the object has been deleted." File "ancient.mli", line 43, character 0: [Invalid_argument is not a valid exception constructor in "@raise [Invalid_argument "deleted"] if the object has been deleted. Forgetting to delete an ancient object results in a memory leak." File "ancient.mli", line 49, character 0: [Invalid_argument is not a valid exception constructor in "@raise [Invalid_argument "deleted"] if the object has been deleted. Forgetting to delete an ancient object results in a memory leak." Warning: Element Gc.compact not found Warning: Element Unix.openfile not found Warning: Element Unix.share not found Warning: Tag @raises not handled by this generator 4 error(s) encountered make: [Makefile:137: doc] Error 1 (ignored) + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.X7WJuL + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ocaml-ancient-0.9.0-34.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ocaml-ancient-0.9.0-34.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/ocaml-ancient-0.9.0-34.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ocaml-ancient-0.9.0-34.fc28.riscv64 + cd ancient-0.9.0 + export DESTDIR=/builddir/build/BUILDROOT/ocaml-ancient-0.9.0-34.fc28.riscv64 + DESTDIR=/builddir/build/BUILDROOT/ocaml-ancient-0.9.0-34.fc28.riscv64 + export OCAMLFIND_DESTDIR=/builddir/build/BUILDROOT/ocaml-ancient-0.9.0-34.fc28.riscv64/usr/lib64/ocaml + OCAMLFIND_DESTDIR=/builddir/build/BUILDROOT/ocaml-ancient-0.9.0-34.fc28.riscv64/usr/lib64/ocaml + mkdir -p /builddir/build/BUILDROOT/ocaml-ancient-0.9.0-34.fc28.riscv64/usr/lib64 + mkdir -p /builddir/build/BUILDROOT/ocaml-ancient-0.9.0-34.fc28.riscv64/usr/lib64/ocaml /builddir/build/BUILDROOT/ocaml-ancient-0.9.0-34.fc28.riscv64/usr/lib64/ocaml/stublibs + ocamlfind install ancient ancient.cmi ancient.mli ancient.cma ancient.cmx ancient.cmxa ancient.a libancient.a dllancient.so mmalloc/libmmalloc.a META Installed /builddir/build/BUILDROOT/ocaml-ancient-0.9.0-34.fc28.riscv64/usr/lib64/ocaml/ancient/libmmalloc.a Installed /builddir/build/BUILDROOT/ocaml-ancient-0.9.0-34.fc28.riscv64/usr/lib64/ocaml/ancient/libancient.a Installed /builddir/build/BUILDROOT/ocaml-ancient-0.9.0-34.fc28.riscv64/usr/lib64/ocaml/ancient/ancient.a Installed /builddir/build/BUILDROOT/ocaml-ancient-0.9.0-34.fc28.riscv64/usr/lib64/ocaml/ancient/ancient.cmxa Installed /builddir/build/BUILDROOT/ocaml-ancient-0.9.0-34.fc28.riscv64/usr/lib64/ocaml/ancient/ancient.cmx Installed /builddir/build/BUILDROOT/ocaml-ancient-0.9.0-34.fc28.riscv64/usr/lib64/ocaml/ancient/ancient.cma Installed /builddir/build/BUILDROOT/ocaml-ancient-0.9.0-34.fc28.riscv64/usr/lib64/ocaml/ancient/ancient.mli Installed /builddir/build/BUILDROOT/ocaml-ancient-0.9.0-34.fc28.riscv64/usr/lib64/ocaml/ancient/ancient.cmi Installed /builddir/build/BUILDROOT/ocaml-ancient-0.9.0-34.fc28.riscv64/usr/lib64/ocaml/stublibs/dllancient.so Installed /builddir/build/BUILDROOT/ocaml-ancient-0.9.0-34.fc28.riscv64/usr/lib64/ocaml/stublibs/dllancient.so.owner ocamlfind: [WARNING] You have installed DLLs but the directory /builddir/build/BUILDROOT/ocaml-ancient-0.9.0-34.fc28.riscv64/usr/lib64/ocaml/stublibs is not mentioned in ld.conf Installed /builddir/build/BUILDROOT/ocaml-ancient-0.9.0-34.fc28.riscv64/usr/lib64/ocaml/ancient/META + chrpath --delete /builddir/build/BUILDROOT/ocaml-ancient-0.9.0-34.fc28.riscv64/usr/lib64/ocaml/stublibs/dllancient.so + /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-ancient-0.9.0-34.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.H8DCA0 + umask 022 + cd /builddir/build/BUILD + cd ancient-0.9.0 + DOCDIR=/builddir/build/BUILDROOT/ocaml-ancient-0.9.0-34.fc28.riscv64/usr/share/doc/ocaml-ancient + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ocaml-ancient-0.9.0-34.fc28.riscv64/usr/share/doc/ocaml-ancient + cp -pr mmalloc/COPYING.LIB /builddir/build/BUILDROOT/ocaml-ancient-0.9.0-34.fc28.riscv64/usr/share/doc/ocaml-ancient + exit 0 Provides: ocaml(Ancient) = 446ad6060339e97821f072667025265b ocaml-ancient = 0.9.0-34.fc28 ocaml-ancient(riscv-64) = 0.9.0-34.fc28 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) ocaml(CamlinternalBigarray) = 4ff98b0650eef9c38ee9c9930e0c3e9b ocaml(CamlinternalFormatBasics) = 79ae8c0eb753af6b441fe05456c7970b ocaml(Complex) = cd4856c93f21942683ce190142e88396 ocaml(Pervasives) = 9b04ecdc97e5102c1d342892ef7ad9a2 ocaml(Unix) = 053326e853ce10e1fadf8d891f08f891 ocaml(runtime) = 4.06.0 rtld(GNU_HASH) Processing files: ocaml-ancient-devel-0.9.0-34.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.qKEkmi + umask 022 + cd /builddir/build/BUILD + cd ancient-0.9.0 + DOCDIR=/builddir/build/BUILDROOT/ocaml-ancient-0.9.0-34.fc28.riscv64/usr/share/doc/ocaml-ancient-devel + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ocaml-ancient-0.9.0-34.fc28.riscv64/usr/share/doc/ocaml-ancient-devel + cp -pr README.txt /builddir/build/BUILDROOT/ocaml-ancient-0.9.0-34.fc28.riscv64/usr/share/doc/ocaml-ancient-devel + cp -pr html/Ancient.html html/index.html html/index_attributes.html html/index_class_types.html html/index_classes.html html/index_exceptions.html html/index_extensions.html html/index_methods.html html/index_module_types.html html/index_modules.html html/index_types.html html/index_values.html html/style.css html/type_Ancient.html /builddir/build/BUILDROOT/ocaml-ancient-0.9.0-34.fc28.riscv64/usr/share/doc/ocaml-ancient-devel + exit 0 Provides: ocaml-ancient-devel = 0.9.0-34.fc28 ocaml-ancient-devel(riscv-64) = 0.9.0-34.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-ancient-0.9.0-34.fc28.riscv64 Wrote: /builddir/build/SRPMS/ocaml-ancient-0.9.0-34.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/ocaml-ancient-0.9.0-34.fc28.riscv64.rpm Wrote: /builddir/build/RPMS/riscv64/ocaml-ancient-devel-0.9.0-34.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.9Ug6FZ + umask 022 + cd /builddir/build/BUILD + cd ancient-0.9.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/ocaml-ancient-0.9.0-34.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