Mock Version: 1.4.9 Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/jssc.spec'], chrootPath='/var/lib/mock/f29-build-21992-11454/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/jssc.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/jssc-2.8.0-11.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/jssc.spec'], chrootPath='/var/lib/mock/f29-build-21992-11454/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/jssc.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.hY7uoV + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf java-simple-serial-connector-2.8.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/jssc-2.8.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd java-simple-serial-connector-2.8.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (jssc-loadlibrary.patch):' Patch #0 (jssc-loadlibrary.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .loadlibrary --fuzz=0 patching file src/java/jssc/SerialNativeInterface.java + echo 'Patch #1 (jssc-jni-fix.patch):' Patch #1 (jssc-jni-fix.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .jni-fix --fuzz=0 patching file src/cpp/_nix_based/jssc.cpp + cp -a /builddir/build/SOURCES/gpl-3.0.txt COPYING + rm -rf src/java/libs + rm -rf src/cpp/jssc_SerialNativeInterface.h + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.UBVrfZ + umask 022 + cd /builddir/build/BUILD + cd java-simple-serial-connector-2.8.0 + mkdir -p classes/ + cd src/java + javac -d ../../classes/ -encoding UTF-8 jssc/SerialNativeInterface.java jssc/SerialPort.java jssc/SerialPortEvent.java jssc/SerialPortEventListener.java jssc/SerialPortException.java jssc/SerialPortList.java jssc/SerialPortTimeoutException.java + cd classes + jar -cf ../jssc.jar jssc/SerialNativeInterface.class 'jssc/SerialPort$1.class' 'jssc/SerialPort$EventThread.class' 'jssc/SerialPort$LinuxEventThread.class' jssc/SerialPort.class jssc/SerialPortEvent.class jssc/SerialPortEventListener.class jssc/SerialPortException.class 'jssc/SerialPortList$1.class' jssc/SerialPortList.class jssc/SerialPortTimeoutException.class + mkdir -p javadoc/ + cd src/java + javadoc -Xdoclint:none -d ../../javadoc/ -encoding UTF-8 jssc/SerialNativeInterface.java jssc/SerialPort.java jssc/SerialPortEvent.java jssc/SerialPortEventListener.java jssc/SerialPortException.java jssc/SerialPortList.java jssc/SerialPortTimeoutException.java Loading source file jssc/SerialNativeInterface.java... Loading source file jssc/SerialPort.java... Loading source file jssc/SerialPortEvent.java... Loading source file jssc/SerialPortEventListener.java... Loading source file jssc/SerialPortException.java... Loading source file jssc/SerialPortList.java... Loading source file jssc/SerialPortTimeoutException.java... Constructing Javadoc information... Standard Doclet version 1.8.0_144 Building tree for all the packages and classes... Generating ../../javadoc/jssc/SerialNativeInterface.html... Generating ../../javadoc/jssc/SerialPort.html... Generating ../../javadoc/jssc/SerialPortEvent.html... Generating ../../javadoc/jssc/SerialPortEventListener.html... Generating ../../javadoc/jssc/SerialPortException.html... Generating ../../javadoc/jssc/SerialPortList.html... Generating ../../javadoc/jssc/SerialPortTimeoutException.html... Generating ../../javadoc/jssc/package-frame.html... Generating ../../javadoc/jssc/package-summary.html... Generating ../../javadoc/jssc/package-tree.html... Generating ../../javadoc/constant-values.html... Generating ../../javadoc/serialized-form.html... Building index for all the packages and classes... Generating ../../javadoc/overview-tree.html... Generating ../../javadoc/index-all.html... Generating ../../javadoc/deprecated-list.html... Building index for all classes... Generating ../../javadoc/allclasses-frame.html... Generating ../../javadoc/allclasses-noframe.html... Generating ../../javadoc/index.html... Generating ../../javadoc/help-doc.html... + cd classes + javah -jni -d ../src/cpp -encoding UTF-8 jssc.SerialNativeInterface BUILDSTDERR: ++ echo 2.8.0 BUILDSTDERR: ++ sed 's/\([1-9]\.[0-9]\).*/\1/' + g++ -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -std=c++11 -fPIC -shared -D 'jSSC_NATIVE_LIB_VERSION="2.8"' -I /usr/lib/jvm/java-1.8.0-openjdk/include -I /usr/lib/jvm/java-1.8.0-openjdk/include/linux -o libjSSC-2.8.0.so src/cpp/_nix_based/jssc.cpp BUILDSTDERR: annobin: src/cpp/_nix_based/jssc.cpp: Error: plugin built for compiler version (8.1.1) but run with compiler version (8.2.1) BUILDSTDERR: cc1plus: error: fail to initialize plugin /usr/lib/gcc/riscv64-redhat-linux/8/plugin/annobin.so RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.UBVrfZ (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.UBVrfZ (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 626, in do raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/jssc.spec