+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/ocaml-camlidl.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.71Xcg0 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf camlidl-1.05 + /usr/bin/tar -xof - + /usr/bin/gzip -dc /builddir/build/SOURCES/camlidl-1.05.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd camlidl-1.05 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (camlidl-1.05-use-ocamlopt-for-compiler.patch):' Patch #1 (camlidl-1.05-use-ocamlopt-for-compiler.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file compiler/Makefile + echo 'Patch #2 (camlidl-1.05-bytecode.patch):' Patch #2 (camlidl-1.05-bytecode.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file compiler/Makefile patching file lib/Makefile patching file Makefile patching file runtime/Makefile.unix patching file tools/Makefile.unix + sed -e 's|^OCAMLLIB=.*|OCAMLLIB=/usr/lib64/ocaml|' -e 's|^BINDIR=.*|BINDIR=/usr/bin|' -e 's|^OCAMLC=.*|OCAMLC=ocamlc.opt -g|' -e 's|^OCAMLOPT=.*|OCAMLOPT=ocamlopt.opt -g|' + mv compiler/array.ml compiler/idlarray.ml + mv compiler/array.mli compiler/idlarray.mli + perl -pi.bak -e s/array/idlarray/g compiler/Makefile compiler/.depend + perl -pi.bak -e 's/Array(?!\d)/Idlarray/g' compiler/clflags.ml compiler/constdecl.ml compiler/cvttyp.ml compiler/cvtval.ml compiler/enum.ml compiler/enumdecl.ml compiler/file.ml compiler/fixlabels.ml compiler/funct.ml compiler/idlarray.ml compiler/intf.ml compiler/lexpr.ml compiler/main.ml compiler/normalize.ml compiler/parse.ml compiler/parse_aux.ml compiler/predef.ml compiler/prefix.ml compiler/struct.ml compiler/structdecl.ml compiler/typedef.ml compiler/union.ml compiler/uniondecl.ml compiler/utils.ml compiler/variables.ml + cp /builddir/build/SOURCES/camlidl-1.05.doc.pdf . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.MvLr4n + umask 022 + cd /builddir/build/BUILD + cd camlidl-1.05 + make all cd compiler; make all make[1]: Entering directory '/builddir/build/BUILD/camlidl-1.05/compiler' rm -f config.ml sed -e 's|%%CPP%%|/lib/cpp|' \ config.mlp > config.ml chmod -w config.ml ocamlc.opt -g -c config.mli ocamlopt.opt -g -c config.ml ocamlc.opt -g -c utils.mli ocamlopt.opt -g -c utils.ml File "utils.ml", line 51, characters 15-28: Warning 3: deprecated: String.create Use Bytes.create instead. ocamlopt.opt -g -c clflags.ml ocamlc.opt -g -c idltypes.mli ocamlc.opt -g -c prefix.mli ocamlopt.opt -g -c prefix.ml ocamlc.opt -g -c lexpr.mli ocamlopt.opt -g -c lexpr.ml File "lexpr.ml", line 268, characters 10-16: Warning 26: unused variable trail'. ocamlc.opt -g -c cvttyp.mli ocamlopt.opt -g -c cvttyp.ml File "cvttyp.ml", line 126, characters 49-66: Warning 3: deprecated: String.capitalize Use String.capitalize_ascii instead. File "cvttyp.ml", line 127, characters 20-39: Warning 3: deprecated: String.uncapitalize Use String.uncapitalize_ascii instead. File "cvttyp.ml", line 132, characters 49-66: Warning 3: deprecated: String.capitalize Use String.capitalize_ascii instead. File "cvttyp.ml", line 135, characters 25-44: Warning 3: deprecated: String.uncapitalize Use String.uncapitalize_ascii instead. ocamlc.opt -g -c variables.mli ocamlopt.opt -g -c variables.ml ocamlc.opt -g -c idlarray.mli ocamlopt.opt -g -c idlarray.ml ocamlc.opt -g -c struct.mli ocamlopt.opt -g -c struct.ml ocamlc.opt -g -c enum.mli ocamlopt.opt -g -c enum.ml ocamlc.opt -g -c union.mli ocamlopt.opt -g -c union.ml ocamlc.opt -g -c cvtval.mli ocamlopt.opt -g -c cvtval.ml ocamlc.opt -g -c structdecl.mli ocamlopt.opt -g -c structdecl.ml File "structdecl.ml", line 30, characters 27-46: Warning 3: deprecated: String.uncapitalize Use String.uncapitalize_ascii instead. File "structdecl.ml", line 39, characters 19-38: Warning 3: deprecated: String.uncapitalize Use String.uncapitalize_ascii instead. ocamlc.opt -g -c enumdecl.mli ocamlopt.opt -g -c enumdecl.ml File "enumdecl.ml", line 30, characters 28-47: Warning 3: deprecated: String.uncapitalize Use String.uncapitalize_ascii instead. File "enumdecl.ml", line 32, characters 37-54: Warning 3: deprecated: String.capitalize Use String.capitalize_ascii instead. ocamlc.opt -g -c uniondecl.mli ocamlopt.opt -g -c uniondecl.ml File "uniondecl.ml", line 30, characters 28-47: Warning 3: deprecated: String.uncapitalize Use String.uncapitalize_ascii instead. File "uniondecl.ml", line 37, characters 24-41: Warning 3: deprecated: String.capitalize Use String.capitalize_ascii instead. ocamlc.opt -g -c typedef.mli ocamlopt.opt -g -c typedef.ml File "typedef.ml", line 48, characters 30-49: Warning 3: deprecated: String.uncapitalize Use String.uncapitalize_ascii instead. File "typedef.ml", line 50, characters 25-44: Warning 3: deprecated: String.uncapitalize Use String.uncapitalize_ascii instead. File "typedef.ml", line 53, characters 15-34: Warning 3: deprecated: String.uncapitalize Use String.uncapitalize_ascii instead. ocamlc.opt -g -c funct.mli ocamlopt.opt -g -c funct.ml File "funct.ml", line 104, characters 31-50: Warning 3: deprecated: String.uncapitalize Use String.uncapitalize_ascii instead. ocamlc.opt -g -c constdecl.mli ocamlopt.opt -g -c constdecl.ml File "constdecl.ml", line 34, characters 26-45: Warning 3: deprecated: String.uncapitalize Use String.uncapitalize_ascii instead. File "constdecl.ml", line 54, characters 13-32: Warning 3: deprecated: String.uncapitalize Use String.uncapitalize_ascii instead. File "constdecl.ml", line 36, characters 4-24: Warning 26: unused variable ty. ocamlc.opt -g -c intf.mli ocamlopt.opt -g -c intf.ml File "intf.ml", line 46, characters 21-40: Warning 3: deprecated: String.uncapitalize Use String.uncapitalize_ascii instead. File "intf.ml", line 51, characters 15-34: Warning 3: deprecated: String.uncapitalize Use String.uncapitalize_ascii instead. File "intf.ml", line 52, characters 16-35: Warning 3: deprecated: String.uncapitalize Use String.uncapitalize_ascii instead. File "intf.ml", line 62, characters 18-37: Warning 3: deprecated: String.uncapitalize Use String.uncapitalize_ascii instead. File "intf.ml", line 162, characters 17-36: Warning 3: deprecated: String.uncapitalize Use String.uncapitalize_ascii instead. File "intf.ml", line 163, characters 18-37: Warning 3: deprecated: String.uncapitalize Use String.uncapitalize_ascii instead. File "intf.ml", line 199, characters 21-40: Warning 3: deprecated: String.uncapitalize Use String.uncapitalize_ascii instead. File "intf.ml", line 260, characters 31-50: Warning 3: deprecated: String.uncapitalize Use String.uncapitalize_ascii instead. File "intf.ml", line 312, characters 12-16: Warning 26: unused variable outs. File "intf.ml", line 312, characters 7-10: Warning 26: unused variable ins. ocamlc.opt -g -c file.mli ocamlopt.opt -g -c file.ml File "file.ml", line 216, characters 31-47: Warning 3: deprecated: String.uppercase Use String.uppercase_ascii instead. ocamlc.opt -g -c predef.mli ocamlopt.opt -g -c predef.ml ocamllex linenum.mll 16 states, 331 transitions, table size 1420 bytes ocamlc.opt -g -c linenum.mli ocamlopt.opt -g -c linenum.ml ocamlc.opt -g -c parse_aux.mli ocamlopt.opt -g -c parse_aux.ml File "parse_aux.ml", line 167, characters 23-54: Warning 23: all the fields are explicitly listed in this record: the 'with' clause is useless. File "parse_aux.ml", line 169, characters 42-74: Warning 23: all the fields are explicitly listed in this record: the 'with' clause is useless. File "parse_aux.ml", line 171, characters 22-47: Warning 23: all the fields are explicitly listed in this record: the 'with' clause is useless. File "parse_aux.ml", line 230, characters 10-26: Warning 3: deprecated: String.lowercase Use String.lowercase_ascii instead. File "parse_aux.ml", line 459, characters 10-26: Warning 3: deprecated: String.lowercase Use String.lowercase_ascii instead. ocamlyacc -v parser_midl.mly 12 shift/reduce conflicts. ocamlc.opt -g -c parser_midl.mli ocamlopt.opt -g -c parser_midl.ml ocamllex lexer_midl.mll 129 states, 1747 transitions, table size 7762 bytes ocamlc.opt -g -c lexer_midl.mli ocamlopt.opt -g -c lexer_midl.ml ocamlc.opt -g -c parse.mli ocamlopt.opt -g -c parse.ml ocamlc.opt -g -c fixlabels.mli ocamlopt.opt -g -c fixlabels.ml ocamlc.opt -g -c normalize.mli ocamlopt.opt -g -c normalize.ml ocamlopt.opt -g -c main.ml ocamlopt.opt -g -o camlidl config.cmx utils.cmx clflags.cmx prefix.cmx lexpr.cmx cvttyp.cmx variables.cmx idlarray.cmx struct.cmx enum.cmx union.cmx cvtval.cmx structdecl.cmx enumdecl.cmx uniondecl.cmx typedef.cmx funct.cmx constdecl.cmx intf.cmx file.cmx predef.cmx linenum.cmx parse_aux.cmx parser_midl.cmx lexer_midl.cmx parse.cmx fixlabels.cmx normalize.cmx main.cmx make[1]: Leaving directory '/builddir/build/BUILD/camlidl-1.05/compiler' cd runtime; make all make[1]: Entering directory '/builddir/build/BUILD/camlidl-1.05/runtime' ocamlc.opt -g -ccopt "-Wall -g" idlalloc.c ocamlc.opt -g -ccopt "-Wall -g" comintf.c ocamlc.opt -g -ccopt "-Wall -g" comerror.c comerror.c: In function 'camlidl_error': comerror.c:52:8: warning: unused variable 'msg' [-Wunused-variable] char msg[1024]; ^~~ In file included from /usr/lib64/ocaml/caml/mlvalues.h:20:0, from comerror.c:20: comerror.c: In function 'camlidl_uncaught_exception': /usr/lib64/ocaml/caml/compatibility.h:255:31: warning: implicit declaration of function 'caml_format_exception'; did you mean 'camlidl_result_exception'? [-Wimplicit-function-declaration] #define format_caml_exception caml_format_exception /*SP*/ ^ comerror.c:171:16: note: in expansion of macro 'format_caml_exception' char * msg = format_caml_exception(exn_bucket); ^~~~~~~~~~~~~~~~~~~~~ /usr/lib64/ocaml/caml/compatibility.h:255:31: warning: initialization makes pointer from integer without a cast [-Wint-conversion] #define format_caml_exception caml_format_exception /*SP*/ ^ comerror.c:171:16: note: in expansion of macro 'format_caml_exception' char * msg = format_caml_exception(exn_bucket); ^~~~~~~~~~~~~~~~~~~~~ rm -f libcamlidl.a ar rc libcamlidl.a idlalloc.o comintf.o comerror.o ranlib libcamlidl.a make[1]: Leaving directory '/builddir/build/BUILD/camlidl-1.05/runtime' cd lib; make all make[1]: Entering directory '/builddir/build/BUILD/camlidl-1.05/lib' ocamlc.opt -g -c com.mli ocamlc.opt -g -c com.ml ocamlc.opt -g -a -o com.cma com.cmo ocamlopt.opt -g -c com.ml ocamlopt.opt -g -a -o com.cmxa com.cmx make[1]: Leaving directory '/builddir/build/BUILD/camlidl-1.05/lib' cd tools; make all make[1]: Entering directory '/builddir/build/BUILD/camlidl-1.05/tools' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/builddir/build/BUILD/camlidl-1.05/tools' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.6hQXo1 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ocaml-camlidl-1.05-43.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ocaml-camlidl-1.05-43.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/ocaml-camlidl-1.05-43.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ocaml-camlidl-1.05-43.fc28.riscv64 + cd camlidl-1.05 + mkdir -p /builddir/build/BUILDROOT/ocaml-camlidl-1.05-43.fc28.riscv64//usr/lib64/ocaml + mkdir -p /builddir/build/BUILDROOT/ocaml-camlidl-1.05-43.fc28.riscv64//usr/lib64/ocaml/caml + mkdir -p /builddir/build/BUILDROOT/ocaml-camlidl-1.05-43.fc28.riscv64//usr/lib64/ocaml/stublibs + mkdir -p /builddir/build/BUILDROOT/ocaml-camlidl-1.05-43.fc28.riscv64//usr/bin + sed s/@VERSION@/1.05/ + make OCAMLLIB=/builddir/build/BUILDROOT/ocaml-camlidl-1.05-43.fc28.riscv64//usr/lib64/ocaml BINDIR=/builddir/build/BUILDROOT/ocaml-camlidl-1.05-43.fc28.riscv64//usr/bin install cd compiler; make install make[1]: Entering directory '/builddir/build/BUILD/camlidl-1.05/compiler' cp camlidl /builddir/build/BUILDROOT/ocaml-camlidl-1.05-43.fc28.riscv64//usr/bin make[1]: Leaving directory '/builddir/build/BUILD/camlidl-1.05/compiler' cd runtime; make install make[1]: Entering directory '/builddir/build/BUILD/camlidl-1.05/runtime' cp camlidlruntime.h /builddir/build/BUILDROOT/ocaml-camlidl-1.05-43.fc28.riscv64//usr/lib64/ocaml/caml/camlidlruntime.h cp libcamlidl.a /builddir/build/BUILDROOT/ocaml-camlidl-1.05-43.fc28.riscv64//usr/lib64/ocaml/libcamlidl.a cd /builddir/build/BUILDROOT/ocaml-camlidl-1.05-43.fc28.riscv64//usr/lib64/ocaml; ranlib libcamlidl.a make[1]: Leaving directory '/builddir/build/BUILD/camlidl-1.05/runtime' cd lib; make install make[1]: Entering directory '/builddir/build/BUILD/camlidl-1.05/lib' cp com.cmi com.cma com.cmxa com.a /builddir/build/BUILDROOT/ocaml-camlidl-1.05-43.fc28.riscv64//usr/lib64/ocaml cd /builddir/build/BUILDROOT/ocaml-camlidl-1.05-43.fc28.riscv64//usr/lib64/ocaml; ranlib com.a make[1]: Leaving directory '/builddir/build/BUILD/camlidl-1.05/lib' cd tools; make install make[1]: Entering directory '/builddir/build/BUILD/camlidl-1.05/tools' make[1]: Nothing to be done for 'install'. make[1]: Leaving directory '/builddir/build/BUILD/camlidl-1.05/tools' + /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-camlidl-1.05-43.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.8ZYhqV + umask 022 + cd /builddir/build/BUILD + cd camlidl-1.05 + DOCDIR=/builddir/build/BUILDROOT/ocaml-camlidl-1.05-43.fc28.riscv64/usr/share/doc/ocaml-camlidl + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ocaml-camlidl-1.05-43.fc28.riscv64/usr/share/doc/ocaml-camlidl + cp -pr LICENSE /builddir/build/BUILDROOT/ocaml-camlidl-1.05-43.fc28.riscv64/usr/share/doc/ocaml-camlidl + exit 0 Provides: ocaml(Com) = 2e666ddc84d376eb7c05a222f7b431be ocaml-camlidl = 1.05-43.fc28 ocaml-camlidl(riscv-64) = 1.05-43.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) libdl.so.2()(64bit) libdl.so.2(GLIBC_2.27)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) ocaml(Callback) = 381b3818bd7b7f37a7bf11fb6c76a12a ocaml(CamlinternalFormatBasics) = 79ae8c0eb753af6b441fe05456c7970b ocaml(Int32) = dbc028028ad4d59759d36dd6c0796919 ocaml(Obj) = 8a1a1ebb4979c1cf4966cc2e706bd0f9 ocaml(Pervasives) = 9b04ecdc97e5102c1d342892ef7ad9a2 ocaml(runtime) = 4.06.0 rtld(GNU_HASH) Processing files: ocaml-camlidl-devel-1.05-43.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.CJ0MkL + umask 022 + cd /builddir/build/BUILD + cd camlidl-1.05 + DOCDIR=/builddir/build/BUILDROOT/ocaml-camlidl-1.05-43.fc28.riscv64/usr/share/doc/ocaml-camlidl-devel + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ocaml-camlidl-1.05-43.fc28.riscv64/usr/share/doc/ocaml-camlidl-devel + cp -pr LICENSE /builddir/build/BUILDROOT/ocaml-camlidl-1.05-43.fc28.riscv64/usr/share/doc/ocaml-camlidl-devel + cp -pr README /builddir/build/BUILDROOT/ocaml-camlidl-1.05-43.fc28.riscv64/usr/share/doc/ocaml-camlidl-devel + cp -pr Changes /builddir/build/BUILDROOT/ocaml-camlidl-1.05-43.fc28.riscv64/usr/share/doc/ocaml-camlidl-devel + cp -pr camlidl-1.05.doc.pdf /builddir/build/BUILDROOT/ocaml-camlidl-1.05-43.fc28.riscv64/usr/share/doc/ocaml-camlidl-devel + cp -pr tests /builddir/build/BUILDROOT/ocaml-camlidl-1.05-43.fc28.riscv64/usr/share/doc/ocaml-camlidl-devel + exit 0 Provides: ocaml-camlidl-devel = 1.05-43.fc28 ocaml-camlidl-devel(riscv-64) = 1.05-43.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-camlidl-1.05-43.fc28.riscv64 Wrote: /builddir/build/SRPMS/ocaml-camlidl-1.05-43.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/ocaml-camlidl-1.05-43.fc28.riscv64.rpm Wrote: /builddir/build/RPMS/riscv64/ocaml-camlidl-devel-1.05-43.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.zEMkbX + umask 022 + cd /builddir/build/BUILD + cd camlidl-1.05 + /usr/bin/rm -rf /builddir/build/BUILDROOT/ocaml-camlidl-1.05-43.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