D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/htmlcleaner-2.2.1-9.mga8.src.rpm Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.i4BlW0 + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf htmlcleaner-2.2.1 + /usr/bin/mkdir -p htmlcleaner-2.2.1 + cd htmlcleaner-2.2.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + jar xf /home/pterjan/rpmbuild/SOURCES/htmlcleaner-2.2.1-src.zip + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_plugin :maven-gpg-plugin + sed -i -e 's!\r!!g' licence.txt + JARfiles= ++ find -name '*.jar' + '[' '!' -z '' ']' + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.zw1fO1 + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd htmlcleaner-2.2.1 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + /usr/bin/python3 /usr/share/java-utils/mvn_build.py Executing: xmvn --batch-mode --offline verify org.fedoraproject.xmvn:xmvn-mojo:install org.apache.maven.plugins:maven-javadoc-plugin:aggregate org.fedoraproject.xmvn:xmvn-mojo:builddep ['xmvn', '--batch-mode', '--offline', 'verify', 'org.fedoraproject.xmvn:xmvn-mojo:install', 'org.apache.maven.plugins:maven-javadoc-plugin:aggregate', 'org.fedoraproject.xmvn:xmvn-mojo:builddep'] [INFO] Scanning for projects... [INFO] [INFO] --------------< net.sourceforge.htmlcleaner:htmlcleaner >--------------- [INFO] Building HtmlCleaner 2.2.1 [INFO] --------------------------------[ jar ]--------------------------------- [WARNING] The POM for org.apache.ant:ant:jar:1.8.4 is missing, no dependency information available [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Skipping HtmlCleaner [INFO] This project has been banned from the build due to previous failures. [INFO] ------------------------------------------------------------------------ [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 2.787 s [INFO] Finished at: 2019-08-13T00:19:48Z [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal on project htmlcleaner: Could not resolve dependencies for project net.sourceforge.htmlcleaner:htmlcleaner:jar:2.2.1: Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact org.apache.ant:ant:jar:1.8.4 has not been downloaded from it before. -> [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/DependencyResolutionException error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.zw1fO1 (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.zw1fO1 (%build) I: [iurt_root_command] ERROR: chroot