D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 sh: line 4: [: -j8: integer expression expected sh: line 4: [: -j8: integer expression expected Installing /home/pterjan/rpmbuild/SRPMS/jffi-1.3.9-2.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.wu3A5t + umask 022 + cd /home/pterjan/rpmbuild/BUILD/jffi-1.3.9-build + test -d /home/pterjan/rpmbuild/BUILD/jffi-1.3.9-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/jffi-1.3.9-build + /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILD/jffi-1.3.9-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/jffi-1.3.9-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/jffi-1.3.9-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.axRPFO + umask 022 + cd /home/pterjan/rpmbuild/BUILD/jffi-1.3.9-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/jffi-1.3.9-build + rm -rf jffi-jffi-1.3.9 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/jffi-1.3.9.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd jffi-jffi-1.3.9 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (0001-Fix-dependencies-on-junit-hamcrest.patch):' Patch #0 (0001-Fix-dependencies-on-junit-hamcrest.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file build.xml + echo 'Patch #1 (0002-Fix-compilation-flags.patch):' Patch #1 (0002-Fix-compilation-flags.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file jni/GNUmakefile patching file pom.xml + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_parent + sed -i -e /i586/d jni/GNUmakefile + rm -r archive/jffi-Darwin.jar archive/jffi-aarch64-FreeBSD.jar archive/jffi-aarch64-Linux.jar archive/jffi-arm-Linux.jar archive/jffi-i386-FreeBSD.jar archive/jffi-i386-Linux.jar archive/jffi-i386-OpenBSD.jar archive/jffi-i386-SunOS.jar archive/jffi-i386-Windows.jar archive/jffi-mips64el-Linux.jar archive/jffi-ppc-AIX.jar archive/jffi-ppc-Linux.jar archive/jffi-ppc64-AIX.jar archive/jffi-ppc64-Linux.jar archive/jffi-ppc64le-Linux.jar archive/jffi-s390x-Linux.jar archive/jffi-sparc-SunOS.jar archive/jffi-sparcv9-Linux.jar archive/jffi-sparcv9-SunOS.jar archive/jffi-x86_64-DragonFlyBSD.jar archive/jffi-x86_64-FreeBSD.jar archive/jffi-x86_64-Linux.jar archive/jffi-x86_64-OpenBSD.jar archive/jffi-x86_64-SunOS.jar archive/jffi-x86_64-Windows.jar jni/libffi/ lib/junit lib/junit_4 + find ./ -name '*.jar' -exec rm -f '{}' ';' + find ./ -name '*.class' -exec rm -f '{}' ';' + build-jar-repository -s -p lib/ junit hamcrest/hamcrest + sed -i -e 's/haltonfailure="true"/haltonfailure="no"/' build.xml + sed -i -e 's/