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/jyaml-1.3-10.mga8.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.jTlMTc + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf jyaml + /usr/bin/gzip -dc /home/iurt/rpmbuild/SOURCES/jyaml-src-1.3.tgz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd jyaml + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (jyaml-1.3-junit.patch):' Patch #0 (jyaml-1.3-junit.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file build.xml + echo 'Patch #1 (jyaml-1.3-noretrotranslator.patch):' Patch #1 (jyaml-1.3-noretrotranslator.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file build.xml ++ find . -name '*.jar' + for j in $(find . -name "*.jar") + rm -rf ./retrotranslator/retrotranslator-runtime-0.9.8.jar + for j in $(find . -name "*.jar") + rm -rf ./retrotranslator/backport-util-concurrent.jar + for j in $(find . -name "*.jar") + rm -rf ./retrotranslator/retrotranslator-transformer-0.9.8.jar + cat + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.417jbb + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd jyaml + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + JAVA_HOME=/usr/lib/jvm/java-11-openjdk + ant build package Buildfile: /home/iurt/rpmbuild/BUILD/jyaml/build.xml init: [mkdir] Created dir: /home/iurt/rpmbuild/BUILD/jyaml/bin [mkdir] Created dir: /home/iurt/rpmbuild/BUILD/jyaml/bin14 [mkdir] Created dir: /home/iurt/rpmbuild/BUILD/jyaml/dist [mkdir] Created dir: /home/iurt/rpmbuild/BUILD/jyaml/testout build: [echo] jyaml: /home/iurt/rpmbuild/BUILD/jyaml/build.xml [javac] /home/iurt/rpmbuild/BUILD/jyaml/build.xml:53: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds [javac] Compiling 67 source files to /home/iurt/rpmbuild/BUILD/jyaml/bin [javac] [javac] WARNING [javac] [javac] The -source switch defaults to 9 in JDK 9. [javac] If you specify -target 1.5 you now must also specify -source 1.5. [javac] Ant will implicitly add -source 1.5 for you. Please change your build file. [javac] error: Source option 5 is no longer supported. Use 6 or later. [javac] error: Target option 1.5 is no longer supported. Use 1.6 or later. BUILD FAILED /home/iurt/rpmbuild/BUILD/jyaml/build.xml:53: Compile failed; see the compiler error output for details. Total time: 0 seconds error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.417jbb (%build) RPM build errors: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.417jbb (%build) I: [iurt_root_command] ERROR: chroot