D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/p11-kit-0.24.0-2.mga9.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.fGvzdS + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf p11-kit-0.24.0 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/p11-kit-0.24.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd p11-kit-0.24.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/p11-kit-0.23.21-linking.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 /home/pterjan/rpmbuild/tmp/rpm-tmp.zaW1D5 + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd p11-kit-0.24.0 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables ' + export FCFLAGS + LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags' + 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 . build -Dgtk_doc=true -Dman=true -Dtrust_paths=/etc/pki/ca-trust/source:/usr/share/pki/ca-trust-source The Meson build system Version: 0.64.0 Source dir: /home/pterjan/rpmbuild/BUILD/p11-kit-0.24.0 Build dir: /home/pterjan/rpmbuild/BUILD/p11-kit-0.24.0/build Build type: native build Project name: p11-kit Project version: 0.24.0 C compiler for the host machine: cc (gcc 12.2.1 "cc (Mageia 12.2.1-0.20221112.1.mga9) 12.2.1 20221112") C linker for the host machine: cc ld.bfd 2.39 Host machine cpu family: x86_64 Host machine cpu: x86_64 Has header "libintl.h" : YES 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 "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" : YES Found pkg-config: /usr/bin/pkg-config (1.8.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 252 Run-time dependency systemd found: YES 252 Configuring config.h using configuration Compiler for C supports link arguments -Wl,--version-script,/home/pterjan/rpmbuild/BUILD/p11-kit-0.24.0/p11-kit/libp11-kit.map: YES Compiler for C supports link arguments -Wl,--version-script,/home/pterjan/rpmbuild/BUILD/p11-kit-0.24.0/p11-kit/p11-module.map: YES Configuring p11-kit-server.service using configuration Program gen-pkcs11-gnu.sh found: YES (/home/pterjan/rpmbuild/BUILD/p11-kit-0.24.0/p11-kit/gen-pkcs11-gnu.sh) Program test-messages.sh found: YES (/home/pterjan/rpmbuild/BUILD/p11-kit-0.24.0/p11-kit/test-messages.sh) Program test-server.sh found: YES (/home/pterjan/rpmbuild/BUILD/p11-kit-0.24.0/p11-kit/test-server.sh) Configuring pkcs11.conf.example using configuration Run-time dependency glib-2.0 found: YES 2.74.1 doc/manual/meson.build:69:8: ERROR: gnome.gtkdoc keyword argument 'dependencies' was of type array[CustomTarget | PkgConfigDependency] but should have been array[Dependency | SharedLibrary | StaticLibrary] A full log can be found at /home/pterjan/rpmbuild/BUILD/p11-kit-0.24.0/build/meson-logs/meson-log.txt WARNING: Running the setup command as `meson [options]` instead of `meson setup [options]` is ambiguous and deprecated. error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.zaW1D5 (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.zaW1D5 (%build) I: [iurt_root_command] ERROR: chroot