+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/ocaml-mikmatch.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 warning: Macro expanded in comment on line 14: %{version}.tar.gz Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.4kbccw + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf mikmatch-8a892254c4055e21c1b7040add541c5e1587ce17 + /usr/bin/gzip -dc /builddir/build/SOURCES/ocaml-mikmatch-8a892254.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd mikmatch-8a892254c4055e21c1b7040add541c5e1587ce17 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.viH9Jx + umask 022 + cd /builddir/build/BUILD + cd mikmatch-8a892254c4055e21c1b7040add541c5e1587ce17 + unset MAKEFLAGS + make all str pcre OCAMLFLAGS=-g cd common && make make[1]: Entering directory '/builddir/build/BUILD/mikmatch-8a892254c4055e21c1b7040add541c5e1587ce17/common' make[2]: Entering directory '/builddir/build/BUILD/mikmatch-8a892254c4055e21c1b7040add541c5e1587ce17/common' making ._d/select_lib.d from select_lib.ml making ._d/regexp_ast.d from regexp_ast.ml making ._d/constants.d from constants.ml making ._d/charset.d from charset.ml making ._d/messages.d from messages.ml making ._d/global_def.d from global_def.ml ocamlc -c -g -I /usr/lib64/ocaml/camlp4 global_def.mli ocamlc -c -pp "camlp4orf " -g -I /usr/lib64/ocaml/camlp4 global_def.ml ocamlc -c -g -I /usr/lib64/ocaml/camlp4 messages.ml ocamlc -c -g -I /usr/lib64/ocaml/camlp4 charset.ml File "charset.ml", line 37, characters 16-30: Warning 3: deprecated: Char.lowercase Use Char.lowercase_ascii instead. File "charset.ml", line 38, characters 16-30: Warning 3: deprecated: Char.uppercase Use Char.uppercase_ascii instead. ocamlc -c -pp "camlp4orf " -g -I /usr/lib64/ocaml/camlp4 constants.ml ocamlc -c -g -I /usr/lib64/ocaml/camlp4 regexp_ast.ml ocamlc -c -g -I /usr/lib64/ocaml/camlp4 select_lib.ml make[2]: Leaving directory '/builddir/build/BUILD/mikmatch-8a892254c4055e21c1b7040add541c5e1587ce17/common' make[1]: Leaving directory '/builddir/build/BUILD/mikmatch-8a892254c4055e21c1b7040add541c5e1587ce17/common' cd pcre && make all-bc make[1]: Entering directory '/builddir/build/BUILD/mikmatch-8a892254c4055e21c1b7040add541c5e1587ce17/pcre' ln -s ../common/mikmatch.mli mikmatch.mli ln -s ../common/mikmatch.ml mikmatch.ml ln -s ../common/match.ml match.ml ln -s ../common/syntax_common.ml syntax_common.ml ln -s ../common/mm_util.ml mm_util.ml ln -s ../common/global_def.mli global_def.mli ln -s ../common/global_def.ml global_def.ml make RESULT=pa_mikmatch_pcre pabc bcl make[2]: Entering directory '/builddir/build/BUILD/mikmatch-8a892254c4055e21c1b7040add541c5e1587ce17/pcre' make[3]: Entering directory '/builddir/build/BUILD/mikmatch-8a892254c4055e21c1b7040add541c5e1587ce17/pcre' making ._bcdi/global_def.di from global_def.mli making ._d/syntax_pcre.d from syntax_pcre.ml making ._d/syntax_common.d from syntax_common.ml making ._d/pcre_lib.d from pcre_lib.ml making ._d/match.d from match.ml making ._d/global_def.d from global_def.ml making ._d/mm_util.d from mm_util.ml ocamlc -c -pp "camlp4orf " -g -I /usr/lib64/ocaml/camlp4 -I ../common mm_util.ml File "mm_util.ml", line 49, characters 10-11: Warning 11: this match case is unused. ocamlc -c -g -I /usr/lib64/ocaml/camlp4 -I ../common global_def.mli ocamlc -c -pp "camlp4orf " -g -I /usr/lib64/ocaml/camlp4 -I ../common global_def.ml ocamlc -c -pp "camlp4orf " -g -I /usr/lib64/ocaml/camlp4 -I ../common match.ml ocamlc -c -pp "camlp4orf " -g -I /usr/lib64/ocaml/camlp4 -I ../common pcre_lib.ml File "pcre_lib.ml", line 41, characters 9-22: Warning 3: deprecated: String.create Use Bytes.create instead. File "pcre_lib.ml", line 42, characters 1-6: Warning 3: deprecated: String.set Use Bytes.set instead. File "pcre_lib.ml", line 42, characters 16-21: Warning 3: deprecated: String.set Use Bytes.set instead. File "pcre_lib.ml", line 43, characters 16-23: Error: This expression has type string but an expression was expected of type bytes make[3]: *** [../OCamlMakefile:938: pcre_lib.cmi] Error 2 make[3]: Leaving directory '/builddir/build/BUILD/mikmatch-8a892254c4055e21c1b7040add541c5e1587ce17/pcre' make[2]: *** [../OCamlMakefile:802: pack-byte-code] Error 2 make[2]: Leaving directory '/builddir/build/BUILD/mikmatch-8a892254c4055e21c1b7040add541c5e1587ce17/pcre' make[1]: *** [Makefile:77: pa_lib] Error 2 make[1]: Leaving directory '/builddir/build/BUILD/mikmatch-8a892254c4055e21c1b7040add541c5e1587ce17/pcre' make: *** [Makefile:25: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.viH9Jx (%build) RPM build errors: Macro expanded in comment on line 14: %{version}.tar.gz Bad exit status from /var/tmp/rpm-tmp.viH9Jx (%build) ++ cleanup ++ set +e ++ sync ++ sleep 5 ++ sync ++ poweroff Terminated +++ cleanup +++ set +e +++ sync Terminated ++++ cleanup ++++ set +e ++++ sync ++++ sleep 5 ++++ sync ++++ poweroff