Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/p11-kit.spec'], chrootPath='/var/lib/mock/f41-build-810369-146462/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=604800uid=991gid=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=1706659200 Wrote: /builddir/build/SRPMS/p11-kit-0.25.3-4.fc41.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/p11-kit.spec'], chrootPath='/var/lib/mock/f41-build-810369-146462/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=604800uid=991gid=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=1706659200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.pzcACv + umask 022 + cd /builddir/build/BUILD + gpgv2 --keyring /builddir/build/SOURCES/p11-kit-release-keyring.gpg /builddir/build/SOURCES/p11-kit-0.25.3.tar.xz.sig /builddir/build/SOURCES/p11-kit-0.25.3.tar.xz gpgv: Signature made Wed Nov 15 07:48:44 2023 EST gpgv: using EDDSA key 5D46CB0F763405A7053556F47A75A648B3F9220C gpgv: Good signature from "Zoltan Fridrich " + cd /builddir/build/BUILD + rm -rf p11-kit-0.25.3 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/p11-kit-0.25.3.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd p11-kit-0.25.3 + rm -rf /builddir/build/BUILD/p11-kit-0.25.3-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/p11-kit-0.25.3-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/p11-kit-0.25.3-import-object.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.PQJ46j + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd p11-kit-0.25.3 + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + /usr/bin/meson setup --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 . redhat-linux-build -Dgtk_doc=true -Dman=true -Dtrust_paths=/etc/pki/ca-trust/source:/usr/share/pki/ca-trust-source The Meson build system Version: 1.4.0 Source dir: /builddir/build/BUILD/p11-kit-0.25.3 Build dir: /builddir/build/BUILD/p11-kit-0.25.3/redhat-linux-build Build type: native build Project name: p11-kit Project version: 0.25.3 C compiler for the host machine: gcc (gcc 14.1.1 "gcc (GCC) 14.1.1 20240522 (Red Hat 14.1.1-4)") C linker for the host machine: gcc ld.bfd 2.42.50.20240513 Host machine cpu family: riscv64 Host machine cpu: riscv64 Has header "libintl.h" : YES Library intl found: NO 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" : 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 "sys/un.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 "isatty" : YES Checking for function "issetugid" : NO Checking for function "mkdtemp" : YES Checking for function "mkstemp" : YES Checking for function "readpassphrase" : NO 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 "strnstr" : NO Checking for function "vasprintf" : YES Checking for function "strerror_r" : YES Checking if "GNU strerror_r check" compiles: YES Header "errno.h" has symbol "program_invocation_short_name" : YES Header "stdio.h" has symbol "asprintf" : YES Header "stdio.h" has symbol "vasprintf" : YES Header "stdlib.h" has symbol "reallocarray" : YES Found pkg-config: YES (/usr/bin/pkg-config) 2.1.0 Run-time dependency libffi found: YES 3.4.4 Run-time dependency libtasn1 found: YES 4.19.0 Program asn1Parser found: YES (/usr/bin/asn1Parser) Run-time dependency libsystemd found: YES 255 Run-time dependency systemd found: YES 255 Configuring config.h using configuration Program python3 found: YES (/usr/bin/python3) Executing subproject pkcs11-json pkcs11-json| Project name: pkcs11-json pkcs11-json| Project version: undefined pkcs11-json| Program castxml found: NO pkcs11-json| Program cp found: YES (/usr/bin/cp) pkcs11-json| Build targets in project: 0 pkcs11-json| Subproject pkcs11-json finished. Checking for function "readpassphrase" : NO (cached) Configuring test-init.sh using configuration Compiler for C supports link arguments -Wl,--version-script,/builddir/build/BUILD/p11-kit-0.25.3/p11-kit/libp11-kit.map: YES Compiler for C supports link arguments -Wl,-z,nodelete: YES Compiler for C supports link arguments -Wl,--version-script,/builddir/build/BUILD/p11-kit-0.25.3/p11-kit/p11-module.map: YES Configuring p11-kit-server.service using configuration Program gen-pkcs11-gnu.sh found: YES (/builddir/build/BUILD/p11-kit-0.25.3/p11-kit/gen-pkcs11-gnu.sh) Program test-objects.sh found: YES (/builddir/build/BUILD/p11-kit-0.25.3/p11-kit/test-objects.sh) Program test-lists.sh found: YES (/builddir/build/BUILD/p11-kit-0.25.3/p11-kit/test-lists.sh) Program test-messages.sh found: YES (/builddir/build/BUILD/p11-kit-0.25.3/p11-kit/test-messages.sh) Program test-server.sh found: YES (/builddir/build/BUILD/p11-kit-0.25.3/p11-kit/test-server.sh) Program test-list-mechanisms.sh found: YES (/builddir/build/BUILD/p11-kit-0.25.3/p11-kit/test-list-mechanisms.sh) Program test-list-tokens.sh found: YES (/builddir/build/BUILD/p11-kit-0.25.3/p11-kit/test-list-tokens.sh) Program test-generate-keypair.sh found: YES (/builddir/build/BUILD/p11-kit-0.25.3/p11-kit/test-generate-keypair.sh) Program test-export-public.sh found: YES (/builddir/build/BUILD/p11-kit-0.25.3/p11-kit/test-export-public.sh) Program test-import-public.sh found: YES (/builddir/build/BUILD/p11-kit-0.25.3/p11-kit/test-import-public.sh) Program test-profiles.sh found: YES (/builddir/build/BUILD/p11-kit-0.25.3/p11-kit/test-profiles.sh) Configuring pkcs11.conf.example using configuration Run-time dependency glib-2.0 found: YES 2.80.0 Program gtkdoc-scan found: YES (/usr/bin/gtkdoc-scan) Program gtkdoc-scangobj found: YES (/usr/bin/gtkdoc-scangobj) Program gtkdoc-mkdb found: YES (/usr/bin/gtkdoc-mkdb) Program gtkdoc-mkhtml found: YES (/usr/bin/gtkdoc-mkhtml) Program gtkdoc-fixxref found: YES (/usr/bin/gtkdoc-fixxref) Program xsltproc found: YES (/usr/bin/xsltproc) WARNING: You should add the boolean check kwarg to the run_command call. It currently defaults to false, but it will default to true in future releases of meson. See also: https://github.com/mesonbuild/meson/issues/9300 Program msgfmt found: YES (/usr/bin/msgfmt) Program msginit found: YES (/usr/bin/msginit) Program msgmerge found: YES (/usr/bin/msgmerge) Program xgettext found: YES (/usr/bin/xgettext) Did not find CMake 'cmake' Found CMake: NO Run-time dependency bash-completion found: NO (tried pkgconfig) bash-completion/meson.build:3:13: ERROR: Dependency "bash-completion" not found, tried pkgconfig A full log can be found at /builddir/build/BUILD/p11-kit-0.25.3/redhat-linux-build/meson-logs/meson-log.txt error: Bad exit status from /var/tmp/rpm-tmp.PQJ46j (%build) Bad exit status from /var/tmp/rpm-tmp.PQJ46j (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/site-packages/mockbuild/util.py", line 600, in do_with_status 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