D: [iurt_root_command] chroot Building target platforms: noarch Building for target noarch warning: Macro expanded in comment on line 60: %{name}-provider-junit = %{version}-%{release} if junit) warning: Macro expanded in comment on line 61: %{name}-provider-junit5 = %{version}-%{release} if junit5) warning: Macro expanded in comment on line 63: %{name}-provider-testng = %{version}-%{release} if testng) sh: line 4: [: -j8: integer expression expected sh: line 4: [: -j8: integer expression expected Installing /home/pterjan/rpmbuild/SRPMS/maven-surefire-3.2.2-1.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.Gsrdqv + umask 022 + cd /home/pterjan/rpmbuild/BUILD/maven-surefire-3.2.2-build + test -d /home/pterjan/rpmbuild/BUILD/maven-surefire-3.2.2-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/maven-surefire-3.2.2-build + /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILD/maven-surefire-3.2.2-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/maven-surefire-3.2.2-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/maven-surefire-3.2.2-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 sh: line 4: [: -j8: integer expression expected Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.rJy7z9 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/maven-surefire-3.2.2-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/maven-surefire-3.2.2-build + rm -rf surefire-3.2.2 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/maven-surefire-3.2.2.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd surefire-3.2.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cp -p /home/pterjan/rpmbuild/SOURCES/cpl-v10.html . + echo 'Patch #1 (0001-Port-to-TestNG-7.4.0.patch):' Patch #1 (0001-Port-to-TestNG-7.4.0.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file surefire-providers/surefire-testng/pom.xml Hunk #1 succeeded at 55 (offset 1 line). patching file surefire-providers/surefire-testng/src/main/java/org/apache/maven/surefire/testng/conf/AbstractDirectConfigurator.java patching file surefire-providers/surefire-testng/src/main/java/org/apache/maven/surefire/testng/conf/TestNGMapConfigurator.java + echo 'Patch #2 (0002-Disable-JUnit-4.8-test-grouping.patch):' Patch #2 (0002-Disable-JUnit-4.8-test-grouping.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file surefire-providers/surefire-junit47/src/main/java/org/apache/maven/surefire/junitcore/JUnitCoreProvider.java patching file surefire-providers/surefire-testng/src/main/java/org/apache/maven/surefire/testng/TestNGExecutor.java + sed -i /-Xdoclint:all/d pom.xml + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_disable_module maven-surefire-report-plugin + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_disable_module surefire-report-parser + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_disable_module surefire-shadefire + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_disable_module surefire-grouper + /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 :surefire-grouper surefire-providers/common-junit48 + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_dep :surefire-grouper surefire-providers/surefire-testng-utils + rm surefire-providers/common-junit48/src/main/java/org/apache/maven/surefire/common/junit48/FilterFactory.java surefire-providers/common-junit48/src/main/java/org/apache/maven/surefire/common/junit48/GroupMatcherCategoryFilter.java + rm surefire-providers/surefire-testng-utils/src/main/java/org/apache/maven/surefire/testng/utils/GroupMatcherMethodSelector.java + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_dep -r org.apache.maven.surefire:surefire-shadefire + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_plugin :maven-help-plugin surefire-its + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_plugin -r :jacoco-maven-plugin + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_plugin -r :maven-shade-plugin + find -name '*.java' -exec sed -i -e s/org.apache.maven.surefire.shared.utils/org.apache.maven.shared.utils/ -e s/org.apache.maven.surefire.shared.io/org.apache.commons.io/ -e s/org.apache.maven.surefire.shared.lang3/org.apache.commons.lang3/ -e s/org.apache.maven.surefire.shared.compress/org.apache.commons.compress/ '{}' ';' + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_plugin -r :animal-sniffer-maven-plugin + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_plugin -r :apache-rat-plugin + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_plugin :maven-assembly-plugin maven-surefire-plugin + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_dep -r ::::site-source + RPM_EC=0 ++ jobs -p + exit 0 sh: line 4: [: -j8: integer expression expected Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.0NWhq4 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/maven-surefire-3.2.2-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 surefire-3.2.2 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + /usr/bin/python3 /usr/share/java-utils/mvn_package.py ':*{surefire-plugin}*' @1 + /usr/bin/python3 /usr/share/java-utils/mvn_package.py ':*junit-platform*' junit5 + /usr/bin/python3 /usr/share/java-utils/mvn_package.py ':*{junit,testng,failsafe-plugin}*' @1 + /usr/bin/python3 /usr/share/java-utils/mvn_package.py ':*tests*' __noinstall + /usr/bin/python3 /usr/share/java-utils/mvn_build.py --xmvn-javadoc -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 [WARNING] [WARNING] Some problems were encountered while building the effective model for org.apache.maven.plugins:maven-failsafe-plugin:maven-plugin:3.2.2 [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-site-plugin is missing. @ line 151, column 15 [WARNING] [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. [WARNING] [WARNING] For this reason, future Maven versions might no longer support building such malformed projects. [WARNING] [INFO] ------------------------------------------------------------------------ [INFO] Reactor Build Order: [INFO] [INFO] Apache Maven Surefire [pom] [INFO] Surefire Shared Utils [jar] [INFO] SureFire Logger API [jar] [INFO] SureFire API [jar] [INFO] Surefire Extensions API [jar] [INFO] Surefire Extensions SPI [jar] [INFO] SureFire Booter [jar] [INFO] SureFire Providers [pom] [INFO] Shared JUnit3 Provider Code [jar] [INFO] Shared Java 5 Provider Base [jar] [INFO] Shared JUnit4 Provider Code [jar] [INFO] Shared JUnit48 Provider Code [jar] [INFO] SureFire JUnit Runner [jar] [INFO] SureFire JUnit4 Runner [jar] [INFO] SureFire JUnitCore Runner [jar] [INFO] SureFire JUnit Platform Runner [jar] [INFO] SureFire TestNG Utils [jar] [INFO] SureFire TestNG Runner [jar] [INFO] Maven Surefire Common [jar] [INFO] Maven Surefire Plugin [maven-plugin] [INFO] Maven Failsafe Plugin [maven-plugin] [INFO] Maven Surefire Integration Tests [jar] [INFO] [INFO] -----------------< org.apache.maven.surefire:surefire >----------------- [INFO] Building Apache Maven Surefire 3.2.2 [1/22] [INFO] from pom.xml [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] --- enforcer:3.4.1:enforce (enforce-maven-version) @ surefire --- [INFO] Rule 0: org.apache.maven.enforcer.rules.version.RequireMavenVersion passed [INFO] [INFO] --- enforcer:3.4.1:enforce (enforce-java-version) @ surefire --- [INFO] Rule 0: org.apache.maven.enforcer.rules.version.RequireJavaVersion passed [INFO] [INFO] --- remote-resources:3.1.0:process (process-resource-bundles) @ surefire --- [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.surefire:surefire-shared-utils >----------- [INFO] Building Surefire Shared Utils 3.2.2 [2/22] [INFO] from surefire-shared-utils/pom.xml [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- enforcer:3.4.1:enforce (enforce-maven-version) @ surefire-shared-utils --- [INFO] [INFO] --- enforcer:3.4.1:enforce (enforce-java-version) @ surefire-shared-utils --- [INFO] [INFO] --- remote-resources:3.1.0:process (process-resource-bundles) @ surefire-shared-utils --- [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) @ surefire-shared-utils --- [INFO] skip non existing resourceDirectory /home/pterjan/rpmbuild/BUILD/maven-surefire-3.2.2-build/surefire-3.2.2/surefire-shared-utils/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) @ surefire-shared-utils --- [INFO] No sources to compile [INFO] [INFO] --- resources:3.3.1:testResources (default-testResources) @ surefire-shared-utils --- [INFO] Not copying test resources [INFO] [INFO] --- compiler:3.12.1:testCompile (default-testCompile) @ surefire-shared-utils --- [INFO] Not compiling test sources [INFO] [INFO] --- surefire:3.2.2:test (default-test) @ surefire-shared-utils --- [INFO] Tests are skipped. [INFO] [INFO] --- jar:3.3.0:jar (default-jar) @ surefire-shared-utils --- [INFO] Building jar: /home/pterjan/rpmbuild/BUILD/maven-surefire-3.2.2-build/surefire-3.2.2/surefire-shared-utils/target/surefire-shared-utils-3.2.2.jar [INFO] [INFO] -----------< org.apache.maven.surefire:surefire-logger-api >------------ [INFO] Building SureFire Logger API 3.2.2 [3/22] [INFO] from surefire-logger-api/pom.xml [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- enforcer:3.4.1:enforce (enforce-maven-version) @ surefire-logger-api --- [INFO] [INFO] --- enforcer:3.4.1:enforce (enforce-java-version) @ surefire-logger-api --- [INFO] [INFO] --- remote-resources:3.1.0:process (process-resource-bundles) @ surefire-logger-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) @ surefire-logger-api --- [INFO] skip non existing resourceDirectory /home/pterjan/rpmbuild/BUILD/maven-surefire-3.2.2-build/surefire-3.2.2/surefire-logger-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) @ surefire-logger-api --- [INFO] Recompiling the module because of changed source code. [INFO] Compiling 6 source files with javac [forked debug release 1.8] to target/classes [INFO] ------------------------------------------------------------- [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] error: release version 1.8 not supported [INFO] 1 error [INFO] ------------------------------------------------------------- [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Skipping Apache Maven Surefire [INFO] This project has been banned from the build due to previous failures. [INFO] ------------------------------------------------------------------------ [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary for Apache Maven Surefire 3.2.2: [INFO] [INFO] Apache Maven Surefire .............................. SUCCESS [ 0.560 s] [INFO] Surefire Shared Utils .............................. SUCCESS [ 0.459 s] [INFO] SureFire Logger API ................................ FAILURE [ 0.455 s] [INFO] SureFire API ....................................... SKIPPED [INFO] Surefire Extensions API ............................ SKIPPED [INFO] Surefire Extensions SPI ............................ SKIPPED [INFO] SureFire Booter .................................... SKIPPED [INFO] SureFire Providers ................................. SKIPPED [INFO] Shared JUnit3 Provider Code ........................ SKIPPED [INFO] Shared Java 5 Provider Base ........................ SKIPPED [INFO] Shared JUnit4 Provider Code ........................ SKIPPED [INFO] Shared JUnit48 Provider Code ....................... SKIPPED [INFO] SureFire JUnit Runner .............................. SKIPPED [INFO] SureFire JUnit4 Runner ............................. SKIPPED [INFO] SureFire JUnitCore Runner .......................... SKIPPED [INFO] SureFire JUnit Platform Runner ..................... SKIPPED [INFO] SureFire TestNG Utils .............................. SKIPPED [INFO] SureFire TestNG Runner ............................. SKIPPED [INFO] Maven Surefire Common .............................. SKIPPED [INFO] Maven Surefire Plugin .............................. SKIPPED [INFO] Maven Failsafe Plugin .............................. SKIPPED [INFO] Maven Surefire Integration Tests ................... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 2.036 s [INFO] Finished at: 2025-02-19T13:47:06Z [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.12.1:compile (default-compile) on project surefire-logger-api: Compilation failure [ERROR] error: release version 1.8 not supported [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] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn -rf :surefire-logger-api error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.0NWhq4 (%build) RPM build warnings: Macro expanded in comment on line 60: %{name}-provider-junit = %{version}-%{release} if junit) Macro expanded in comment on line 61: %{name}-provider-junit5 = %{version}-%{release} if junit5) Macro expanded in comment on line 63: %{name}-provider-testng = %{version}-%{release} if testng) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.0NWhq4 (%build) I: [iurt_root_command] ERROR: chroot