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/edugraphe-1.1-15.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.J3kVx0 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/edugraphe-1.1-build + test -d /home/pterjan/rpmbuild/BUILD/edugraphe-1.1-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/edugraphe-1.1-build + /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILD/edugraphe-1.1-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/edugraphe-1.1-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/edugraphe-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.Dk6ZlD + umask 022 + cd /home/pterjan/rpmbuild/BUILD/edugraphe-1.1-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/edugraphe-1.1-build + rm -rf edugraphe-1.1 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/edugraphe-1.1.zip + STATUS=0 + '[' 0 -ne 0 ']' + cd edugraphe-1.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + 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.RLYMVY + umask 022 + cd /home/pterjan/rpmbuild/BUILD/edugraphe-1.1-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 edugraphe-1.1 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + export JAVA_TOOL_OPTIONS=-Dfile.encoding=UTF8 + JAVA_TOOL_OPTIONS=-Dfile.encoding=UTF8 + pushd source ~/rpmbuild/BUILD/edugraphe-1.1-build/edugraphe-1.1/source ~/rpmbuild/BUILD/edugraphe-1.1-build/edugraphe-1.1 + sh compile.sh Compiling... Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8 zone.java:31: warning: [removal] JApplet in javax.swing has been deprecated and marked for removal JApplet AG ; ^ zone.java:173: warning: [removal] JApplet in javax.swing has been deprecated and marked for removal public zone(JApplet a) { ^ box.java:233: warning: [removal] Float(float) in Float has been deprecated and marked for removal stackSize.push(new Float(FONT_PLAIN.getSize2D())) ; ^ EpsGraphics2D.java:1279: warning: [removal] finalize() in Graphics has been deprecated and marked for removal public void finalize() { ^ EpsGraphics2D.java:1280: warning: [removal] finalize() in Graphics has been deprecated and marked for removal super.finalize(); ^ applet_edugraphe.java:9: warning: [removal] JApplet in javax.swing has been deprecated and marked for removal public class applet_edugraphe extends javax.swing.JApplet { ^ suiterec.java:52: warning: [removal] Float(float) in Float has been deprecated and marked for removal W.add(new Float(y)) ; ^ suiterec.java:56: warning: [removal] Float(float) in Float has been deprecated and marked for removal W.add(new Float(y)) ; ^ Note: zone.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 8 warnings Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8 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 edugraphe.jar has been created in the classes/ directory Have fun with edugraphe + popd ~/rpmbuild/BUILD/edugraphe-1.1-build/edugraphe-1.1 + RPM_EC=0 ++ jobs -p + exit 0 sh: line 4: [: -j8: integer expression expected sh: line 4: [: -j8: integer expression expected Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.SMbqSf + umask 022 + cd /home/pterjan/rpmbuild/BUILD/edugraphe-1.1-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/edugraphe-1.1-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/edugraphe-1.1-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/edugraphe-1.1-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/edugraphe-1.1-build + mkdir /home/pterjan/rpmbuild/BUILD/edugraphe-1.1-build/BUILDROOT + 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 edugraphe-1.1 + '[' 1 -eq 1 ']' + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/edugraphe-1.1-build/BUILDROOT/usr/share/java + cp source/classes/edugraphe.jar /home/pterjan/rpmbuild/BUILD/edugraphe-1.1-build/BUILDROOT/usr/share/java cp: cannot stat 'source/classes/edugraphe.jar': No such file or directory error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.SMbqSf (%install) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.SMbqSf (%install) I: [iurt_root_command] ERROR: chroot