D: [iurt_root_command] chroot Building target platforms: noarch Building for target noarch warning: Macro expanded in comment on line 83: %{bundled_slf4j_version} sh: line 4: [: -j8: integer expression expected sh: line 4: [: -j8: integer expression expected Installing /home/pterjan/rpmbuild/SRPMS/maven-3.9.6-4.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.Ir54ou + umask 022 + cd /home/pterjan/rpmbuild/BUILD/maven-3.9.6-build + test -d /home/pterjan/rpmbuild/BUILD/maven-3.9.6-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/maven-3.9.6-build + /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILD/maven-3.9.6-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/maven-3.9.6-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/maven-3.9.6-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.m9yI2w + umask 022 + cd /home/pterjan/rpmbuild/BUILD/maven-3.9.6-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/maven-3.9.6-build + rm -rf apache-maven-3.9.6 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/apache-maven-3.9.6-src.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd apache-maven-3.9.6 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + find -name '*.java' -exec sed -i 's/\r//' '{}' + + find -name pom.xml -exec sed -i 's/\r//' '{}' + + echo 'Patch #1 (0001-Adapt-mvn-script.patch):' Patch #1 (0001-Adapt-mvn-script.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file apache-maven/src/bin/mvn + echo 'Patch #2 (0002-Invoke-logback-via-reflection.patch):' Patch #2 (0002-Invoke-logback-via-reflection.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file maven-embedder/src/main/java/org/apache/maven/cli/logging/impl/LogbackConfiguration.java + echo 'Patch #3 (0003-Remove-dependency-on-powermock.patch):' Patch #3 (0003-Remove-dependency-on-powermock.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file maven-model-builder/src/test/java/org/apache/maven/model/interpolation/StringSearchModelInterpolatorTest.java + sed -i 's/@{maven_version_suffix}//' apache-maven/src/bin/mvn + find -name '*.jar' -not -path '*/test/*' -delete + find -name '*.class' -delete + find -name '*.bat' -delete + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_dep -r :powermock-reflect + sed -i 's:\r::' apache-maven/src/conf/settings.xml + rm apache-maven/src/main/appended-resources/META-INF/LICENSE.vm + /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 -r :maven-site-plugin + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_plugin -r :buildnumber-maven-plugin ++ find -name build.properties + sed -i ' /buildNumber=/ { s/=.*/=Red Hat 3.9.6-4.mga10/ s/.mga10$// } /timestamp=/ d ' ./maven-core/src/test/resources/projects/build.properties ./maven-core/src/main/resources/org/apache/maven/messages/build.properties + /usr/bin/python3 /usr/share/java-utils/mvn_package.py :apache-maven __noinstall + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_add_dep javax.annotation:javax.annotation-api::provided maven-core + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_change_dep :jansi :::runtime maven-embedder + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_dep -r :logback-classic + /usr/bin/python3 /usr/share/java-utils/mvn_alias.py :maven-resolver-provider :maven-aether-provider + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_plugin :plexus-component-metadata maven-model-builder + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_add_plugin org.eclipse.sisu:sisu-maven-plugin maven-model-builder + 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.pdM0Cu + umask 022 + cd /home/pterjan/rpmbuild/BUILD/maven-3.9.6-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 apache-maven-3.9.6 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + /usr/bin/python3 /usr/share/java-utils/mvn_build.py --xmvn-javadoc -- -Dproject.build.sourceEncoding=UTF-8 Executing: xmvn --batch-mode --offline -Dproject.build.sourceEncoding=UTF-8 verify org.fedoraproject.xmvn:xmvn-mojo:install org.fedoraproject.xmvn:xmvn-mojo:javadoc org.fedoraproject.xmvn:xmvn-mojo:builddep ['xmvn', '--batch-mode', '--offline', '-Dproject.build.sourceEncoding=UTF-8', '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] Reactor Build Order: [INFO] [INFO] Apache Maven [pom] [INFO] Maven Model [jar] [INFO] Maven Artifact [jar] [INFO] Maven Plugin API [jar] [INFO] Maven Builder Support [jar] [INFO] Maven Model Builder [jar] [INFO] Maven Settings [jar] [INFO] Maven Settings Builder [jar] [INFO] Maven Repository Metadata Model [jar] [INFO] Maven Artifact Resolver Provider [jar] [INFO] Maven Core [jar] [INFO] Maven SLF4J Simple Provider [jar] [INFO] Maven Embedder [jar] [INFO] Maven Compat [jar] [INFO] Apache Maven Distribution [pom] [INFO] [INFO] -----------------------< org.apache.maven:maven >----------------------- [INFO] Building Apache Maven 3.9.6 [1/15] [INFO] from pom.xml [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] --- enforcer:3.4.1:enforce (enforce-maven-version) @ maven --- [INFO] Rule 0: org.apache.maven.enforcer.rules.version.RequireMavenVersion passed [INFO] [INFO] --- enforcer:3.4.1:enforce (enforce-java-version) @ maven --- [INFO] Rule 0: org.apache.maven.enforcer.rules.version.RequireJavaVersion passed [INFO] [INFO] --- enforcer:3.4.1:enforce (ensure-no-sonatype-cipher-and-sec-dispatcher) @ maven --- [INFO] Rule 0: org.apache.maven.enforcer.rules.dependency.BannedDependencies passed [INFO] [INFO] --- remote-resources:3.1.0:process (process-resource-bundles) @ maven --- [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:maven-model >-------------------- [INFO] Building Maven Model 3.9.6 [2/15] [INFO] from maven-model/pom.xml [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- enforcer:3.4.1:enforce (enforce-maven-version) @ maven-model --- [INFO] [INFO] --- enforcer:3.4.1:enforce (enforce-java-version) @ maven-model --- [INFO] [INFO] --- enforcer:3.4.1:enforce (ensure-no-sonatype-cipher-and-sec-dispatcher) @ maven-model --- [INFO] Rule 0: org.apache.maven.enforcer.rules.dependency.BannedDependencies passed [INFO] [INFO] --- modello:2.1.2:java (modello) @ maven-model --- [INFO] outputDirectory: /home/pterjan/rpmbuild/BUILD/maven-3.9.6-build/apache-maven-3.9.6/maven-model/target/generated-sources/modello [INFO] Working on model: src/main/mdo/maven.mdo [INFO] Generating current version: 4.0.0 [INFO] [INFO] --- modello:2.1.2:xpp3-reader (modello) @ maven-model --- [INFO] outputDirectory: /home/pterjan/rpmbuild/BUILD/maven-3.9.6-build/apache-maven-3.9.6/maven-model/target/generated-sources/modello [INFO] Working on model: src/main/mdo/maven.mdo [INFO] Generating current version: 4.0.0 [INFO] [INFO] --- modello:2.1.2:xpp3-extended-reader (modello) @ maven-model --- [INFO] outputDirectory: /home/pterjan/rpmbuild/BUILD/maven-3.9.6-build/apache-maven-3.9.6/maven-model/target/generated-sources/modello [INFO] Working on model: src/main/mdo/maven.mdo [INFO] Generating current version: 4.0.0 [INFO] [INFO] --- modello:2.1.2:xpp3-writer (modello) @ maven-model --- [INFO] outputDirectory: /home/pterjan/rpmbuild/BUILD/maven-3.9.6-build/apache-maven-3.9.6/maven-model/target/generated-sources/modello [INFO] Working on model: src/main/mdo/maven.mdo [INFO] Generating current version: 4.0.0 [INFO] [INFO] --- modello:2.1.2:xpp3-extended-writer (modello) @ maven-model --- [INFO] outputDirectory: /home/pterjan/rpmbuild/BUILD/maven-3.9.6-build/apache-maven-3.9.6/maven-model/target/generated-sources/modello [INFO] Working on model: src/main/mdo/maven.mdo [INFO] Generating current version: 4.0.0 [INFO] [INFO] --- remote-resources:3.1.0:process (process-resource-bundles) @ maven-model --- [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-model --- [INFO] skip non existing resourceDirectory /home/pterjan/rpmbuild/BUILD/maven-3.9.6-build/apache-maven-3.9.6/maven-model/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-model --- [INFO] Recompiling the module because of changed source code. [INFO] Compiling 54 source files with javac [debug release 1.8] to target/classes [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Skipping Apache Maven [INFO] This project has been banned from the build due to previous failures. [INFO] ------------------------------------------------------------------------ [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary for Apache Maven 3.9.6: [INFO] [INFO] Apache Maven ....................................... SUCCESS [ 0.560 s] [INFO] Maven Model ........................................ FAILURE [ 0.669 s] [INFO] Maven Artifact ..................................... SKIPPED [INFO] Maven Plugin API ................................... SKIPPED [INFO] Maven Builder Support .............................. SKIPPED [INFO] Maven Model Builder ................................ SKIPPED [INFO] Maven Settings ..................................... SKIPPED [INFO] Maven Settings Builder ............................. SKIPPED [INFO] Maven Repository Metadata Model .................... SKIPPED [INFO] Maven Artifact Resolver Provider ................... SKIPPED [INFO] Maven Core ......................................... SKIPPED [INFO] Maven SLF4J Simple Provider ........................ SKIPPED [INFO] Maven Embedder ..................................... SKIPPED [INFO] Maven Compat ....................................... SKIPPED [INFO] Apache Maven Distribution .......................... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1.700 s [INFO] Finished at: 2025-02-19T13:49:08Z [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.12.1:compile (default-compile) on project maven-model: 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-model error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.pdM0Cu (%build) RPM build warnings: Macro expanded in comment on line 83: %{bundled_slf4j_version} RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.pdM0Cu (%build) I: [iurt_root_command] ERROR: chroot