D: [iurt_root_command] chroot Building target platforms: noarch Building for target noarch Installing /home/pterjan/rpmbuild/SRPMS/jcharset-1.5-11.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.ixUfUa + umask 022 + cd /home/pterjan/rpmbuild/BUILD/jcharset-1.5-build + test -d /home/pterjan/rpmbuild/BUILD/jcharset-1.5-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/jcharset-1.5-build + /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILD/jcharset-1.5-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/jcharset-1.5-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/jcharset-1.5-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.O5Ga20 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/jcharset-1.5-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/jcharset-1.5-build + rm -rf jcharset-1.5 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/jcharset-1.5-clean.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd jcharset-1.5 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cp -p /home/pterjan/rpmbuild/SOURCES/jcharset-pom-template.xml jcharset.pom + sed -i 's|@VERSION@|1.5|' jcharset.pom + sed -i 's/\r//' CHANGES.txt LICENSE.txt README.txt + mkdir docs + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.GQE8Q5 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/jcharset-1.5-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 jcharset-1.5 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' ++ find src -type f -name '*.java' + /usr/lib/jvm/java-21-openjdk/bin/javac -encoding UTF-8 src/net/freeutils/charset/CCPackedGSMCharset.java src/net/freeutils/charset/ISO88598Charset.java src/net/freeutils/charset/SCGSMCharset.java src/net/freeutils/charset/CharsetProvider.java src/net/freeutils/charset/ISO88596Charset.java src/net/freeutils/charset/ByteLookupCharset.java src/net/freeutils/charset/SCPackedGSMCharset.java src/net/freeutils/charset/GSMCharset.java src/net/freeutils/charset/EscapedByteLookupCharset.java src/net/freeutils/charset/KOI8UCharset.java src/net/freeutils/charset/PackedGSMCharset.java src/net/freeutils/charset/MIKCharset.java src/net/freeutils/charset/HPRoman8Charset.java src/net/freeutils/charset/CCGSMCharset.java src/net/freeutils/charset/UTF7OptionalCharset.java src/net/freeutils/charset/UTF7Charset.java Note: src/net/freeutils/charset/CharsetProvider.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: src/net/freeutils/charset/CharsetProvider.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. + cd src ++ find . -name '*.class' + /usr/lib/jvm/java-21-openjdk/bin/jar cvf ../jcharset.jar ./net/freeutils/charset/EscapedByteLookupCharset.class ./net/freeutils/charset/UTF7Charset.class './net/freeutils/charset/EscapedByteLookupCharset$Decoder.class' ./net/freeutils/charset/GSMCharset.class ./net/freeutils/charset/SCGSMCharset.class ./net/freeutils/charset/ISO88598Charset.class ./net/freeutils/charset/CharsetProvider.class ./net/freeutils/charset/SCPackedGSMCharset.class ./net/freeutils/charset/MIKCharset.class ./net/freeutils/charset/HPRoman8Charset.class ./net/freeutils/charset/UTF7OptionalCharset.class ./net/freeutils/charset/CCGSMCharset.class ./net/freeutils/charset/ByteLookupCharset.class './net/freeutils/charset/PackedGSMCharset$Decoder.class' './net/freeutils/charset/UTF7Charset$Decoder.class' './net/freeutils/charset/ByteLookupCharset$Encoder.class' ./net/freeutils/charset/CCPackedGSMCharset.class './net/freeutils/charset/EscapedByteLookupCharset$Encoder.class' ./net/freeutils/charset/ISO88596Charset.class './net/freeutils/charset/PackedGSMCharset$Encoder.class' './net/freeutils/charset/ByteLookupCharset$Decoder.class' ./net/freeutils/charset/KOI8UCharset.class ./net/freeutils/charset/PackedGSMCharset.class './net/freeutils/charset/UTF7Charset$Encoder.class' META-INF added manifest java.lang.Error: java.lang.ArrayIndexOutOfBoundsException: Index -500 out of bounds for length 608 at java.base/sun.util.calendar.ZoneInfoFile$1.run(ZoneInfoFile.java:270) at java.base/sun.util.calendar.ZoneInfoFile$1.run(ZoneInfoFile.java:260) at java.base/java.security.AccessController.doPrivileged(AccessController.java:319) at java.base/sun.util.calendar.ZoneInfoFile.loadTZDB(ZoneInfoFile.java:260) at java.base/sun.util.calendar.ZoneInfoFile.(ZoneInfoFile.java:255) at java.base/sun.util.calendar.ZoneInfo.getTimeZone(ZoneInfo.java:574) at java.base/java.util.TimeZone.getTimeZone(TimeZone.java:609) at java.base/java.util.TimeZone.setDefaultZone(TimeZone.java:709) at java.base/java.util.TimeZone.getDefaultRef(TimeZone.java:685) at java.base/java.util.TimeZone.getDefault(TimeZone.java:674) at java.base/java.time.ZoneId.systemDefault(ZoneId.java:275) at java.base/java.util.zip.ZipUtils.javaEpochToLocalDateTime(ZipUtils.java:165) at java.base/java.util.zip.ZipUtils.javaToExtendedDosTime(ZipUtils.java:156) at java.base/java.util.zip.ZipEntry.setTime(ZipEntry.java:166) at jdk.jartool/sun.tools.jar.Main.setZipEntryTime(Main.java:2366) at jdk.jartool/sun.tools.jar.Main.setZipEntryTime(Main.java:2357) at jdk.jartool/sun.tools.jar.Main.create(Main.java:892) at jdk.jartool/sun.tools.jar.Main.run(Main.java:332) at jdk.jartool/sun.tools.jar.Main.main(Main.java:1721) Caused by: java.lang.ArrayIndexOutOfBoundsException: Index -500 out of bounds for length 608 at java.base/sun.util.calendar.ZoneInfoFile.load(ZoneInfoFile.java:348) at java.base/sun.util.calendar.ZoneInfoFile$1.run(ZoneInfoFile.java:267) ... 18 more error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.GQE8Q5 (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.GQE8Q5 (%build) I: [iurt_root_command] ERROR: chroot