D: [iurt_root_command] chroot
Installing /home/pterjan/rpmbuild/SRPMS/projectx-0.91.0-13.mga9.src.rpm
Building target platforms: noarch
Building for target noarch
Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.WH8he3
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ cd /home/pterjan/rpmbuild/BUILD
+ rm -rf Project-X_0.91.0
+ /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/projectx-0.91.0.zip
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd Project-X_0.91.0
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ rm -rf lib
+ find -name CVS -type d -print0
+ xargs -0 rm -rf
+ dos2unix htmls/cli.html htmls/faq.html htmls/index.html htmls/de/cli.html htmls/de/faq.html htmls/de/index.html
dos2unix: converting file htmls/cli.html to Unix format...
dos2unix: converting file htmls/faq.html to Unix format...
dos2unix: converting file htmls/index.html to Unix format...
dos2unix: converting file htmls/de/cli.html to Unix format...
dos2unix: converting file htmls/de/faq.html to Unix format...
dos2unix: converting file htmls/de/index.html to Unix format...
+ perl -pi -e 's,classpath [a-z0-9\.\/:-]*,classpath \$CLASSPATH,' build.sh
+ perl -pi -e 's,^javac ,%javac ,' build.sh
+ perl -pi -e 's,^jar ,%jar ,' build.sh
+ perl -pi -e 's,^Class-Path:.*\n,,' MANIFEST.MF
+ perl -pi -e 's,Icon=.*,Icon=projectx,' projectx.desktop
+ perl -pi -e 's,Exec=.*,Exec=/usr/bin/projectx,' projectx.desktop
+ perl -pi -e 's/\r$//g' ReadMe.txt ReleaseNotes_0.91.0.txt
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.UagEHI
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD
+ cd Project-X_0.91.0
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
++ build-classpath commons-net oro
/home/pterjan/rpmbuild/tmp/rpm-tmp.UagEHI: line 33: build-classpath: command not found
+ export CLASSPATH=
+ CLASSPATH=
+ sh -ex build.sh
+ type javac
+ '[' 0 -ne 0 ']'
+ '[' -e ./ProjectX.jar ']'
+ rm -f ./ProjectX.jar
+ '[' -d ./build ']'
+ mkdir -p build
+ %javac -encoding ISO-8859-1 -deprecation -O -g:none -classpath -d build @sources.lst
build.sh: line 22: fg: no job control
error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.UagEHI (%build)

RPM build errors:
    Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.UagEHI (%build)
I: [iurt_root_command] ERROR: chroot