['-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