+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/ocaml-xmlm.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.2STVot + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf xmlm-1.2.0 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/xmlm-1.2.0.tbz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd xmlm-1.2.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (xmlm-1.2.0-debug.patch):' Patch #0 (xmlm-1.2.0-debug.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .debug --fuzz=0 patching file _tags + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.A7sUQ2 + umask 022 + cd /builddir/build/BUILD + cd xmlm-1.2.0 + ./pkg/build true ocamlfind ocamldep -modules src/xmlm.mli > src/xmlm.mli.depends ocamlfind ocamlc -c -g -I src -I test -o src/xmlm.cmi src/xmlm.mli ocamlfind ocamldep -modules src/xmlm.ml > src/xmlm.ml.depends ocamlfind ocamlopt -c -g -annot -bin-annot -I src -I test -o src/xmlm.cmx src/xmlm.ml + ocamlfind ocamlopt -c -g -annot -bin-annot -I src -I test -o src/xmlm.cmx src/xmlm.ml File "src/xmlm.ml", line 965, characters 19-47: Error: This expression has type string -> int -> int -> unit but an expression was expected of type bytes -> int -> int -> unit Type string is not compatible with type bytes Command exited with code 2. error: Bad exit status from /var/tmp/rpm-tmp.A7sUQ2 (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.A7sUQ2 (%build) ++ cleanup ++ set +e ++ sync ++ sleep 5 ++ sync ++ poweroff Terminated +++ cleanup +++ set +e +++ sync +++ sleep 5 Terminated ++++ cleanup ++++ set +e ++++ sync ++++ sleep 5 ++++ sync ++++ poweroff