+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/ocaml-p3l.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.14KCl5 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ocamlp3l-2.03 + /usr/bin/gzip -dc /builddir/build/SOURCES/ocamlp3l-2.03.tgz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd ocamlp3l-2.03 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (debian-01-correct-href-to-gz-doc.patch):' Patch #0 (debian-01-correct-href-to-gz-doc.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file doc/eng.htm patching file doc/fra.htm patching file doc/papers/eng.htm patching file doc/papers/fra.htm + echo 'Patch #1 (debian-02-install-mli.patch):' Patch #1 (debian-02-install-mli.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Source/Makefile + echo 'Patch #2 (ocamlp3l-2.03-fix-ocaml-marshal.patch):' Patch #2 (ocamlp3l-2.03-fix-ocaml-marshal.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Source/commlib.ml + echo 'Patch #3 (ocamlp3l-2.03-fix-warn-error.patch):' Patch #3 (ocamlp3l-2.03-fix-warn-error.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file makefile.application + echo 'Patch #4 (ocamlp3l-2.03-kill-warn-error.patch):' Patch #4 (ocamlp3l-2.03-kill-warn-error.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file makefile.application + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.flP0H4 + umask 022 + cd /builddir/build/BUILD + cd ocamlp3l-2.03 + unset MAKEFLAGS + make configure mkdir -p vprocess vthread for i in vprocess vthread; do \ (cd Source; cp -pfr command_options.ml version.ml basedefs.ml commlib.ml streams.ml p3lstream.ml seqp3l.ml parp3l.ml grafp3l.ml template.ml nodecode.ml command_options.mli version.mli basedefs.mli commlib.mli streams.mli p3lstream.mli seqp3l.mli parp3l.mli grafp3l.mli template.mli nodecode.mli server_process.ml server_thread.ml server.mli Makefile ../$i); \ done for i in vprocess vthread; do \ touch $i/.depend; \ sleep 1; \ touch $i/.depend-rebuild; \ done; \ make depend make[1]: Entering directory '/builddir/build/BUILD/ocamlp3l-2.03' for i in process thread; do \ (cd v$i; \ make depend PACKAGELIBDIR="`ocamlc -where`"/ocamlp3l/v$i MODEL=$i); \ done make[2]: Entering directory '/builddir/build/BUILD/ocamlp3l-2.03/vprocess' if [ process = "process" ]; then \ cp -pfr server_process.ml server.ml; \ else \ cp -pfr server_thread.ml server.ml; \ fi ocamldep command_options.mli version.mli p3lstream.mli basedefs.mli server.mli commlib.mli parp3l.mli template.mli nodecode.mli streams.mli seqp3l.mli grafp3l.mli command_options.ml version.ml p3lstream.ml basedefs.ml server.ml commlib.ml parp3l.ml template.ml nodecode.ml streams.ml seqp3l.ml grafp3l.ml > .depend make[2]: Nothing to be done for 'depend'. make[2]: Leaving directory '/builddir/build/BUILD/ocamlp3l-2.03/vprocess' make[2]: Entering directory '/builddir/build/BUILD/ocamlp3l-2.03/vthread' if [ thread = "process" ]; then \ cp -pfr server_process.ml server.ml; \ else \ cp -pfr server_thread.ml server.ml; \ fi ocamldep command_options.mli version.mli p3lstream.mli basedefs.mli server.mli commlib.mli parp3l.mli template.mli nodecode.mli streams.mli seqp3l.mli grafp3l.mli command_options.ml version.ml p3lstream.ml basedefs.ml server.ml commlib.ml parp3l.ml template.ml nodecode.ml streams.ml seqp3l.ml grafp3l.ml > .depend make[2]: Nothing to be done for 'depend'. make[2]: Leaving directory '/builddir/build/BUILD/ocamlp3l-2.03/vthread' cd Tools; make depend make[2]: Entering directory '/builddir/build/BUILD/ocamlp3l-2.03/Tools' make[2]: Nothing to be done for 'depend'. make[2]: Leaving directory '/builddir/build/BUILD/ocamlp3l-2.03/Tools' make[1]: Leaving directory '/builddir/build/BUILD/ocamlp3l-2.03' + make 'CAMLCBIN=ocamlopt.opt -g' for i in process thread; do \ (cd v$i; \ make all PACKAGELIBDIR="`ocamlc -where`"/ocamlp3l/v$i MODEL=$i); \ done make[1]: Entering directory '/builddir/build/BUILD/ocamlp3l-2.03/vprocess' ocamlc -g -c command_options.mli ocamlc -g -c command_options.ml ocamlc -g -c version.mli ocamlc -g -c version.ml ocamlc -g -c p3lstream.mli ocamlc -g -c p3lstream.ml ocamlc -g -c basedefs.mli ocamlc -g -c basedefs.ml ocamlc -g -c server.mli ocamlc -g -c server.ml ocamlc -g -c commlib.mli ocamlc -g -c commlib.ml File "commlib.ml", line 222, characters 61-65: Error: This expression has type string but an expression was expected of type bytes make[1]: *** [../makefile.common:41: commlib.cmo] Error 2 make[1]: Leaving directory '/builddir/build/BUILD/ocamlp3l-2.03/vprocess' make[1]: Entering directory '/builddir/build/BUILD/ocamlp3l-2.03/vthread' ocamlc -g -c command_options.mli ocamlc -g -thread -c command_options.ml ocamlc -g -c version.mli ocamlc -g -thread -c version.ml ocamlc -g -c p3lstream.mli ocamlc -g -thread -c p3lstream.ml ocamlc -g -c basedefs.mli ocamlc -g -thread -c basedefs.ml ocamlc -g -c server.mli ocamlc -g -thread -c server.ml ocamlc -g -c commlib.mli ocamlc -g -thread -c commlib.ml File "commlib.ml", line 222, characters 61-65: Error: This expression has type string but an expression was expected of type bytes make[1]: *** [../makefile.common:41: commlib.cmo] Error 2 make[1]: Leaving directory '/builddir/build/BUILD/ocamlp3l-2.03/vthread' make: *** [makefile:69: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.flP0H4 (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.flP0H4 (%build) ++ cleanup ++ set +e ++ sync ++ sleep 5 ++ sync ++ poweroff Terminated +++ cleanup +++ set +e +++ sync Terminated ++++ cleanup ++++ set +e ++++ sync ++++ sleep 5 ++++ sync ++++ poweroff