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/ceph.spec'], chrootPath='/var/lib/mock/dist-an8-exp-build-273496-64190/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/ceph.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 sh: /usr/bin/python3.6: No such file or directory sh: /usr/bin/python3.6: No such file or directory sh: /usr/bin/python3.6: No such file or directory sh: /usr/bin/python3.6: No such file or directory sh: /usr/bin/python3.6: No such file or directory sh: /usr/bin/python3.6: No such file or directory sh: /usr/bin/python3.6: No such file or directory sh: /usr/bin/python3.6: No such file or directory sh: /usr/bin/python3.6: No such file or directory sh: /usr/bin/python3.6: No such file or directory sh: /usr/bin/python3.6: No such file or directory sh: /usr/bin/python3.6: No such file or directory sh: /usr/bin/python3.6: No such file or directory sh: /usr/bin/python3.6: No such file or directory sh: /usr/bin/python3.6: No such file or directory sh: /usr/bin/python3.6: No such file or directory sh: /usr/bin/python3.6: No such file or directory sh: /usr/bin/python3.6: No such file or directory sh: /usr/bin/python3.6: No such file or directory sh: /usr/bin/python3.6: No such file or directory sh: /usr/bin/python3.6: No such file or directory Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/ceph-15.2.15-0.an8.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/ceph.spec'], chrootPath='/var/lib/mock/dist-an8-exp-build-273496-64190/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/ceph.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.E52oZm + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ceph-15.2.15 + /usr/bin/gzip -dc /builddir/build/SOURCES/ceph-15.2.15.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd ceph-15.2.15 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cd /builddir/build/BUILD + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.HDApVY + umask 022 + cd /builddir/build/BUILD + cd ceph-15.2.15 + cd /builddir/build/BUILD/ceph-15.2.15 + export CPPFLAGS= + CPPFLAGS= + export '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' + 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 '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' + 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 'LDFLAGS=-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + CEPH_MFLAGS_JOBS=-j80 ++ echo -j80 ++ sed s/-j// + CEPH_SMP_NCPUS=80 Available memory: + echo 'Available memory:' + free -h total used free shared buff/cache available Mem: 187Gi 4.8Gi 7.2Gi 2.0Mi 175Gi 181Gi Swap: 0B 0B 0B System limits: + echo 'System limits:' + ulimit -a core file size (blocks, -c) 0 data seg size (kbytes, -d) unlimited scheduling priority (-e) 0 file size (blocks, -f) unlimited pending signals (-i) 767084 max locked memory (kbytes, -l) 64 max memory size (kbytes, -m) unlimited open files (-n) 1024 pipe size (512 bytes, -p) 8 POSIX message queues (bytes, -q) 819200 real-time priority (-r) 0 stack size (kbytes, -s) 8192 cpu time (seconds, -t) unlimited max user processes (-u) 767084 virtual memory (kbytes, -v) unlimited file locks (-x) unlimited + test -n 80 -a 80 -gt 1 + mem_per_process=2500 ++ LANG=C ++ free -m ++ sed -n 's|^Mem: *\([0-9]*\).*$|\1|p' + max_mem=191806 Warning: Reducing build parallelism to -j76 because of memory limits + max_jobs=76 + test 80 -gt 76 + CEPH_SMP_NCPUS=76 + echo 'Warning: Reducing build parallelism to -j76 because of memory limits' + test 76 -le 0 + export CEPH_SMP_NCPUS + export CEPH_MFLAGS_JOBS=-j76 + CEPH_MFLAGS_JOBS=-j76 + env + sort *v*) *v*x*) *x*) ;; ;; ;; __lmod_my_status=$?; __lmod_sh_dbg='v' __lmod_sh_dbg='vx' __lmod_sh_dbg='x' case "$-" in echo "Shell debugging restarted" 1>&2; echo "Shell debugging temporarily silenced: export LMOD_SH_DBG_ON=1 for Lmod's output" 1>&2; esac; eval "$($LMOD_CMD shell "$@")" && eval "$(${LMOD_SETTARG_CMD:-:} -s sh)"; eval ${which_declare} ) | /usr/bin/which --tty-only --read-alias --read-functions --show-tilde --show-dot $@ fi; fi; fi; if [ -n "${__lmod_sh_dbg:-}" ]; then if [ -n "${__lmod_sh_dbg:-}" ]; then return $__lmod_my_status set +$__lmod_sh_dbg; set -$__lmod_sh_dbg; unset __lmod_sh_dbg; BASH_ENV=/usr/share/lmod/lmod/init/bash BASH_FUNC_ml%%=() { eval "$($LMOD_DIR/ml_cmd "$@")" BASH_FUNC_module%%=() { if [ -z "${LMOD_SH_DBG_ON+x}" ]; then BASH_FUNC_which%%=() { ( alias; CEPH_MFLAGS_JOBS=-j76 CEPH_SMP_NCPUS=76 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 CONFIG_SITE=NONE CPPFLAGS= 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 HISTCONTROL=ignoredups HISTSIZE=1000 HOME=/builddir HOSTNAME= LANG=C LDFLAGS=-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld LESSOPEN=||/usr/bin/lesspipe.sh %s LMOD_CMD=/usr/share/lmod/lmod/libexec/lmod LMOD_DIR=/usr/share/lmod/lmod/libexec LMOD_PKG=/usr/share/lmod/lmod LMOD_ROOT=/usr/share/lmod LMOD_SETTARG_FULL_SUPPORT=no LMOD_VERSION=8.7.20 LMOD_sys=Linux LOGNAME=mockbuild MAIL=/var/spool/mail/mockbuild MANPATH=/usr/share/lmod/lmod/share/man: MODULEPATH=/etc/modulefiles:/usr/share/modulefiles:/usr/share/modulefiles/Linux:/usr/share/modulefiles/Core:/usr/share/lmod/lmod/modulefiles/Core MODULEPATH_ROOT=/usr/share/modulefiles MODULESHOME=/usr/share/lmod/lmod OLDPWD=/builddir/build/BUILD/ceph-15.2.15 PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin PKG_CONFIG_PATH=:/usr/lib64/pkgconfig:/usr/share/pkgconfig PROMPT_COMMAND=printf "\033]0;\007" PWD=/builddir/build/BUILD/ceph-15.2.15 PYTHON_DISALLOW_AMBIGUOUS_VERSION=warn RPM_ARCH=x86_64 RPM_BUILD_DIR=/builddir/build/BUILD RPM_BUILD_NCPUS=80 RPM_BUILD_ROOT=/builddir/build/BUILDROOT/ceph-15.2.15-0.an8.x86_64 RPM_DOC_DIR=/usr/share/doc RPM_LD_FLAGS=-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld RPM_OPT_FLAGS=-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 RPM_OS=linux RPM_PACKAGE_NAME=ceph RPM_PACKAGE_RELEASE=0.an8 RPM_PACKAGE_VERSION=15.2.15 RPM_SOURCE_DIR=/builddir/build/SOURCES SHELL=/bin/bash SHLVL=2 TERM=vt100 USER=mockbuild _=/usr/bin/env which_declare=declare -f } } } + mkdir build + cd build + CMAKE=cmake + cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=/usr/lib64 -DCMAKE_INSTALL_LIBEXECDIR=/usr/lib -DCMAKE_INSTALL_LOCALSTATEDIR=/var -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_MANDIR=/usr/share/man -DCMAKE_INSTALL_DOCDIR=/usr/share/doc/ceph -DCMAKE_INSTALL_INCLUDEDIR=/usr/include -DWITH_MANPAGE=ON -DWITH_PYTHON3=3.6 -DWITH_MGR_DASHBOARD_FRONTEND=OFF -DWITH_SELINUX=ON -DWITH_LTTNG=ON -DWITH_BABELTRACE=ON -DWITH_OCF=ON -DWITH_BOOST_CONTEXT=ON -DWITH_LIBRADOSSTRIPER=ON -DWITH_RADOSGW_AMQP_ENDPOINT=ON -DWITH_RADOSGW_KAFKA_ENDPOINT=ON -DBOOST_J=76 -DWITH_GRAFANA=ON -- The CXX compiler identification is GNU 8.5.0 -- The C compiler identification is GNU 8.5.0 -- The ASM compiler identification is GNU -- Found assembler: /usr/bin/cc -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- 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 -- 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 -- Looking for fallocate -- Looking for fallocate - found -- Looking for posix_fadvise -- Looking for posix_fadvise - found -- Looking for posix_fallocate -- Looking for posix_fallocate - found -- Looking for syncfs -- Looking for syncfs - found -- Looking for sync_file_range -- Looking for sync_file_range - found -- Looking for pwritev -- Looking for pwritev - found -- Looking for splice -- Looking for splice - found -- Looking for getgrouplist -- Looking for getgrouplist - found -- Looking for fdatasync -- Looking for fdatasync - found -- Looking for strerror_r -- Looking for strerror_r - found -- Looking for name_to_handle_at -- Looking for name_to_handle_at - found -- Looking for pipe2 -- Looking for pipe2 - found -- Looking for accept4 -- Looking for accept4 - found -- Looking for sigdescr_np -- Looking for sigdescr_np - not found -- Looking for pthread_spin_init -- Looking for pthread_spin_init - found -- Looking for pthread_set_name_np -- Looking for pthread_set_name_np - not found -- Looking for pthread_get_name_np -- Looking for pthread_get_name_np - not found -- Looking for pthread_setname_np -- Looking for pthread_setname_np - found -- Looking for pthread_getname_np -- Looking for pthread_getname_np - found -- Looking for pthread_rwlockattr_setkind_np -- Looking for pthread_rwlockattr_setkind_np - found -- Looking for eventfd -- Looking for eventfd - found -- Looking for getprogname -- Looking for getprogname - not found -- Looking for gettid -- Looking for gettid - not found -- Looking for include file linux/types.h -- Looking for include file linux/types.h - found -- Looking for include file linux/version.h -- Looking for include file linux/version.h - found -- Looking for include file arpa/nameser_compat.h -- Looking for include file arpa/nameser_compat.h - found -- Looking for include file sys/mount.h -- Looking for include file sys/mount.h - found -- Looking for include file sys/param.h -- Looking for include file sys/param.h - found -- Looking for include file sys/types.h -- Looking for include file sys/types.h - found -- Looking for include file sys/vfs.h -- Looking for include file sys/vfs.h - found -- Looking for include file sys/prctl.h -- Looking for include file sys/prctl.h - found -- Looking for include file execinfo.h -- Looking for include file execinfo.h - found -- Looking for include file sched.h -- Looking for include file sched.h - found -- Looking for include file valgrind/helgrind.h -- Looking for include file valgrind/helgrind.h - found -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for stddef.h -- Looking for stddef.h - found -- Check size of __u8 -- Check size of __u8 - done -- Check size of __u16 -- Check size of __u16 - done -- Check size of __u32 -- Check size of __u32 - done -- Check size of __u64 -- Check size of __u64 - done -- Check size of __s8 -- Check size of __s8 - done -- Check size of __s16 -- Check size of __s16 - done -- Check size of __s32 -- Check size of __s32 - done -- Check size of __s64 -- Check size of __s64 - done -- Looking for _POSIX_TIMERS -- Looking for _POSIX_TIMERS - found -- Looking for res_nquery -- Looking for res_nquery - found -- Looking for F_SETPIPE_SZ -- Looking for F_SETPIPE_SZ - found -- Looking for __func__ -- Looking for __func__ - found -- Looking for __PRETTY_FUNCTION__ -- Looking for __PRETTY_FUNCTION__ - found -- Looking for getentropy -- Looking for getentropy - found -- Performing Test STRERROR_R_CHAR_P -- Performing Test STRERROR_R_CHAR_P - Success -- Performing Test HAVE_STAT_ST_MTIM_TV_NSEC -- Performing Test HAVE_STAT_ST_MTIM_TV_NSEC - Success -- Performing Test HAVE_STAT_ST_MTIMESPEC_TV_NSEC -- Performing Test HAVE_STAT_ST_MTIMESPEC_TV_NSEC - Failed -- Performing Test HAVE_UNALIGNED_ACCESS -- Performing Test HAVE_UNALIGNED_ACCESS - Success -- Performing Test HAVE_CXX11_ATOMIC -- Performing Test HAVE_CXX11_ATOMIC - Success -- Found verbs: /usr/lib64/libibverbs.so -- Performing Test HAVE_IBV_EXP -- Performing Test HAVE_IBV_EXP - Failed -- Found rdmacm: /usr/lib64/librdmacm.so -- Looking for backtrace -- Looking for backtrace - found -- backtrace facility detected in default set of libraries -- Found Backtrace: /usr/include -- Found udev: /usr/lib64/libudev.so -- Found blkid: /usr/lib64/libblkid.so -- Found keyutils: /usr/lib64/libkeyutils.so -- Found OpenLdap: /usr/include -- Found FUSE: /usr/lib64/libfuse.so (found version "2.9") -- Found xfs: /usr/lib64/libhandle.so -- Found aio: /lib64/libaio.so CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230 (message): Could NOT find leveldb (missing: LEVELDB_LIBRARIES LEVELDB_INCLUDE_DIR) Call Stack (most recent call first): /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE) cmake/modules/Findleveldb.cmake:18 (find_package_handle_standard_args) CMakeLists.txt:260 (find_package) -- Configuring incomplete, errors occurred! See also "/builddir/build/BUILD/ceph-15.2.15/build/CMakeFiles/CMakeOutput.log". See also "/builddir/build/BUILD/ceph-15.2.15/build/CMakeFiles/CMakeError.log". error: Bad exit status from /var/tmp/rpm-tmp.HDApVY (%build) Bad exit status from /var/tmp/rpm-tmp.HDApVY (%build) RPM build errors: 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/ceph.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/ceph.spec