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/android-opengl-api-1.1-16.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.V1tLbT + umask 022 + cd /home/pterjan/rpmbuild/BUILD/android-opengl-api-1.1-build + test -d /home/pterjan/rpmbuild/BUILD/android-opengl-api-1.1-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/android-opengl-api-1.1-build + /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILD/android-opengl-api-1.1-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/android-opengl-api-1.1-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/android-opengl-api-1.1-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.iGyiBf + umask 022 + cd /home/pterjan/rpmbuild/BUILD/android-opengl-api-1.1-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/android-opengl-api-1.1-build + rm -rf android-opengl-api-1.1 + /usr/bin/mkdir -p android-opengl-api-1.1 + cd android-opengl-api-1.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + mkdir -p src/main/java + cd src/main/java + jar -xf /home/pterjan/rpmbuild/SOURCES/opengl-api-gl1.1-android-2.1_r1-sources.jar 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.dosToJavaTime(ZipUtils.java:105) at java.base/java.util.zip.ZipUtils.extendedDosToJavaTime(ZipUtils.java:131) at java.base/java.util.zip.ZipEntry.getTime(ZipEntry.java:201) at jdk.jartool/sun.tools.jar.Main.extractFile(Main.java:1510) at jdk.jartool/sun.tools.jar.Main.extract(Main.java:1398) at jdk.jartool/sun.tools.jar.Main.run(Main.java:397) 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) ... 17 more error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.iGyiBf (%prep) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.iGyiBf (%prep) I: [iurt_root_command] ERROR: chroot