D: [iurt_root_command] chroot Installing /home/iurt/rpmbuild/SRPMS/jline-2.14.6-3.mga8.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.HsK8ad + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf jline2-jline-2.14.6 + /usr/bin/gzip -dc /home/iurt/rpmbuild/SOURCES/jline-2.14.6.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd jline2-jline-2.14.6 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_plugin org.apache.maven.plugins:maven-shade-plugin + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_plugin org.codehaus.mojo:animal-sniffer-maven-plugin + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_xpath_remove pom:build/pom:extensions + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_plugin :maven-site-plugin + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_plugin :maven-enforcer-plugin + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_xpath_remove 'pom:arg[text()="-Werror"]' + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_xpath_remove 'pom:build/pom:plugins/pom:plugin[pom:artifactId = '\''maven-bundle-plugin'\'']/pom:executions/pom:execution/pom:configuration/pom:instructions/pom:Import-Package' + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_xpath_inject 'pom:build/pom:plugins/pom:plugin[pom:artifactId = '\''maven-bundle-plugin'\'']/pom:executions/pom:execution/pom:configuration/pom:instructions' 'javax.swing;resolution:=optional,org.fusesource.jansi,!org.fusesource.jansi.internal' + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_xpath_set 'pom:build/pom:plugins/pom:plugin[pom:artifactId = '\''maven-bundle-plugin'\'']/pom:executions/pom:execution/pom:configuration/pom:instructions/pom:Export-Package' 'jline.*;-noimport:=true' + mkdir -p target/generated-sources/annotations + mkdir -p target/generated-test-sources/test-annotations + find -name TerminalFactoryTest.java -delete + find . -name ConsoleReaderTest.java -delete + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.AwvqAa + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd jline2-jline-2.14.6 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + /usr/bin/python3 /usr/share/java-utils/mvn_build.py --xmvn-javadoc Executing: xmvn --batch-mode --offline verify org.fedoraproject.xmvn:xmvn-mojo:install org.fedoraproject.xmvn:xmvn-mojo:javadoc org.fedoraproject.xmvn:xmvn-mojo:builddep ['xmvn', '--batch-mode', '--offline', '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 jline:jline:jar:2.14.6 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] ----------------------------< jline:jline >----------------------------- [INFO] Building JLine 2.14.6 [INFO] --------------------------------[ jar ]--------------------------------- [WARNING] The POM for org.apache.maven.plugins:maven-javadoc-plugin:jar:2.10.3 is missing, no dependency information available [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Skipping JLine [INFO] This project has been banned from the build due to previous failures. [INFO] ------------------------------------------------------------------------ [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 0.689 s [INFO] Finished at: 2020-08-27T01:31:11Z [INFO] ------------------------------------------------------------------------ [ERROR] UndeclaredThrowableException: InvocationTargetException: Plugin org.apache.maven.plugins:maven-javadoc-plugin:2.10.3 or one of its dependencies could not be resolved: Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact org.apache.maven.plugins:maven-javadoc-plugin:jar:2.10.3 has not been downloaded from it before. [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: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.AwvqAa (%build) RPM build errors: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.AwvqAa (%build) I: [iurt_root_command] ERROR: chroot