D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/owasp-java-html-sanitizer-20160422.1-3.mga7.src.rpm Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.65qK3K + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf owasp-java-html-sanitizer-20160422.1 + /usr/bin/gzip -dc /home/pterjan/rpmbuild/SOURCES/owasp-java-html-sanitizer-20160422.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd owasp-java-html-sanitizer-20160422.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_parent + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_plugin :jacoco-maven-plugin + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_dep com.google.code.findbugs:annotations + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_dep nu.validator.htmlparser:htmlparser + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.CVRVSj + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd owasp-java-html-sanitizer-20160422.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] --< com.googlecode.owasp-java-html-sanitizer:owasp-java-html-sanitizer >-- [INFO] Building OWASP Java HTML Sanitizer 20160422.1 [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- build-helper-maven-plugin:1.9.1:add-source (default) @ owasp-java-html-sanitizer --- [INFO] Source directory: /home/pterjan/rpmbuild/BUILD/owasp-java-html-sanitizer-20160422.1/src/main/java-1.8 added. [INFO] [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ owasp-java-html-sanitizer --- [WARNING] Using platform encoding (ANSI_X3.4-1968 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] skip non existing resourceDirectory /home/pterjan/rpmbuild/BUILD/owasp-java-html-sanitizer-20160422.1/src/main/resources [INFO] [INFO] --- maven-compiler-plugin:3.8.0:compile (default-compile) @ owasp-java-html-sanitizer --- [INFO] Changes detected - recompiling the module! [WARNING] File encoding has not been set, using platform encoding ANSI_X3.4-1968, i.e. build is platform dependent! [INFO] Compiling 36 source files to /home/pterjan/rpmbuild/BUILD/owasp-java-html-sanitizer-20160422.1/target/classes [INFO] /home/pterjan/rpmbuild/BUILD/owasp-java-html-sanitizer-20160422.1/src/main/java/org/owasp/html/Handler.java: Some input files use or override a deprecated API. [INFO] /home/pterjan/rpmbuild/BUILD/owasp-java-html-sanitizer-20160422.1/src/main/java/org/owasp/html/Handler.java: Recompile with -Xlint:deprecation for details. [INFO] ------------------------------------------------------------- [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] /home/pterjan/rpmbuild/BUILD/owasp-java-html-sanitizer-20160422.1/src/main/java/org/owasp/html/examples/EbayPolicyExample.java:[236,36] is not abstract and does not override abstract method test(java.lang.String) in java.util.function.Predicate [INFO] 1 error [INFO] ------------------------------------------------------------- [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Skipping OWASP Java HTML Sanitizer [INFO] This project has been banned from the build due to previous failures. [INFO] ------------------------------------------------------------------------ [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 14.568 s [INFO] Finished at: 2019-06-21T03:15:54Z [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.0:compile (default-compile) on project owasp-java-html-sanitizer: Compilation failure [ERROR] /home/pterjan/rpmbuild/BUILD/owasp-java-html-sanitizer-20160422.1/src/main/java/org/owasp/html/examples/EbayPolicyExample.java:[236,36] is not abstract and does not override abstract method test(java.lang.String) in java.util.function.Predicate [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/pterjan/rpmbuild/tmp/rpm-tmp.CVRVSj (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.CVRVSj (%build) I: [iurt_root_command] ERROR: chroot