D: [iurt_root_command] chroot Building target platforms: noarch Building for target noarch warning: Macro expanded in comment on line 12: %{java_arches} noarch sh: line 4: [: -j8: integer expression expected sh: line 4: [: -j8: integer expression expected Installing /home/pterjan/rpmbuild/SRPMS/maven-resolver-1.9.18-3.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.Vs1A1n + umask 022 + cd /home/pterjan/rpmbuild/BUILD/maven-resolver-1.9.18-build + test -d /home/pterjan/rpmbuild/BUILD/maven-resolver-1.9.18-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/maven-resolver-1.9.18-build + /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILD/maven-resolver-1.9.18-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/maven-resolver-1.9.18-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/maven-resolver-1.9.18-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.myRBMT + umask 022 + cd /home/pterjan/rpmbuild/BUILD/maven-resolver-1.9.18-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/maven-resolver-1.9.18-build + rm -rf maven-resolver-1.9.18 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/maven-resolver-1.9.18-source-release.zip + STATUS=0 + '[' 0 -ne 0 ']' + cd maven-resolver-1.9.18 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (0001-Remove-use-of-deprecated-SHA-1-and-MD5-algorithms.patch):' Patch #0 (0001-Remove-use-of-deprecated-SHA-1-and-MD5-algorithms.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file maven-resolver-api/src/main/java/org/eclipse/aether/repository/AuthenticationDigest.java + rm maven-resolver-supplier/src/test/java/org/eclipse/aether/supplier/RepositorySystemSupplierTest.java + rm maven-resolver-transport-http/src/test/java/org/eclipse/aether/transport/http/HttpServer.java maven-resolver-transport-http/src/test/java/org/eclipse/aether/transport/http/HttpTransporterTest.java + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_dep org.eclipse.jetty: maven-resolver-transport-http + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_plugin -r :bnd-maven-plugin + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_plugin -r org.codehaus.mojo:animal-sniffer-maven-plugin + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_plugin -r :japicmp-maven-plugin + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_disable_module maven-resolver-demos + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_disable_module maven-resolver-named-locks-hazelcast + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_disable_module maven-resolver-named-locks-redisson + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_disable_module maven-resolver-transport-classpath + /usr/bin/python3 /usr/share/java-utils/mvn_package.py :maven-resolver-test-util __noinstall ++ find -mindepth 2 -name pom.xml + for pom in $(find -mindepth 2 -name pom.xml) ++ sed 's:./maven-resolver::;s:/pom.xml::;s:-:.:g' + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_add_plugin org.apache.felix:maven-bundle-plugin ./maven-resolver-named-locks-hazelcast/pom.xml ' ${project.groupId}.named.locks.hazelcast !org.eclipse.aether.internal*,org.eclipse.aether* <_nouses>true create-manifest process-classes manifest ' + for pom in $(find -mindepth 2 -name pom.xml) ++ sed 's:./maven-resolver::;s:/pom.xml::;s:-:.:g' + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_add_plugin org.apache.felix:maven-bundle-plugin ./maven-resolver-transport-file/pom.xml ' ${project.groupId}.transport.file !org.eclipse.aether.internal*,org.eclipse.aether* <_nouses>true create-manifest process-classes manifest ' + for pom in $(find -mindepth 2 -name pom.xml) ++ sed 's:./maven-resolver::;s:/pom.xml::;s:-:.:g' + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_add_plugin org.apache.felix:maven-bundle-plugin ./maven-resolver-supplier/pom.xml ' ${project.groupId}.supplier !org.eclipse.aether.internal*,org.eclipse.aether* <_nouses>true create-manifest process-classes manifest ' + for pom in $(find -mindepth 2 -name pom.xml) ++ sed 's:./maven-resolver::;s:/pom.xml::;s:-:.:g' + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_add_plugin org.apache.felix:maven-bundle-plugin ./maven-resolver-named-locks/pom.xml ' ${project.groupId}.named.locks !org.eclipse.aether.internal*,org.eclipse.aether* <_nouses>true create-manifest process-classes manifest ' + for pom in $(find -mindepth 2 -name pom.xml) ++ sed 's:./maven-resolver::;s:/pom.xml::;s:-:.:g' + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_add_plugin org.apache.felix:maven-bundle-plugin ./maven-resolver-connector-basic/pom.xml ' ${project.groupId}.connector.basic !org.eclipse.aether.internal*,org.eclipse.aether* <_nouses>true create-manifest process-classes manifest ' + for pom in $(find -mindepth 2 -name pom.xml) ++ sed 's:./maven-resolver::;s:/pom.xml::;s:-:.:g' + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_add_plugin org.apache.felix:maven-bundle-plugin ./maven-resolver-util/pom.xml ' ${project.groupId}.util !org.eclipse.aether.internal*,org.eclipse.aether* <_nouses>true create-manifest process-classes manifest ' + for pom in $(find -mindepth 2 -name pom.xml) ++ sed 's:./maven-resolver::;s:/pom.xml::;s:-:.:g' + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_add_plugin org.apache.felix:maven-bundle-plugin ./maven-resolver-demos/pom.xml ' ${project.groupId}.demos !org.eclipse.aether.internal*,org.eclipse.aether* <_nouses>true create-manifest process-classes manifest ' + for pom in $(find -mindepth 2 -name pom.xml) ++ sed 's:./maven-resolver::;s:/pom.xml::;s:-:.:g' + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_add_plugin org.apache.felix:maven-bundle-plugin ./maven-resolver-demos/maven-resolver-demo-snippets/pom.xml ' ${project.groupId}.demos/maven.resolver.demo.snippets !org.eclipse.aether.internal*,org.eclipse.aether* <_nouses>true create-manifest process-classes manifest ' + for pom in $(find -mindepth 2 -name pom.xml) ++ sed 's:./maven-resolver::;s:/pom.xml::;s:-:.:g' + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_add_plugin org.apache.felix:maven-bundle-plugin ./maven-resolver-demos/maven-resolver-demo-maven-plugin/pom.xml ' ${project.groupId}.demos/maven.resolver.demo.maven.plugin !org.eclipse.aether.internal*,org.eclipse.aether* <_nouses>true create-manifest process-classes manifest ' + for pom in $(find -mindepth 2 -name pom.xml) ++ sed 's:./maven-resolver::;s:/pom.xml::;s:-:.:g' + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_add_plugin org.apache.felix:maven-bundle-plugin ./maven-resolver-demos/maven-resolver-demo-maven-plugin/src/it/resolve-artifact/pom.xml ' ${project.groupId}.demos/maven.resolver.demo.maven.plugin/src/it/resolve.artifact !org.eclipse.aether.internal*,org.eclipse.aether* <_nouses>true create-manifest process-classes manifest ' + for pom in $(find -mindepth 2 -name pom.xml) ++ sed 's:./maven-resolver::;s:/pom.xml::;s:-:.:g' + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_add_plugin org.apache.felix:maven-bundle-plugin ./maven-resolver-test-util/pom.xml ' ${project.groupId}.test.util !org.eclipse.aether.internal*,org.eclipse.aether* <_nouses>true create-manifest process-classes manifest ' + for pom in $(find -mindepth 2 -name pom.xml) ++ sed 's:./maven-resolver::;s:/pom.xml::;s:-:.:g' + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_add_plugin org.apache.felix:maven-bundle-plugin ./maven-resolver-transport-wagon/pom.xml ' ${project.groupId}.transport.wagon !org.eclipse.aether.internal*,org.eclipse.aether* <_nouses>true create-manifest process-classes manifest ' + for pom in $(find -mindepth 2 -name pom.xml) ++ sed 's:./maven-resolver::;s:/pom.xml::;s:-:.:g' + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_add_plugin org.apache.felix:maven-bundle-plugin ./maven-resolver-named-locks-redisson/pom.xml ' ${project.groupId}.named.locks.redisson !org.eclipse.aether.internal*,org.eclipse.aether* <_nouses>true create-manifest process-classes manifest ' + for pom in $(find -mindepth 2 -name pom.xml) ++ sed 's:./maven-resolver::;s:/pom.xml::;s:-:.:g' + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_add_plugin org.apache.felix:maven-bundle-plugin ./maven-resolver-spi/pom.xml ' ${project.groupId}.spi !org.eclipse.aether.internal*,org.eclipse.aether* <_nouses>true create-manifest process-classes manifest ' + for pom in $(find -mindepth 2 -name pom.xml) ++ sed 's:./maven-resolver::;s:/pom.xml::;s:-:.:g' + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_add_plugin org.apache.felix:maven-bundle-plugin ./maven-resolver-transport-http/pom.xml ' ${project.groupId}.transport.http !org.eclipse.aether.internal*,org.eclipse.aether* <_nouses>true create-manifest process-classes manifest ' + for pom in $(find -mindepth 2 -name pom.xml) ++ sed 's:./maven-resolver::;s:/pom.xml::;s:-:.:g' + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_add_plugin org.apache.felix:maven-bundle-plugin ./maven-resolver-impl/pom.xml ' ${project.groupId}.impl !org.eclipse.aether.internal*,org.eclipse.aether* <_nouses>true create-manifest process-classes manifest ' + for pom in $(find -mindepth 2 -name pom.xml) ++ sed 's:./maven-resolver::;s:/pom.xml::;s:-:.:g' + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_add_plugin org.apache.felix:maven-bundle-plugin ./maven-resolver-transport-classpath/pom.xml ' ${project.groupId}.transport.classpath !org.eclipse.aether.internal*,org.eclipse.aether* <_nouses>true create-manifest process-classes manifest ' + for pom in $(find -mindepth 2 -name pom.xml) ++ sed 's:./maven-resolver::;s:/pom.xml::;s:-:.:g' + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_add_plugin org.apache.felix:maven-bundle-plugin ./maven-resolver-api/pom.xml ' ${project.groupId}.api !org.eclipse.aether.internal*,org.eclipse.aether* <_nouses>true create-manifest process-classes manifest ' + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_add_plugin org.apache.maven.plugins:maven-jar-plugin pom.xml ' ${project.build.outputDirectory}/META-INF/MANIFEST.MF ' + /usr/bin/python3 /usr/share/java-utils/mvn_alias.py 'org.apache.maven.resolver:maven-resolver{*}' org.eclipse.aether:aether@1 + /usr/bin/python3 /usr/share/java-utils/mvn_alias.py org.apache.maven.resolver:maven-resolver-transport-wagon org.eclipse.aether:aether-connector-wagon + /usr/bin/python3 /usr/share/java-utils/mvn_file.py ':maven-resolver{*}' maven-resolver/maven-resolver@1 aether/aether@1 + 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.HFgXez + umask 022 + cd /home/pterjan/rpmbuild/BUILD/maven-resolver-1.9.18-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-resolver-1.9.18 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + /usr/bin/python3 /usr/share/java-utils/mvn_build.py --xmvn-javadoc Executing: xmvn --batch-mode --offline verify org.fedoraproject.xmvn:xmvn-mojo:install org.fedoraproject.xmvn:xmvn-mojo:javadoc org.fedoraproject.xmvn:xmvn-mojo:builddep ['xmvn', '--batch-mode', '--offline', '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] Maven Artifact Resolver [pom] [INFO] Maven Artifact Resolver API [jar] [INFO] Maven Artifact Resolver SPI [jar] [INFO] Maven Artifact Resolver Test Utilities [jar] [INFO] Maven Artifact Resolver Utilities [jar] [INFO] Maven Artifact Resolver Named Locks [jar] [INFO] Maven Artifact Resolver Implementation [jar] [INFO] Maven Artifact Resolver Connector Basic [jar] [INFO] Maven Artifact Resolver Transport File [jar] [INFO] Maven Artifact Resolver Transport HTTP [jar] [INFO] Maven Artifact Resolver Transport Wagon [jar] [INFO] Maven Artifact Resolver Instance Supplier [jar] [INFO] [INFO] --------------< org.apache.maven.resolver:maven-resolver >-------------- [INFO] Building Maven Artifact Resolver 1.9.18 [1/12] [INFO] from pom.xml [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] --- enforcer:3.4.1:enforce (enforce-maven-version) @ maven-resolver --- [INFO] Rule 0: org.apache.maven.enforcer.rules.version.RequireMavenVersion passed [INFO] [INFO] --- enforcer:3.4.1:enforce (enforce-java-version) @ maven-resolver --- [INFO] Rule 0: org.apache.maven.enforcer.rules.version.RequireJavaVersion passed [INFO] [INFO] --- remote-resources:3.1.0:process (process-resource-bundles) @ maven-resolver --- [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.resolver:maven-resolver-api >------------ [INFO] Building Maven Artifact Resolver API 1.9.18 [2/12] [INFO] from maven-resolver-api/pom.xml [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- enforcer:3.4.1:enforce (enforce-maven-version) @ maven-resolver-api --- [INFO] [INFO] --- enforcer:3.4.1:enforce (enforce-java-version) @ maven-resolver-api --- [INFO] [INFO] --- remote-resources:3.1.0:process (process-resource-bundles) @ maven-resolver-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-resolver-api --- [INFO] skip non existing resourceDirectory /home/pterjan/rpmbuild/BUILD/maven-resolver-1.9.18-build/maven-resolver-1.9.18/maven-resolver-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-resolver-api --- [INFO] Recompiling the module because of changed source code. [INFO] Compiling 129 source files with javac [debug release 1.8] to target/classes [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Skipping Maven Artifact Resolver [INFO] This project has been banned from the build due to previous failures. [INFO] ------------------------------------------------------------------------ [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary for Maven Artifact Resolver 1.9.18: [INFO] [INFO] Maven Artifact Resolver ............................ SUCCESS [ 0.593 s] [INFO] Maven Artifact Resolver API ........................ FAILURE [ 0.362 s] [INFO] Maven Artifact Resolver SPI ........................ SKIPPED [INFO] Maven Artifact Resolver Test Utilities ............. SKIPPED [INFO] Maven Artifact Resolver Utilities .................. SKIPPED [INFO] Maven Artifact Resolver Named Locks ................ SKIPPED [INFO] Maven Artifact Resolver Implementation ............. SKIPPED [INFO] Maven Artifact Resolver Connector Basic ............ SKIPPED [INFO] Maven Artifact Resolver Transport File ............. SKIPPED [INFO] Maven Artifact Resolver Transport HTTP ............. SKIPPED [INFO] Maven Artifact Resolver Transport Wagon ............ SKIPPED [INFO] Maven Artifact Resolver Instance Supplier .......... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1.431 s [INFO] Finished at: 2025-02-19T13:27:41Z [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.12.1:compile (default-compile) on project maven-resolver-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-resolver-api error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.HFgXez (%build) RPM build warnings: Macro expanded in comment on line 12: %{java_arches} noarch RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.HFgXez (%build) I: [iurt_root_command] ERROR: chroot