D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/antlr-maven-plugin-2.2-24.mga10.src.rpm Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.4ZJ3bS + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf antlr-maven-plugin-2.2 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/antlr-maven-plugin-2.2-source-release.zip + STATUS=0 + '[' 0 -ne 0 ']' + cd antlr-maven-plugin-2.2 + rm -rf /home/pterjan/rpmbuild/BUILD/antlr-maven-plugin-2.2-SPECPARTS + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/antlr-maven-plugin-2.2-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (maven-antlr-plugin-2.2-modello-issue.patch):' Patch #0 (maven-antlr-plugin-2.2-modello-issue.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .modello --fuzz=0 patching file pom.xml + echo 'Patch #2 (maven-antlr-plugin-2.1-sinkfix.patch):' Patch #2 (maven-antlr-plugin-2.1-sinkfix.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p0 -b --suffix .sink --fuzz=0 patching file src/main/java/org/codehaus/mojo/antlr/AntlrHtmlReport.java + echo 'Patch #3 (0001-MANTLR-34-Fix-NPE-when-building-Jenkins.patch):' Patch #3 (0001-MANTLR-34-Fix-NPE-when-building-Jenkins.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .fixnpe --fuzz=0 patching file src/main/java/org/codehaus/mojo/antlr/metadata/MetadataExtracter.java + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_xpath_inject 'pom:dependency[pom:artifactId[text()='\''maven-reporting-impl'\'']]/pom:exclusions' ' antlr antlr ' + find -name '*.class' -exec rm -f '{}' ';' + find -name '*.jar' -exec rm -f '{}' ';' + /usr/bin/python3 /usr/share/java-utils/mvn_file.py : antlr-maven-plugin + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.kSlCTl + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd antlr-maven-plugin-2.2 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + /usr/bin/python3 /usr/share/java-utils/mvn_build.py --xmvn-javadoc --xmvn-javadoc -- -Dmaven.test.skip=true Executing: xmvn --batch-mode --offline -Dmaven.test.skip=true verify 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', 'verify', 'org.fedoraproject.xmvn:xmvn-mojo:install', 'org.fedoraproject.xmvn:xmvn-mojo:javadoc', 'org.fedoraproject.xmvn:xmvn-mojo:builddep'] [INFO] Scanning for projects... [WARNING] Ignoring metadata for artifact velocity:velocity:pom:SYSTEM as it has duplicate metadata [WARNING] Ignoring metadata for artifact org.apache.velocity:velocity:pom:SYSTEM as it has duplicate metadata [INFO] [INFO] ----------------< org.codehaus.mojo:antlr-maven-plugin >---------------- [INFO] Building Maven ANTLR Plugin 2.2 [INFO] from pom.xml [INFO] ----------------------------[ maven-plugin ]---------------------------- [WARNING] The POM for org.apache.velocity:velocity:jar:1.7 is missing, no dependency information available [INFO] [INFO] --- modello:2.1.2:java (default) @ antlr-maven-plugin --- [INFO] outputDirectory: /home/pterjan/rpmbuild/BUILD/antlr-maven-plugin-2.2/target/generated-sources/modello [INFO] Working on model: src/main/mdo/antlrOptions.mdo [INFO] Generating current version: 1.0.0 [INFO] [INFO] --- plugin:3.9.0:helpmojo (help-mojo) @ antlr-maven-plugin --- [INFO] [INFO] --- resources:3.3.1:resources (default-resources) @ antlr-maven-plugin --- [INFO] Copying 2 resources from src/main/resources to target/classes [INFO] [INFO] --- compiler:3.12.1:compile (default-compile) @ antlr-maven-plugin --- [INFO] Recompiling the module because of changed source code. [INFO] Compiling 14 source files with javac [debug release 8] to target/classes [INFO] /home/pterjan/rpmbuild/BUILD/antlr-maven-plugin-2.2/src/main/java/org/codehaus/mojo/antlr/AbstractAntlrMojo.java: Some input files use or override a deprecated API. [INFO] /home/pterjan/rpmbuild/BUILD/antlr-maven-plugin-2.2/src/main/java/org/codehaus/mojo/antlr/AbstractAntlrMojo.java: Recompile with -Xlint:deprecation for details. [INFO] /home/pterjan/rpmbuild/BUILD/antlr-maven-plugin-2.2/src/main/java/org/codehaus/mojo/antlr/AbstractAntlrMojo.java: Some input files use unchecked or unsafe operations. [INFO] /home/pterjan/rpmbuild/BUILD/antlr-maven-plugin-2.2/src/main/java/org/codehaus/mojo/antlr/AbstractAntlrMojo.java: Recompile with -Xlint:unchecked for details. [INFO] [INFO] --- plugin:3.9.0:descriptor (default-descriptor) @ antlr-maven-plugin --- [WARNING] Some dependencies of Maven Plugins are expected to be in provided scope. Please make sure that dependencies listed below declared in POM have set 'provided' as well. The following dependencies are in wrong scope: * org.apache.maven:maven-project:jar:2.0.2:compile * org.apache.maven:maven-settings:jar:2.2.1:compile * org.apache.maven:maven-profile:jar:2.2.1:compile * org.apache.maven:maven-model:jar:2.2.1:compile * org.apache.maven:maven-artifact-manager:jar:2.2.1:compile * org.apache.maven:maven-repository-metadata:jar:2.2.1:compile * org.apache.maven:maven-plugin-registry:jar:2.2.1:compile * org.apache.maven:maven-artifact:jar:2.2.1:compile * org.apache.maven:maven-core:jar:3.1.0:compile * org.apache.maven:maven-settings-builder:jar:3.9.6:compile * org.apache.maven:maven-builder-support:jar:3.9.6:compile * org.apache.maven:maven-model-builder:jar:3.9.6:compile * org.apache.maven:maven-resolver-provider:jar:3.9.6:compile * org.apache.maven:maven-plugin-api:jar:2.0.2:compile [INFO] Using 'UTF-8' encoding to read mojo source files. [WARNING] Unable to get sources artifact for org.apache.maven.reporting:maven-reporting-impl:jar:2.0.2. Some javadoc tags (@since, @deprecated and comments) won't be used [INFO] java-annotations mojo extractor found 0 mojo descriptor. [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Skipping Maven ANTLR Plugin [INFO] This project has been banned from the build due to previous failures. [INFO] ------------------------------------------------------------------------ [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 7.918 s [INFO] Finished at: 2024-07-31T21:05:28Z [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-plugin-plugin:3.9.0:descriptor (default-descriptor) on project antlr-maven-plugin: Error extracting plugin descriptor: 'No mojo definitions were found for plugin: org.codehaus.mojo:antlr-maven-plugin.' -> [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/MojoExecutionException error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.kSlCTl (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.kSlCTl (%build) I: [iurt_root_command] ERROR: chroot