D: [iurt_root_command] chroot Installing /home/iurt/rpmbuild/SRPMS/opennlp-1.5.3-7.mga8.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.0fac3h + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf apache-opennlp-1.5.3-src + /usr/bin/gzip -dc /home/iurt/rpmbuild/SOURCES/apache-opennlp-1.5.3-src.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd apache-opennlp-1.5.3-src + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + find . -name '*.jar' -print -delete + find . -name '*.bat' -print -delete ./opennlp-tools/bin/opennlp.bat ./opennlp-distr/src/main/bin/opennlp.bat + find . -name '*.class' -print -delete + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_plugin -r :apache-rat-plugin opennlp + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_plugin -r :maven-dependency-plugin opennlp + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_plugin -r :maven-eclipse-plugin opennlp + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_plugin -r :maven-source-plugin opennlp + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_plugin -r :maven-javadoc-plugin opennlp + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_xpath_set -r pom:addClasspath false opennlp + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_disable_module ../opennlp-distr opennlp + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_disable_module ../opennlp-docs opennlp + for p in maxent tools + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_xpath_inject 'pom:dependency[pom:artifactId='\''junit'\'']' 'test' opennlp-maxent + for p in maxent tools + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_xpath_inject 'pom:dependency[pom:artifactId='\''junit'\'']' 'test' opennlp-tools + rm -r opennlp-maxent/src/test/java/opennlp/perceptron/PerceptronPrepAttachTest.java opennlp-maxent/src/test/java/opennlp/maxent/quasinewton/QNTrainerTest.java opennlp-maxent/src/test/java/opennlp/PrepAttachDataUtil.java opennlp-maxent/src/test/java/opennlp/maxent/MaxentPrepAttachTest.java + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.ONDkZl + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd apache-opennlp-1.5.3-src + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + /usr/bin/python3 /usr/share/java-utils/mvn_build.py --xmvn-javadoc -s -- -f opennlp/pom.xml Executing: xmvn --batch-mode --offline -f opennlp/pom.xml verify org.fedoraproject.xmvn:xmvn-mojo:install org.fedoraproject.xmvn:xmvn-mojo:javadoc org.fedoraproject.xmvn:xmvn-mojo:builddep ['xmvn', '--batch-mode', '--offline', '-f', 'opennlp/pom.xml', 'verify', 'org.fedoraproject.xmvn:xmvn-mojo:install', 'org.fedoraproject.xmvn:xmvn-mojo:javadoc', 'org.fedoraproject.xmvn:xmvn-mojo:builddep'] [INFO] Scanning for projects... [WARNING] The project org.apache.opennlp:opennlp:pom:1.5.3 uses prerequisites which is only intended for maven-plugin projects but not for non maven-plugin projects. For such purposes you should use the maven-enforcer-plugin. See https://maven.apache.org/enforcer/enforcer-rules/requireMavenVersion.html [INFO] ------------------------------------------------------------------------ [INFO] Reactor Build Order: [INFO] [INFO] Apache OpenNLP Reactor [pom] [INFO] Apache OpenNLP Maxent [bundle] [INFO] Apache OpenNLP Tools [bundle] [INFO] Apache OpenNLP UIMA Annotators [jar] [INFO] [INFO] ---------------------< org.apache.opennlp:opennlp >--------------------- [INFO] Building Apache OpenNLP Reactor 1.5.3 [1/4] [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (enforce-maven-version) @ opennlp --- [INFO] [INFO] --- maven-remote-resources-plugin:1.7.0:process (process-resource-bundles) @ opennlp --- [INFO] Preparing remote bundle org.apache:apache-jar-resource-bundle:1.4 [INFO] Copying 5 resources from 1 bundle. [INFO] [INFO] -----------------< org.apache.opennlp:opennlp-maxent >------------------ [INFO] Building Apache OpenNLP Maxent 3.0.3 [2/4] [INFO] -------------------------------[ bundle ]------------------------------- [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (enforce-maven-version) @ opennlp-maxent --- [INFO] [INFO] --- maven-remote-resources-plugin:1.7.0:process (process-resource-bundles) @ opennlp-maxent --- [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) @ opennlp-maxent --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] skip non existing resourceDirectory /home/iurt/rpmbuild/BUILD/apache-opennlp-1.5.3-src/opennlp-maxent/src/main/resources [INFO] Copying 5 resources [INFO] [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ opennlp-maxent --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 96 source files to /home/iurt/rpmbuild/BUILD/apache-opennlp-1.5.3-src/opennlp-maxent/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 OpenNLP Reactor [INFO] This project has been banned from the build due to previous failures. [INFO] ------------------------------------------------------------------------ [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] Apache OpenNLP Reactor 1.5.3 ....................... SUCCESS [ 0.628 s] [INFO] Apache OpenNLP Maxent 3.0.3 ........................ FAILURE [ 0.919 s] [INFO] Apache OpenNLP Tools 1.5.3 ......................... SKIPPED [INFO] Apache OpenNLP UIMA Annotators 1.5.3 ............... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 2.805 s [INFO] Finished at: 2020-10-09T16:12:53Z [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project opennlp-maxent: 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 :opennlp-maxent error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.ONDkZl (%build) RPM build errors: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.ONDkZl (%build) I: [iurt_root_command] ERROR: chroot