D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/hevea-2.30-1.mga7.src.rpm Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.9Xgg1i + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf hevea-2.30 + /usr/bin/gzip -dc /home/pterjan/rpmbuild/SOURCES/hevea-2.30.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd hevea-2.30 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cd /home/pterjan/rpmbuild/BUILD + rm -rf hevea-2.30 + /usr/bin/gzip -dc /home/pterjan/rpmbuild/SOURCES/hevea-2.30.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd hevea-2.30 + /usr/bin/gzip -dc /home/pterjan/rpmbuild/SOURCES/hevea-2.30-manual.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + /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.KI9SxU + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd hevea-2.30 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + rm -f config.sh + /usr/bin/make PREFIX=/usr LIBDIR=/usr/share/hevea LATEXLIBDIR=/usr/share/texmf/tex/latex 'OCAMLFLAGS=-g -w +a-4-9' sh ocb.sh opt ocb.sh: line 13: ocamlbuild: command not found make: *** [Makefile:57: ocb-opt] Error 127 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.KI9SxU (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.KI9SxU (%build) I: [iurt_root_command] ERROR: chroot