+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/ocaml-mysql.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.oUmcv5 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ocaml-mysql-1.2.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/ocaml-mysql-1.2.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd ocaml-mysql-1.2.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (0001-improve-check-for-link-flags-close-11.patch):' Patch #1 (0001-improve-check-for-link-flags-close-11.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Makefile.in patching file config.h.in patching file configure patching file configure.ac + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.1uQIaV + umask 022 + cd /builddir/build/BUILD + cd ocaml-mysql-1.2.1 + LDFLAGS=-L/usr/lib64/mariadb + 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=-L/usr/lib64/mariadb + 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 configure: WARNING: unrecognized options: --disable-dependency-tracking configure: checking for ocaml compiler and tools... checking for ocamlc... ocamlc checking for ocamlopt... ocamlopt checking for ocamlfind... ocamlfind checking for a BSD-compatible install... /usr/bin/install -c configure: checking for C compiler... checking for riscv64-redhat-linux-gnu-gcc... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no 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 ISO C89... none needed configure: checking for C header files... checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for mysql_config include... -I/usr/include/mysql -I/usr/include/mysql checking for mysql_config libs... -L/usr/lib64/ -lmariadb -lz -ldl -lm -lpthread -lssl -lcrypto configure: checking for mysql.h... 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 mysql.h usability... yes checking mysql.h presence... yes checking for mysql.h... yes configure: creating ./config.status config.status: creating Makefile config.status: creating config.h configure: WARNING: unrecognized options: --disable-dependency-tracking configure: creating ./config.status config.status: creating Makefile config.status: creating VERSION config.status: creating config.h config.status: config.h is unchanged configure: WARNING: unrecognized options: --disable-dependency-tracking + make all make[1]: Entering directory '/builddir/build/BUILD/ocaml-mysql-1.2.1' ocamldep mysql.mli > ._bcdi/mysql.di ocamldep mysql.ml > ._d/mysql.d ocamlc -c -cc "cc" -ccopt "-fPIC -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 -DHAVE_CONFIG_H -Wall -Wextra \ -DPIC -I/usr/include/mysql -I/usr/include/mysql \ -o mysql_stubs.o " mysql_stubs.c ar rcs libmysql_stubs.a mysql_stubs.o ocamlc -c mysql.mli ocamlc -c mysql.ml ocamlmklib \ -o mysql_stubs mysql_stubs.o -lmariadb -lz -ldl -lm -lpthread -lssl -lcrypto \ -L/usr/lib64/ ocamlc -a -dllib dllmysql_stubs.so -ccopt -L/usr/lib64/ -cclib -lmysql_stubs -cclib -lmariadb -cclib -lz -cclib -ldl -cclib -lm -cclib -lpthread -cclib -lssl -cclib -lcrypto -o mysql.cma mysql.cmo make[1]: Leaving directory '/builddir/build/BUILD/ocaml-mysql-1.2.1' + make opt make[1]: Entering directory '/builddir/build/BUILD/ocaml-mysql-1.2.1' ocamldep -native mysql.mli > ._ncdi/mysql.di make[1]: 'libmysql_stubs.a' is up to date. ocamlopt -c mysql.ml ocamlopt -a -ccopt -L/usr/lib64/ -cclib -lmysql_stubs -cclib -lmariadb -cclib -lz -cclib -ldl -cclib -lm -cclib -lpthread -cclib -lssl -cclib -lcrypto -o mysql.cmxa mysql.cmx make[1]: Leaving directory '/builddir/build/BUILD/ocaml-mysql-1.2.1' + chrpath --delete dllmysql_stubs.so + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.TV1n6i + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ocaml-mysql-1.2.1-11.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ocaml-mysql-1.2.1-11.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/ocaml-mysql-1.2.1-11.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ocaml-mysql-1.2.1-11.fc28.riscv64 + cd ocaml-mysql-1.2.1 + export DESTDIR=/builddir/build/BUILDROOT/ocaml-mysql-1.2.1-11.fc28.riscv64 + DESTDIR=/builddir/build/BUILDROOT/ocaml-mysql-1.2.1-11.fc28.riscv64 + export OCAMLFIND_DESTDIR=/builddir/build/BUILDROOT/ocaml-mysql-1.2.1-11.fc28.riscv64/usr/lib64/ocaml + OCAMLFIND_DESTDIR=/builddir/build/BUILDROOT/ocaml-mysql-1.2.1-11.fc28.riscv64/usr/lib64/ocaml + mkdir -p /builddir/build/BUILDROOT/ocaml-mysql-1.2.1-11.fc28.riscv64/usr/lib64/ocaml /builddir/build/BUILDROOT/ocaml-mysql-1.2.1-11.fc28.riscv64/usr/lib64/ocaml/stublibs + make install make[1]: Entering directory '/builddir/build/BUILD/ocaml-mysql-1.2.1' make[1]: 'libmysql_stubs.a' is up to date. ocamlc -a -dllib dllmysql_stubs.so -ccopt -L/usr/lib64/ -cclib -lmysql_stubs -cclib -lmariadb -cclib -lz -cclib -ldl -cclib -lm -cclib -lpthread -cclib -lssl -cclib -lcrypto -o mysql.cma mysql.cmo make[1]: Leaving directory '/builddir/build/BUILD/ocaml-mysql-1.2.1' Installing library with ocamlfind ocamlfind install -patch-version "1.2.1" mysql META mysql.mli mysql.cmi mysql.cma mysql.cmx mysql.cmxa libmysql_stubs.a mysql.a dllmysql_stubs.so Installed /builddir/build/BUILDROOT/ocaml-mysql-1.2.1-11.fc28.riscv64/usr/lib64/ocaml/mysql/mysql.a Installed /builddir/build/BUILDROOT/ocaml-mysql-1.2.1-11.fc28.riscv64/usr/lib64/ocaml/mysql/libmysql_stubs.a Installed /builddir/build/BUILDROOT/ocaml-mysql-1.2.1-11.fc28.riscv64/usr/lib64/ocaml/mysql/mysql.cmxa Installed /builddir/build/BUILDROOT/ocaml-mysql-1.2.1-11.fc28.riscv64/usr/lib64/ocaml/mysql/mysql.cmx Installed /builddir/build/BUILDROOT/ocaml-mysql-1.2.1-11.fc28.riscv64/usr/lib64/ocaml/mysql/mysql.cma Installed /builddir/build/BUILDROOT/ocaml-mysql-1.2.1-11.fc28.riscv64/usr/lib64/ocaml/mysql/mysql.cmi Installed /builddir/build/BUILDROOT/ocaml-mysql-1.2.1-11.fc28.riscv64/usr/lib64/ocaml/mysql/mysql.mli Installed /builddir/build/BUILDROOT/ocaml-mysql-1.2.1-11.fc28.riscv64/usr/lib64/ocaml/stublibs/dllmysql_stubs.so Installed /builddir/build/BUILDROOT/ocaml-mysql-1.2.1-11.fc28.riscv64/usr/lib64/ocaml/stublibs/dllmysql_stubs.so.owner ocamlfind: [WARNING] You have installed DLLs but the directory /builddir/build/BUILDROOT/ocaml-mysql-1.2.1-11.fc28.riscv64/usr/lib64/ocaml/stublibs is not mentioned in ld.conf Installed /builddir/build/BUILDROOT/ocaml-mysql-1.2.1-11.fc28.riscv64/usr/lib64/ocaml/mysql/META Installation successful. + /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-mysql-1.2.1-11.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.hsNhFq + umask 022 + cd /builddir/build/BUILD + cd ocaml-mysql-1.2.1 + DOCDIR=/builddir/build/BUILDROOT/ocaml-mysql-1.2.1-11.fc28.riscv64/usr/share/doc/ocaml-mysql + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ocaml-mysql-1.2.1-11.fc28.riscv64/usr/share/doc/ocaml-mysql + cp -pr COPYING /builddir/build/BUILDROOT/ocaml-mysql-1.2.1-11.fc28.riscv64/usr/share/doc/ocaml-mysql + exit 0 Provides: ocaml(Mysql) = d53a31e00f2b6fd27fced98fcb83b046 ocaml-mysql = 1.2.1-11.fc28 ocaml-mysql(riscv-64) = 1.2.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) libcrypto.so.1.1()(64bit) libdl.so.2()(64bit) libm.so.6()(64bit) libmariadb.so.3()(64bit) libmariadb.so.3(libmysqlclient_18)(64bit) libpthread.so.0()(64bit) libssl.so.1.1()(64bit) libz.so.1()(64bit) ocaml(ArrayLabels) = c4974e11dd7c941c002b826edc727de8 ocaml(Buffer) = 9c9b3639d23d7746c571cdf04646eb29 ocaml(BytesLabels) = 082178365ae645afd148522f3218f31e ocaml(Callback) = 381b3818bd7b7f37a7bf11fb6c76a12a ocaml(CamlinternalFormatBasics) = 79ae8c0eb753af6b441fe05456c7970b ocaml(Hashtbl) = 0a88e320f172d3413ba0d5e0f9c70ccd ocaml(Int32) = dbc028028ad4d59759d36dd6c0796919 ocaml(Int64) = f1c602b12ea723a45bbe6143f116a991 ocaml(List) = 7a6b1f92720df765cf38d67f920844fe ocaml(ListLabels) = f4e829075d9d0bb7de979cfc49c2600b ocaml(Map) = 8b8de381501aa7862270c15619322ee7 ocaml(MoreLabels) = db5fc31b815ab3040d5a9940a91712c4 ocaml(Nativeint) = 7b210723c1ccafec90ff1578ad7e5996 ocaml(Pervasives) = 9b04ecdc97e5102c1d342892ef7ad9a2 ocaml(Printf) = e5dfd0ca6436c8abad976fc9e914999a ocaml(Set) = 28a12def19edf36c317c30fafcc03d6d ocaml(StdLabels) = 5529e284278766333d5e40132b2cbce5 ocaml(StringLabels) = 6339e2b71e8c583a81e808954faf6818 ocaml(Uchar) = 596c497318b5c3057b47b9d6747ef5d1 ocaml(runtime) = 4.06.0 rtld(GNU_HASH) Processing files: ocaml-mysql-devel-1.2.1-11.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.2Q9bP4 + umask 022 + cd /builddir/build/BUILD + cd ocaml-mysql-1.2.1 + DOCDIR=/builddir/build/BUILDROOT/ocaml-mysql-1.2.1-11.fc28.riscv64/usr/share/doc/ocaml-mysql-devel + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ocaml-mysql-1.2.1-11.fc28.riscv64/usr/share/doc/ocaml-mysql-devel + cp -pr COPYING /builddir/build/BUILDROOT/ocaml-mysql-1.2.1-11.fc28.riscv64/usr/share/doc/ocaml-mysql-devel + cp -pr CHANGES /builddir/build/BUILDROOT/ocaml-mysql-1.2.1-11.fc28.riscv64/usr/share/doc/ocaml-mysql-devel + cp -pr README /builddir/build/BUILDROOT/ocaml-mysql-1.2.1-11.fc28.riscv64/usr/share/doc/ocaml-mysql-devel + cp -pr VERSION /builddir/build/BUILDROOT/ocaml-mysql-1.2.1-11.fc28.riscv64/usr/share/doc/ocaml-mysql-devel + exit 0 Provides: ocaml-mysql-devel = 1.2.1-11.fc28 ocaml-mysql-devel(riscv-64) = 1.2.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-mysql-1.2.1-11.fc28.riscv64 Wrote: /builddir/build/SRPMS/ocaml-mysql-1.2.1-11.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/ocaml-mysql-1.2.1-11.fc28.riscv64.rpm Wrote: /builddir/build/RPMS/riscv64/ocaml-mysql-devel-1.2.1-11.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.WSBz7B + umask 022 + cd /builddir/build/BUILD + cd ocaml-mysql-1.2.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/ocaml-mysql-1.2.1-11.fc28.riscv64 + exit 0 + touch /buildok + cleanup + set +e + sync + sleep 5 + sync + poweroff Terminated ++ cleanup ++ set +e ++ sync ++ sleep 5 Terminated +++ cleanup +++ set +e +++ sync +++ sleep 5 +++ sync +++ poweroff