D: [iurt_root_command] chroot
Building target platforms: noarch
Building for target noarch
Installing /home/pterjan/rpmbuild/SRPMS/maven-plugin-tools-3.9.0-1.mga10.src.rpm
Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.UGhFJn
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/maven-plugin-tools-3.9.0-build
+ test -d /home/pterjan/rpmbuild/BUILD/maven-plugin-tools-3.9.0-build
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/maven-plugin-tools-3.9.0-build
+ /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILD/maven-plugin-tools-3.9.0-build
+ /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/maven-plugin-tools-3.9.0-build
+ /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/maven-plugin-tools-3.9.0-build/SPECPARTS
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.3Acdid
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/maven-plugin-tools-3.9.0-build
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ cd /home/pterjan/rpmbuild/BUILD/maven-plugin-tools-3.9.0-build
+ rm -rf maven-plugin-tools-3.9.0
+ /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/maven-plugin-tools-3.9.0-source-release.zip
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd maven-plugin-tools-3.9.0
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ find -name '*.java' -exec sed -i 's/\r//' '{}' +
+ echo 'Patch #1 (0001-Disable-help-MOJO-generation.patch):'
Patch #1 (0001-Disable-help-MOJO-generation.patch):
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0
patching file maven-plugin-plugin/src/main/java/org/apache/maven/plugin/plugin/HelpGeneratorMojo.java
patching file maven-plugin-tools-generators/src/main/java/org/apache/maven/tools/plugin/generator/PluginHelpGenerator.java
+ echo 'Patch #2 (0002-Remove-dependency-on-jtidy.patch):'
Patch #2 (0002-Remove-dependency-on-jtidy.patch):
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0
patching file maven-plugin-tools-generators/src/main/java/org/apache/maven/tools/plugin/generator/GeneratorUtils.java
patching file maven-plugin-tools-generators/src/main/java/org/apache/maven/tools/plugin/generator/PluginDescriptorFilesGenerator.java
Hunk #1 succeeded at 203 (offset 2 lines).
+ echo 'Patch #3 (0003-Disable-reporting.patch):'
Patch #3 (0003-Disable-reporting.patch):
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0
patching file maven-plugin-tools-generators/src/main/java/org/apache/maven/tools/plugin/generator/GeneratorUtils.java
+ rm -r maven-plugin-tools-api/src/test/resources/javadoc
+ /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_xpath_inject pom:project/pom:properties '
UTF-8
UTF-8'
+ /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_xpath_remove 'pom:execution[pom:id='\''generated-helpmojo'\'']' maven-plugin-plugin
+ /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_disable_module maven-script
+ /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_disable_module maven-plugin-report-plugin
+ /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_dep -r :maven-reporting-impl
+ /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_dep -r :maven-reporting-api
+ /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_dep -r :plexus-velocity
+ /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_dep -r :velocity
+ /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_dep -r :jtidy
+ /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_plugin -r :spotless-maven-plugin
+ /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_dep org.junit:junit-bom
+ /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_dep :maven-plugin-tools-ant maven-plugin-plugin
+ /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_dep :maven-plugin-tools-beanshell maven-plugin-plugin
+ rm maven-plugin-tools-generators/src/main/java/org/apache/maven/tools/plugin/generator/PluginXdocGenerator.java
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.ieFvZr
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/maven-plugin-tools-3.9.0-build
+ CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full'
+ export CFLAGS
+ CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full'
+ export CXXFLAGS
+ FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full '
+ export FFLAGS
+ FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full '
+ export FCFLAGS
+ VALAFLAGS=-g
+ export VALAFLAGS
+ RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn'
+ export RUSTFLAGS
+ LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld'
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ cd maven-plugin-tools-3.9.0
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ /usr/bin/python3 /usr/share/java-utils/mvn_build.py --xmvn-javadoc -s -f
Executing: xmvn --batch-mode --offline -Dmaven.test.skip=true package 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', 'package', '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] Reactor Build Order:
[INFO]
[INFO] Maven Plugin Tools [pom]
[INFO] Maven Plugin Tools Extractor API [jar]
[INFO] Maven Plugin Tools Generators [jar]
[INFO] Maven Plugin Tool for Java with Javadoc Tags [jar]
[INFO] Maven Plugin Tools Java Annotations [jar]
[INFO] Maven Plugin Tool for Java with Annotations [jar]
[INFO] Maven Plugin Plugin [maven-plugin]
[INFO]
[INFO] ----------< org.apache.maven.plugin-tools:maven-plugin-tools >----------
[INFO] Building Maven Plugin Tools 3.9.0 [1/7]
[INFO] from pom.xml
[INFO] --------------------------------[ pom ]---------------------------------
[INFO]
[INFO] --- enforcer:3.4.1:enforce (enforce-maven-version) @ maven-plugin-tools ---
[INFO] Rule 0: org.apache.maven.enforcer.rules.version.RequireMavenVersion passed
[INFO]
[INFO] --- enforcer:3.4.1:enforce (enforce-java-version) @ maven-plugin-tools ---
[INFO] Rule 0: org.apache.maven.enforcer.rules.version.RequireJavaVersion passed
[INFO]
[INFO] --- remote-resources:3.1.0:process (process-resource-bundles) @ maven-plugin-tools ---
[INFO] Preparing remote bundle org.apache.apache.resources:apache-jar-resource-bundle:1.5
[INFO] Copying 3 resources from 1 bundle.
[INFO]
[INFO] --------< org.apache.maven.plugin-tools:maven-plugin-tools-api >--------
[INFO] Building Maven Plugin Tools Extractor API 3.9.0 [2/7]
[INFO] from maven-plugin-tools-api/pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- enforcer:3.4.1:enforce (enforce-maven-version) @ maven-plugin-tools-api ---
[INFO]
[INFO] --- enforcer:3.4.1:enforce (enforce-java-version) @ maven-plugin-tools-api ---
[INFO]
[INFO] --- remote-resources:3.1.0:process (process-resource-bundles) @ maven-plugin-tools-api ---
[INFO] Preparing remote bundle org.apache.apache.resources:apache-jar-resource-bundle:1.5
[INFO] Copying 3 resources from 1 bundle.
[INFO]
[INFO] --- resources:3.3.1:resources (default-resources) @ maven-plugin-tools-api ---
[INFO] skip non existing resourceDirectory /home/pterjan/rpmbuild/BUILD/maven-plugin-tools-3.9.0-build/maven-plugin-tools-3.9.0/maven-plugin-tools-api/src/main/resources
[INFO] Copying 3 resources from target/maven-shared-archive-resources to target/classes
[INFO]
[INFO] --- compiler:3.12.1:compile (default-compile) @ maven-plugin-tools-api ---
[INFO] Recompiling the module because of changed source code.
[INFO] Compiling 17 source files with javac [debug release 1.8] to target/classes
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Skipping Maven Plugin Tools
[INFO] This project has been banned from the build due to previous failures.
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Maven Plugin Tools 3.9.0:
[INFO]
[INFO] Maven Plugin Tools ................................. SUCCESS [ 1.344 s]
[INFO] Maven Plugin Tools Extractor API ................... FAILURE [ 1.146 s]
[INFO] Maven Plugin Tools Generators ...................... SKIPPED
[INFO] Maven Plugin Tool for Java with Javadoc Tags ....... SKIPPED
[INFO] Maven Plugin Tools Java Annotations ................ SKIPPED
[INFO] Maven Plugin Tool for Java with Annotations ........ SKIPPED
[INFO] Maven Plugin Plugin ................................ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4.106 s
[INFO] Finished at: 2025-01-04T02:05:05Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.12.1:compile (default-compile) on project maven-plugin-tools-api: Fatal error compiling: error: release version 1.8 not supported -> [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]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn -rf :maven-plugin-tools-api
error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.ieFvZr (%build)
RPM build errors:
Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.ieFvZr (%build)
I: [iurt_root_command] ERROR: chroot