D: [iurt_root_command] chroot [WARNING] Deprecated %add_maven_depmap macro is used. Please use %mvn_artifact and %mvn_install instead. Installing /home/iurt/rpmbuild/SRPMS/stax-utils-0.0-11.mga8.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.RkpCST + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf stax-utils-20070216 + /usr/bin/gzip -dc /home/iurt/rpmbuild/SOURCES/stax-utils-20070216-src-svn.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd stax-utils-20070216 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + find -name '*.class' -exec rm -f '{}' ';' + find -name '*.jar' -exec rm -f '{}' ';' + pushd lib ~/rpmbuild/BUILD/stax-utils-20070216/lib ~/rpmbuild/BUILD/stax-utils-20070216 ++ build-classpath bea-stax-api + ln -s /usr/share/java/bea-stax-api.jar ++ build-classpath bea-stax-ri + ln -s /usr/share/java/bea-stax.jar ++ build-classpath junit + ln -s /usr/share/java/junit.jar + popd ~/rpmbuild/BUILD/stax-utils-20070216 + echo 'Patch #0 (stax-utils-build_xml.patch):' Patch #0 (stax-utils-build_xml.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file build.xml + echo 'Patch #1 (stax-utils-XMLEventConsumerDelegate.patch):' Patch #1 (stax-utils-XMLEventConsumerDelegate.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file src/javanet/staxutils/XMLEventConsumerDelegate.java + echo 'Patch #2 (stax-utils-0.0-javadoc-exclude.patch):' Patch #2 (stax-utils-0.0-javadoc-exclude.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file build.xml + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.KZMHyR + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd stax-utils-20070216 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + export CLASSPATH= + CLASSPATH= ++ cat /etc/ant.d/junit /etc/ant.d/trax cat: /etc/ant.d/trax: No such file or directory + export 'OPT_JAR_LIST=junit hamcrest/core ant/ant-junit' + OPT_JAR_LIST='junit hamcrest/core ant/ant-junit' + JAVA_HOME=/usr/lib/jvm/java-11-openjdk + ant all test Buildfile: /home/iurt/rpmbuild/BUILD/stax-utils-20070216/build.xml init: clean: compile: [mkdir] Created dir: /home/iurt/rpmbuild/BUILD/stax-utils-20070216/build/classes [javac] /home/iurt/rpmbuild/BUILD/stax-utils-20070216/build.xml:25: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds [javac] Compiling 72 source files to /home/iurt/rpmbuild/BUILD/stax-utils-20070216/build/classes [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.3 [javac] error: Source option 1.3 is no longer supported. Use 6 or later. [javac] error: Target option 1.3 is no longer supported. Use 1.6 or later. BUILD FAILED /home/iurt/rpmbuild/BUILD/stax-utils-20070216/build.xml:25: Compile failed; see the compiler error output for details. Total time: 1 second error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.KZMHyR (%build) RPM build errors: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.KZMHyR (%build) I: [iurt_root_command] ERROR: chroot