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 x86_64 --nodeps /builddir/build/SPECS/rdma-core.spec'], chrootPath='/var/lib/mock/dist-an23-build-222682-62187/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=990gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/rdma-core.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: bogus date in %changelog: Thu Dec 16 2022 Cheng Xu - 37.2.1.0.3 Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1671148800 Wrote: /builddir/build/SRPMS/rdma-core-37.2-1.0.3.an23.src.rpm RPM build warnings: bogus date in %changelog: Thu Dec 16 2022 Cheng Xu - 37.2.1.0.3 Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/rdma-core.spec'], chrootPath='/var/lib/mock/dist-an23-build-222682-62187/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=990gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/rdma-core.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: bogus date in %changelog: Thu Dec 16 2022 Cheng Xu - 37.2.1.0.3 Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1671148800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.BFBMdp + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf rdma-core-37.2 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/rdma-core-37.2.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd rdma-core-37.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #3 (udev-keep-NAME_KERNEL-as-default-interface-naming-co.patch):' Patch #3 (udev-keep-NAME_KERNEL-as-default-interface-naming-co.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file kernel-boot/rdma-persistent-naming.rules Patch #300 (0001-ibacm-acm.c-load-plugin-while-it-is-soft-link.patch): + echo 'Patch #300 (0001-ibacm-acm.c-load-plugin-while-it-is-soft-link.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file ibacm/src/acm.c Patch #301 (0001-tests-Fix-comparing-qp_state-for-iWARP-providers.patch): + echo 'Patch #301 (0001-tests-Fix-comparing-qp_state-for-iWARP-providers.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file tests/test_qp.py Patch #1000 (1001-providers-erdma-Add-userspace-verbs-related-header-f.patch): + echo 'Patch #1000 (1001-providers-erdma-Add-userspace-verbs-related-header-f.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file providers/erdma/erdma_db.h patching file providers/erdma/erdma_hw.h patching file providers/erdma/erdma_verbs.h Patch #1001 (1002-providers-erdma-Add-userspace-verbs-implementation.patch): + echo 'Patch #1001 (1002-providers-erdma-Add-userspace-verbs-implementation.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file providers/erdma/erdma_db.c patching file providers/erdma/erdma_verbs.c Patch #1002 (1003-providers-erdma-Add-the-main-module-of-erdma.patch): + echo 'Patch #1002 (1003-providers-erdma-Add-the-main-module-of-erdma.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file libibverbs/verbs.h patching file providers/erdma/erdma.c patching file providers/erdma/erdma.h patching file providers/erdma/erdma_abi.h Patch #1003 (1004-providers-erdma-Add-to-the-build-environment.patch): + echo 'Patch #1003 (1004-providers-erdma-Add-to-the-build-environment.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file CMakeLists.txt patching file MAINTAINERS patching file README.md patching file debian/control patching file debian/copyright patching file kernel-headers/CMakeLists.txt patching file kernel-headers/rdma/erdma-abi.h patching file kernel-headers/rdma/ib_user_ioctl_verbs.h patching file libibverbs/examples/devinfo.c patching file providers/erdma/CMakeLists.txt patching file redhat/rdma-core.spec + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.yN5LeC + 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 -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 -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/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 rdma-core-37.2 + 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 -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 -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/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=Release -DCMAKE_INSTALL_BINDIR:PATH=/usr/bin -DCMAKE_INSTALL_SBINDIR:PATH=/usr/sbin -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib64 -DCMAKE_INSTALL_LIBEXECDIR:PATH=/usr/libexec -DCMAKE_INSTALL_LOCALSTATEDIR:PATH=/var -DCMAKE_INSTALL_SHAREDSTATEDIR:PATH=/var/lib -DCMAKE_INSTALL_INCLUDEDIR:PATH=/usr/include -DCMAKE_INSTALL_INFODIR:PATH=/usr/share/info -DCMAKE_INSTALL_MANDIR:PATH=/usr/share/man -DCMAKE_INSTALL_SYSCONFDIR:PATH=/etc -DCMAKE_INSTALL_SYSTEMD_SERVICEDIR:PATH=/usr/lib/systemd/system -DCMAKE_INSTALL_INITDDIR:PATH=/etc/rc.d/init.d -DCMAKE_INSTALL_RUNDIR:PATH=/run -DCMAKE_INSTALL_DOCDIR:PATH=/usr/share/doc/rdma-core -DCMAKE_INSTALL_UDEV_RULESDIR:PATH=/usr/lib/udev/rules.d -DCMAKE_INSTALL_PERLDIR:PATH=/usr/share/perl5/vendor_perl -DENABLE_IBDIAGS_COMPAT:BOOL=False -DPYTHON_EXECUTABLE:PATH=/usr/bin/python3 -DCMAKE_INSTALL_PYTHON_ARCH_LIB:PATH=/usr/lib64/python3.10/site-packages -DNO_PYVERBS=1 -- The C 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 -- Performing Test HAVE_NO_SPARSE -- Performing Test HAVE_NO_SPARSE - Success -- Performing Test HAVE_C_WARNINGS -- Performing Test HAVE_C_WARNINGS - Success -- Performing Test HAVE_C_WMISSING_PROTOTYPES -- Performing Test HAVE_C_WMISSING_PROTOTYPES - Success -- Performing Test HAVE_C_WMISSING_DECLARATIONS -- Performing Test HAVE_C_WMISSING_DECLARATIONS - Success -- Performing Test HAVE_C_WWRITE_STRINGS -- Performing Test HAVE_C_WWRITE_STRINGS - Success -- Performing Test HAVE_C_WFORMAT_2 -- Performing Test HAVE_C_WFORMAT_2 - Success -- Performing Test HAVE_C_WCAST_FUNCTION -- Performing Test HAVE_C_WCAST_FUNCTION - Success -- Performing Test HAVE_C_WFORMAT_NONLITERAL -- Performing Test HAVE_C_WFORMAT_NONLITERAL - Success -- Performing Test HAVE_C_WDATE_TIME -- Performing Test HAVE_C_WDATE_TIME - Success -- Performing Test HAVE_C_WNESTED_EXTERNS -- Performing Test HAVE_C_WNESTED_EXTERNS - Success -- Performing Test HAVE_C_WORKING_SHADOW -- Performing Test HAVE_C_WORKING_SHADOW - Success -- Performing Test HAVE_C_WORKING_MISSING_FIELD_INITIALIZERS -- Performing Test HAVE_C_WORKING_MISSING_FIELD_INITIALIZERS - Success -- Performing Test HAVE_NO_STRICT_ALIASING -- Performing Test HAVE_NO_STRICT_ALIASING - Success -- Performing Test HAVE_NO_VAR_TRACKING_ASSIGNMENTS -- Performing Test HAVE_NO_VAR_TRACKING_ASSIGNMENTS - Success -- Performing Test HAVE_FUNC_ATTRIBUTE_IFUNC -- Performing Test HAVE_FUNC_ATTRIBUTE_IFUNC - Success -- Performing Test HAVE_FUNC_ATTRIBUTE_SYMVER -- Performing Test HAVE_FUNC_ATTRIBUTE_SYMVER - Success -- Performing Test HAS_CLOEXEC -- Performing Test HAS_CLOEXEC - Success -- Performing Test HAVE_FUNC_ATTRIBUTE_ALWAYS_INLINE -- Performing Test HAVE_FUNC_ATTRIBUTE_ALWAYS_INLINE - Success -- Performing Test HAVE_LONG_LONG_U64 -- Performing Test HAVE_LONG_LONG_U64 - Success -- Performing Test HAVE_GLIBC_UAPI_COMPAT -- Performing Test HAVE_GLIBC_UAPI_COMPAT - Success -- Performing Test HAVE_WORKING_STRICT_ALIASING -- Performing Test HAVE_WORKING_STRICT_ALIASING - Success -- Performing Test HAVE_LARGE_FILES -- Performing Test HAVE_LARGE_FILES - Success -- Looking for stdatomic.h -- Looking for stdatomic.h - found -- Performing Test HAVE_TARGET_SSE -- Performing Test HAVE_TARGET_SSE - Success -- Performing Test SUPPORTS_AS_NEEDED -- Performing Test SUPPORTS_AS_NEEDED - Success -- Performing Test SUPPORTS_NO_UNDEFINED -- Performing Test SUPPORTS_NO_UNDEFINED - Success -- Performing Test _LDSYMVER_SUCCESS -- Performing Test _LDSYMVER_SUCCESS - Success -- Found LDSymVer: GNU -- Found pandoc: /usr/bin/pandoc (found version "2.14.0.3") -- Found rst2man: /usr/bin/rst2man (found version "0.17.1 [release]") -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Found PkgConfig: /usr/bin/pkg-config (found version "1.8.1") -- Checking for modules 'libnl-3.0;libnl-route-3.0' -- Found libnl-3.0, version 3.7.0 -- Found libnl-route-3.0, version 3.7.0 -- Performing Test HAVE_WORKING_IF_H -- Performing Test HAVE_WORKING_IF_H - Success -- Found UDev: /usr/lib64/libudev.so -- Check size of long -- Check size of long - done -- Performing Test HAVE_COHERENT_DMA -- Performing Test HAVE_COHERENT_DMA - Success -- Found Systemd: /usr/lib64/libsystemd.so -- Looking for valgrind/memcheck.h -- Looking for valgrind/memcheck.h - not found -- Looking for valgrind/drd.h -- Looking for valgrind/drd.h - not found -- Performing Test LIBC_HAS_LIBRT -- Performing Test LIBC_HAS_LIBRT - Success -- Performing Test HAVE_STATIC_ASSERT -- Performing Test HAVE_STATIC_ASSERT - Success -- Performing Test HAVE_C_WSTRICT_PROTOTYPES -- Performing Test HAVE_C_WSTRICT_PROTOTYPES - Success -- Performing Test HAVE_C_WOLD_STYLE_DEFINITION -- Performing Test HAVE_C_WOLD_STYLE_DEFINITION - Success -- Performing Test HAVE_C_WREDUNDANT_DECLS -- Performing Test HAVE_C_WREDUNDANT_DECLS - Success -- Performing Test HAVE_GLIBC_GETRANDOM -- Performing Test HAVE_GLIBC_GETRANDOM - Success -- Performing Test HAVE_GLIBC_FXSTAT -- Performing Test HAVE_GLIBC_FXSTAT - Failed -- Missing Optional Items: -- Valgrind memcheck.h NOT enabled -- Valgrind drd.h NOT enabled -- cython NOT found (disabling pyverbs) -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: CMAKE_Fortran_FLAGS_RELEASE CMAKE_INSTALL_DO_STRIP CMAKE_INSTALL_PYTHON_ARCH_LIB INCLUDE_INSTALL_DIR LIB_INSTALL_DIR LIB_SUFFIX SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR -- Build files have been written to: /builddir/build/BUILD/rdma-core-37.2/anolis-linux-build + make VERBOSE=1 -j80 make: *** No targets specified and no makefile found. Stop. error: Bad exit status from /var/tmp/rpm-tmp.yN5LeC (%build) RPM build warnings: RPM build errors: bogus date in %changelog: Thu Dec 16 2022 Cheng Xu - 37.2.1.0.3 Bad exit status from /var/tmp/rpm-tmp.yN5LeC (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/rdma-core.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 x86_64 --nodeps /builddir/build/SPECS/rdma-core.spec