Mock Version: 2.8 Mock Version: 2.8 Mock Version: 2.8 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/nfs-ganesha.spec'], chrootPath='/var/lib/mock/dist-an23-build-357467-71140/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=989gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/nfs-ganesha.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 warning: Macro expanded in comment on line 3: %{?suse_version} ) warning: Macro expanded in comment on line 5: %{?is_opensuse} ) Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1698969600 Wrote: /builddir/build/SRPMS/nfs-ganesha-5.7-1.an23.src.rpm RPM build warnings: Macro expanded in comment on line 3: %{?suse_version} ) Macro expanded in comment on line 5: %{?is_opensuse} ) Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/nfs-ganesha.spec'], chrootPath='/var/lib/mock/dist-an23-build-357467-71140/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=989gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/nfs-ganesha.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 warning: Macro expanded in comment on line 3: %{?suse_version} ) warning: Macro expanded in comment on line 5: %{?is_opensuse} ) Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1698969600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.7SXZxO + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf nfs-ganesha-5.7 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/nfs-ganesha-5.7.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd nfs-ganesha-5.7 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-config_samples-log_rotate.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0002-CMakeLists.txt.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.zMcn9l + umask 022 + cd /builddir/build/BUILD + 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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -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 -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -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 -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -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/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -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 nfs-ganesha-5.7 + export VERBOSE=1 + VERBOSE=1 + cd src + 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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -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 -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -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 -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -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/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -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 + /usr/bin/cmake -S . -B anolis-linux-build -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_Fortran_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_INSTALL_DO_STRIP:BOOL=OFF -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_INSTALL_LIBDIR:PATH=lib64 -DCMAKE_INSTALL_FULL_LIBDIR:PATH=/usr/lib64 -DCMAKE_INSTALL_LIBEXECDIR:PATH=libexec -DCMAKE_INSTALL_FULL_LIBEXECDIR:PATH=/usr/libexec -DCMAKE_INSTALL_RUNSTATEDIR:PATH=/run -DCMAKE_INSTALL_LOCALSTATEDIR:PATH=/var -DCMAKE_INSTALL_SHAREDSTATEDIR:PATH=/var/lib -DCMAKE_INSTALL_SYSCONFDIR:PATH=/etc -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_SUFFIX=64 -DBUILD_SHARED_LIBS:BOOL=ON -DCMAKE_BUILD_TYPE=RelWithDebInfo -DBUILD_CONFIG=rpmbuild -DCMAKE_COLOR_MAKEFILE:BOOL=OFF -DUSE_FSAL_NULL=ON -DUSE_FSAL_MEM=ON -DUSE_FSAL_XFS=OFF -DUSE_FSAL_LUSTRE=OFF -DUSE_FSAL_CEPH=ON -DUSE_FSAL_RGW=ON -DUSE_FSAL_GPFS=ON -DUSE_FSAL_KVSFS=OFF -DUSE_FSAL_GLUSTER=ON -DUSE_SYSTEM_NTIRPC=ON -DUSE_9P_RDMA=OFF -DUSE_LTTNG=OFF -DUSE_ADMIN_TOOLS=ON -DUSE_GUI_ADMIN_TOOLS=ON -DUSE_RADOS_RECOV=ON -DRADOS_URLS=ON -DUSE_FSAL_VFS=ON -DUSE_FSAL_PROXY_V4=ON -DUSE_FSAL_PROXY_V3=ON -DUSE_DBUS=ON -DUSE_9P=OFF -DDISTNAME_HAS_GIT_DATA=OFF -DUSE_MAN_PAGE=ON -DRPCBIND=ON -D_MSPAC_SUPPORT=ON -DUSE_MONITORING=ON -DSANITIZE_ADDRESS=OFF -DUSE_MONITORING=ON -DCMAKE_LINKER=/usr/bin/ld.mold Re-run cmake no build system arguments CMake Deprecation Warning at CMakeLists.txt:26 (cmake_minimum_required): Compatibility with CMake < 2.8.12 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. -- cmake version 3.26 -- The C compiler identification is GNU 12.2.1 -- The CXX compiler identification is GNU 12.2.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- override default CMAKE_INSTALL_PREFIX = /usr -- Detected an UNKNOWN Linux machine -- toolchain options processed -- Found PkgConfig: /usr/bin/pkg-config (found version "1.8.1") -- Outside a git repository, use saved data CMake Warning at CMakeLists.txt:300 (find_package): By not providing "Findprometheus-cpp-core.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "prometheus-cpp-core", but CMake did not find one. Could not find a package configuration file provided by "prometheus-cpp-core" with any of the following names: prometheus-cpp-coreConfig.cmake prometheus-cpp-core-config.cmake Add the installation prefix of "prometheus-cpp-core" to CMAKE_PREFIX_PATH or set "prometheus-cpp-core_DIR" to a directory containing one of the above files. If "prometheus-cpp-core" provides a separate development package or SDK, be sure it has been installed. CMake Warning at CMakeLists.txt:302 (message): prometheus not found; disabling USE_MONITORING -- Building RPM -- Looking for __GLIBC__ -- Looking for __GLIBC__ - found -- Looking for include file strings.h -- Looking for include file strings.h - found -- Looking for include file string.h -- Looking for include file string.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- found krb5-config here /usr/bin/krb5-config -- Found kerberos 5 headers: /include -- Found kerberos 5 libs: /usr/lib64/libkrb5.so;/usr/lib64/libk5crypto.so;/usr/lib64/libcom_err.so;/usr/lib64/libgssapi_krb5.so -- Looking for include file gssapi.h -- Looking for include file gssapi.h - found -- Found PythonInterp: /usr/bin/python3.10 (found version "3.10.13") -- Looking for include file sys/acl.h -- Looking for include file sys/acl.h - found -- Looking for include file acl/libacl.h -- Looking for include file acl/libacl.h - found -- Looking for acl_get_file in acl -- Looking for acl_get_file in acl - found -- Looking for acl_get_fd_np -- Looking for acl_get_fd_np - not found -- Looking for acl_set_fd_np -- Looking for acl_set_fd_np - not found CMake Warning at CMakeLists.txt:737 (message): Cannot find LizardFS client lib. Disabling lizardfs fsal -- REQUIRED -- Looking for ceph_ll_lookup in cephfs -- Looking for ceph_ll_lookup in cephfs - found -- Looking for ceph_ll_mknod in cephfs -- Looking for ceph_ll_mknod in cephfs - found -- Looking for ceph_ll_setlk in cephfs -- Looking for ceph_ll_setlk in cephfs - found -- Looking for ceph_ll_lookup_root in cephfs -- Looking for ceph_ll_lookup_root in cephfs - found -- Looking for ceph_ll_delegation in cephfs -- Looking for ceph_ll_delegation in cephfs - found -- Looking for ceph_ll_sync_inode in cephfs -- Looking for ceph_ll_sync_inode in cephfs - found -- Looking for ceph_ll_fallocate in cephfs -- Looking for ceph_ll_fallocate in cephfs - found -- Looking for ceph_abort_conn in cephfs -- Looking for ceph_abort_conn in cephfs - found -- Looking for ceph_start_reclaim in cephfs -- Looking for ceph_start_reclaim in cephfs - found -- Looking for ceph_select_filesystem in cephfs -- Looking for ceph_select_filesystem in cephfs - found -- Looking for ceph_ll_register_callbacks in cephfs -- Looking for ceph_ll_register_callbacks in cephfs - found -- Looking for ceph_ll_lookup_vino in cephfs -- Looking for ceph_ll_lookup_vino in cephfs - found -- Looking for CEPH_STATX_INO -- Looking for CEPH_STATX_INO - found -- Looking for ceph_ll_nonblocking_readv_writev in cephfs -- Looking for ceph_ll_nonblocking_readv_writev in cephfs - not found -- Found cephfs libraries: /usr/lib64/libcephfs.so Cannot find ceph_ll_nonblocking_readv_writev. Disabling nonblocking I/O. -- Found CEPHFS: /usr/include -- Checking for module 'glusterfs-api>=7.6.6' -- Found glusterfs-api, version 7.11.0 -- GFAPI_INCLUDE_DIRS=/usr/include/uuid -- GFAPI_LIBRARY_DIRS=/usr/lib64 -- GFAPI_LIBDIR=/usr/lib64 -- Checking for module 'glusterfs-api>=7.6' -- Found glusterfs-api, version 7.11.0 -- Looking for include files unistd.h, sys/xattr.h -- Looking for include files unistd.h, sys/xattr.h - found -- Looking for glfs_xreaddirplus_r in gfapi -- Looking for glfs_xreaddirplus_r in gfapi - found -- Looking for glfs_fd_set_lkowner in gfapi -- Looking for glfs_fd_set_lkowner in gfapi - found -- Looking for glfs_upcall_register in gfapi -- Looking for glfs_upcall_register in gfapi - found -- Looking for glfs_upcall_lease_get_object in gfapi -- Looking for glfs_upcall_lease_get_object in gfapi - found -- Looking for rgw_mount in rgw -- Looking for rgw_mount in rgw - found -- Looking for rgw_mount2 in rgw -- Looking for rgw_mount2 in rgw - found -- Looking for rgw_getxattrs in rgw -- Looking for rgw_getxattrs in rgw - found -- Found rgw libraries: /usr/lib64/librgw.so -- Found RGW: /usr (found suitable version "1.2.0", minimum required is "1.1.7") -- Could NOT find JeMalloc (missing: JEMALLOC_LIBRARY JEMALLOC_INCLUDE_DIR) CMake Warning at CMakeLists.txt:927 (message): jemalloc not found, falling back to libc -- Checking for module 'dbus-1' -- Found dbus-1, version 1.14.8 -- Found nfs idmap library: /usr/lib64/libnfsidmap.so -- Looking for wbcLookupSids in wbclient -- Looking for wbcLookupSids in wbclient - found -- Looking for 3 include files stdint.h, ..., wbclient.h -- Looking for 3 include files stdint.h, ..., wbclient.h - found -- Performing Test WBCLIENT4_H -- Performing Test WBCLIENT4_H - Success -- Found Winbind4 client: -- Looking for rados_read_op_omap_get_vals2 in rados -- Looking for rados_read_op_omap_get_vals2 in rados - found -- Found rados libraries: /usr/lib64/librados.so -- Found RADOS: /usr/include -- Found rados libraries: /usr/lib64/librados.so -- Looking for cap_set_proc in cap -- Looking for cap_set_proc in cap - found -- Found Caps: /usr/lib64/libcap.so -- Looking for include file blkid/blkid.h -- Looking for include file blkid/blkid.h - found -- Looking for blkid_devno_to_devname in blkid -- Looking for blkid_devno_to_devname in blkid - found -- Looking for include file uuid/uuid.h -- Looking for include file uuid/uuid.h - found -- Looking for uuid_parse in uuid -- Looking for uuid_parse in uuid - found -- Looking for daemon in c -- Looking for daemon in c - found CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230 (message): Could NOT find NTIRPC: Found unsuitable version "0.0.0", but required is at least "5.0" (found NTIRPC_INCLUDE_DIR-NOTFOUND) Call Stack (most recent call first): /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:598 (_FPHSA_FAILURE_MESSAGE) cmake/modules/FindNTIRPC.cmake:92 (FIND_PACKAGE_HANDLE_STANDARD_ARGS) CMakeLists.txt:1202 (find_package) -- Configuring incomplete, errors occurred! error: Bad exit status from /var/tmp/rpm-tmp.zMcn9l (%build) RPM build warnings: RPM build errors: Macro expanded in comment on line 3: %{?suse_version} ) Macro expanded in comment on line 5: %{?is_opensuse} ) Bad exit status from /var/tmp/rpm-tmp.zMcn9l (%build) Child return code was: 1 EXCEPTION: [Error()] 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 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 x86_64 --nodeps /builddir/build/SPECS/nfs-ganesha.spec