+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/rxtx.spec --define "debug_package %{nil}" --undefine _annotated_build --define "_missing_doc_files_terminate_build %{nil}" --define "_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d" --define "_emacs_sitelispdir /usr/share/emacs/site-lisp" --nocheck ' mockbuild Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Dq5nRb + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf rxtx-20100211 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/rxtx-20100211.tar.bz2 + /usr/bin/tar -xof - + 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|' /builddir/build/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 -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 -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 -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 -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 -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 -p1 --fuzz=0 patching file src/SerialImp.c + find . -name '*.jar' -exec rm '{}' ';' + find . -name '*.hqx' -exec rm '{}' ';' + cp -a /builddir/build/SOURCES/README.distro . + sed -i -e /JHOME/d Makefile.in + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.tmPptY + umask 022 + cd /builddir/build/BUILD + cd rxtx-20100211 + export JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk + JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + '[' 1 = 1 ']' + '[' x '!=' x-specs=/usr/lib/rpm/redhat/redhat-hardened-ld ']' ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./ltmain.sh + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-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... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking target system type... riscv64-redhat-linux-gnu configure: WARNING: Trying libtool. If the following fails install libtool checking for riscv64-redhat-linux-gnu-gcc... no checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed 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 ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... nm checking whether ln -s works... yes checking how to recognise dependent libraries... pass_all checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for riscv64-redhat-linux-gnu-g++... no checking for riscv64-redhat-linux-gnu-c++... no checking for riscv64-redhat-linux-gnu-gpp... no checking for riscv64-redhat-linux-gnu-aCC... no checking for riscv64-redhat-linux-gnu-CC... no checking for riscv64-redhat-linux-gnu-cxx... no checking for riscv64-redhat-linux-gnu-cc++... no checking for riscv64-redhat-linux-gnu-cl.exe... no checking for riscv64-redhat-linux-gnu-FCC... no checking for riscv64-redhat-linux-gnu-KCC... no checking for riscv64-redhat-linux-gnu-RCC... no checking for riscv64-redhat-linux-gnu-xlC_r... no checking for riscv64-redhat-linux-gnu-xlC... no checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking how to run the C++ preprocessor... g++ -E checking for riscv64-redhat-linux-gnu-g77... no checking for riscv64-redhat-linux-gnu-xlf... no checking for riscv64-redhat-linux-gnu-f77... no checking for riscv64-redhat-linux-gnu-frt... no checking for riscv64-redhat-linux-gnu-pgf77... no checking for riscv64-redhat-linux-gnu-cf77... no checking for riscv64-redhat-linux-gnu-fort77... no checking for riscv64-redhat-linux-gnu-fl32... no checking for riscv64-redhat-linux-gnu-af77... no checking for riscv64-redhat-linux-gnu-xlf90... no checking for riscv64-redhat-linux-gnu-f90... no checking for riscv64-redhat-linux-gnu-pgf90... no checking for riscv64-redhat-linux-gnu-pghpf... no checking for riscv64-redhat-linux-gnu-epcf90... no checking for riscv64-redhat-linux-gnu-gfortran... no checking for riscv64-redhat-linux-gnu-g95... no checking for riscv64-redhat-linux-gnu-xlf95... no checking for riscv64-redhat-linux-gnu-f95... no checking for riscv64-redhat-linux-gnu-fort... no checking for riscv64-redhat-linux-gnu-ifort... no checking for riscv64-redhat-linux-gnu-ifc... no checking for riscv64-redhat-linux-gnu-efc... no checking for riscv64-redhat-linux-gnu-pgf95... no checking for riscv64-redhat-linux-gnu-lf95... no checking for riscv64-redhat-linux-gnu-ftn... no checking for g77... no checking for xlf... no checking for f77... no checking for frt... no checking for pgf77... no checking for cf77... no checking for fort77... no checking for fl32... no checking for af77... no checking for xlf90... no checking for f90... no checking for pgf90... no checking for pghpf... no checking for epcf90... no checking for gfortran... no checking for g95... no checking for xlf95... no checking for f95... no checking for fort... no checking for ifort... no checking for ifc... no checking for efc... no checking for pgf95... no checking for lf95... no checking for ftn... no checking whether we are using the GNU Fortran 77 compiler... no checking whether accepts -g... no checking the maximum length of command line arguments... 32768 checking command to parse nm output from gcc object... ok checking for objdir... .libs checking for riscv64-redhat-linux-gnu-ar... no checking for ar... ar checking for riscv64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking for riscv64-redhat-linux-gnu-strip... no checking for strip... strip checking if gcc static flag works... yes checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc supports -c -o file.o... yes checking whether the gcc linker (/usr/bin/ld) 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 configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC checking if g++ PIC flag -fPIC works... yes checking if g++ supports -c -o file.o... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes appending configuration tag "F77" to libtool checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for style of include used by make... GNU checking dependency style of gcc... none checking dependency style of g++... none checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking sys/fcntl.h usability... yes checking sys/fcntl.h presence... yes checking for sys/fcntl.h... yes checking sys/file.h usability... yes checking sys/file.h presence... yes checking for sys/file.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/signal.h usability... yes checking sys/signal.h presence... yes checking for sys/signal.h... yes checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking grp.h usability... yes checking grp.h presence... yes checking for grp.h... yes checking pwd.h usability... yes checking pwd.h presence... yes checking for pwd.h... yes checking whether gcc needs -traditional... no checking whether to enable maintainer-specific portions of Makefiles... no checking for xcode-select... no /usr/lib/jvm/java-1.8.0-openjdk configure: WARNING: using JAVA_HOME environmental variable adjusted java.home is /usr/lib/jvm/java-1.8.0-openjdk checking os.name Linux checking os.arch riscv64 checking java.vendor Oracle Corporation checking java.version 1.8.0_144 checking os.version 4.16.0-rc5-01493-g7f82cffaad50 configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: executing depfiles commands + make /usr/lib/jvm/java-1.8.0-openjdk/bin/javac -classpath .:/builddir/build/BUILD/rxtx-20100211:/builddir/build/BUILD/rxtx-20100211/src: -d /builddir/build/BUILD/rxtx-20100211/ -O -source 1.3 -target 1.3 /builddir/build/BUILD/rxtx-20100211/./src/gnu/io/UnsupportedCommOperationException.java /builddir/build/BUILD/rxtx-20100211/./src/gnu/io/UnSupportedLoggerException.java /builddir/build/BUILD/rxtx-20100211/./src/gnu/io/SerialPort.java /builddir/build/BUILD/rxtx-20100211/./src/gnu/io/I2CPortEventListener.java /builddir/build/BUILD/rxtx-20100211/./src/gnu/io/RS485PortEventListener.java /builddir/build/BUILD/rxtx-20100211/./src/gnu/io/ParallelPortEventListener.java /builddir/build/BUILD/rxtx-20100211/./src/gnu/io/Zystem.java /builddir/build/BUILD/rxtx-20100211/./src/gnu/io/RawPort.java /builddir/build/BUILD/rxtx-20100211/./src/gnu/io/CommDriver.java /builddir/build/BUILD/rxtx-20100211/./src/gnu/io/SerialPortEvent.java /builddir/build/BUILD/rxtx-20100211/./src/gnu/io/CommPortEnumerator.java /builddir/build/BUILD/rxtx-20100211/./src/gnu/io/RXTXVersion.java /builddir/build/BUILD/rxtx-20100211/./src/gnu/io/CommPortOwnershipListener.java /builddir/build/BUILD/rxtx-20100211/./src/gnu/io/SerialPortEventListener.java /builddir/build/BUILD/rxtx-20100211/./src/gnu/io/RawPortEvent.java /builddir/build/BUILD/rxtx-20100211/./src/gnu/io/I2CPort.java /builddir/build/BUILD/rxtx-20100211/./src/gnu/io/RS485Port.java /builddir/build/BUILD/rxtx-20100211/./src/gnu/io/ParallelPort.java /builddir/build/BUILD/rxtx-20100211/./src/gnu/io/NoSuchPortException.java /builddir/build/BUILD/rxtx-20100211/./src/gnu/io/I2C.java /builddir/build/BUILD/rxtx-20100211/./src/gnu/io/RS485.java /builddir/build/BUILD/rxtx-20100211/./src/gnu/io/LPRPort.java /builddir/build/BUILD/rxtx-20100211/./src/gnu/io/PortInUseException.java /builddir/build/BUILD/rxtx-20100211/./src/gnu/io/RXTXCommDriver.java /builddir/build/BUILD/rxtx-20100211/./src/gnu/io/I2CPortEvent.java /builddir/build/BUILD/rxtx-20100211/./src/gnu/io/RS485PortEvent.java /builddir/build/BUILD/rxtx-20100211/./src/gnu/io/ParallelPortEvent.java /builddir/build/BUILD/rxtx-20100211/./src/gnu/io/CommPortIdentifier.java /builddir/build/BUILD/rxtx-20100211/./src/gnu/io/CommPort.java /builddir/build/BUILD/rxtx-20100211/./src/gnu/io/RXTXPort.java /builddir/build/BUILD/rxtx-20100211/./src/gnu/io/Configure.java /builddir/build/BUILD/rxtx-20100211/./src/gnu/io/Raw.java /builddir/build/BUILD/rxtx-20100211/./src/gnu/io/RawPortEventListener.java warning: [options] bootstrap class path not set in conjunction with -source 1.3 warning: [options] source value 1.3 is obsolete and will be removed in a future release warning: [options] target value 1.3 is obsolete and will be removed in a future release warning: [options] To suppress warnings about obsolete options, use -Xlint:-options. 4 warnings /usr/lib/jvm/java-1.8.0-openjdk/bin/javah -classpath .:/builddir/build/BUILD/rxtx-20100211:/builddir/build/BUILD/rxtx-20100211/src: -d riscv64-redhat-linux-gnu -jni `(for i in UnsupportedCommOperationException UnSupportedLoggerException SerialPort I2CPortEventListener RS485PortEventListener ParallelPortEventListener Zystem RawPort CommDriver SerialPortEvent CommPortEnumerator RXTXVersion CommPortOwnershipListener SerialPortEventListener RawPortEvent I2CPort RS485Port ParallelPort NoSuchPortException I2C RS485 LPRPort PortInUseException RXTXCommDriver I2CPortEvent RS485PortEvent ParallelPortEvent CommPortIdentifier CommPort RXTXPort Configure Raw RawPortEventListener;do \ if grep > /dev/null native.*\( /builddir/build/BUILD/rxtx-20100211/./src/gnu/io/$i.java; then \ echo gnu.io.$i; \ fi; \ done)` /usr/lib/jvm/java-1.8.0-openjdk/bin/jar cf RXTXcomm.jar gnu/* ( \ \ cd riscv64-redhat-linux-gnu; \ /bin/sh /builddir/build/BUILD/rxtx-20100211/libtool --mode=compile gcc -I/builddir/build/BUILD/rxtx-20100211 -Iriscv64-redhat-linux-gnu -I. -I/usr/lib/jvm/java-1.8.0-openjdk/include -I/usr/lib/jvm/java-1.8.0-openjdk/include/./linux/ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -D_POSIX_SOURCE -D_BSD_SOURCE -D__need_timespec -c /builddir/build/BUILD/rxtx-20100211/./src/SerialImp.c -o \ /builddir/build/BUILD/rxtx-20100211/riscv64-redhat-linux-gnu/SerialImp.lo; \ if [ "Serial" = "Serial" ]; then \ /bin/sh /builddir/build/BUILD/rxtx-20100211/libtool --mode=compile gcc -I/builddir/build/BUILD/rxtx-20100211 -Iriscv64-redhat-linux-gnu -I. -I/usr/lib/jvm/java-1.8.0-openjdk/include -I/usr/lib/jvm/java-1.8.0-openjdk/include/./linux/ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -D_POSIX_SOURCE -D_BSD_SOURCE -D__need_timespec -c /builddir/build/BUILD/rxtx-20100211/./src/fuserImp.c -o \ /builddir/build/BUILD/rxtx-20100211/riscv64-redhat-linux-gnu/fuserImp.lo; \ /bin/sh /builddir/build/BUILD/rxtx-20100211/libtool --mode=link gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -D_POSIX_SOURCE -D_BSD_SOURCE -D__need_timespec -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lpthread -release 2.2pre1 -o librxtxSerial.la -rpath /usr/lib/jvm/java-1.8.0-openjdk/jre/lib/riscv64 /builddir/build/BUILD/rxtx-20100211/riscv64-redhat-linux-gnu/SerialImp.lo \ /builddir/build/BUILD/rxtx-20100211/riscv64-redhat-linux-gnu/fuserImp.lo; \ else \ /bin/sh /builddir/build/BUILD/rxtx-20100211/libtool --mode=link gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -D_POSIX_SOURCE -D_BSD_SOURCE -D__need_timespec -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lpthread -release 2.2pre1 -o librxtxSerial.la -rpath /usr/lib/jvm/java-1.8.0-openjdk/jre/lib/riscv64 /builddir/build/BUILD/rxtx-20100211/riscv64-redhat-linux-gnu/SerialImp.lo; \ fi; \ ) mkdir /builddir/build/BUILD/rxtx-20100211/riscv64-redhat-linux-gnu/.libs gcc -I/builddir/build/BUILD/rxtx-20100211 -Iriscv64-redhat-linux-gnu -I. -I/usr/lib/jvm/java-1.8.0-openjdk/include -I/usr/lib/jvm/java-1.8.0-openjdk/include/./linux/ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -D_POSIX_SOURCE -D_BSD_SOURCE -D__need_timespec -c /builddir/build/BUILD/rxtx-20100211/./src/SerialImp.c -fPIC -DPIC -o /builddir/build/BUILD/rxtx-20100211/riscv64-redhat-linux-gnu/.libs/SerialImp.o In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/stdio.h:27, from /usr/lib/jvm/java-1.8.0-openjdk/include/jni.h:39, from ./gnu_io_RXTXPort.h:2, from /builddir/build/BUILD/rxtx-20100211/./src/SerialImp.c:64: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ /builddir/build/BUILD/rxtx-20100211/./src/SerialImp.c: In function 'uucp_lock': /builddir/build/BUILD/rxtx-20100211/./src/SerialImp.c:5411:9: warning: implicit declaration of function 'major' [-Wimplicit-function-declaration] (int) major( buf.st_dev ), ^~~~~ /builddir/build/BUILD/rxtx-20100211/./src/SerialImp.c:5413:9: warning: implicit declaration of function 'minor'; did you mean 'mknod'? [-Wimplicit-function-declaration] (int) minor( buf.st_rdev ) ^~~~~ mknod /builddir/build/BUILD/rxtx-20100211/./src/SerialImp.c: In function 'Java_gnu_io_RXTXCommDriver_registerKnownPorts': /builddir/build/BUILD/rxtx-20100211/./src/SerialImp.c:4633:40: warning: ' handed to native RXTXCommDriver.registerKnownPorts() method. ' directive output truncated writing 71 bytes into a region of size between 52 and 62 [-Wformat-truncation=] snprintf( message, sizeof(message), "unknown portType %d handed to \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ native RXTXCommDriver.registerKnownPorts() \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ method.\n", ~~~~~~~~~~ In file included from /usr/include/stdio.h:861:0, from /usr/lib/jvm/java-1.8.0-openjdk/include/jni.h:39, from ./gnu_io_RXTXPort.h:2, from /builddir/build/BUILD/rxtx-20100211/./src/SerialImp.c:64: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 90 and 100 bytes into a destination of size 80 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -I/builddir/build/BUILD/rxtx-20100211 -Iriscv64-redhat-linux-gnu -I. -I/usr/lib/jvm/java-1.8.0-openjdk/include -I/usr/lib/jvm/java-1.8.0-openjdk/include/./linux/ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -D_POSIX_SOURCE -D_BSD_SOURCE -D__need_timespec -c /builddir/build/BUILD/rxtx-20100211/./src/fuserImp.c -fPIC -DPIC -o /builddir/build/BUILD/rxtx-20100211/riscv64-redhat-linux-gnu/.libs/fuserImp.o In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/stdio.h:27, from /usr/lib/jvm/java-1.8.0-openjdk/include/jni.h:39, from ./gnu_io_CommPortIdentifier.h:2, from /builddir/build/BUILD/rxtx-20100211/./src/fuserImp.c:4: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ /builddir/build/BUILD/rxtx-20100211/./src/fuserImp.c: In function 'show_user': /builddir/build/BUILD/rxtx-20100211/./src/fuserImp.c:183:11: warning: variable 'self' set but not used [-Wunused-but-set-variable] pid_t self; ^~~~ /builddir/build/BUILD/rxtx-20100211/./src/fuserImp.c: In function 'parse_args': /builddir/build/BUILD/rxtx-20100211/./src/fuserImp.c:280:26: warning: variable 'no_files' set but not used [-Wunused-but-set-variable] int flags,sig_number,no_files; ^~~~~~~~ gcc -shared /builddir/build/BUILD/rxtx-20100211/riscv64-redhat-linux-gnu/.libs/SerialImp.o /builddir/build/BUILD/rxtx-20100211/riscv64-redhat-linux-gnu/.libs/fuserImp.o -lpthread -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-z -Wl,relro -Wl,-soname -Wl,librxtxSerial-2.2pre1.so -o .libs/librxtxSerial-2.2pre1.so /builddir/build/BUILD/rxtx-20100211/riscv64-redhat-linux-gnu/.libs/SerialImp.o: In function `check_group_uucp': /builddir/build/BUILD/rxtx-20100211/./src/SerialImp.c:5653: warning: the use of `mktemp' is dangerous, better use `mkstemp' or `mkdtemp' (cd .libs && rm -f librxtxSerial.so && ln -s librxtxSerial-2.2pre1.so librxtxSerial.so) creating librxtxSerial.la (cd .libs && rm -f librxtxSerial.la && ln -s ../librxtxSerial.la librxtxSerial.la) ( \ \ cd riscv64-redhat-linux-gnu; \ /bin/sh /builddir/build/BUILD/rxtx-20100211/libtool --mode=compile gcc -I/builddir/build/BUILD/rxtx-20100211 -Iriscv64-redhat-linux-gnu -I. -I/usr/lib/jvm/java-1.8.0-openjdk/include -I/usr/lib/jvm/java-1.8.0-openjdk/include/./linux/ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -D_POSIX_SOURCE -D_BSD_SOURCE -D__need_timespec -c /builddir/build/BUILD/rxtx-20100211/./src/ParallelImp.c -o \ /builddir/build/BUILD/rxtx-20100211/riscv64-redhat-linux-gnu/ParallelImp.lo; \ if [ "Parallel" = "Serial" ]; then \ /bin/sh /builddir/build/BUILD/rxtx-20100211/libtool --mode=compile gcc -I/builddir/build/BUILD/rxtx-20100211 -Iriscv64-redhat-linux-gnu -I. -I/usr/lib/jvm/java-1.8.0-openjdk/include -I/usr/lib/jvm/java-1.8.0-openjdk/include/./linux/ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -D_POSIX_SOURCE -D_BSD_SOURCE -D__need_timespec -c /builddir/build/BUILD/rxtx-20100211/./src/fuserImp.c -o \ /builddir/build/BUILD/rxtx-20100211/riscv64-redhat-linux-gnu/fuserImp.lo; \ /bin/sh /builddir/build/BUILD/rxtx-20100211/libtool --mode=link gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -D_POSIX_SOURCE -D_BSD_SOURCE -D__need_timespec -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lpthread -release 2.2pre1 -o librxtxParallel.la -rpath /usr/lib/jvm/java-1.8.0-openjdk/jre/lib/riscv64 /builddir/build/BUILD/rxtx-20100211/riscv64-redhat-linux-gnu/ParallelImp.lo \ /builddir/build/BUILD/rxtx-20100211/riscv64-redhat-linux-gnu/fuserImp.lo; \ else \ /bin/sh /builddir/build/BUILD/rxtx-20100211/libtool --mode=link gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -D_POSIX_SOURCE -D_BSD_SOURCE -D__need_timespec -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lpthread -release 2.2pre1 -o librxtxParallel.la -rpath /usr/lib/jvm/java-1.8.0-openjdk/jre/lib/riscv64 /builddir/build/BUILD/rxtx-20100211/riscv64-redhat-linux-gnu/ParallelImp.lo; \ fi; \ ) gcc -I/builddir/build/BUILD/rxtx-20100211 -Iriscv64-redhat-linux-gnu -I. -I/usr/lib/jvm/java-1.8.0-openjdk/include -I/usr/lib/jvm/java-1.8.0-openjdk/include/./linux/ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -D_POSIX_SOURCE -D_BSD_SOURCE -D__need_timespec -c /builddir/build/BUILD/rxtx-20100211/./src/ParallelImp.c -fPIC -DPIC -o /builddir/build/BUILD/rxtx-20100211/riscv64-redhat-linux-gnu/.libs/ParallelImp.o In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/stdio.h:27, from /usr/lib/jvm/java-1.8.0-openjdk/include/jni.h:39, from ./gnu_io_LPRPort.h:2, from /builddir/build/BUILD/rxtx-20100211/./src/ParallelImp.c:78: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ gcc -shared /builddir/build/BUILD/rxtx-20100211/riscv64-redhat-linux-gnu/.libs/ParallelImp.o -lpthread -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-z -Wl,relro -Wl,-soname -Wl,librxtxParallel-2.2pre1.so -o .libs/librxtxParallel-2.2pre1.so (cd .libs && rm -f librxtxParallel.so && ln -s librxtxParallel-2.2pre1.so librxtxParallel.so) creating librxtxParallel.la (cd .libs && rm -f librxtxParallel.la && ln -s ../librxtxParallel.la librxtxParallel.la) ( \ \ cd riscv64-redhat-linux-gnu; \ /bin/sh /builddir/build/BUILD/rxtx-20100211/libtool --mode=compile gcc -I/builddir/build/BUILD/rxtx-20100211 -Iriscv64-redhat-linux-gnu -I. -I/usr/lib/jvm/java-1.8.0-openjdk/include -I/usr/lib/jvm/java-1.8.0-openjdk/include/./linux/ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -D_POSIX_SOURCE -D_BSD_SOURCE -D__need_timespec -c /builddir/build/BUILD/rxtx-20100211/./src/I2CImp.c -o \ /builddir/build/BUILD/rxtx-20100211/riscv64-redhat-linux-gnu/I2CImp.lo; \ if [ "I2C" = "Serial" ]; then \ /bin/sh /builddir/build/BUILD/rxtx-20100211/libtool --mode=compile gcc -I/builddir/build/BUILD/rxtx-20100211 -Iriscv64-redhat-linux-gnu -I. -I/usr/lib/jvm/java-1.8.0-openjdk/include -I/usr/lib/jvm/java-1.8.0-openjdk/include/./linux/ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -D_POSIX_SOURCE -D_BSD_SOURCE -D__need_timespec -c /builddir/build/BUILD/rxtx-20100211/./src/fuserImp.c -o \ /builddir/build/BUILD/rxtx-20100211/riscv64-redhat-linux-gnu/fuserImp.lo; \ /bin/sh /builddir/build/BUILD/rxtx-20100211/libtool --mode=link gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -D_POSIX_SOURCE -D_BSD_SOURCE -D__need_timespec -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lpthread -release 2.2pre1 -o librxtxI2C.la -rpath /usr/lib/jvm/java-1.8.0-openjdk/jre/lib/riscv64 /builddir/build/BUILD/rxtx-20100211/riscv64-redhat-linux-gnu/I2CImp.lo \ /builddir/build/BUILD/rxtx-20100211/riscv64-redhat-linux-gnu/fuserImp.lo; \ else \ /bin/sh /builddir/build/BUILD/rxtx-20100211/libtool --mode=link gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -D_POSIX_SOURCE -D_BSD_SOURCE -D__need_timespec -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lpthread -release 2.2pre1 -o librxtxI2C.la -rpath /usr/lib/jvm/java-1.8.0-openjdk/jre/lib/riscv64 /builddir/build/BUILD/rxtx-20100211/riscv64-redhat-linux-gnu/I2CImp.lo; \ fi; \ ) gcc -I/builddir/build/BUILD/rxtx-20100211 -Iriscv64-redhat-linux-gnu -I. -I/usr/lib/jvm/java-1.8.0-openjdk/include -I/usr/lib/jvm/java-1.8.0-openjdk/include/./linux/ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -D_POSIX_SOURCE -D_BSD_SOURCE -D__need_timespec -c /builddir/build/BUILD/rxtx-20100211/./src/I2CImp.c -fPIC -DPIC -o /builddir/build/BUILD/rxtx-20100211/riscv64-redhat-linux-gnu/.libs/I2CImp.o In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/stdio.h:27, from /usr/lib/jvm/java-1.8.0-openjdk/include/jni.h:39, from ./gnu_io_I2C.h:2, from /builddir/build/BUILD/rxtx-20100211/./src/I2CImp.c:62: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ gcc -shared /builddir/build/BUILD/rxtx-20100211/riscv64-redhat-linux-gnu/.libs/I2CImp.o -lpthread -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-z -Wl,relro -Wl,-soname -Wl,librxtxI2C-2.2pre1.so -o .libs/librxtxI2C-2.2pre1.so (cd .libs && rm -f librxtxI2C.so && ln -s librxtxI2C-2.2pre1.so librxtxI2C.so) creating librxtxI2C.la (cd .libs && rm -f librxtxI2C.la && ln -s ../librxtxI2C.la librxtxI2C.la) ( \ \ cd riscv64-redhat-linux-gnu; \ /bin/sh /builddir/build/BUILD/rxtx-20100211/libtool --mode=compile gcc -I/builddir/build/BUILD/rxtx-20100211 -Iriscv64-redhat-linux-gnu -I. -I/usr/lib/jvm/java-1.8.0-openjdk/include -I/usr/lib/jvm/java-1.8.0-openjdk/include/./linux/ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -D_POSIX_SOURCE -D_BSD_SOURCE -D__need_timespec -c /builddir/build/BUILD/rxtx-20100211/./src/RawImp.c -o \ /builddir/build/BUILD/rxtx-20100211/riscv64-redhat-linux-gnu/RawImp.lo; \ if [ "Raw" = "Serial" ]; then \ /bin/sh /builddir/build/BUILD/rxtx-20100211/libtool --mode=compile gcc -I/builddir/build/BUILD/rxtx-20100211 -Iriscv64-redhat-linux-gnu -I. -I/usr/lib/jvm/java-1.8.0-openjdk/include -I/usr/lib/jvm/java-1.8.0-openjdk/include/./linux/ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -D_POSIX_SOURCE -D_BSD_SOURCE -D__need_timespec -c /builddir/build/BUILD/rxtx-20100211/./src/fuserImp.c -o \ /builddir/build/BUILD/rxtx-20100211/riscv64-redhat-linux-gnu/fuserImp.lo; \ /bin/sh /builddir/build/BUILD/rxtx-20100211/libtool --mode=link gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -D_POSIX_SOURCE -D_BSD_SOURCE -D__need_timespec -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lpthread -release 2.2pre1 -o librxtxRaw.la -rpath /usr/lib/jvm/java-1.8.0-openjdk/jre/lib/riscv64 /builddir/build/BUILD/rxtx-20100211/riscv64-redhat-linux-gnu/RawImp.lo \ /builddir/build/BUILD/rxtx-20100211/riscv64-redhat-linux-gnu/fuserImp.lo; \ else \ /bin/sh /builddir/build/BUILD/rxtx-20100211/libtool --mode=link gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -D_POSIX_SOURCE -D_BSD_SOURCE -D__need_timespec -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lpthread -release 2.2pre1 -o librxtxRaw.la -rpath /usr/lib/jvm/java-1.8.0-openjdk/jre/lib/riscv64 /builddir/build/BUILD/rxtx-20100211/riscv64-redhat-linux-gnu/RawImp.lo; \ fi; \ ) gcc -I/builddir/build/BUILD/rxtx-20100211 -Iriscv64-redhat-linux-gnu -I. -I/usr/lib/jvm/java-1.8.0-openjdk/include -I/usr/lib/jvm/java-1.8.0-openjdk/include/./linux/ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -D_POSIX_SOURCE -D_BSD_SOURCE -D__need_timespec -c /builddir/build/BUILD/rxtx-20100211/./src/RawImp.c -fPIC -DPIC -o /builddir/build/BUILD/rxtx-20100211/riscv64-redhat-linux-gnu/.libs/RawImp.o In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/stdio.h:27, from /usr/lib/jvm/java-1.8.0-openjdk/include/jni.h:39, from ./gnu_io_Raw.h:2, from /builddir/build/BUILD/rxtx-20100211/./src/RawImp.c:70: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ /builddir/build/BUILD/rxtx-20100211/./src/RawImp.c: In function 'Java_gnu_io_RawPort_open': /builddir/build/BUILD/rxtx-20100211/./src/RawImp.c:128:5: warning: implicit declaration of function 'ioperm'; did you mean 'open'? [-Wimplicit-function-declaration] if(ioperm(ciAddress, 3, 1)) ^~~~~~ open /builddir/build/BUILD/rxtx-20100211/./src/RawImp.c: In function 'Java_Bus_read8': /builddir/build/BUILD/rxtx-20100211/./src/RawImp.c:168:16: warning: implicit declaration of function 'inb'; did you mean 'link'? [-Wimplicit-function-declaration] return (jint) inb((unsigned) piPort); ^~~ link /builddir/build/BUILD/rxtx-20100211/./src/RawImp.c: In function 'Java_Bus_write8': /builddir/build/BUILD/rxtx-20100211/./src/RawImp.c:182:2: warning: implicit declaration of function 'outb'; did you mean 'puts'? [-Wimplicit-function-declaration] outb((unsigned char) piData ,(unsigned) piPort); ^~~~ puts /builddir/build/BUILD/rxtx-20100211/./src/RawImp.c: In function 'Java_Bus_read16': /builddir/build/BUILD/rxtx-20100211/./src/RawImp.c:196:16: warning: implicit declaration of function 'inw'; did you mean 'link'? [-Wimplicit-function-declaration] return (jint) inw((unsigned) piPort); ^~~ link /builddir/build/BUILD/rxtx-20100211/./src/RawImp.c: In function 'Java_Bus_read32': /builddir/build/BUILD/rxtx-20100211/./src/RawImp.c:223:16: warning: implicit declaration of function 'inl'; did you mean 'kill'? [-Wimplicit-function-declaration] return (jint) inl((unsigned) piPort); ^~~ kill /builddir/build/BUILD/rxtx-20100211/./src/RawImp.c: In function 'Java_Bus_write32': /builddir/build/BUILD/rxtx-20100211/./src/RawImp.c:239:2: warning: implicit declaration of function 'outl'; did you mean 'ioctl'? [-Wimplicit-function-declaration] outl((unsigned) piData ,(unsigned) piPort); ^~~~ ioctl gcc -shared /builddir/build/BUILD/rxtx-20100211/riscv64-redhat-linux-gnu/.libs/RawImp.o -lpthread -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-z -Wl,relro -Wl,-soname -Wl,librxtxRaw-2.2pre1.so -o .libs/librxtxRaw-2.2pre1.so (cd .libs && rm -f librxtxRaw.so && ln -s librxtxRaw-2.2pre1.so librxtxRaw.so) creating librxtxRaw.la (cd .libs && rm -f librxtxRaw.la && ln -s ../librxtxRaw.la librxtxRaw.la) ( \ \ cd riscv64-redhat-linux-gnu; \ /bin/sh /builddir/build/BUILD/rxtx-20100211/libtool --mode=compile gcc -I/builddir/build/BUILD/rxtx-20100211 -Iriscv64-redhat-linux-gnu -I. -I/usr/lib/jvm/java-1.8.0-openjdk/include -I/usr/lib/jvm/java-1.8.0-openjdk/include/./linux/ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -D_POSIX_SOURCE -D_BSD_SOURCE -D__need_timespec -c /builddir/build/BUILD/rxtx-20100211/./src/RS485Imp.c -o \ /builddir/build/BUILD/rxtx-20100211/riscv64-redhat-linux-gnu/RS485Imp.lo; \ if [ "RS485" = "Serial" ]; then \ /bin/sh /builddir/build/BUILD/rxtx-20100211/libtool --mode=compile gcc -I/builddir/build/BUILD/rxtx-20100211 -Iriscv64-redhat-linux-gnu -I. -I/usr/lib/jvm/java-1.8.0-openjdk/include -I/usr/lib/jvm/java-1.8.0-openjdk/include/./linux/ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -D_POSIX_SOURCE -D_BSD_SOURCE -D__need_timespec -c /builddir/build/BUILD/rxtx-20100211/./src/fuserImp.c -o \ /builddir/build/BUILD/rxtx-20100211/riscv64-redhat-linux-gnu/fuserImp.lo; \ /bin/sh /builddir/build/BUILD/rxtx-20100211/libtool --mode=link gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -D_POSIX_SOURCE -D_BSD_SOURCE -D__need_timespec -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lpthread -release 2.2pre1 -o librxtxRS485.la -rpath /usr/lib/jvm/java-1.8.0-openjdk/jre/lib/riscv64 /builddir/build/BUILD/rxtx-20100211/riscv64-redhat-linux-gnu/RS485Imp.lo \ /builddir/build/BUILD/rxtx-20100211/riscv64-redhat-linux-gnu/fuserImp.lo; \ else \ /bin/sh /builddir/build/BUILD/rxtx-20100211/libtool --mode=link gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -D_POSIX_SOURCE -D_BSD_SOURCE -D__need_timespec -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lpthread -release 2.2pre1 -o librxtxRS485.la -rpath /usr/lib/jvm/java-1.8.0-openjdk/jre/lib/riscv64 /builddir/build/BUILD/rxtx-20100211/riscv64-redhat-linux-gnu/RS485Imp.lo; \ fi; \ ) gcc -I/builddir/build/BUILD/rxtx-20100211 -Iriscv64-redhat-linux-gnu -I. -I/usr/lib/jvm/java-1.8.0-openjdk/include -I/usr/lib/jvm/java-1.8.0-openjdk/include/./linux/ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -D_POSIX_SOURCE -D_BSD_SOURCE -D__need_timespec -c /builddir/build/BUILD/rxtx-20100211/./src/RS485Imp.c -fPIC -DPIC -o /builddir/build/BUILD/rxtx-20100211/riscv64-redhat-linux-gnu/.libs/RS485Imp.o In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/stdio.h:27, from /usr/lib/jvm/java-1.8.0-openjdk/include/jni.h:39, from ./gnu_io_RS485.h:2, from /builddir/build/BUILD/rxtx-20100211/./src/RS485Imp.c:62: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ gcc -shared /builddir/build/BUILD/rxtx-20100211/riscv64-redhat-linux-gnu/.libs/RS485Imp.o -lpthread -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-z -Wl,relro -Wl,-soname -Wl,librxtxRS485-2.2pre1.so -o .libs/librxtxRS485-2.2pre1.so (cd .libs && rm -f librxtxRS485.so && ln -s librxtxRS485-2.2pre1.so librxtxRS485.so) creating librxtxRS485.la (cd .libs && rm -f librxtxRS485.la && ln -s ../librxtxRS485.la librxtxRS485.la) make all-am make[1]: Entering directory '/builddir/build/BUILD/rxtx-20100211' make[1]: Leaving directory '/builddir/build/BUILD/rxtx-20100211' + iconv -f ISO_8859-1 -t UTF-8 ChangeLog + mv ChangeLog.utf-8 ChangeLog + bnd wrap -p /builddir/build/SOURCES/rxtx-osgi.bnd -v 2.2 -o RXTXcomm-bnd.jar RXTXcomm.jar + mv RXTXcomm-bnd.jar RXTXcomm.jar + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.uh6ygE + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rxtx-2.2-0.19.20100211.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rxtx-2.2-0.19.20100211.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/rxtx-2.2-0.19.20100211.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rxtx-2.2-0.19.20100211.fc28.riscv64 + cd rxtx-20100211 + mkdir -p /builddir/build/BUILDROOT/rxtx-2.2-0.19.20100211.fc28.riscv64/usr/lib64/rxtx + make RXTX_PATH=/builddir/build/BUILDROOT/rxtx-2.2-0.19.20100211.fc28.riscv64/usr/lib64/rxtx install make all-am make[1]: Entering directory '/builddir/build/BUILD/rxtx-20100211' make[1]: Leaving directory '/builddir/build/BUILD/rxtx-20100211' /usr/bin/install -c riscv64-redhat-linux-gnu/.libs/librxtxSerial-2.2pre1.so /builddir/build/BUILDROOT/rxtx-2.2-0.19.20100211.fc28.riscv64/usr/lib64/rxtx/librxtxSerial-2.2pre1.so (cd /builddir/build/BUILDROOT/rxtx-2.2-0.19.20100211.fc28.riscv64/usr/lib64/rxtx && { ln -s -f librxtxSerial-2.2pre1.so librxtxSerial.so || { rm -f librxtxSerial.so && ln -s librxtxSerial-2.2pre1.so librxtxSerial.so; }; }) /usr/bin/install -c riscv64-redhat-linux-gnu/.libs/librxtxSerial.lai /builddir/build/BUILDROOT/rxtx-2.2-0.19.20100211.fc28.riscv64/usr/lib64/rxtx/librxtxSerial.la /usr/bin/install -c riscv64-redhat-linux-gnu/.libs/librxtxParallel-2.2pre1.so /builddir/build/BUILDROOT/rxtx-2.2-0.19.20100211.fc28.riscv64/usr/lib64/rxtx/librxtxParallel-2.2pre1.so (cd /builddir/build/BUILDROOT/rxtx-2.2-0.19.20100211.fc28.riscv64/usr/lib64/rxtx && { ln -s -f librxtxParallel-2.2pre1.so librxtxParallel.so || { rm -f librxtxParallel.so && ln -s librxtxParallel-2.2pre1.so librxtxParallel.so; }; }) /usr/bin/install -c riscv64-redhat-linux-gnu/.libs/librxtxParallel.lai /builddir/build/BUILDROOT/rxtx-2.2-0.19.20100211.fc28.riscv64/usr/lib64/rxtx/librxtxParallel.la /usr/bin/install -c riscv64-redhat-linux-gnu/.libs/librxtxI2C-2.2pre1.so /builddir/build/BUILDROOT/rxtx-2.2-0.19.20100211.fc28.riscv64/usr/lib64/rxtx/librxtxI2C-2.2pre1.so (cd /builddir/build/BUILDROOT/rxtx-2.2-0.19.20100211.fc28.riscv64/usr/lib64/rxtx && { ln -s -f librxtxI2C-2.2pre1.so librxtxI2C.so || { rm -f librxtxI2C.so && ln -s librxtxI2C-2.2pre1.so librxtxI2C.so; }; }) /usr/bin/install -c riscv64-redhat-linux-gnu/.libs/librxtxI2C.lai /builddir/build/BUILDROOT/rxtx-2.2-0.19.20100211.fc28.riscv64/usr/lib64/rxtx/librxtxI2C.la /usr/bin/install -c riscv64-redhat-linux-gnu/.libs/librxtxRaw-2.2pre1.so /builddir/build/BUILDROOT/rxtx-2.2-0.19.20100211.fc28.riscv64/usr/lib64/rxtx/librxtxRaw-2.2pre1.so (cd /builddir/build/BUILDROOT/rxtx-2.2-0.19.20100211.fc28.riscv64/usr/lib64/rxtx && { ln -s -f librxtxRaw-2.2pre1.so librxtxRaw.so || { rm -f librxtxRaw.so && ln -s librxtxRaw-2.2pre1.so librxtxRaw.so; }; }) /usr/bin/install -c riscv64-redhat-linux-gnu/.libs/librxtxRaw.lai /builddir/build/BUILDROOT/rxtx-2.2-0.19.20100211.fc28.riscv64/usr/lib64/rxtx/librxtxRaw.la /usr/bin/install -c riscv64-redhat-linux-gnu/.libs/librxtxRS485-2.2pre1.so /builddir/build/BUILDROOT/rxtx-2.2-0.19.20100211.fc28.riscv64/usr/lib64/rxtx/librxtxRS485-2.2pre1.so (cd /builddir/build/BUILDROOT/rxtx-2.2-0.19.20100211.fc28.riscv64/usr/lib64/rxtx && { ln -s -f librxtxRS485-2.2pre1.so librxtxRS485.so || { rm -f librxtxRS485.so && ln -s librxtxRS485-2.2pre1.so librxtxRS485.so; }; }) /usr/bin/install -c riscv64-redhat-linux-gnu/.libs/librxtxRS485.lai /builddir/build/BUILDROOT/rxtx-2.2-0.19.20100211.fc28.riscv64/usr/lib64/rxtx/librxtxRS485.la libtool: install: warning: remember to run `libtool --finish /usr/lib/jvm/java-1.8.0-openjdk/jre/lib/riscv64' + find /builddir/build/BUILDROOT/rxtx-2.2-0.19.20100211.fc28.riscv64 -name '*.la' -exec rm '{}' ';' + /usr/bin/python3 /usr/share/java-utils/mvn_artifact.py org.rxtx:rxtx:2.2 RXTXcomm.jar + /usr/bin/python3 /usr/share/java-utils/mvn_file.py org.rxtx:rxtx:2.2 RXTXcomm + xmvn-install -R .xmvn-reactor -n rxtx -d /builddir/build/BUILDROOT/rxtx-2.2-0.19.20100211.fc28.riscv64 [INFO] Installing artifact org.rxtx:rxtx:jar:2.2 [INFO] Installation successful + jdir=target/site/apidocs + '[' -d .xmvn/apidocs ']' + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rxtx-2.2-0.19.20100211.fc28.riscv64/usr/share/licenses + '[' -d target/site/apidocs ']' + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: rxtx-2.2-0.19.20100211.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.HasPaU + umask 022 + cd /builddir/build/BUILD + cd rxtx-20100211 + DOCDIR=/builddir/build/BUILDROOT/rxtx-2.2-0.19.20100211.fc28.riscv64/usr/share/doc/rxtx + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rxtx-2.2-0.19.20100211.fc28.riscv64/usr/share/doc/rxtx + cp -pr AUTHORS /builddir/build/BUILDROOT/rxtx-2.2-0.19.20100211.fc28.riscv64/usr/share/doc/rxtx + cp -pr ChangeLog /builddir/build/BUILDROOT/rxtx-2.2-0.19.20100211.fc28.riscv64/usr/share/doc/rxtx + cp -pr README /builddir/build/BUILDROOT/rxtx-2.2-0.19.20100211.fc28.riscv64/usr/share/doc/rxtx + cp -pr TODO /builddir/build/BUILDROOT/rxtx-2.2-0.19.20100211.fc28.riscv64/usr/share/doc/rxtx + cp -pr README.distro /builddir/build/BUILDROOT/rxtx-2.2-0.19.20100211.fc28.riscv64/usr/share/doc/rxtx + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.K0mDzL + umask 022 + cd /builddir/build/BUILD + cd rxtx-20100211 + LICENSEDIR=/builddir/build/BUILDROOT/rxtx-2.2-0.19.20100211.fc28.riscv64/usr/share/licenses/rxtx + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rxtx-2.2-0.19.20100211.fc28.riscv64/usr/share/licenses/rxtx + cp -pr COPYING /builddir/build/BUILDROOT/rxtx-2.2-0.19.20100211.fc28.riscv64/usr/share/licenses/rxtx + exit 0 [INFO osgi.prov] input: ['/builddir/build/BUILDROOT/rxtx-2.2-0.19.20100211.fc28.riscv64/usr/lib/java/RXTXcomm.jar'] [INFO osgi.prov] osgi(gnu.io.rxtx) = 2.2.0 [INFO osgi.req] input: ['/builddir/build/BUILDROOT/rxtx-2.2-0.19.20100211.fc28.riscv64/usr/lib/java/RXTXcomm.jar'] [INFO maven.prov] input: ['/builddir/build/BUILDROOT/rxtx-2.2-0.19.20100211.fc28.riscv64/usr/share/maven-metadata/rxtx.xml'] [INFO maven.prov] mvn(org.rxtx:rxtx) = 2.2 [INFO maven.req] input: ['/builddir/build/BUILDROOT/rxtx-2.2-0.19.20100211.fc28.riscv64/usr/share/maven-metadata/rxtx.xml'] [INFO maven.req] java-headless, javapackages-tools Provides: librxtxI2C-2.2pre1.so()(64bit) librxtxParallel-2.2pre1.so()(64bit) librxtxRS485-2.2pre1.so()(64bit) librxtxRaw-2.2pre1.so()(64bit) librxtxSerial-2.2pre1.so()(64bit) mvn(org.rxtx:rxtx) = 2.2 osgi(gnu.io.rxtx) = 2.2.0 rxtx = 2.2-0.19.20100211.fc28 rxtx(riscv-64) = 2.2-0.19.20100211.fc28 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: java-headless javapackages-tools ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.27)(64bit) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rxtx-2.2-0.19.20100211.fc28.riscv64 Wrote: /builddir/build/SRPMS/rxtx-2.2-0.19.20100211.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/rxtx-2.2-0.19.20100211.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.cl7cqV + umask 022 + cd /builddir/build/BUILD + cd rxtx-20100211 + /usr/bin/rm -rf /builddir/build/BUILDROOT/rxtx-2.2-0.19.20100211.fc28.riscv64 + exit 0 + touch /buildok + cleanup + set +e + sync + sleep 5 + sync + poweroff Terminated ++ cleanup ++ set +e ++ sync ++ sleep 5 Terminated +++ cleanup +++ set +e +++ sync +++ sleep 5 +++ sync +++ poweroff