D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/ocaml-cry-0.2.2-12.mga7.src.rpm Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.opitOx + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf ocaml-cry-0.2.2 + /usr/bin/gzip -dc /home/pterjan/rpmbuild/SOURCES/ocaml-cry-0.2.2.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd ocaml-cry-0.2.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.qaFyiP + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd ocaml-cry-0.2.2 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + ./configure --libdir=/usr/lib64 configuring ocaml-cry 0.2.2 checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking that calling user is not root... ok checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking for ar... ar checking for ocamlc... ocamlc OCaml version is 4.06.0 checking if ocaml compiler supports first-class modules... yes OCaml library path is /usr/lib64/ocaml checking for ocamlopt... ocamlopt checking for ocamlc.opt... ocamlc.opt checking for ocamlopt.opt... ocamlopt.opt checking for ocaml... ocaml checking for ocamldep... ocamldep checking for ocamlmktop... ocamlmktop checking for ocamlmklib... ocamlmklib checking for ocamldoc... ocamldoc checking for ocamlbuild... no checking for camlidl... no checking for ocamllex... ocamllex checking for ocamllex.opt... ocamllex.opt checking for ocamlyacc... ocamlyacc checking for camlp4... no checking for camlp4boot... no checking for camlp4o... no checking for camlp4of... no checking for camlp4oof... no checking for camlp4orf... no checking for camlp4prof... no checking for camlp4r... no checking for camlp4rf... no checking for ocamlfind... ocamlfind checking for caml/threads.h... no checking for gcc option to produce PIC... -fPIC configure: creating ./config.status config.status: creating Makefile config.status: creating src/META config.status: creating src/Makefile config.status: creating examples/Makefile.connect + make all make -C src all make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/ocaml-cry-0.2.2/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/ocaml-cry-0.2.2/src' making ._bcdi/cry.di from cry.mli making ._d/cry.d from cry.ml ocamlc.opt -c cry.mli ocamlc.opt -c cry.ml File "cry.ml", line 290, characters 12-25: Warning 3: deprecated: String.create Use Bytes.create instead. File "cry.ml", line 292, characters 21-45: Warning 3: deprecated: String.set Use Bytes.set instead. File "cry.ml", line 301, characters 6-28: Warning 3: deprecated: String.set Use Bytes.set instead. File "cry.ml", line 302, characters 6-28: Warning 3: deprecated: String.set Use Bytes.set instead. File "cry.ml", line 304, characters 6-28: Warning 3: deprecated: String.set Use Bytes.set instead. File "cry.ml", line 317, characters 14-27: Warning 3: deprecated: String.create Use Bytes.create instead. File "cry.ml", line 318, characters 8-49: Warning 3: deprecated: String.set Use Bytes.set instead. File "cry.ml", line 319, characters 8-41: Warning 3: deprecated: String.set Use Bytes.set instead. File "cry.ml", line 339, characters 38-49: Error: This expression has type bytes but an expression was expected of type string make[2]: *** [OCamlMakefile:952: cry.cmo] Error 2 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ocaml-cry-0.2.2/src' make[1]: *** [OCamlMakefile:717: byte-code-library] Error 2 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ocaml-cry-0.2.2/src' make: *** [Makefile:12: all] Error 2 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.qaFyiP (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.qaFyiP (%build) I: [iurt_root_command] ERROR: chroot