Mock Version: 1.4.13 Mock Version: 1.4.13 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/p11-kit.spec'], chrootPath='/var/lib/mock/f33-build-122158-38236/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': 'C.UTF-8'}shell=Falselogger=timeout=432000uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/p11-kit.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': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1580256000 Wrote: /builddir/build/SRPMS/p11-kit-0.23.20-1.fc33.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/p11-kit.spec'], chrootPath='/var/lib/mock/f33-build-122158-38236/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': 'C.UTF-8'}shell=Falselogger=timeout=432000uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/p11-kit.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': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1580256000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.rKwDRR + umask 022 + cd /builddir/build/BUILD + gpgv2 --keyring /builddir/build/SOURCES/gpgkey-462225C3B46F34879FC8496CD605848ED7E69871.gpg /builddir/build/SOURCES/p11-kit-0.23.20.tar.xz.sig /builddir/build/SOURCES/p11-kit-0.23.20.tar.xz BUILDSTDERR: gpgv: Signature made Wed Jan 29 16:47:54 2020 UTC BUILDSTDERR: gpgv: using RSA key 462225C3B46F34879FC8496CD605848ED7E69871 BUILDSTDERR: gpgv: issuer "ueno@gnu.org" BUILDSTDERR: gpgv: Good signature from "Daiki Ueno " BUILDSTDERR: gpgv: aka "Daiki Ueno " + cd /builddir/build/BUILD + rm -rf p11-kit-0.23.20 + /usr/bin/tar -xof - + /usr/bin/xz -dc /builddir/build/SOURCES/p11-kit-0.23.20.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd p11-kit-0.23.20 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.eDGUHN + umask 022 + cd /builddir/build/BUILD + cd p11-kit-0.23.20 + 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + /usr/bin/meson --buildtype=plain --prefix=/usr --libdir=/usr/lib64 --libexecdir=/usr/libexec --bindir=/usr/bin --sbindir=/usr/sbin --includedir=/usr/include --datadir=/usr/share --mandir=/usr/share/man --infodir=/usr/share/info --localedir=/usr/share/locale --sysconfdir=/etc --localstatedir=/var --sharedstatedir=/var/lib --wrap-mode=nodownload --auto-features=enabled . riscv64-redhat-linux-gnu -Dgtk_doc=true -Dman=true -Dtrust_paths=/etc/pki/ca-trust/source:/usr/share/pki/ca-trust-source The Meson build system Version: 0.52.1 Source dir: /builddir/build/BUILD/p11-kit-0.23.20 Build dir: /builddir/build/BUILD/p11-kit-0.23.20/riscv64-redhat-linux-gnu Build type: native build Project name: p11-kit Project version: 0.23.20 Appending CFLAGS from environment: '-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' Appending LDFLAGS from environment: ['-Wl,-z,relro', '-Wl,--as-needed', '-Wl,-z,now', '-specs=/usr/lib/rpm/redhat/redhat-hardened-ld'] Appending CFLAGS from environment: '-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' Appending LDFLAGS from environment: ['-Wl,-z,relro', '-Wl,--as-needed', '-Wl,-z,now', '-specs=/usr/lib/rpm/redhat/redhat-hardened-ld'] C compiler for the host machine: cc (gcc 10.0.1 "cc (GCC) 10.0.1 20200311 (Red Hat 10.0.1-0.9)") C linker for the host machine: GNU ld.bfd 2.34-2 Host machine cpu family: riscv64 Host machine cpu: riscv64 Checking for size of "unsigned long" : 8 Run-time dependency threads found: YES Checking for function "pthread_create" with dependency threads: YES Checking for function "nanosleep" : YES Checking for function "dlopen" : NO Library dl found: YES Checking for function "dlopen" with dependency -ldl: YES Library nsl found: NO Has header "locale.h" : YES Checking for type "locale_t" : YES Checking for function "newlocale" : YES Checking for function "strerror_l" : YES Has header "sys/resource.h" : YES Has header "ucred.h" : NO Checking for function "fdwalk" : NO Checking for function "getauxval" : YES Checking for function "getexecname" : NO Checking for function "getpeereid" : NO Checking for function "getpeerucred" : NO Checking for function "getprogname" : NO Checking for function "getresuid" : YES Checking for function "issetugid" : NO Checking for function "mkdtemp" : YES Checking for function "mkstemp" : YES Checking for function "secure_getenv" : YES Checking for function "strndup" : YES Checking whether type "struct dirent" has member "d_type" : YES Checking if "thread-local storage class" compiles: YES Checking for function "gmtime_r" : YES Checking if "program_invocation_short_name_test_code" links: YES Checking if "__libc_enable_secure" links: YES Checking if "vsock_test" compiles: YES Checking for type "sighandler_t" : NO Checking for type "sig_t" : NO Checking for type "__sighandler_t" : NO Checking for type "sighandler_t" : NO Checking for type "sig_t" : YES Checking for type "__sighandler_t" : YES Has header "stdbool.h" : YES Checking for function "asprintf" : YES Checking for function "basename" : YES Checking for function "memdup" : NO Checking for function "reallocarray" : YES Checking for function "secure_getenv" : YES (cached) Checking for function "setenv" : YES Checking for function "strerror_r" : YES Checking for function "strnstr" : NO Checking for function "vasprintf" : YES Header has symbol "program_invocation_short_name" : YES Header has symbol "asprintf" : YES Header has symbol "vasprintf" : YES Header has symbol "reallocarray" : YES Found pkg-config: /usr/bin/pkg-config (1.6.3) Run-time dependency libffi found: YES 3.1 Run-time dependency libtasn1 found: YES 4.13 Program asn1Parser found: NO meson.build:354:2: ERROR: Program(s) ['asn1Parser'] not found or not executable A full log can be found at /builddir/build/BUILD/p11-kit-0.23.20/riscv64-redhat-linux-gnu/meson-logs/meson-log.txt RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.eDGUHN (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.eDGUHN (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.7/site-packages/mockbuild/util.py", line 636, 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/p11-kit.spec