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/jna.spec'], chrootPath='/var/lib/mock/f29-build-21950-11442/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'}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/jna.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'} and shell False Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/jna-4.5.1-4.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/jna.spec'], chrootPath='/var/lib/mock/f29-build-21950-11442/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'}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/jna.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'} and shell False Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.GN4uRN + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf jna-4.5.1 + /usr/bin/xz -dc /builddir/build/SOURCES/jna-4.5.1-clean.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd jna-4.5.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cp /builddir/build/SOURCES/package-list . + echo 'Patch #0 (0001-Adapt-build.patch):' Patch #0 (0001-Adapt-build.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .build --fuzz=0 patching file native/Makefile + echo 'Patch #1 (0002-Load-system-library.patch):' Patch #1 (0002-Load-system-library.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .loadlib --fuzz=0 patching file src/com/sun/jna/Native.java + echo 'Patch #2 (0003-Tests-headless.patch):' Patch #2 (0003-Tests-headless.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .tests-headless --fuzz=0 patching file build.xml + echo 'Patch #3 (0004-Fix-javadoc-build.patch):' Patch #3 (0004-Fix-javadoc-build.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file build.xml + echo 'Patch #4 (0005-Fix-duplicate-manifest-entry.patch):' Patch #4 (0005-Fix-duplicate-manifest-entry.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file build.xml + echo 'Patch #5 (0006-Remove-Werror.patch):' Patch #5 (0006-Remove-Werror.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file native/Makefile + chmod -Rf a+rX,u+w,g-w,o-w . + sed -i 's|@LIBDIR@|/usr/lib64/jna|' src/com/sun/jna/Native.java + sed -i 's/\r//' LICENSE + chmod -c 0644 LICENSE OTHERS CHANGES.md + sed 's,,&,' -i build.xml + build-jar-repository -s -p lib junit reflections ant + cp lib/native/aix-ppc64.jar lib/clover.jar + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.bI4xGJ + umask 022 + cd /builddir/build/BUILD + cd jna-4.5.1 + ant -Dcompatibility=1.6 -Dplatform.compatibility=1.6 '-Dcflags_extra.native=-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' -Ddynlink.native=true native dist Buildfile: /builddir/build/BUILD/jna-4.5.1/build.xml [typedef] Could not load definitions from resource org/apache/maven/artifact/ant/antlib.xml. It could not be found. -enable-native: -prepare-anttools: [mkdir] Created dir: /builddir/build/BUILD/jna-4.5.1/build/ant-tools [javac] Compiling 3 source files to /builddir/build/BUILD/jna-4.5.1/build/ant-tools [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6 [javac] 1 warning -dynamic-properties: [mkdir] Created dir: /builddir/build/BUILD/jna-4.5.1/build/native-linux-riscv64 [mkdir] Created dir: /builddir/build/BUILD/jna-4.5.1/build/classes [mkdir] Created dir: /builddir/build/BUILD/jna-4.5.1/build/test-classes [mkdir] Created dir: /builddir/build/BUILD/jna-4.5.1/build/reports [mkdir] Created dir: /builddir/build/BUILD/jna-4.5.1/doc [mkdir] Created dir: /builddir/build/BUILD/jna-4.5.1/build/aar [echo] Java version 1.8.0_144, compatibility: 1.6, ant: 1.8 [echo] JNA version 4.5.1-SNAPSHOT, native 5.2.0, android 4050100 [echo] OpenJDK 64-Bit Zero VM (Oracle Corporation, 25.144-b01) [echo] java.home=/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.144-1.riscv64.7.b01.fc28.riscv64/jre [echo] java.library.path=/usr/java/packages/lib/riscv64:/lib:/usr/lib [echo] os.prefix=linux-riscv64 [echo] os.name=Linux [echo] os.arch=riscv64 (little) [echo] build=build [echo] build.native=/builddir/build/BUILD/jna-4.5.1/build/native-linux-riscv64 [echo] build.aar=/builddir/build/BUILD/jna-4.5.1/build/aar -setup: compile: [javac] Compiling 61 source files to /builddir/build/BUILD/jna-4.5.1/build/classes [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6 [javac] Note: Some input files use unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. [javac] 1 warning javah: -native-api-check: :rsrc: rsrc: native: [exec] gcc -W -Wall -Wno-unused -Wno-parentheses -fPIC -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 -O2 -fno-omit-frame-pointer -fno-strict-aliasing -D_REENTRANT -DHAVE_PROTECTION -I"/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.144-1.riscv64.7.b01.fc28.riscv64/jre/../include" -I"/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.144-1.riscv64.7.b01.fc28.riscv64/jre/../include/linux" -I"/builddir/build/BUILD/jna-4.5.1/build/native-linux-riscv64" -I/include -DJNA_JNI_VERSION='"5.2.0"' -DCHECKSUM='"74e8f8e397c43487738c5c1f1363498b"' -Wno-unknown-warning-option -Wno-clobbered -Wno-unused-variable -c dispatch.c -o /builddir/build/BUILD/jna-4.5.1/build/native-linux-riscv64/dispatch.o [exec] annobin: dispatch.c: Error: plugin built for compiler version (8.1.1) but run with compiler version (8.2.1) [exec] cc1: error: fail to initialize plugin /usr/lib/gcc/riscv64-redhat-linux/8/plugin/annobin.so [exec] cc1: warning: unrecognized command line option '-Wno-unknown-warning-option' [exec] make: *** [Makefile:428: /builddir/build/BUILD/jna-4.5.1/build/native-linux-riscv64/dispatch.o] Error 1 BUILDSTDERR: BUILD FAILED BUILDSTDERR: /builddir/build/BUILD/jna-4.5.1/build.xml:932: exec returned: 2 BUILDSTDERR: Total time: 2 minutes 30 seconds BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.bI4xGJ (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.bI4xGJ (%build) RPM build errors: 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/jna.spec