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/aladin-9.013-5.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.e6byZL + umask 022 + cd /home/pterjan/rpmbuild/BUILD/aladin-9.013-build + test -d /home/pterjan/rpmbuild/BUILD/aladin-9.013-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/aladin-9.013-build + /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILD/aladin-9.013-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/aladin-9.013-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/aladin-9.013-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.9dOUfB + umask 022 + cd /home/pterjan/rpmbuild/BUILD/aladin-9.013-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/aladin-9.013-build + rm -rf aladin-9.013 + /usr/bin/mkdir -p aladin-9.013 + cd aladin-9.013 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/AladinSrc-9.013.jar + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cp /home/pterjan/rpmbuild/SOURCES/jhealpixSmall.jar . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/AladinSrc-9.013-fix-javasupport.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + 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.5Xk6Vq + umask 022 + cd /home/pterjan/rpmbuild/BUILD/aladin-9.013-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 aladin-9.013 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + ant -lib . Buildfile: /home/pterjan/rpmbuild/BUILD/aladin-9.013-build/aladin-9.013/build.xml Caught an exception while logging the end of the build. Exception was: 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 org.apache.tools.ant.util.DateUtils.(DateUtils.java:72) at org.apache.tools.ant.DefaultLogger.formatTime(DefaultLogger.java:309) at org.apache.tools.ant.DefaultLogger.buildFinished(DefaultLogger.java:180) at org.apache.tools.ant.Project.fireBuildFinished(Project.java:2111) at org.apache.tools.ant.Main.runBuild(Main.java:830) at org.apache.tools.ant.Main.startAnt(Main.java:223) at org.apache.tools.ant.launch.Launcher.run(Launcher.java:284) at org.apache.tools.ant.launch.Launcher.main(Launcher.java:101) 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.util.Calendar.defaultTimeZone(Calendar.java:1683) at java.base/java.util.Calendar.getInstance(Calendar.java:1630) at org.apache.tools.zip.ZipUtil.dosToJavaTime(ZipUtil.java:128) at org.apache.tools.zip.ZipFile.readCentralDirectoryEntry(ZipFile.java:513) at org.apache.tools.zip.ZipFile.populateFromCentralDirectory(ZipFile.java:472) at org.apache.tools.zip.ZipFile.(ZipFile.java:217) at org.apache.tools.zip.ZipFile.(ZipFile.java:178) at org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:258) at org.apache.tools.ant.helper.ProjectHelper2.parseUnknownElement(ProjectHelper2.java:134) at org.apache.tools.ant.helper.ProjectHelper2.parseAntlibDescriptor(ProjectHelper2.java:114) at org.apache.tools.ant.taskdefs.Antlib.createAntlib(Antlib.java:95) at org.apache.tools.ant.taskdefs.Definer.loadAntlib(Definer.java:416) at org.apache.tools.ant.taskdefs.Definer.execute(Definer.java:275) at org.apache.tools.ant.ComponentHelper.checkNamespace(ComponentHelper.java:853) at org.apache.tools.ant.ComponentHelper.getDefinition(ComponentHelper.java:308) at org.apache.tools.ant.ComponentHelper.createComponent(ComponentHelper.java:285) at org.apache.tools.ant.ComponentHelper.createComponent(ComponentHelper.java:264) at org.apache.tools.ant.UnknownElement.makeObject(UnknownElement.java:436) at org.apache.tools.ant.UnknownElement.maybeConfigure(UnknownElement.java:166) at org.apache.tools.ant.Task.perform(Task.java:349) at org.apache.tools.ant.Target.execute(Target.java:449) at org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:184) at org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.java:104) at org.apache.tools.ant.Main.runBuild(Main.java:793) ... 3 more There has been an error prior to that: 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.util.Calendar.defaultTimeZone(Calendar.java:1683) at java.base/java.util.Calendar.getInstance(Calendar.java:1630) at org.apache.tools.zip.ZipUtil.dosToJavaTime(ZipUtil.java:128) at org.apache.tools.zip.ZipFile.readCentralDirectoryEntry(ZipFile.java:513) at org.apache.tools.zip.ZipFile.populateFromCentralDirectory(ZipFile.java:472) at org.apache.tools.zip.ZipFile.(ZipFile.java:217) at org.apache.tools.zip.ZipFile.(ZipFile.java:178) at org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:258) at org.apache.tools.ant.helper.ProjectHelper2.parseUnknownElement(ProjectHelper2.java:134) at org.apache.tools.ant.helper.ProjectHelper2.parseAntlibDescriptor(ProjectHelper2.java:114) at org.apache.tools.ant.taskdefs.Antlib.createAntlib(Antlib.java:95) at org.apache.tools.ant.taskdefs.Definer.loadAntlib(Definer.java:416) at org.apache.tools.ant.taskdefs.Definer.execute(Definer.java:275) at org.apache.tools.ant.ComponentHelper.checkNamespace(ComponentHelper.java:853) at org.apache.tools.ant.ComponentHelper.getDefinition(ComponentHelper.java:308) at org.apache.tools.ant.ComponentHelper.createComponent(ComponentHelper.java:285) at org.apache.tools.ant.ComponentHelper.createComponent(ComponentHelper.java:264) at org.apache.tools.ant.UnknownElement.makeObject(UnknownElement.java:436) at org.apache.tools.ant.UnknownElement.maybeConfigure(UnknownElement.java:166) at org.apache.tools.ant.Task.perform(Task.java:349) at org.apache.tools.ant.Target.execute(Target.java:449) at org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:184) at org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.java:104) at org.apache.tools.ant.Main.runBuild(Main.java:793) at org.apache.tools.ant.Main.startAnt(Main.java:223) at org.apache.tools.ant.launch.Launcher.run(Launcher.java:284) at org.apache.tools.ant.launch.Launcher.main(Launcher.java:101) 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) ... 36 more error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.5Xk6Vq (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.5Xk6Vq (%build) I: [iurt_root_command] ERROR: chroot