D: [iurt_root_command] chroot Building target platforms: noarch Building for target noarch sh: line 4: [: -j8: integer expected Installing /home/pterjan/rpmbuild/SRPMS/jgit-6.1.0-3.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.PaZbui sh: line 4: [: -j8: integer expected Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.hM5ORu + umask 022 + cd /home/pterjan/rpmbuild/BUILD/jgit-6.1.0-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/jgit-6.1.0-build + rm -rf jgit-6.1.0.202203080745-r + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/jgit-6.1.0.202203080745-r.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd jgit-6.1.0.202203080745-r + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (0001-Ensure-the-correct-classpath-is-set-for-the-jgit-com.patch):' Patch #0 (0001-Ensure-the-correct-classpath-is-set-for-the-jgit-com.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file org.eclipse.jgit.pgm/jgit.sh + sed -i s/jdk15on/jdk18on/g pom.xml + sed -i s/jdk15on/jdk18on/g org.eclipse.jgit.test/pom.xml + sed -i s/jdk15on/jdk18on/g org.eclipse.jgit.gpg.bc/pom.xml + rm .mvn/maven.config + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_xpath_remove pom:configuration/pom:annotationProcessorPaths + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_xpath_remove pom:configuration/pom:compilerArgs + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_change_dep -r org.osgi:org.osgi.core 'org.osgi:osgi.core:${osgi-core-version}:provided' + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_disable_module org.eclipse.jgit.coverage + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_disable_module org.eclipse.jgit.benchmarks + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_plugin :jacoco-maven-plugin + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_plugin :maven-javadoc-plugin + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_plugin -r :maven-source-plugin + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_plugin :maven-enforcer-plugin + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_plugin -r :japicmp-maven-plugin ++ find -name pom.xml + sed -i -e 's/@{argLine}//' ./org.eclipse.jgit.packaging/org.eclipse.jgit.lfs.feature/pom.xml ./org.eclipse.jgit.packaging/pom.xml ./org.eclipse.jgit.packaging/org.eclipse.jgit.feature/pom.xml ./org.eclipse.jgit.packaging/org.eclipse.jgit.junit.feature/pom.xml ./org.eclipse.jgit.packaging/org.eclipse.jgit.pgm.feature/pom.xml ./org.eclipse.jgit.packaging/org.eclipse.jgit.repository/pom.xml ./org.eclipse.jgit.packaging/org.eclipse.jgit.target/pom.xml ./org.eclipse.jgit.packaging/org.eclipse.jgit.ssh.apache.feature/pom.xml ./org.eclipse.jgit.packaging/org.eclipse.jgit.source.feature/pom.xml ./org.eclipse.jgit.packaging/org.eclipse.jgit.gpg.bc.feature/pom.xml ./org.eclipse.jgit.packaging/org.eclipse.jgit.http.apache.feature/pom.xml ./org.eclipse.jgit.packaging/org.eclipse.jgit.ssh.jsch.feature/pom.xml ./org.eclipse.jgit.pgm/pom.xml ./org.eclipse.jgit.lfs.server/pom.xml ./pom.xml ./org.eclipse.jgit.gpg.bc/pom.xml ./org.eclipse.jgit.pgm.test/pom.xml ./org.eclipse.jgit/pom.xml ./org.eclipse.jgit.lfs.test/pom.xml ./org.eclipse.jgit.benchmarks/pom.xml ./org.eclipse.jgit.gpg.bc.test/pom.xml ./org.eclipse.jgit.junit/pom.xml ./org.eclipse.jgit.junit.http/pom.xml ./org.eclipse.jgit.ant.test/pom.xml ./org.eclipse.jgit.ui/pom.xml ./org.eclipse.jgit.ssh.apache.agent/pom.xml ./org.eclipse.jgit.archive/pom.xml ./org.eclipse.jgit.ssh.apache/pom.xml ./org.eclipse.jgit.ssh.jsch.test/pom.xml ./org.eclipse.jgit.lfs/pom.xml ./org.eclipse.jgit.lfs.server.test/pom.xml ./org.eclipse.jgit.coverage/pom.xml ./org.eclipse.jgit.ssh.apache.test/pom.xml ./org.eclipse.jgit.test/pom.xml ./org.eclipse.jgit.junit.ssh/pom.xml ./org.eclipse.jgit.http.test/pom.xml ./org.eclipse.jgit.ant/pom.xml ./org.eclipse.jgit.http.apache/pom.xml ./org.eclipse.jgit.http.server/pom.xml ./org.eclipse.jgit.ssh.jsch/pom.xml + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_plugin org.codehaus.mojo:build-helper-maven-plugin org.eclipse.jgit.pgm + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_plugin :spring-boot-maven-plugin org.eclipse.jgit.pgm + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_xpath_remove 'pom:plugins/pom:plugin/pom:executions/pom:execution[pom:id='\''create_jgit'\'']' org.eclipse.jgit.pgm + sed -i -e 's/org\.springframework\.boot\.loader\.JarLauncher/org.eclipse.jgit.pgm.Main/' org.eclipse.jgit.pgm/jgit.sh + sed -i -e '/\.test<\/module>/d' pom.xml + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_disable_module org.eclipse.jgit.junit + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_disable_module org.eclipse.jgit.junit.ssh + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_disable_module org.eclipse.jgit.junit.http + RPM_EC=0 ++ jobs -p + exit 0 sh: line 4: [: -j8: integer expected Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.2OhEum + umask 022 + cd /home/pterjan/rpmbuild/BUILD/jgit-6.1.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 jgit-6.1.0.202203080745-r + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + /usr/bin/python3 /usr/share/java-utils/mvn_build.py --xmvn-javadoc -f -- -Pjavac Executing: xmvn --batch-mode --offline -Dmaven.test.skip=true -Pjavac 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', '-Pjavac', 'package', 'org.fedoraproject.xmvn:xmvn-mojo:install', 'org.fedoraproject.xmvn:xmvn-mojo:javadoc', 'org.fedoraproject.xmvn:xmvn-mojo:builddep'] [0.471s][warning][os,thread] Failed to start thread "Unknown thread" - pthread_create failed (EAGAIN) for attributes: stacksize: 1024k, guardsize: 0k, detached. [0.819s][warning][os,thread] Failed to start thread "GC Thread#1" - pthread_create failed (EAGAIN) for attributes: stacksize: 1024k, guardsize: 4k, detached. [0.833s][error ][gc,task ] GC(0) Failed to create worker thread [0.846s][warning][os,thread] Failed to start thread "GC Thread#1" - pthread_create failed (EAGAIN) for attributes: stacksize: 1024k, guardsize: 4k, detached. [0.862s][error ][gc,task ] GC(0) Failed to create worker thread [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [INFO] Reactor Build Order: [INFO] [INFO] JGit - Parent [pom] [INFO] JGit - Core [jar] [INFO] JGit - Ant Tasks [jar] [INFO] JGit - Archive Formats [jar] [INFO] JGit - AWT User Interface [jar] [INFO] JGit - BouncyCastle-based GPG support [jar] [INFO] JGit - Apache httpclient based HTTP support [jar] [INFO] JGit - HTTP Server [jar] [INFO] JGit - Apache sshd-based SSH support [jar] [INFO] JGit - Apache sshd SSH agent support [jar] [INFO] JGit - JSch-based SSH support [jar] [INFO] JGit - Large File Storage [jar] [INFO] JGit - Large File Storage Server [jar] [INFO] JGit - Command Line Interface [jar] [1.377s][warning][os,thread] Failed to start thread "Unknown thread" - pthread_create failed (EAGAIN) for attributes: stacksize: 1024k, guardsize: 0k, detached. [1.377s][warning][os,thread] Failed to start the native thread for java.lang.Thread "org.fedoraproject.xmvn.metadata.impl.DefaultMetadataResolver.worker" [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary for JGit - Parent 6.1.0.202203080745-r: [INFO] [INFO] JGit - Parent ...................................... SKIPPED [INFO] JGit - Core ........................................ SKIPPED [INFO] JGit - Ant Tasks ................................... SKIPPED [INFO] JGit - Archive Formats ............................. SKIPPED [INFO] JGit - AWT User Interface .......................... SKIPPED [INFO] JGit - BouncyCastle-based GPG support .............. SKIPPED [INFO] JGit - Apache httpclient based HTTP support ........ SKIPPED [INFO] JGit - HTTP Server ................................. SKIPPED [INFO] JGit - Apache sshd-based SSH support ............... SKIPPED [INFO] JGit - Apache sshd SSH agent support ............... SKIPPED [INFO] JGit - JSch-based SSH support ...................... SKIPPED [INFO] JGit - Large File Storage .......................... SKIPPED [INFO] JGit - Large File Storage Server ................... SKIPPED [INFO] JGit - Command Line Interface ...................... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 0.249 s [INFO] Finished at: 2025-11-23T12:09:02Z [INFO] ------------------------------------------------------------------------ [ERROR] unable to create native thread: possibly out of memory or process/resource limits reached -> [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/OutOfMemoryError [1.388s][warning][os,thread] Failed to start thread "Unknown thread" - pthread_create failed (EAGAIN) for attributes: stacksize: 1024k, guardsize: 0k, detached. [1.388s][warning][os,thread] Failed to start the native thread for java.lang.Thread "Logging-Cleaner" error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.2OhEum (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.2OhEum (%build) I: [iurt_root_command] ERROR: chroot