+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/ocaml-deriving.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.uCLpIK + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf deriving-release-0.1.2 + /usr/bin/gzip -dc /builddir/build/SOURCES/release-0.1.2.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd deriving-release-0.1.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (ocaml-deriving-no-link-libs.patch):' Patch #0 (ocaml-deriving-no-link-libs.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file OCamlMakefile + echo 'Patch #1 (ocaml-deriving-0.1.1a-no-bimap-mli.patch):' Patch #1 (ocaml-deriving-0.1.1a-no-bimap-mli.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file tests/Makefile + echo 'Patch #2 (ocaml-deriving-0.1.2-fix-delete-rule.patch):' Patch #2 (ocaml-deriving-0.1.2-fix-delete-rule.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file syntax/extend.ml + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.xfx3wt + umask 022 + cd /builddir/build/BUILD + cd deriving-release-0.1.2 + unset MAKEFLAGS + make OCAMLC=ocamlc.opt 'OCAMLOPT=ocamlopt.opt -g' cd syntax && make make[1]: Entering directory '/builddir/build/BUILD/deriving-release-0.1.2/syntax' ocamlc.opt -c -dtypes -I /usr/lib64/ocaml/camlp4 id.ml ocamlc.opt -c -dtypes -I /usr/lib64/ocaml/camlp4 utils.ml File "utils.ml", line 91, characters 17-2196: Warning 8: this pattern-matching is not exhaustive. Here is an example of a case that is not matched: (TyExt (_, _, _, _)|TyTypePol (_, _, _)|TyAnP _|TyAnM _|TyOpn _| TyAtt (_, _, _, _)) File "utils.ml", line 167, characters 10-23: Warning 3: deprecated: String.create Use Bytes.create instead. File "utils.ml", line 169, characters 6-44: Warning 3: deprecated: String.set Use Bytes.set instead. ocamlc.opt -c -pp "camlp4orf -loc loc" -dtypes -I /usr/lib64/ocaml/camlp4 type.ml ocamlc.opt -c -pp "camlp4of -loc loc" -dtypes -I /usr/lib64/ocaml/camlp4 base.ml File "base.ml", line 265, characters 57-69: Error: This expression has type bytes but an expression was expected of type string make[1]: *** [../OCamlMakefile:961: base.cmo] Error 2 make[1]: Leaving directory '/builddir/build/BUILD/deriving-release-0.1.2/syntax' make: *** [Makefile:2: built] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.xfx3wt (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.xfx3wt (%build) ++ cleanup ++ set +e ++ sync ++ sleep 5 ++ sync ++ poweroff Terminated +++ cleanup +++ set +e +++ sync Terminated ++++ cleanup ++++ set +e ++++ sync ++++ sleep 5 ++++ sync ++++ poweroff