Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/p11-kit.spec'], chrootPath='/var/lib/mock/dist-an8.9-build-365622-71163/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=86400uid=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --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: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/p11-kit-0.23.22-1.0.2.an8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/p11-kit.spec'], chrootPath='/var/lib/mock/dist-an8.9-build-365622-71163/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=86400uid=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --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: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.1FaRon + umask 022 + cd /builddir/build/BUILD + gpgv2 --keyring /builddir/build/SOURCES/gpgkey-462225C3B46F34879FC8496CD605848ED7E69871.gpg /builddir/build/SOURCES/p11-kit-0.23.22.tar.xz.sig /builddir/build/SOURCES/p11-kit-0.23.22.tar.xz gpgv: Signature made Sat Dec 12 02:00:58 2020 CST gpgv: using RSA key 462225C3B46F34879FC8496CD605848ED7E69871 gpgv: issuer "ueno@gnu.org" gpgv: Good signature from "Daiki Ueno " gpgv: aka "Daiki Ueno " + cd /builddir/build/BUILD + rm -rf p11-kit-0.23.22 + /usr/bin/xz -dc /builddir/build/SOURCES/p11-kit-0.23.22.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd p11-kit-0.23.22 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/p11-kit-dt-needed.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/p11-kit-add-sw.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.00wB8U + umask 022 + cd /builddir/build/BUILD + cd p11-kit-0.23.22 + 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,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + /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 . aarch64-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.63.3 Source dir: /builddir/build/BUILD/p11-kit-0.23.22 Build dir: /builddir/build/BUILD/p11-kit-0.23.22/aarch64-redhat-linux-gnu Build type: native build Project name: p11-kit Project version: 0.23.22 C compiler for the host machine: cc (gcc 8.5.0 "cc (GCC) 8.5.0 20210514 (Anolis 8.5.0-20.0.3)") C linker for the host machine: cc ld.bfd 2.30-123 Host machine cpu family: aarch64 Host machine cpu: aarch64 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 "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" : NO Found pkg-config: /usr/bin/pkg-config (1.4.2) Run-time dependency libffi found: YES 3.1 Run-time dependency libtasn1 found: YES 4.13 Program asn1Parser found: YES (/usr/bin/asn1Parser) Run-time dependency libsystemd found: YES 239 Run-time dependency systemd found: YES 239 Configuring config.h using configuration Compiler for C supports link arguments -Wl,--version-script,/builddir/build/BUILD/p11-kit-0.23.22/p11-kit/libp11-kit.map: YES Compiler for C supports link arguments -Wl,--version-script,/builddir/build/BUILD/p11-kit-0.23.22/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.23.22/p11-kit/gen-pkcs11-gnu.sh) Program test-messages.sh found: YES (/builddir/build/BUILD/p11-kit-0.23.22/p11-kit/test-messages.sh) Program test-server.sh found: YES (/builddir/build/BUILD/p11-kit-0.23.22/p11-kit/test-server.sh) Configuring pkcs11.conf.example using configuration Run-time dependency glib-2.0 found: YES 2.68.4 doc/manual/meson.build:69:8: ERROR: gnome.gtkdoc keyword argument 'dependencies' was of type array[CustomTarget | ExternalLibrary | PkgConfigDependency] but should have been array[Dependency | SharedLibrary | StaticLibrary] A full log can be found at /builddir/build/BUILD/p11-kit-0.23.22/aarch64-redhat-linux-gnu/meson-logs/meson-log.txt error: Bad exit status from /var/tmp/rpm-tmp.00wB8U (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.00wB8U (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/p11-kit.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 598, 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 --noclean --target aarch64 --nodeps /builddir/build/SPECS/p11-kit.spec