D: [iurt_root_command] chroot warning: %patchN is deprecated (4 usages found), use %patch N (or %patch -P N) Installing /home/pterjan/rpmbuild/SRPMS/pentaho-libxml-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.MD3dvk + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf pentaho-libxml-1.1.6 + /usr/bin/mkdir -p pentaho-libxml-1.1.6 + cd pentaho-libxml-1.1.6 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/libxml-1.1.6.zip + STATUS=0 + '[' 0 -ne 0 ']' + rm -rf /home/pterjan/rpmbuild/BUILD/pentaho-libxml-1.1.6-SPECPARTS + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/pentaho-libxml-1.1.6-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (pentaho-libxml-1.1.2-fix-build.patch):' Patch #0 (pentaho-libxml-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 (libxml-1.1.2-java11.patch):' Patch #1 (libxml-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 (pentaho-libxml-1.1.6-remove-antcontrib-support.patch):' Patch #2 (pentaho-libxml-1.1.6-remove-antcontrib-support.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .no_antcontrib --fuzz=0 patching file build.properties patching file common_build.xml + echo 'Patch #3 (pentaho-libxml-1.1.3-remove-commons-logging.patch):' Patch #3 (pentaho-libxml-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/xmlns/parser/AbstractXmlReadHandler.java patching file source/org/pentaho/reporting/libraries/xmlns/parser/AbstractXmlResourceFactory.java patching file source/org/pentaho/reporting/libraries/xmlns/parser/DomTreeResourceFactory.java patching file source/org/pentaho/reporting/libraries/xmlns/parser/LoggingErrorHandler.java patching file source/org/pentaho/reporting/libraries/xmlns/parser/ParserEntityResolver.java patching file source/org/pentaho/reporting/libraries/xmlns/parser/ResourceDataInputSource.java patching file source/org/pentaho/reporting/libraries/xmlns/common/ParserUtil.java + find . -name '*.jar' -exec rm -f '{}' ';' + mkdir -p lib + build-jar-repository -s -p lib libbase libloader + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.CXQgPH + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd pentaho-libxml-1.1.6 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + ant jar javadoc Buildfile: /home/pterjan/rpmbuild/BUILD/pentaho-libxml-1.1.6/build.xml init: [mkdir] Created dir: /home/pterjan/rpmbuild/BUILD/pentaho-libxml-1.1.6/bin/classes [mkdir] Created dir: /home/pterjan/rpmbuild/BUILD/pentaho-libxml-1.1.6/dist compile.pre: compile.compile: [javac] /home/pterjan/rpmbuild/BUILD/pentaho-libxml-1.1.6/common_build.xml:958: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds [javac] Compiling 35 source files to /home/pterjan/rpmbuild/BUILD/pentaho-libxml-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/pentaho-libxml-1.1.6/common_build.xml:958: Compile failed; see the compiler error output for details. Total time: 0 seconds error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.CXQgPH (%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.CXQgPH (%build) I: [iurt_root_command] ERROR: chroot