D: [iurt_root_command] chroot Building target platforms: noarch Building for target noarch Installing /home/pterjan/rpmbuild/SRPMS/xml-commons-resolver-1.2-39.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.U4UXKv + umask 022 + cd /home/pterjan/rpmbuild/BUILD/xml-commons-resolver-1.2-build + test -d /home/pterjan/rpmbuild/BUILD/xml-commons-resolver-1.2-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/xml-commons-resolver-1.2-build + /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILD/xml-commons-resolver-1.2-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/xml-commons-resolver-1.2-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/xml-commons-resolver-1.2-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.aoUYUI + umask 022 + cd /home/pterjan/rpmbuild/BUILD/xml-commons-resolver-1.2-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/xml-commons-resolver-1.2-build + rm -rf xml-commons-resolver-1.2 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/xml-commons-resolver-1.2.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd xml-commons-resolver-1.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (xml-commons-resolver-1.2-crosslink.patch):' Patch #0 (xml-commons-resolver-1.2-crosslink.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file resolver.xml + echo 'Patch #1 (xml-commons-resolver-1.2-osgi.patch):' Patch #1 (xml-commons-resolver-1.2-osgi.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/manifest.resolver + find . -name '*.jar' -exec rm -f '{}' ';' + rm -rf docs + sed -i 's/\r//' KEYS LICENSE.resolver.txt NOTICE-resolver.txt + /usr/bin/python3 /usr/share/java-utils/mvn_file.py : xml-commons-resolver xml-resolver + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.cYhZf2 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/xml-commons-resolver-1.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 xml-commons-resolver-1.2 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + JAVA_HOME=/usr/lib/jvm/java-21-openjdk + ant -f resolver.xml jar javadocs -Dant.build.javac.source=1.8 -Dant.build.javac.target=1.8 /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.cYhZf2 (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.cYhZf2 (%build) I: [iurt_root_command] ERROR: chroot