D: [iurt_root_command] chroot Building target platforms: noarch Building for target noarch sh: line 4: [: -j8: integer expression expected sh: line 4: [: -j8: integer expression expected Installing /home/pterjan/rpmbuild/SRPMS/projectx-0.91.0-14.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.2jw3G0 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/projectx-0.91.0-build + test -d /home/pterjan/rpmbuild/BUILD/projectx-0.91.0-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/projectx-0.91.0-build + /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILD/projectx-0.91.0-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/projectx-0.91.0-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/projectx-0.91.0-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.v9ZrGT + umask 022 + cd /home/pterjan/rpmbuild/BUILD/projectx-0.91.0-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/projectx-0.91.0-build + rm -rf Project-X_0.91.0 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/projectx-0.91.0.zip + STATUS=0 + '[' 0 -ne 0 ']' + cd Project-X_0.91.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -rf lib + xargs -0 rm -rf + find -name CVS -type d -print0 + dos2unix htmls/cli.html htmls/faq.html htmls/index.html htmls/de/cli.html htmls/de/faq.html htmls/de/index.html dos2unix: converting file htmls/cli.html to Unix format... dos2unix: converting file htmls/faq.html to Unix format... dos2unix: converting file htmls/index.html to Unix format... dos2unix: converting file htmls/de/cli.html to Unix format... dos2unix: converting file htmls/de/faq.html to Unix format... dos2unix: converting file htmls/de/index.html to Unix format... + perl -pi -e 's,classpath [a-z0-9\.\/:-]*,classpath \$CLASSPATH,' build.sh + perl -pi -e 's,^javac ,/usr/lib/jvm/java-21-openjdk/bin/javac ,' build.sh + perl -pi -e 's,^jar ,/usr/lib/jvm/java-21-openjdk/bin/jar ,' build.sh + perl -pi -e 's,^Class-Path:.*\n,,' MANIFEST.MF + perl -pi -e 's,Icon=.*,Icon=projectx,' projectx.desktop + perl -pi -e 's,Exec=.*,Exec=/usr/bin/projectx,' projectx.desktop + perl -pi -e 's/\r$//g' ReadMe.txt ReleaseNotes_0.91.0.txt + 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.hKspaJ + umask 022 + cd /home/pterjan/rpmbuild/BUILD/projectx-0.91.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 Project-X_0.91.0 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' ++ build-classpath commons-net oro + export CLASSPATH=/usr/share/java/commons-net.jar:/usr/share/java/oro.jar + CLASSPATH=/usr/share/java/commons-net.jar:/usr/share/java/oro.jar + sh -ex build.sh + type javac + '[' 0 -ne 0 ']' + '[' -e ./ProjectX.jar ']' + rm -f ./ProjectX.jar + '[' -d ./build ']' + mkdir -p build + /usr/lib/jvm/java-21-openjdk/bin/javac -encoding ISO-8859-1 -deprecation -O -g:none -classpath /usr/share/java/commons-net.jar:/usr/share/java/oro.jar -d build @sources.lst An exception has occurred in the compiler (21.0.6). Please file a bug against the Java compiler via the Java bug reporting page (https://bugreport.java.com) after checking the Bug Database (https://bugs.java.com) for duplicates. Include your program, the following diagnostic, and the parameters passed to the Java compiler in your report. Thank you. 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 jdk.zipfs/jdk.nio.zipfs.ZipUtils.dosToJavaTime(ZipUtils.java:218) at jdk.zipfs/jdk.nio.zipfs.ZipFileSystem$Entry.readCEN(ZipFileSystem.java:2805) at jdk.zipfs/jdk.nio.zipfs.ZipFileSystem$Entry.(ZipFileSystem.java:2767) at jdk.zipfs/jdk.nio.zipfs.ZipFileSystem.getEntry(ZipFileSystem.java:1930) at jdk.zipfs/jdk.nio.zipfs.ZipFileSystem.newInputStream(ZipFileSystem.java:859) at jdk.zipfs/jdk.nio.zipfs.ZipFileSystem.isMultiReleaseJar(ZipFileSystem.java:1433) at jdk.zipfs/jdk.nio.zipfs.ZipFileSystem.initializeReleaseVersion(ZipFileSystem.java:1405) at jdk.zipfs/jdk.nio.zipfs.ZipFileSystem.(ZipFileSystem.java:191) at jdk.zipfs/jdk.nio.zipfs.ZipFileSystemProvider.getZipFileSystem(ZipFileSystemProvider.java:125) at jdk.zipfs/jdk.nio.zipfs.ZipFileSystemProvider.newFileSystem(ZipFileSystemProvider.java:120) at jdk.compiler/com.sun.tools.javac.file.JavacFileManager$ArchiveContainer.(JavacFileManager.java:566) at jdk.compiler/com.sun.tools.javac.file.JavacFileManager.getContainer(JavacFileManager.java:329) at jdk.compiler/com.sun.tools.javac.file.JavacFileManager.pathsAndContainers(JavacFileManager.java:1078) at jdk.compiler/com.sun.tools.javac.file.JavacFileManager.indexPathsAndContainersByRelativeDirectory(JavacFileManager.java:1033) at java.base/java.util.HashMap.computeIfAbsent(HashMap.java:1228) at jdk.compiler/com.sun.tools.javac.file.JavacFileManager.pathsAndContainers(JavacFileManager.java:1021) at jdk.compiler/com.sun.tools.javac.file.JavacFileManager.list(JavacFileManager.java:777) at jdk.compiler/com.sun.tools.javac.code.ClassFinder.list(ClassFinder.java:752) at jdk.compiler/com.sun.tools.javac.code.ClassFinder.scanUserPaths(ClassFinder.java:689) at jdk.compiler/com.sun.tools.javac.code.ClassFinder.fillIn(ClassFinder.java:570) at jdk.compiler/com.sun.tools.javac.code.ClassFinder.complete(ClassFinder.java:311) at jdk.compiler/com.sun.tools.javac.code.Symbol.complete(Symbol.java:683) at jdk.compiler/com.sun.tools.javac.code.Symbol$PackageSymbol.members(Symbol.java:1179) at jdk.compiler/com.sun.tools.javac.code.Symtab.listPackageModules(Symtab.java:901) at jdk.compiler/com.sun.tools.javac.comp.Enter.visitTopLevel(Enter.java:345) at jdk.compiler/com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:553) at jdk.compiler/com.sun.tools.javac.comp.Enter.classEnter(Enter.java:287) at jdk.compiler/com.sun.tools.javac.comp.Enter.classEnter(Enter.java:302) at jdk.compiler/com.sun.tools.javac.comp.Enter.complete(Enter.java:608) at jdk.compiler/com.sun.tools.javac.comp.Enter.main(Enter.java:592) at jdk.compiler/com.sun.tools.javac.main.JavaCompiler.enterTrees(JavaCompiler.java:1072) at jdk.compiler/com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:947) at jdk.compiler/com.sun.tools.javac.main.Main.compile(Main.java:319) at jdk.compiler/com.sun.tools.javac.main.Main.compile(Main.java:178) at jdk.compiler/com.sun.tools.javac.Main.compile(Main.java:64) at jdk.compiler/com.sun.tools.javac.Main.main(Main.java:50) 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) ... 46 more Exception in thread "main" java.lang.NoClassDefFoundError: Could not initialize class sun.util.calendar.ZoneInfoFile 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.util.Calendar.defaultTimeZone(Calendar.java:1683) at java.base/java.util.Calendar.getInstance(Calendar.java:1663) at java.base/java.text.SimpleDateFormat.initializeCalendar(SimpleDateFormat.java:680) at java.base/java.text.SimpleDateFormat.(SimpleDateFormat.java:624) at java.base/java.text.SimpleDateFormat.(SimpleDateFormat.java:603) at jdk.compiler/com.sun.tools.javac.main.Main.printArgumentsToFile(Main.java:374) at jdk.compiler/com.sun.tools.javac.main.Main.compile(Main.java:361) at jdk.compiler/com.sun.tools.javac.main.Main.compile(Main.java:178) at jdk.compiler/com.sun.tools.javac.Main.compile(Main.java:64) at jdk.compiler/com.sun.tools.javac.Main.main(Main.java:50) Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.Error: java.lang.ArrayIndexOutOfBoundsException: Index -500 out of bounds for length 608 [in thread "main"] 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 jdk.zipfs/jdk.nio.zipfs.ZipUtils.dosToJavaTime(ZipUtils.java:218) at jdk.zipfs/jdk.nio.zipfs.ZipFileSystem$Entry.readCEN(ZipFileSystem.java:2805) at jdk.zipfs/jdk.nio.zipfs.ZipFileSystem$Entry.(ZipFileSystem.java:2767) at jdk.zipfs/jdk.nio.zipfs.ZipFileSystem.getEntry(ZipFileSystem.java:1930) at jdk.zipfs/jdk.nio.zipfs.ZipFileSystem.newInputStream(ZipFileSystem.java:859) at jdk.zipfs/jdk.nio.zipfs.ZipFileSystem.isMultiReleaseJar(ZipFileSystem.java:1433) at jdk.zipfs/jdk.nio.zipfs.ZipFileSystem.initializeReleaseVersion(ZipFileSystem.java:1405) at jdk.zipfs/jdk.nio.zipfs.ZipFileSystem.(ZipFileSystem.java:191) at jdk.zipfs/jdk.nio.zipfs.ZipFileSystemProvider.getZipFileSystem(ZipFileSystemProvider.java:125) at jdk.zipfs/jdk.nio.zipfs.ZipFileSystemProvider.newFileSystem(ZipFileSystemProvider.java:120) at jdk.compiler/com.sun.tools.javac.file.JavacFileManager$ArchiveContainer.(JavacFileManager.java:566) at jdk.compiler/com.sun.tools.javac.file.JavacFileManager.getContainer(JavacFileManager.java:329) at jdk.compiler/com.sun.tools.javac.file.JavacFileManager.pathsAndContainers(JavacFileManager.java:1078) at jdk.compiler/com.sun.tools.javac.file.JavacFileManager.indexPathsAndContainersByRelativeDirectory(JavacFileManager.java:1033) at java.base/java.util.HashMap.computeIfAbsent(HashMap.java:1228) at jdk.compiler/com.sun.tools.javac.file.JavacFileManager.pathsAndContainers(JavacFileManager.java:1021) at jdk.compiler/com.sun.tools.javac.file.JavacFileManager.list(JavacFileManager.java:777) at jdk.compiler/com.sun.tools.javac.code.ClassFinder.list(ClassFinder.java:752) at jdk.compiler/com.sun.tools.javac.code.ClassFinder.scanUserPaths(ClassFinder.java:689) at jdk.compiler/com.sun.tools.javac.code.ClassFinder.fillIn(ClassFinder.java:570) at jdk.compiler/com.sun.tools.javac.code.ClassFinder.complete(ClassFinder.java:311) at jdk.compiler/com.sun.tools.javac.code.Symbol.complete(Symbol.java:683) at jdk.compiler/com.sun.tools.javac.code.Symbol$PackageSymbol.members(Symbol.java:1179) at jdk.compiler/com.sun.tools.javac.code.Symtab.listPackageModules(Symtab.java:901) at jdk.compiler/com.sun.tools.javac.comp.Enter.visitTopLevel(Enter.java:345) at jdk.compiler/com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:553) at jdk.compiler/com.sun.tools.javac.comp.Enter.classEnter(Enter.java:287) at jdk.compiler/com.sun.tools.javac.comp.Enter.classEnter(Enter.java:302) at jdk.compiler/com.sun.tools.javac.comp.Enter.complete(Enter.java:608) at jdk.compiler/com.sun.tools.javac.comp.Enter.main(Enter.java:592) at jdk.compiler/com.sun.tools.javac.main.JavaCompiler.enterTrees(JavaCompiler.java:1072) at jdk.compiler/com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:947) at jdk.compiler/com.sun.tools.javac.main.Main.compile(Main.java:319) ... 3 more error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.hKspaJ (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.hKspaJ (%build) I: [iurt_root_command] ERROR: chroot