D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 warning: Macro expanded in comment on line 46: %_target_cpu is bad warning: Macro expanded in comment on line 52: %distro_arch I provide os too warning: line 90: It's not recommended to have unversioned Obsoletes: Obsoletes: mandrake-release mandrakelinux-release mandriva-release warning: line 91: It's not recommended to have unversioned Obsoletes: Obsoletes: mandriva-release-common warning: line 92: It's not recommended to have unversioned Obsoletes: Obsoletes: rawhide-release redhat-release warning: line 93: It's not recommended to have unversioned Obsoletes: Obsoletes: mandriva-doc-common warning: line 170: It's not recommended to have unversioned Obsoletes: Obsoletes: mandriva-release-Flash mandriva-release-Free mandriva-release-Mini mandriva-release-One mandriva-release-Powerpack sh: line 4: [: -j8: integer expression expected sh: line 4: [: -j8: integer expression expected Installing /home/pterjan/rpmbuild/SRPMS/mageia-release-10-0.3.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.rN3NWv + umask 022 + cd /home/pterjan/rpmbuild/BUILD/mageia-release-10-build + test -d /home/pterjan/rpmbuild/BUILD/mageia-release-10-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/mageia-release-10-build + /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILD/mageia-release-10-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/mageia-release-10-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/mageia-release-10-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 sh: line 4: [: -j8: integer expression expected Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.WIVaOV + umask 022 + cd /home/pterjan/rpmbuild/BUILD/mageia-release-10-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + rm -rf mageia-release + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/Makefile /usr/bin/tar: This does not look like a tar archive /usr/bin/tar: Skipping to next header /usr/bin/tar: Exiting with failure status due to previous errors error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.WIVaOV (%prep) RPM build warnings: Macro expanded in comment on line 46: %_target_cpu is bad Macro expanded in comment on line 52: %distro_arch I provide os too line 90: It's not recommended to have unversioned Obsoletes: Obsoletes: mandrake-release mandrakelinux-release mandriva-release line 91: It's not recommended to have unversioned Obsoletes: Obsoletes: mandriva-release-common line 92: It's not recommended to have unversioned Obsoletes: Obsoletes: rawhide-release redhat-release line 93: It's not recommended to have unversioned Obsoletes: Obsoletes: mandriva-doc-common line 170: It's not recommended to have unversioned Obsoletes: Obsoletes: mandriva-release-Flash mandriva-release-Free mandriva-release-Mini mandriva-release-One mandriva-release-Powerpack RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.WIVaOV (%prep) I: [iurt_root_command] ERROR: chroot