D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/spamoracle-1.4-9.mga7.src.rpm Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.sgna9R + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf spamoracle-1.4 + /usr/bin/bzip2 -dc /home/pterjan/rpmbuild/SOURCES/spamoracle-1.4.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd spamoracle-1.4 + /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.am7Egd + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd spamoracle-1.4 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + make 'OCAMLOPT=ocamlopt -g' ocamlc -g -c configfile.mli ocamlopt -g -c configfile.ml ocamlc -g -c config.mli ocamlopt -g -c config.ml ocamllex htmlscan.mll 41 states, 882 transitions, table size 3774 bytes ocamlc -g -c htmlscan.mli ocamlopt -g -c htmlscan.ml File "htmlscan.mll", line 96, characters 12-28: Warning 3: deprecated: String.lowercase Use String.lowercase_ascii instead. File "htmlscan.mll", line 120, characters 15-31: Warning 3: deprecated: String.lowercase Use String.lowercase_ascii instead. File "htmlscan.mll", line 125, characters 15-31: Warning 3: deprecated: String.lowercase Use String.lowercase_ascii instead. ocamlc -g -c mail.mli ocamlopt -g -c mail.ml File "mail.ml", line 33, characters 12-24: Warning 3: deprecated: Array.create Use Array.make instead. File "mail.ml", line 122, characters 25-41: Warning 3: deprecated: String.lowercase Use String.lowercase_ascii instead. ocamlc -g -c database.mli ocamlopt -g -c database.ml File "database.ml", line 35, characters 12-25: Warning 3: deprecated: String.create Use Bytes.create instead. File "database.ml", line 37, characters 12-17: Error: This expression has type string but an expression was expected of type bytes make: *** [Makefile:82: database.cmx] Error 2 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.am7Egd (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.am7Egd (%build) I: [iurt_root_command] ERROR: chroot