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/rdma-core.spec'], chrootPath='/var/lib/mock/dist-an8.7-build-226545-62190/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/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 Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/rdma-core-42.1-1.an8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/rdma-core.spec'], chrootPath='/var/lib/mock/dist-an8.7-build-226545-62190/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/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 Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.GShKHK + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf rdma-core-42.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/rdma-core-42.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd rdma-core-42.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.HtJPrd + umask 022 + cd /builddir/build/BUILD + cd rdma-core-42.1 + 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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/cmake -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_PREFIX:PATH=/usr -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 -GNinja -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=True -DPYTHON_EXECUTABLE:PATH=/usr/libexec/platform-python -DCMAKE_INSTALL_PYTHON_ARCH_LIB:PATH=/usr/lib64/python3.6/site-packages -DNO_PYVERBS=0 CMake Warning: No source or binary directory provided. Both will be assumed to be the same as the current working directory, but note that this warning will become a fatal error in future CMake releases. -- The C compiler identification is GNU 8.5.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Found cython: /builddir/build/BUILD/rdma-core-42.1/python/cython (found version "0.28.1") -- 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 - Failed -- 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 PythonLibs: /usr/lib64/libpython3.6m.so (found suitable exact version "3.6.8") -- Found pandoc: /usr/bin/pandoc (found version "2.0.6") -- Found rst2man: /usr/bin/rst2man (found version "0.14") -- Looking for pthread.h -- Looking for pthread.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- Found PkgConfig: /usr/bin/pkg-config (found version "1.4.2") -- 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 - found -- Looking for valgrind/drd.h -- Looking for valgrind/drd.h - 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 - Success -- Performing Test HAVE_GLIBC_HWCAP_S390_PCI_MIO -- Performing Test HAVE_GLIBC_HWCAP_S390_PCI_MIO - Success -- Missing Optional Items: -- Compiler attribute symver NOT supported, can not use LTO -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: CMAKE_Fortran_FLAGS_RELEASE CMAKE_VERBOSE_MAKEFILE 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-42.1 + ninja-build -C x86_64-redhat-linux-gnu -v -j64 ninja: Entering directory `x86_64-redhat-linux-gnu' ninja: fatal: chdir to 'x86_64-redhat-linux-gnu' - No such file or directory error: Bad exit status from /var/tmp/rpm-tmp.HtJPrd (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.HtJPrd (%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/rdma-core.spec