D: [iurt_root_command] chroot Installing /home/iurt/rpmbuild/SRPMS/velocity-tools-2.0-19.mga8.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.5Awh5W + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf velocity-tools-2.0-src + /usr/bin/gzip -dc /home/iurt/rpmbuild/SOURCES/velocity-tools-2.0-src.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd velocity-tools-2.0-src + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + find . -name '*.jar' -delete + find . -name '*.class' -delete + echo 'Patch #0 (velocity-tools-2.0-junit4.patch):' Patch #0 (velocity-tools-2.0-junit4.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/test/java/org/apache/velocity/tools/generic/DisplayToolTests.java patching file src/test/java/org/apache/velocity/tools/generic/LinkToolTests.java patching file src/test/java/org/apache/velocity/tools/generic/LoopToolTests.java patching file src/test/java/org/apache/velocity/tools/test/whitebox/GenericToolsTests.java + echo 'Patch #1 (velocity-tools-2.0-dont_copy_test_lib.patch):' Patch #1 (velocity-tools-2.0-dont_copy_test_lib.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file download.xml patching file examples.xml + echo 'Patch #2 (velocity-tools-2.0-servlet.patch):' Patch #2 (velocity-tools-2.0-servlet.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/main/java/org/apache/velocity/tools/view/ImportSupport.java patching file src/main/java/org/apache/velocity/tools/view/ParameterTool.java + echo 'Patch #3 (velocity-tools-2.0-port-to-dom4j-2.0.patch):' Patch #3 (velocity-tools-2.0-port-to-dom4j-2.0.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/main/java/org/apache/velocity/tools/generic/XmlTool.java + sed -i 's/\r//' LICENSE NOTICE WHY_THREE_JARS.txt + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_dep javax.servlet:servlet-api + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_add_dep org.apache.tomcat:tomcat-servlet-api::provided + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_add_dep org.apache.tomcat:tomcat-jsp-api::provided + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_xpath_remove pom:project/pom:build/pom:outputDirectory + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_xpath_remove pom:project/pom:build/pom:directory + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_dep org.mortbay.jetty:jetty-embedded + /usr/bin/python3 /usr/share/java-utils/mvn_file.py :velocity-tools velocity-tools + /usr/bin/python3 /usr/share/java-utils/mvn_alias.py :velocity-tools velocity-tools:velocity-tools + /usr/bin/python3 /usr/share/java-utils/mvn_alias.py :velocity-tools org.apache.velocity:velocity-tools-generic + /usr/bin/python3 /usr/share/java-utils/mvn_alias.py :velocity-tools velocity-tools:velocity-tools-generic + /usr/bin/python3 /usr/share/java-utils/mvn_alias.py :velocity-tools velocity-tools:velocity-tools-view + /usr/bin/python3 /usr/share/java-utils/mvn_alias.py :velocity-tools org.apache.velocity:velocity-tools-view + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.oGb6ZY + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd velocity-tools-2.0-src + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + /usr/bin/python3 /usr/share/java-utils/mvn_build.py --xmvn-javadoc -f -- -Dproject.build.sourceEncoding=UTF-8 Executing: xmvn --batch-mode --offline -Dmaven.test.skip=true -Dproject.build.sourceEncoding=UTF-8 package org.fedoraproject.xmvn:xmvn-mojo:install org.fedoraproject.xmvn:xmvn-mojo:javadoc org.fedoraproject.xmvn:xmvn-mojo:builddep ['xmvn', '--batch-mode', '--offline', '-Dmaven.test.skip=true', '-Dproject.build.sourceEncoding=UTF-8', 'package', 'org.fedoraproject.xmvn:xmvn-mojo:install', 'org.fedoraproject.xmvn:xmvn-mojo:javadoc', 'org.fedoraproject.xmvn:xmvn-mojo:builddep'] [INFO] Scanning for projects... [WARNING] [WARNING] Some problems were encountered while building the effective model for org.apache.velocity:velocity-tools:jar:2.0 [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 52, column 19 [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-surefire-plugin is missing. @ line 68, column 17 [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-site-plugin is missing. @ line 60, column 17 [WARNING] [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. [WARNING] [WARNING] For this reason, future Maven versions might no longer support building such malformed projects. [WARNING] [INFO] [INFO] -----------------< org.apache.velocity:velocity-tools >----------------- [INFO] Building VelocityTools 2.0 [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ velocity-tools --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 13 resources [INFO] [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ velocity-tools --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 126 source files to /home/iurt/rpmbuild/BUILD/velocity-tools-2.0-src/target/classes [INFO] ------------------------------------------------------------- [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] Source option 5 is no longer supported. Use 6 or later. [ERROR] Target option 1.5 is no longer supported. Use 1.6 or later. [INFO] 2 errors [INFO] ------------------------------------------------------------- [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Skipping VelocityTools [INFO] This project has been banned from the build due to previous failures. [INFO] ------------------------------------------------------------------------ [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1.336 s [INFO] Finished at: 2020-08-27T01:18:58Z [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project velocity-tools: Compilation failure: Compilation failure: [ERROR] Source option 5 is no longer supported. Use 6 or later. [ERROR] Target option 1.5 is no longer supported. Use 1.6 or later. [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.oGb6ZY (%build) RPM build errors: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.oGb6ZY (%build) I: [iurt_root_command] ERROR: chroot