D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 sh: line 4: [: -j8: integer expression expected sh: line 4: [: -j8: integer expression expected Installing /home/pterjan/rpmbuild/SRPMS/rxtx-2.2-13.20100211.6.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.8OtUTT + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rxtx-2.2-build + test -d /home/pterjan/rpmbuild/BUILD/rxtx-2.2-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/rxtx-2.2-build + /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILD/rxtx-2.2-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/rxtx-2.2-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/rxtx-2.2-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.zWFDJ8 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rxtx-2.2-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/rxtx-2.2-build + rm -rf rxtx-20100211 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/rxtx-20100211.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd rxtx-20100211 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -e 's|@JNIPATH@|/usr/lib64/rxtx|' /home/pterjan/rpmbuild/SOURCES/rxtx-2.2-loadlibrary.patch + patch -s -b --suffix .p1 -p1 + echo 'Patch #2 (rxtx-sys_io_h_check.patch):' Patch #2 (rxtx-sys_io_h_check.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file configure.in patching file src/RawImp.c + echo 'Patch #3 (rxtx-2.2-fhs_lock.patch):' Patch #3 (rxtx-2.2-fhs_lock.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/SerialImp.c + echo 'Patch #4 (rxtx-2.2-lock.patch):' Patch #4 (rxtx-2.2-lock.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/SerialImp.h + echo 'Patch #5 (rxtx-2.2-Add-Arduino-driver-ttyACM-rxtxcomm-as-device.patch):' Patch #5 (rxtx-2.2-Add-Arduino-driver-ttyACM-rxtxcomm-as-device.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/gnu/io/RXTXCommDriver.java + echo 'Patch #6 (rxtx-2.2-java-version-fix.patch):' Patch #6 (rxtx-2.2-java-version-fix.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/gnu/io/RXTXVersion.java + echo 'Patch #7 (rxtx-2.2-convert-strcpy-to-strncpy.patch):' Patch #7 (rxtx-2.2-convert-strcpy-to-strncpy.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/SerialImp.c + echo 'Patch #8 (java10.patch):' Patch #8 (java10.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file configure.in Hunk #1 succeeded at 484 (offset 1 line). patching file Makefile.am + echo 'Patch #9 (java11.patch):' Patch #9 (java11.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/gnu/io/LPRPort.java Hunk #1 succeeded at 371 (offset 1 line). + echo 'Patch #10 (rxtx-2.2-undefined_symbol.patch):' Patch #10 (rxtx-2.2-undefined_symbol.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/SerialImp.c + find . -name '*.jar' -delete + find . -name '*.hqx' -delete + cp -a /home/pterjan/rpmbuild/SOURCES/README.distro . + sed -i -e /JHOME/d Makefile.in + rm -rf acinclude.m4 aclocal.m4 ltconfig ltmain.sh + sed -i -e '/JAVAC/s,1\.3,1\.6,g' configure.in + 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.P26JuP + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rxtx-2.2-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/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd rxtx-20100211 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + autoreconf -vfi autoreconf: export WARNINGS= autoreconf: warning: autoconf input should be named 'configure.ac', not 'configure.in' autoreconf: Entering directory '.' autoreconf: configure.in: not using Gettext autoreconf: running: aclocal --force aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in' autoreconf: configure.in: tracing autoreconf: running: libtoolize --copy --force libtoolize: putting auxiliary files in '.'. libtoolize: copying file './ltmain.sh' libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.in, libtoolize: and rerunning libtoolize and aclocal. libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am. autoreconf: configure.in: not using Intltool autoreconf: configure.in: not using Gtkdoc autoreconf: running: aclocal --force aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in' autoreconf: running: /usr/bin/autoconf --force configure.in:59: warning: 'AM_CONFIG_HEADER': this macro is obsolete. configure.in:59: You should use the 'AC_CONFIG_HEADERS' macro instead. aclocal.m4:9930: AM_CONFIG_HEADER is expanded from... configure.in:59: the top level configure.in:60: warning: The macro 'AC_CANONICAL_SYSTEM' is obsolete. configure.in:60: You should run autoupdate. ./lib/autoconf/general.m4:2081: AC_CANONICAL_SYSTEM is expanded from... configure.in:60: the top level configure.in:65: warning: The macro 'AM_PROG_LIBTOOL' is obsolete. configure.in:65: You should run autoupdate. aclocal.m4:123: AM_PROG_LIBTOOL is expanded from... configure.in:65: the top level configure.in:67: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. ./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from... aclocal.m4:9616: AM_INIT_AUTOMAKE is expanded from... configure.in:67: the top level configure.in:78: warning: The macro 'AC_PROG_GCC_TRADITIONAL' is obsolete. configure.in:78: You should run autoupdate. ./lib/autoconf/c.m4:1676: AC_PROG_GCC_TRADITIONAL is expanded from... configure.in:78: the top level configure.in:891: warning: AC_OUTPUT should be used without arguments. configure.in:891: You should run autoupdate. autoreconf: running: /usr/bin/autoheader --force autoheader: warning: autoconf input should be named 'configure.ac', not 'configure.in' autoreconf: running: automake --add-missing --copy --force-missing automake: warning: autoconf input should be named 'configure.ac', not 'configure.in' configure.in:67: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. For more info, see: configure.in:67: https://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation configure.in:62: installing './compile' configure.in:67: installing './missing' Makefile.am:63: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') autoreconf: Leaving directory '.' + export JAVA_HOME=/usr/lib/jvm/java-21-openjdk + JAVA_HOME=/usr/lib/jvm/java-21-openjdk + 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/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + CONFIGURE_TOP=. + '[' 1 = 1 ']' ++ find . -name config.guess -o -name config.sub + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/mageia/config.guess ']' ++ basename ./config.guess + cp -af /usr/lib/rpm/mageia/config.guess ./config.guess + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/mageia/config.sub ']' ++ basename ./config.sub + cp -af /usr/lib/rpm/mageia/config.sub ./config.sub + /usr/lib/rpm/mageia/force-as-needed-for-shared-lib-in-libtool Forcing -Wl,--as-needed in configure/libtool to workaround libtool bug (cf http://lists.gnu.org/archive/html/libtool-patches/2004-06/msg00002.html) + /usr/lib/rpm/mageia/drop-ld-no-undefined-for-shared-lib-modules-in-libtool Modifying ltmain.sh underlinking for plugins (cf http://wiki.mandriva.com/en/Underlinking) + /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking Fixing libtool's ltmain.sh to prevent overlinking (cf http://wiki.mandriva.com/en/Overlinking) + /usr/lib/rpm/mageia/fix-libtool-from-moving-options-after-libs . + /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib . lib64 + ./configure --host=x86_64-mageia-linux-gnu --build=x86_64-mageia-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info checking build system type... x86_64-mageia-linux-gnu checking host system type... x86_64-mageia-linux-gnu checking target system type... x86_64-mageia-linux-gnu configure: WARNING: Trying libtool. If the following fails install libtool checking for x86_64-mageia-linux-gnu-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-mageia-linux-gnu file names to x86_64-mageia-linux-gnu format... func_convert_file_noop checking how to convert x86_64-mageia-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for file... file checking for x86_64-mageia-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for x86_64-mageia-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-mageia-linux-gnu-ranlib... no checking for ranlib... ranlib checking for x86_64-mageia-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for x86_64-mageia-linux-gnu-strip... no checking for strip... strip checking for gawk... gawk checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for x86_64-mageia-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for a BSD-compatible install... /usr/bin/install -c checking whether sleep supports fractional seconds... yes checking filesystem timestamp resolution... 0.01 checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/bin/mkdir -p checking whether make sets $(MAKE)... yes checking whether make supports the include directive... yes (GNU style) checking whether make supports nested variables... yes checking xargs -n works... yes checking dependency style of gcc... none checking for fcntl.h... yes checking for sys/fcntl.h... yes checking for sys/file.h... yes checking for sys/time.h... yes checking for sys/signal.h... yes checking for signal.h... yes checking for sys/io.h... yes checking for termios.h... yes checking for grp.h... yes checking for pwd.h... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for xcode-select... no /usr/lib/jvm/java-21-openjdk configure: WARNING: using JAVA_HOME environmental variable adjusted java.home is /usr/lib/jvm/java-21-openjdk checking os.name Linux checking os.arch amd64 checking java.vendor Mageia checking java.version 21.0.6 checking os.version 6.4.7-server-3.mga9 checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: executing libtool commands config.status: executing depfiles commands + /usr/bin/make /usr/lib/jvm/java-21-openjdk/bin/javac -classpath .:/home/pterjan/rpmbuild/BUILD/rxtx-2.2-build/rxtx-20100211:/home/pterjan/rpmbuild/BUILD/rxtx-2.2-build/rxtx-20100211/src: -d /home/pterjan/rpmbuild/BUILD/rxtx-2.2-build/rxtx-20100211/ -h x86_64-mageia-linux-gnu -O /home/pterjan/rpmbuild/BUILD/rxtx-2.2-build/rxtx-20100211/./src/gnu/io/CommDriver.java /home/pterjan/rpmbuild/BUILD/rxtx-2.2-build/rxtx-20100211/./src/gnu/io/CommPort.java /home/pterjan/rpmbuild/BUILD/rxtx-2.2-build/rxtx-20100211/./src/gnu/io/CommPortEnumerator.java /home/pterjan/rpmbuild/BUILD/rxtx-2.2-build/rxtx-20100211/./src/gnu/io/CommPortIdentifier.java /home/pterjan/rpmbuild/BUILD/rxtx-2.2-build/rxtx-20100211/./src/gnu/io/CommPortOwnershipListener.java /home/pterjan/rpmbuild/BUILD/rxtx-2.2-build/rxtx-20100211/./src/gnu/io/Configure.java /home/pterjan/rpmbuild/BUILD/rxtx-2.2-build/rxtx-20100211/./src/gnu/io/I2C.java /home/pterjan/rpmbuild/BUILD/rxtx-2.2-build/rxtx-20100211/./src/gnu/io/I2CPort.java /home/pterjan/rpmbuild/BUILD/rxtx-2.2-build/rxtx-20100211/./src/gnu/io/I2CPortEvent.java /home/pterjan/rpmbuild/BUILD/rxtx-2.2-build/rxtx-20100211/./src/gnu/io/I2CPortEventListener.java /home/pterjan/rpmbuild/BUILD/rxtx-2.2-build/rxtx-20100211/./src/gnu/io/LPRPort.java /home/pterjan/rpmbuild/BUILD/rxtx-2.2-build/rxtx-20100211/./src/gnu/io/NoSuchPortException.java /home/pterjan/rpmbuild/BUILD/rxtx-2.2-build/rxtx-20100211/./src/gnu/io/ParallelPort.java /home/pterjan/rpmbuild/BUILD/rxtx-2.2-build/rxtx-20100211/./src/gnu/io/ParallelPortEvent.java /home/pterjan/rpmbuild/BUILD/rxtx-2.2-build/rxtx-20100211/./src/gnu/io/ParallelPortEventListener.java /home/pterjan/rpmbuild/BUILD/rxtx-2.2-build/rxtx-20100211/./src/gnu/io/PortInUseException.java /home/pterjan/rpmbuild/BUILD/rxtx-2.2-build/rxtx-20100211/./src/gnu/io/RS485.java /home/pterjan/rpmbuild/BUILD/rxtx-2.2-build/rxtx-20100211/./src/gnu/io/RS485Port.java /home/pterjan/rpmbuild/BUILD/rxtx-2.2-build/rxtx-20100211/./src/gnu/io/RS485PortEvent.java /home/pterjan/rpmbuild/BUILD/rxtx-2.2-build/rxtx-20100211/./src/gnu/io/RS485PortEventListener.java /home/pterjan/rpmbuild/BUILD/rxtx-2.2-build/rxtx-20100211/./src/gnu/io/RXTXCommDriver.java /home/pterjan/rpmbuild/BUILD/rxtx-2.2-build/rxtx-20100211/./src/gnu/io/RXTXPort.java /home/pterjan/rpmbuild/BUILD/rxtx-2.2-build/rxtx-20100211/./src/gnu/io/RXTXVersion.java /home/pterjan/rpmbuild/BUILD/rxtx-2.2-build/rxtx-20100211/./src/gnu/io/Raw.java /home/pterjan/rpmbuild/BUILD/rxtx-2.2-build/rxtx-20100211/./src/gnu/io/RawPort.java /home/pterjan/rpmbuild/BUILD/rxtx-2.2-build/rxtx-20100211/./src/gnu/io/RawPortEvent.java /home/pterjan/rpmbuild/BUILD/rxtx-2.2-build/rxtx-20100211/./src/gnu/io/RawPortEventListener.java /home/pterjan/rpmbuild/BUILD/rxtx-2.2-build/rxtx-20100211/./src/gnu/io/SerialPort.java /home/pterjan/rpmbuild/BUILD/rxtx-2.2-build/rxtx-20100211/./src/gnu/io/SerialPortEvent.java /home/pterjan/rpmbuild/BUILD/rxtx-2.2-build/rxtx-20100211/./src/gnu/io/SerialPortEventListener.java /home/pterjan/rpmbuild/BUILD/rxtx-2.2-build/rxtx-20100211/./src/gnu/io/UnSupportedLoggerException.java /home/pterjan/rpmbuild/BUILD/rxtx-2.2-build/rxtx-20100211/./src/gnu/io/UnsupportedCommOperationException.java /home/pterjan/rpmbuild/BUILD/rxtx-2.2-build/rxtx-20100211/./src/gnu/io/Zystem.java /home/pterjan/rpmbuild/BUILD/rxtx-2.2-build/rxtx-20100211/./src/gnu/io/I2C.java:391: warning: [removal] finalize() in Object has been deprecated and marked for removal protected void finalize() { ^ /home/pterjan/rpmbuild/BUILD/rxtx-2.2-build/rxtx-20100211/./src/gnu/io/LPRPort.java:310: warning: [removal] finalize() in Object has been deprecated and marked for removal protected void finalize() ^ /home/pterjan/rpmbuild/BUILD/rxtx-2.2-build/rxtx-20100211/./src/gnu/io/RS485.java:388: warning: [removal] finalize() in Object has been deprecated and marked for removal protected void finalize() { ^ /home/pterjan/rpmbuild/BUILD/rxtx-2.2-build/rxtx-20100211/./src/gnu/io/RXTXPort.java:1105: warning: [removal] finalize() in Object has been deprecated and marked for removal protected void finalize() ^ /home/pterjan/rpmbuild/BUILD/rxtx-2.2-build/rxtx-20100211/./src/gnu/io/RXTXPort.java:1647: warning: [removal] finalize() in Object has been deprecated and marked for removal protected void finalize() throws Throwable ^ /home/pterjan/rpmbuild/BUILD/rxtx-2.2-build/rxtx-20100211/./src/gnu/io/RXTXPort.java:1657: warning: [dep-ann] deprecated item is not annotated with @Deprecated public void setRcvFifoTrigger(int trigger){}; ^ /home/pterjan/rpmbuild/BUILD/rxtx-2.2-build/rxtx-20100211/./src/gnu/io/Zystem.java:189: warning: [removal] finalize() in Object has been deprecated and marked for removal public void finalize() ^ /home/pterjan/rpmbuild/BUILD/rxtx-2.2-build/rxtx-20100211/./src/gnu/io/Raw.java:389: warning: [removal] finalize() in Object has been deprecated and marked for removal protected void finalize() { ^ Note: /home/pterjan/rpmbuild/BUILD/rxtx-2.2-build/rxtx-20100211/./src/gnu/io/CommPortIdentifier.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: /home/pterjan/rpmbuild/BUILD/rxtx-2.2-build/rxtx-20100211/./src/gnu/io/CommPortIdentifier.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 8 warnings /usr/lib/jvm/java-21-openjdk/bin/jar cf RXTXcomm.jar gnu/* 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 make: *** [Makefile:851: /home/pterjan/rpmbuild/BUILD/rxtx-2.2-build/rxtx-20100211/gnu/io/CommDriver.class] Error 1 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.P26JuP (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.P26JuP (%build) I: [iurt_root_command] ERROR: chroot