Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/libtdb.spec'], chrootPath='/var/lib/mock/dist-ocs23-python311-build-48409-2147/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=981gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.d7kj15h1:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.d7kj15h1:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'dd902f2ac4be4d5fbe8b0069eba79295', '-D', '/var/lib/mock/dist-ocs23-python311-build-48409-2147/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.d7kj15h1:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/libtdb.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/libtdb-1.4.8-1.ocs23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/libtdb.spec'], chrootPath='/var/lib/mock/dist-ocs23-python311-build-48409-2147/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=981gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.d7kj15h1:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.d7kj15h1:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'cb60306cf599437e95bdcabe8072f3cd', '-D', '/var/lib/mock/dist-ocs23-python311-build-48409-2147/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.d7kj15h1:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/libtdb.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.HRGwCy + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf tdb-1.4.8 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/tdb-1.4.8.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd tdb-1.4.8 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0003-wafsamba-Fix-few-SyntaxWarnings-caused-by-regular-ex.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.P8aCo8 + umask 022 + cd /builddir/build/BUILD + PYTHONPATH=:/usr/lib/python3.10/site-packages/:/usr/lib64/python3.10/site-packages/ + export PYTHONPATH + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd tdb-1.4.8 + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./lib/replace/configure + diff -u ./lib/replace/configure.backup ./lib/replace/configure + mv ./lib/replace/configure.backup ./lib/replace/configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./lib/replace/configure + diff -u ./lib/replace/configure.backup ./lib/replace/configure + mv ./lib/replace/configure.backup ./lib/replace/configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./lib/replace/configure + diff -u ./lib/replace/configure.backup ./lib/replace/configure + mv ./lib/replace/configure.backup ./lib/replace/configure + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./lib/replace/configure + diff -u ./lib/replace/configure.backup ./lib/replace/configure + mv ./lib/replace/configure.backup ./lib/replace/configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./lib/replace/configure + diff -u ./lib/replace/configure.backup ./lib/replace/configure + mv ./lib/replace/configure.backup ./lib/replace/configure + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld' ']' ++ find . -name ltmain.sh + ./configure --build=x86_64-opencloudos-linux-gnu --host=x86_64-opencloudos-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-rpath --bundled-libraries=NONE --builtin-libraries=replace Setting top to : /builddir/build/BUILD/tdb-1.4.8 Setting out to : /builddir/build/BUILD/tdb-1.4.8/bin Checking for 'gcc' (C compiler) : gcc Checking for program 'git' : not found Checking for c flags '-MMD' : yes Checking for program 'gdb' : not found Checking for header sys/utsname.h : yes Checking uname sysname type : Linux Checking uname machine type : x86_64 Checking uname release type : 6.1.11-2302.1.1 Checking uname version type : #1 SMP PREEMPT_DYNAMIC Thu Apr 6 15:52:39 CST 2023 Checking for header stdio.h : yes Checking simple C program : ok Checking compiler accepts ['-Werror'] : yes Checking linker accepts ['-Wl,-rpath,.'] : yes Checking for rpath library support : yes Checking for -Wl,--version-script support : yes Checking compiler accepts ['-fvisibility=hidden'] : yes Checking for HAVE_VISIBILITY_ATTR : ok Checking for library constructor support : ok Checking for library destructor support : ok Checking for __attribute__ : ok Checking compiler accepts ['-fPIC'] : yes Checking for inline : inline Checking for program 'pkg-config' : /usr/bin/pkg-config Checking for pkg-config version >= '0.0.0' : yes Checking compiler accepts ['-D__STDC_WANT_LIB_EXT1__=1'] : yes Checking compiler accepts [''] : yes Checking for header sys/types.h : yes Checking for header sys/stat.h : yes Checking for header stdlib.h : yes Checking for header stddef.h : yes Checking for header memory.h : yes Checking for header string.h : yes Checking for header strings.h : yes Checking for header inttypes.h : yes Checking for header stdint.h : yes Checking for header unistd.h : yes Checking for header minix/config.h : no Checking for header ctype.h : yes Checking for header standards.h : no Checking for header stdbool.h : yes Checking for header stdarg.h : yes Checking for header vararg.h : no Checking for header limits.h : yes Checking for header assert.h : yes Checking getconf LFS_CFLAGS : not found Checking getconf large file support flags work : ok Checking for large file support without additional flags : ok Checking for header sys/time.h : yes Checking for header time.h : yes Checking for header endian.h : yes Checking for header sys/endian.h : no Checking for HAVE_LITTLE_ENDIAN : ok Checking for HAVE_BIG_ENDIAN : not found Checking for header signal.h : yes Checking if signal handlers return int : not found Checking for variable __FUNCTION__ : ok Checking for va_copy : ok Checking for HAVE__VA_ARGS__MACRO : ok Checking for header linux/types.h : yes Checking for header crypt.h : yes Checking for header locale.h : yes Checking for header acl/libacl.h : no Checking for header compat.h : no Checking for header attr/xattr.h : no Checking for header dustat.h : no Checking for header fcntl.h : yes Checking for header fnmatch.h : yes Checking for header glob.h : yes Checking for header history.h : no Checking for header krb5.h : no Checking for header langinfo.h : yes Checking for header ndir.h : no Checking for header pwd.h : yes Checking for header shadow.h : yes Checking for header sys/acl.h : no Checking for header sys/attributes.h : no Checking for header attr/attributes.h : no Checking for header sys/capability.h : no Checking for header sys/dir.h : yes Checking for header sys/epoll.h : yes Checking for header port.h : no Checking for header sys/fcntl.h : yes Checking for header sys/filio.h : no Checking for header sys/filsys.h : no Checking for header sys/fs/s5param.h : no Checking for header sys/id.h : no Checking for header sys/ioctl.h : yes Checking for header sys/ipc.h : yes Checking for header sys/mman.h : yes Checking for header sys/mode.h : no Checking for header sys/ndir.h : no Checking for header sys/priv.h : no Checking for header sys/resource.h : yes Checking for header sys/security.h : no Checking for header sys/shm.h : yes Checking for header sys/statfs.h : yes Checking for header sys/statvfs.h : yes Checking for header sys/termio.h : no Checking for header sys/vfs.h : yes Checking for header sys/xattr.h : yes Checking for header termio.h : yes Checking for header termios.h : yes Checking for header sys/file.h : yes Checking for header sys/ucontext.h : yes Checking for header sys/wait.h : yes Checking for declaration of malloc : ok Checking for header grp.h : yes Checking for header sys/select.h : yes Checking for header setjmp.h : yes Checking for header utime.h : yes Checking for header sys/syslog.h : yes Checking for header syslog.h : yes Checking for header sys/mount.h : yes Checking for header mntent.h : yes Checking for header stropts.h : no Checking for header unix.h : no Checking for header sys/param.h : yes Checking for header sys/socket.h : yes Checking for header netinet/in.h : yes Checking for header netdb.h : yes Checking for header arpa/inet.h : yes Checking for header netinet/in_systm.h : yes Checking for header netinet/ip.h : yes Checking for header netinet/tcp.h : yes Checking for header netinet/in_ip.h : no Checking for header sys/sockio.h : no Checking for header sys/un.h : yes Checking for header sys/uio.h : yes Checking for header ifaddrs.h : yes Checking for header direct.h : no Checking for header dirent.h : yes Checking for header windows.h : no Checking for header winsock2.h : no Checking for header ws2tcpip.h : no Checking for header errno.h : yes Checking for header getopt.h : yes Checking for header iconv.h : yes Checking for header nss.h : yes Checking for header sasl/sasl.h : no Checking for header linux/openat2.h : yes Checking for inotify_init : ok Checking for header security/pam_appl.h : no Checking for header zlib.h : no Checking for header asm/unistd.h : yes Checking for header sys/unistd.h : yes Checking for header alloca.h : yes Checking for header float.h : yes Checking for header rpc/rpc.h : no Checking for header rpc/nettype.h : no Checking for tirpc rpc headers in default system path : not found Checking for libtirpc headers : not found Checking for libntirpc headers : not found No rpc/rpc.h header found, tirpc or libntirpc missing? Checking for header sys/sysctl.h : not found Checking for header sys/fileio.h : no Checking for header sys/filesys.h : no Checking for header sys/dustat.h : no Checking for header sys/sysmacros.h : yes Checking for header xfs/libxfs.h : no Checking for header netgroup.h : no Checking for header valgrind.h : no Checking for header valgrind/valgrind.h : no Checking for header valgrind/memcheck.h : no Checking for header valgrind/helgrind.h : no Checking for header nss_common.h : no Checking for header nsswitch.h : no Checking for header ns_api.h : no Checking for header sys/extattr.h : no Checking for header sys/ea.h : no Checking for header sys/proplist.h : no Checking for header sys/cdefs.h : yes Checking for header utmp.h : yes Checking for header utmpx.h : yes Checking for header lastlog.h : yes Checking for header syscall.h : yes Checking for header sys/syscall.h : yes Checking for header sys/atomic.h : no Checking for header stdatomic.h : yes Checking for header libgen.h : yes Checking compiler accepts -Wno-format-truncation : yes Checking compiler accepts -Wno-unused-function : yes Checking compiler accepts -Wno-strict-overflow : yes Checking compiler accepts -Wuse-after-free=1 : yes Checking for header sys/prctl.h : yes Checking for prctl syscall : ok Checking for O_DIRECT flag to open(2) : ok Checking for long long : ok Checking for intptr_t : ok Checking for uintptr_t : ok Checking for ptrdiff_t : ok Checking for comparison_fn_t : ok Checking for bool : ok Checking for int8_t : ok Checking for uint8_t : ok Checking for int16_t : ok Checking for uint16_t : ok Checking for int32_t : ok Checking for uint32_t : ok Checking for int64_t : ok Checking for uint64_t : ok Checking for size_t : ok Checking for ssize_t : ok Checking for ino_t : ok Checking for loff_t : ok Checking for offset_t : not found Checking for volatile int : ok Checking for uint_t : not found Checking for blksize_t : ok Checking for blkcnt_t : ok Checking if size of bool == 1 : ok Checking if size of char == 1 : ok Checking if size of int == 1 : not found Checking if size of int == 2 : not found Checking if size of int == 4 : ok Checking if size of long long == 1 : not found Checking if size of long long == 2 : not found Checking if size of long long == 4 : not found Checking if size of long long == 8 : ok Checking if size of long == 1 : not found Checking if size of long == 2 : not found Checking if size of long == 4 : not found Checking if size of long == 8 : ok Checking if size of short == 1 : not found Checking if size of short == 2 : ok Checking if size of size_t == 1 : not found Checking if size of size_t == 2 : not found Checking if size of size_t == 4 : not found Checking if size of size_t == 8 : ok Checking if size of ssize_t == 1 : not found Checking if size of ssize_t == 2 : not found Checking if size of ssize_t == 4 : not found Checking if size of ssize_t == 8 : ok Checking if size of int8_t == 1 : ok Checking if size of uint8_t == 1 : ok Checking if size of int16_t == 1 : not found Checking if size of int16_t == 2 : ok Checking if size of uint16_t == 1 : not found Checking if size of uint16_t == 2 : ok Checking if size of int32_t == 1 : not found Checking if size of int32_t == 2 : not found Checking if size of int32_t == 4 : ok Checking if size of uint32_t == 1 : not found Checking if size of uint32_t == 2 : not found Checking if size of uint32_t == 4 : ok Checking if size of int64_t == 1 : not found Checking if size of int64_t == 2 : not found Checking if size of int64_t == 4 : not found Checking if size of int64_t == 8 : ok Checking if size of uint64_t == 1 : not found Checking if size of uint64_t == 2 : not found Checking if size of uint64_t == 4 : not found Checking if size of uint64_t == 8 : ok Checking if size of void* == 1 : not found Checking if size of void* == 2 : not found Checking if size of void* == 4 : not found Checking if size of void* == 8 : ok Checking if size of off_t == 1 : not found Checking if size of off_t == 2 : not found Checking if size of off_t == 4 : not found Checking if size of off_t == 8 : ok Checking if size of dev_t == 1 : not found Checking if size of dev_t == 2 : not found Checking if size of dev_t == 4 : not found Checking if size of dev_t == 8 : ok Checking if size of ino_t == 1 : not found Checking if size of ino_t == 2 : not found Checking if size of ino_t == 4 : not found Checking if size of ino_t == 8 : ok Checking if size of time_t == 1 : not found Checking if size of time_t == 2 : not found Checking if size of time_t == 4 : not found Checking if size of time_t == 8 : ok Checking for socklen_t : ok Checking for struct ifaddrs : ok Checking for struct addrinfo : ok Checking for struct sockaddr : ok Checking for HAVE_STRUCT_SOCKADDR_IN6 : ok Checking for struct sockaddr_storage : ok Checking for sa_family_t : ok Checking for sig_atomic_t : ok Checking for sigsetmask : ok Checking for siggetmask : ok Checking for sigprocmask : ok Checking for sigblock : ok Checking for sigaction : ok Checking for sigset : ok Checking for inet_ntoa : ok Checking for inet_aton : ok Checking for inet_ntop : ok Checking for inet_pton : ok Checking for connect : ok Checking for gethostbyname : ok Checking for getaddrinfo : ok Checking for getnameinfo : ok Checking for freeaddrinfo : ok Checking for gai_strerror : ok Checking for socketpair : ok Checking for memset_s : not found Checking for memset_explicit : not found Checking for volatile memory protection : ok Checking for variable IPV6_V6ONLY : ok Checking for header net/if.h : yes Checking for HAVE_IPV6 : ok Checking whether we have ucontext_t : ok Checking for __sync_fetch_and_add compiler builtin : ok Checking for __sync_add_and_fetch compiler builtin : ok Checking for atomic_add_32 compiler builtin : not found Checking for __atomic_add_fetch compiler builtin : ok Checking for __atomic_load compiler builtin : ok Checking for atomic_thread_fence(memory_order_seq_cst) in stdatomic.h : ok Checking for fallthrough attribute : ok Checking for strdup : ok Checking for memmem : ok Checking for printf : ok Checking for memset : ok Checking for memcpy : ok Checking for memmove : ok Checking for strcpy : ok Checking for strncpy : ok Checking for bzero : ok Checking for shl_load : not found Checking for shl_unload : not found Checking for shl_findsym : not found Checking for pipe : ok Checking for strftime : ok Checking for srandom : ok Checking for random : ok Checking for srand : ok Checking for rand : ok Checking for usleep : ok Checking for setbuffer : ok Checking for lstat : ok Checking for getpgrp : ok Checking for utime : ok Checking for utimes : ok Checking for setuid : ok Checking for seteuid : ok Checking for setreuid : ok Checking for setresuid : ok Checking for setgid : ok Checking for setegid : ok Checking for setregid : ok Checking for setresgid : ok Checking for chroot : ok Checking for strerror : ok Checking for vsyslog : ok Checking for setlinebuf : ok Checking for mktime : ok Checking for ftruncate : ok Checking for chsize : not found Checking for rename : ok Checking for waitpid : ok Checking for wait4 : ok Checking for initgroups : ok Checking for pread : ok Checking for pwrite : ok Checking for strndup : ok Checking for strcasestr : ok Checking for strsep : ok Checking for strtok_r : ok Checking for mkdtemp : ok Checking for dup2 : ok Checking for dprintf : ok Checking for vdprintf : ok Checking for isatty : ok Checking for chown : ok Checking for lchown : ok Checking for link : ok Checking for readlink : ok Checking for symlink : ok Checking for realpath : ok Checking for snprintf : ok Checking for vsnprintf : ok Checking for asprintf : ok Checking for vasprintf : ok Checking for setenv : ok Checking for unsetenv : ok Checking for strnlen : ok Checking for strtoull : ok Checking for __strtoull : not found Checking for strtouq : ok Checking for strtoll : ok Checking for __strtoll : not found Checking for strtoq : ok Checking for memalign : ok Checking for posix_memalign : ok Checking for fmemopen : ok Checking for header malloc.h : yes Checking for declaration of memalign : ok Checking for posix_fallocate-capable libc : ok Checking for posix_fallocate : ok Checking for prctl : ok Checking for dirname : ok Checking for basename : ok Checking for strlcpy : ok Checking for strlcat : ok Checking for getpeereid : not found Checking for library bsd : no Checking for getpeereid : not found Checking for library setproctitle : no Checking for setproctitle : not found Checking for library bsd : no Checking for setproctitle : not found Checking for setproctitle_init : not found Checking for library bsd : no Checking for setproctitle_init : not found Checking for closefrom : ok Checking whether we can use SO_PEERCRED to get socket credentials : ok Checking correct behavior of strtoll : not found Checking for if_nameindex : ok Checking for if_nametoindex : ok Checking for strerror_r : ok Checking for syslog : ok Checking for gai_strerror : ok Checking for get_current_dir_name : ok Checking for timegm : ok Checking for getifaddrs : ok Checking for freeifaddrs : ok Checking for mmap : ok Checking for setgroups : ok Checking for syscall : ok Checking for setsid : ok Checking for getgrent_r : ok Checking for getgrgid_r : ok Checking for getgrnam_r : ok Checking for getgrouplist : ok Checking for getpagesize : ok Checking for getpwent_r : ok Checking for getpwnam_r : ok Checking for getpwuid_r : ok Checking for epoll_create : ok Checking for port_create : not found Checking for getprogname : not found Checking for copy_file_range : ok Checking for getxattr : ok Checking whether xattr interface takes additional options : not found Checking for dlopen : ok Checking for dlsym : ok Checking for dlerror : ok Checking for dlclose : ok Checking for declaration of dlopen : ok Checking C prototype for dlopen : not found Checking for fdatasync : ok Checking for declaration of fdatasync : ok Checking for clock_gettime : ok Checking whether the clock_gettime clock ID CLOCK_MONOTONIC is available : ok Checking whether the clock_gettime clock ID CLOCK_PROCESS_CPUTIME_ID is available : ok Checking whether the clock_gettime clock ID CLOCK_REALTIME is available : ok Checking for struct timespec : ok Checking for header arpa/nameser.h : yes Checking for header resolv.h : yes Checking for res_search : ok Checking for header libintl.h : yes Checking for library intl : no Checking for declaration of dgettext : ok Checking for declaration of gettext : ok Checking for declaration of bindtextdomain : ok Checking for declaration of textdomain : ok Checking for declaration of bind_textdomain_codeset : ok Checking for bindtextdomain : ok Checking for textdomain : ok Checking for bind_textdomain_codeset : ok Checking for dgettext : ok Checking for gettext : ok Checking for pthread_create : ok Checking for pthread_attr_init : ok Checking for pthread_mutexattr_setrobust : ok Checking for declaration of PTHREAD_MUTEX_ROBUST : not found Checking for declaration of PTHREAD_MUTEX_ROBUST (as enum) : ok Checking for pthread_mutex_consistent : ok Checking for __thread local storage : ok Checking for crypt : not found Checking for library crypt : yes Checking for crypt in crypt : ok Checking for crypt_r : not found Checking for crypt_r in crypt : ok Checking for crypt_rn : not found Checking for crypt_rn in crypt : ok Checking for header readline.h : no Checking for header readline/readline.h : no Checking for header readline/history.h : no Checking for variable rl_event_hook : not found Checking for variable program_invocation_short_name : ok Checking for declaration of snprintf : ok Checking for declaration of vsnprintf : ok Checking for declaration of asprintf : ok Checking for declaration of vasprintf : ok Checking for declaration of errno : ok Checking for declaration of EWOULDBLOCK : ok Checking for declaration of environ : ok Checking for declaration of getgrent_r : ok Checking for declaration of getpwent_r : ok Checking for declaration of pread : ok Checking for declaration of pwrite : ok Checking for declaration of setenv : ok Checking for declaration of setresgid : ok Checking for declaration of setresuid : ok Checking for eventfd : ok Checking for header poll.h : yes Checking for poll : ok Checking for strptime : ok Checking for declaration of strptime : ok Checking for working strptime : ok Checking for declaration of gettimeofday : ok Checking C prototype for gettimeofday : not found Checking C prototype for gettimeofday : ok Checking for C99 vsnprintf : ok Checking for HAVE_SHARED_MMAP : ok Checking for HAVE_MREMAP : ok Checking for HAVE_INCOHERENT_MMAP : not found Checking for HAVE_IMMEDIATE_STRUCTURES : ok Checking for HAVE_MKDIR_MODE : ok Checking for member st_rdev in struct stat : ok Checking for member st_rdev in struct stat : ok Checking for member ss_family in struct sockaddr_storage : ok Checking for member __ss_family in struct sockaddr_storage : not found Checking for member sa_len in struct sockaddr : not found Checking for member sin_len in struct sockaddr_in : not found Checking for member sin6_len in struct sockaddr_in6 : not found Checking for HAVE_UNIXSOCKET : ok Checking for HAVE_SECURE_MKSTEMP : ok Checking for HAVE_IFACE_GETIFADDRS : not found Checking for HAVE_IFACE_AIX : not found Checking for HAVE_IFACE_IFCONF : not found Checking for HAVE_IFACE_IFREQ : not found Checking for declaration of getpwent_r : ok Checking C prototype for getpwent_r : not found Checking for declaration of getgrent_r : ok Checking C prototype for getgrent_r : not found Checking C prototype for getpwent_r : not found Checking C prototype for getgrent_r : not found Checking for strerror_r : ok Checking for XSI (rather than GNU) prototype for strerror_r : not found Checking for program 'xsltproc' : /usr/bin/xsltproc Checking for stylesheet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl : ok Checking for program 'python3' : /usr/bin/python3 Checking for program 'python' : /usr/bin/python3 Checking for program 'python3' : /usr/bin/python3 Checking for python version >= 3.6.0 : 3.11.4 python-config : /usr/bin/python3-config Asking python-config for pyembed '--cflags --libs --ldflags --embed' flags : not found Asking python-config for pyembed '--cflags --libs --ldflags' flags : not found The configuration failed (complete log in /builddir/build/BUILD/tdb-1.4.8/bin/config.log) error: Bad exit status from /var/tmp/rpm-tmp.P8aCo8 (%build) Bad exit status from /var/tmp/rpm-tmp.P8aCo8 (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M cb60306cf599437e95bdcabe8072f3cd -D /var/lib/mock/dist-ocs23-python311-build-48409-2147/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.d7kj15h1:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin --setenv=PROMPT_COMMAND=printf "\\033]0;\\007" --setenv=PS1= \\s-\\v\\$ --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c /usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/libtdb.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.10/site-packages/mockbuild/util.py", line 597, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # /usr/bin/systemd-nspawn -q -M cb60306cf599437e95bdcabe8072f3cd -D /var/lib/mock/dist-ocs23-python311-build-48409-2147/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.d7kj15h1:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin --setenv=PROMPT_COMMAND=printf "\033]0;\007" --setenv=PS1= \s-\v\$ --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c /usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/libtdb.spec