D: [iurt_root_command] chroot warning: %patchN is deprecated (4 usages found), use %patch N (or %patch -P N) sh: line 4: [: -j8: integer expression expected sh: line 4: [: -j8: integer expression expected Installing /home/pterjan/rpmbuild/SRPMS/libbase-1.1.6-16.mga10.src.rpm Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.CpQB47 + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf libbase-1.1.6 + /usr/bin/mkdir -p libbase-1.1.6 + cd libbase-1.1.6 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/libbase-1.1.6.zip + STATUS=0 + '[' 0 -ne 0 ']' + rm -rf /home/pterjan/rpmbuild/BUILD/libbase-1.1.6-SPECPARTS + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/libbase-1.1.6-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (libbase-1.1.2-fix-build.patch):' Patch #0 (libbase-1.1.2-fix-build.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p0 -b --suffix .build --fuzz=0 patching file build.properties + echo 'Patch #1 (libbase-1.1.2.java11.patch):' Patch #1 (libbase-1.1.2.java11.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .java11 --fuzz=0 patching file common_build.xml + echo 'Patch #2 (libbase-1.1.6-remove-antcontrib-support.patch):' Patch #2 (libbase-1.1.6-remove-antcontrib-support.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .noantcontrib --fuzz=0 patching file build.properties patching file common_build.xml + echo 'Patch #3 (libbase-1.1.3-remove-commons-logging.patch):' Patch #3 (libbase-1.1.3-remove-commons-logging.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file source/org/pentaho/reporting/libraries/base/boot/AbstractBoot.java patching file source/org/pentaho/reporting/libraries/base/boot/PackageManager.java patching file source/org/pentaho/reporting/libraries/base/boot/PackageSorter.java patching file source/org/pentaho/reporting/libraries/base/boot/PackageState.java patching file source/org/pentaho/reporting/libraries/base/config/PropertyFileConfiguration.java patching file source/org/pentaho/reporting/libraries/base/util/ClassQueryTool.java patching file source/org/pentaho/reporting/libraries/base/util/DebugLog.java patching file source/org/pentaho/reporting/libraries/base/util/ObjectUtilities.java patching file source/org/pentaho/reporting/libraries/base/util/PngEncoder.java Hunk #3 succeeded at 622 (offset 1 line). Hunk #4 succeeded at 709 (offset 1 line). patching file source/org/pentaho/reporting/libraries/base/util/ResourceBundleSupport.java patching file source/org/pentaho/reporting/libraries/base/util/WaitingImageObserver.java patching file source/org/pentaho/reporting/libraries/base/util/IOUtils.java patching file source/org/pentaho/reporting/libraries/base/util/ResourceBundleSupport.java + find . -name '*.jar' -exec rm -f '{}' ';' + RPM_EC=0 ++ jobs -p + exit 0 sh: line 4: [: -j8: integer expression expected Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.K8WZse + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd libbase-1.1.6 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + ant jar javadoc Buildfile: /home/pterjan/rpmbuild/BUILD/libbase-1.1.6/build.xml init: [mkdir] Created dir: /home/pterjan/rpmbuild/BUILD/libbase-1.1.6/bin/classes [mkdir] Created dir: /home/pterjan/rpmbuild/BUILD/libbase-1.1.6/dist compile.pre: compile.compile: [javac] /home/pterjan/rpmbuild/BUILD/libbase-1.1.6/common_build.xml:894: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds [javac] Compiling 55 source files to /home/pterjan/rpmbuild/BUILD/libbase-1.1.6/bin/classes [javac] warning: [options] bootstrap class path not set in conjunction with -source 7 [javac] error: Source option 7 is no longer supported. Use 8 or later. [javac] error: Target option 7 is no longer supported. Use 8 or later. BUILD FAILED /home/pterjan/rpmbuild/BUILD/libbase-1.1.6/common_build.xml:894: Compile failed; see the compiler error output for details. Total time: 0 seconds error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.K8WZse (%build) RPM build warnings: %patchN is deprecated (4 usages found), use %patch N (or %patch -P N) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.K8WZse (%build) I: [iurt_root_command] ERROR: chroot