+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/ocaml-react.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.d9CUOy + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf react-1.2.0 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/react-1.2.0.tbz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd react-1.2.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cp -p /builddir/build/SOURCES/react-LICENSE LICENSE + echo ' true: debug' + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.QcLM3q + umask 022 + cd /builddir/build/BUILD + cd react-1.2.0 + ocaml pkg/build.ml native=true native-dynlink=true ocamlfind ocamldep -modules src/react.ml > src/react.ml.depends ocamlfind ocamldep -modules src/react.mli > src/react.mli.depends ocamlfind ocamlc -c -g -annot -bin-annot -I src -I test -o src/react.cmi src/react.mli ocamlfind ocamlopt -c -g -annot -bin-annot -I src -I test -o src/react.cmx src/react.ml ocamlfind ocamlopt -a -I src src/react.cmx -o src/react.cmxa ocamlfind ocamlc -c -g -annot -bin-annot -I src -I test -o src/react.cmo src/react.ml ocamlfind ocamlc -a -I src src/react.cmo -o src/react.cma ocamlfind ocamlopt -shared -linkall -I src src/react.cmxa -o src/react.cmxs ocamlfind ocamldep -package compiler-libs.toplevel -modules src/react_top.ml > src/react_top.ml.depends ocamlfind ocamlc -c -g -annot -bin-annot -package compiler-libs.toplevel -I src -I test -o src/react_top.cmo src/react_top.ml + ocamlfind ocamlc -c -g -annot -bin-annot -package compiler-libs.toplevel -I src -I test -o src/react_top.cmo src/react_top.ml findlib: [WARNING] Interface topdirs.cmi occurs in several directories: /usr/lib64/ocaml, /usr/lib64/ocaml/compiler-libs ocamlfind ocamlopt -c -g -annot -bin-annot -package compiler-libs.toplevel -I src -I test -o src/react_top.cmx src/react_top.ml + ocamlfind ocamlopt -c -g -annot -bin-annot -package compiler-libs.toplevel -I src -I test -o src/react_top.cmx src/react_top.ml findlib: [WARNING] Interface topdirs.cmi occurs in several directories: /usr/lib64/ocaml, /usr/lib64/ocaml/compiler-libs File "_none_", line 1: Warning 58: no cmx file was found in path for module Toploop, and its interface was not compiled with -opaque ocamlfind ocamlopt -a -package compiler-libs.toplevel -I src src/react_top.cmx -o src/react_top.cmxa + ocamlfind ocamlopt -a -package compiler-libs.toplevel -I src src/react_top.cmx -o src/react_top.cmxa findlib: [WARNING] Interface topdirs.cmi occurs in several directories: /usr/lib64/ocaml, /usr/lib64/ocaml/compiler-libs ocamlfind ocamlc -a -package compiler-libs.toplevel -I src src/react_top.cmo -o src/react_top.cma + ocamlfind ocamlc -a -package compiler-libs.toplevel -I src src/react_top.cmo -o src/react_top.cma findlib: [WARNING] Interface topdirs.cmi occurs in several directories: /usr/lib64/ocaml, /usr/lib64/ocaml/compiler-libs ocamlfind ocamlopt -shared -linkall -package compiler-libs.toplevel -I src src/react_top.cmxa -o src/react_top.cmxs + ocamlfind ocamlopt -shared -linkall -package compiler-libs.toplevel -I src src/react_top.cmxa -o src/react_top.cmxs findlib: [WARNING] Interface topdirs.cmi occurs in several directories: /usr/lib64/ocaml, /usr/lib64/ocaml/compiler-libs + ocamlbuild -use-ocamlfind test/tests.otarget ocamlfind ocamldep -modules test/test.ml > test/test.ml.depends ocamlfind ocamlc -c -g -annot -bin-annot -I test -I src -o test/test.cmo test/test.ml ocamlfind ocamlopt -c -g -annot -bin-annot -I test -I src -o test/test.cmx test/test.ml ocamlfind ocamldep -modules test/clock.ml > test/clock.ml.depends ocamlfind ocamlc -c -g -annot -bin-annot -I test -I src -o test/clock.cmo test/clock.ml ocamlfind ocamlopt -c -g -annot -bin-annot -I test -I src -o test/clock.cmx test/clock.ml ocamlfind ocamldep -modules test/breakout.ml > test/breakout.ml.depends ocamlfind ocamlc -c -g -annot -bin-annot -I test -I src -o test/breakout.cmo test/breakout.ml + ocamlfind ocamlc -c -g -annot -bin-annot -I test -I src -o test/breakout.cmo test/breakout.ml File "test/breakout.ml", line 141, characters 43-44: Error: This expression has type string but an expression was expected of type bytes Command exited with code 2. error: Bad exit status from /var/tmp/rpm-tmp.QcLM3q (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.QcLM3q (%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