D: [iurt_root_command] chroot Installing /home/iurt/rpmbuild/SRPMS/xom-1.2.10-24.mga8.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.3h6cF2 + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf XOM + /usr/bin/gzip -dc /home/iurt/rpmbuild/SOURCES/xom-1.2.10-src.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd XOM + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (xom-build.patch):' Patch #0 (xom-build.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file build.xml + for s in src/nu/xom/tests/BuilderTest.java src/nu/xom/tests/SerializerTest.java + native2ascii -encoding UTF8 src/nu/xom/tests/BuilderTest.java src/nu/xom/tests/BuilderTest.java /home/iurt/rpmbuild/tmp/rpm-tmp.3h6cF2: line 50: native2ascii: command not found error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.3h6cF2 (%prep) RPM build errors: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.3h6cF2 (%prep) I: [iurt_root_command] ERROR: chroot