D: [iurt_root_command] chroot Building target platforms: noarch Building for target noarch Installing /home/pterjan/rpmbuild/SRPMS/jgit-6.1.0-3.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.Hncb2b Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.3l6Rh2 + 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 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.3NJYtt + 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'] /usr/lib/jvm/java-21-openjdk/bin/java: error while loading shared libraries: libjli.so: cannot open shared object file: No such file or directory error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.3NJYtt (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.3NJYtt (%build) I: [iurt_root_command] ERROR: chroot