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/apache-mina1-1.1.7-13.mga8.src.rpm Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.HSzwij + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf mina-1.1.7 + /usr/bin/bzip2 -dc /home/iurt/rpmbuild/SOURCES/mina-1.1.7.tar.bz2 + /usr/bin/tar -xof - /usr/bin/tar: A lone zero block at 29886 + STATUS=0 + '[' 0 -ne 0 ']' + cd mina-1.1.7 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (apache-mina-1.1.7-build-core-only.patch):' Patch #0 (apache-mina-1.1.7-build-core-only.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file pom.xml + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_plugin :maven-source-plugin + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.IyjCtl + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd mina-1.1.7 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + /usr/bin/python3 /usr/share/java-utils/mvn_build.py --xmvn-javadoc -f Executing: xmvn --batch-mode --offline -Dmaven.test.skip=true 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', '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.mina:mina-core:jar:1.1.7 [WARNING] The expression ${pom.version} is deprecated. Please use ${project.version} instead. [WARNING] [WARNING] Some problems were encountered while building the effective model for org.apache.mina:build:pom:1.1.7 [WARNING] The expression ${pom.version} is deprecated. Please use ${project.version} instead. [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] Reactor Build Order: [INFO] [INFO] Apache MINA Root Build POM [pom] [INFO] Apache MINA Core API [jar] [INFO] [INFO] -----------------------< org.apache.mina:build >------------------------ [INFO] Building Apache MINA Root Build POM 1.1.7 [1/2] [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (enforce-maven-version) @ build --- [INFO] [INFO] --- maven-remote-resources-plugin:1.7.0:process (process-resource-bundles) @ build --- [INFO] Preparing remote bundle org.apache:apache-jar-resource-bundle:1.4 [INFO] Copying 5 resources from 1 bundle. [INFO] [INFO] ---------------------< org.apache.mina:mina-core >---------------------- [INFO] Building Apache MINA Core API 1.1.7 [2/2] [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (enforce-maven-version) @ mina-core --- [INFO] [INFO] --- maven-remote-resources-plugin:1.7.0:process (process-resource-bundles) @ mina-core --- [INFO] Preparing remote bundle org.apache:apache-jar-resource-bundle:1.4 [INFO] Copying 5 resources from 1 bundle. [INFO] [INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ mina-core --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] Copying 3 resources [INFO] Copying 5 resources [INFO] [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ mina-core --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 151 source files to /home/iurt/rpmbuild/BUILD/mina-1.1.7/core/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 Apache MINA Root Build POM [INFO] This project has been banned from the build due to previous failures. [INFO] ------------------------------------------------------------------------ [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary for Apache MINA Root Build POM 1.1.7: [INFO] [INFO] Apache MINA Root Build POM ......................... SUCCESS [ 4.266 s] [INFO] Apache MINA Core API ............................... FAILURE [ 2.506 s] [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 10.212 s [INFO] Finished at: 2020-11-27T16:30:02Z [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project mina-core: 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] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn -rf :mina-core error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.IyjCtl (%build) RPM build errors: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.IyjCtl (%build) I: [iurt_root_command] ERROR: chroot