D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/ocaml-ocamlmpi-1.01-11.mga7.src.rpm Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.v0H5ya + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf ocamlmpi-1.01 + /usr/bin/gzip -dc /home/pterjan/rpmbuild/SOURCES/ocamlmpi-1.01.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd ocamlmpi-1.01 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (ocamlmpi-1.01-ocamldoc.patch):' Patch #0 (ocamlmpi-1.01-ocamldoc.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file mpi.mli patching file Makefile + cp /home/pterjan/rpmbuild/SOURCES/test.mk . + cp /home/pterjan/rpmbuild/SOURCES/test_mandel.mk . + cat + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.TzAZlv + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd ocamlmpi-1.01 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + make gcc -I`ocamlc -where` -I/usr/local/lib/mpich/include -O -g -Wall -c -o init.o init.c gcc -I`ocamlc -where` -I/usr/local/lib/mpich/include -O -g -Wall -c -o comm.o comm.c gcc -I`ocamlc -where` -I/usr/local/lib/mpich/include -O -g -Wall -c -o msgs.o msgs.c In file included from /usr/lib64/ocaml/caml/mlvalues.h:20:0, from msgs.c:19: msgs.c: In function 'caml_mpi_send': /usr/lib64/ocaml/caml/compatibility.h:269:32: warning: implicit declaration of function 'caml_enter_blocking_section'; did you mean 'enter_blocking_section'? [-Wimplicit-function-declaration] #define enter_blocking_section caml_enter_blocking_section ^ msgs.c:40:5: note: in expansion of macro 'enter_blocking_section' enter_blocking_section(); ^~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/ocaml/caml/compatibility.h:270:32: warning: implicit declaration of function 'caml_leave_blocking_section'; did you mean 'leave_blocking_section'? [-Wimplicit-function-declaration] #define leave_blocking_section caml_leave_blocking_section ^ msgs.c:42:5: note: in expansion of macro 'leave_blocking_section' leave_blocking_section(); ^~~~~~~~~~~~~~~~~~~~~~ gcc -I`ocamlc -where` -I/usr/local/lib/mpich/include -O -g -Wall -c -o collcomm.o collcomm.c collcomm.c: In function 'caml_mpi_scatter_float': collcomm.c:123:12: warning: unused variable 'len' [-Wunused-variable] mlsize_t len = Wosize_val(data) / Double_wosize; ^~~ collcomm.c: In function 'caml_mpi_scatter_floatarray': collcomm.c:145:12: warning: unused variable 'srclen' [-Wunused-variable] mlsize_t srclen = Wosize_val(source) / Double_wosize; ^~~~~~ collcomm.c: In function 'caml_mpi_gather_float': collcomm.c:197:12: warning: unused variable 'reslen' [-Wunused-variable] mlsize_t reslen = Wosize_val(result) / Double_wosize; ^~~~~~ collcomm.c: In function 'caml_mpi_allgather_float': collcomm.c:245:12: warning: unused variable 'reslen' [-Wunused-variable] mlsize_t reslen = Wosize_val(result) / Double_wosize; ^~~~~~ gcc -I`ocamlc -where` -I/usr/local/lib/mpich/include -O -g -Wall -c -o groups.o groups.c gcc -I`ocamlc -where` -I/usr/local/lib/mpich/include -O -g -Wall -c -o utils.o utils.c rm -f libcamlmpi.a ar rc libcamlmpi.a init.o comm.o msgs.o collcomm.o groups.o utils.o ocamlc -c mpi.mli ocamlc -c mpi.ml File "mpi.ml", line 153, characters 15-28: Warning 3: deprecated: String.create Use Bytes.create instead. File "mpi.ml", line 154, characters 21-25: Error: This expression has type bytes but an expression was expected of type string make: *** [Makefile:33: mpi.cmo] Error 2 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.TzAZlv (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.TzAZlv (%build) I: [iurt_root_command] ERROR: chroot