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.7-build-272464-64170/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 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.7-build-272464-64170/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.vs9o6f + 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 + tar -xf /builddir/build/SOURCES/leveldb.tar.gz + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.p4L9zX + umask 022 + cd /builddir/build/BUILD + cd ceph-15.2.15 + cd /builddir/build/BUILD + cd leveldb + mkdir -p build + cd build + cmake -DCMAKE_BUILD_TYPE=Release .. -- The C compiler identification is GNU 8.5.0 -- The CXX 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 -- 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 -- Looking for unistd.h -- Looking for unistd.h - found -- Looking for crc32c_value in crc32c -- Looking for crc32c_value in crc32c - not found -- Looking for snappy_compress in snappy -- Looking for snappy_compress in snappy - found -- Looking for zstd_compress in zstd -- Looking for zstd_compress in zstd - not found -- Looking for malloc in tcmalloc -- Looking for malloc in tcmalloc - not found -- Looking for fdatasync -- Looking for fdatasync - found -- Looking for F_FULLFSYNC -- Looking for F_FULLFSYNC - not found -- Looking for O_CLOEXEC -- Looking for O_CLOEXEC - found -- Performing Test HAVE_CLANG_THREAD_SAFETY -- Performing Test HAVE_CLANG_THREAD_SAFETY - Failed -- Performing Test LEVELDB_HAVE_NO_MISSING_FIELD_INITIALIZERS -- Performing Test LEVELDB_HAVE_NO_MISSING_FIELD_INITIALIZERS - Success -- Performing Test HAVE_CXX17_HAS_INCLUDE -- Performing Test HAVE_CXX17_HAS_INCLUDE - Success -- 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 Python: /usr/bin/python3.6 (found version "3.6.8") found components: Interpreter -- Failed to find LLVM FileCheck -- Found Git: /usr/bin/git (found version "2.39.3") -- git version: v1.7.1-50-gf7547e29 normalized to 1.7.1.50 -- Version: 1.7.1.50 -- Looking for shm_open in rt -- Looking for shm_open in rt - found -- Performing Test HAVE_CXX_FLAG_WALL -- Performing Test HAVE_CXX_FLAG_WALL - Success -- Performing Test HAVE_CXX_FLAG_WEXTRA -- Performing Test HAVE_CXX_FLAG_WEXTRA - Success -- Performing Test HAVE_CXX_FLAG_WSHADOW -- Performing Test HAVE_CXX_FLAG_WSHADOW - Success -- Performing Test HAVE_CXX_FLAG_WFLOAT_EQUAL -- Performing Test HAVE_CXX_FLAG_WFLOAT_EQUAL - Success -- Performing Test HAVE_CXX_FLAG_WERROR -- Performing Test HAVE_CXX_FLAG_WERROR - Success -- Performing Test HAVE_CXX_FLAG_WSUGGEST_OVERRIDE -- Performing Test HAVE_CXX_FLAG_WSUGGEST_OVERRIDE - Success -- Performing Test HAVE_CXX_FLAG_PEDANTIC -- Performing Test HAVE_CXX_FLAG_PEDANTIC - Success -- Performing Test HAVE_CXX_FLAG_PEDANTIC_ERRORS -- Performing Test HAVE_CXX_FLAG_PEDANTIC_ERRORS - Success -- Performing Test HAVE_CXX_FLAG_WSHORTEN_64_TO_32 -- Performing Test HAVE_CXX_FLAG_WSHORTEN_64_TO_32 - Failed -- Performing Test HAVE_CXX_FLAG_FSTRICT_ALIASING -- Performing Test HAVE_CXX_FLAG_FSTRICT_ALIASING - Success -- Performing Test HAVE_CXX_FLAG_WNO_DEPRECATED_DECLARATIONS -- Performing Test HAVE_CXX_FLAG_WNO_DEPRECATED_DECLARATIONS - Success -- Performing Test HAVE_CXX_FLAG_WNO_DEPRECATED -- Performing Test HAVE_CXX_FLAG_WNO_DEPRECATED - Success -- Performing Test HAVE_CXX_FLAG_FNO_EXCEPTIONS -- Performing Test HAVE_CXX_FLAG_FNO_EXCEPTIONS - Success -- Performing Test HAVE_CXX_FLAG_WSTRICT_ALIASING -- Performing Test HAVE_CXX_FLAG_WSTRICT_ALIASING - Success -- Performing Test HAVE_CXX_FLAG_WD654 -- Performing Test HAVE_CXX_FLAG_WD654 - Failed -- Performing Test HAVE_CXX_FLAG_WTHREAD_SAFETY -- Performing Test HAVE_CXX_FLAG_WTHREAD_SAFETY - Failed -- Performing Test HAVE_CXX_FLAG_COVERAGE -- Performing Test HAVE_CXX_FLAG_COVERAGE - Success -- Compiling and running to test HAVE_STD_REGEX -- Performing Test HAVE_STD_REGEX -- success -- Compiling and running to test HAVE_GNU_POSIX_REGEX -- Performing Test HAVE_GNU_POSIX_REGEX -- failed to compile -- Compiling and running to test HAVE_POSIX_REGEX -- Performing Test HAVE_POSIX_REGEX -- success -- Compiling and running to test HAVE_STEADY_CLOCK -- Performing Test HAVE_STEADY_CLOCK -- success -- Check if compiler accepts -pthread -- Check if compiler accepts -pthread - yes -- Compiling and running to test HAVE_PTHREAD_AFFINITY -- Performing Test HAVE_PTHREAD_AFFINITY -- failed to compile -- Looking for sqlite3_open in sqlite3 -- Looking for sqlite3_open in sqlite3 - not found -- Performing Test HAVE_KYOTOCABINET -- Performing Test HAVE_KYOTOCABINET - Failed -- Configuring done -- Generating done -- Build files have been written to: /builddir/build/BUILD/leveldb/build + cmake --build . [ 1%] Building CXX object CMakeFiles/leveldb.dir/db/builder.cc.o [ 2%] Building CXX object CMakeFiles/leveldb.dir/db/c.cc.o [ 3%] Building CXX object CMakeFiles/leveldb.dir/db/db_impl.cc.o [ 4%] Building CXX object CMakeFiles/leveldb.dir/db/db_iter.cc.o [ 5%] Building CXX object CMakeFiles/leveldb.dir/db/dbformat.cc.o [ 6%] Building CXX object CMakeFiles/leveldb.dir/db/dumpfile.cc.o [ 7%] Building CXX object CMakeFiles/leveldb.dir/db/filename.cc.o [ 8%] Building CXX object CMakeFiles/leveldb.dir/db/log_reader.cc.o [ 9%] Building CXX object CMakeFiles/leveldb.dir/db/log_writer.cc.o [ 10%] Building CXX object CMakeFiles/leveldb.dir/db/memtable.cc.o [ 11%] Building CXX object CMakeFiles/leveldb.dir/db/repair.cc.o [ 12%] Building CXX object CMakeFiles/leveldb.dir/db/table_cache.cc.o [ 13%] Building CXX object CMakeFiles/leveldb.dir/db/version_edit.cc.o [ 13%] Building CXX object CMakeFiles/leveldb.dir/db/version_set.cc.o [ 14%] Building CXX object CMakeFiles/leveldb.dir/db/write_batch.cc.o [ 15%] Building CXX object CMakeFiles/leveldb.dir/table/block_builder.cc.o [ 16%] Building CXX object CMakeFiles/leveldb.dir/table/block.cc.o [ 17%] Building CXX object CMakeFiles/leveldb.dir/table/filter_block.cc.o [ 18%] Building CXX object CMakeFiles/leveldb.dir/table/format.cc.o [ 19%] Building CXX object CMakeFiles/leveldb.dir/table/iterator.cc.o [ 20%] Building CXX object CMakeFiles/leveldb.dir/table/merger.cc.o [ 21%] Building CXX object CMakeFiles/leveldb.dir/table/table_builder.cc.o [ 22%] Building CXX object CMakeFiles/leveldb.dir/table/table.cc.o [ 23%] Building CXX object CMakeFiles/leveldb.dir/table/two_level_iterator.cc.o [ 24%] Building CXX object CMakeFiles/leveldb.dir/util/arena.cc.o [ 25%] Building CXX object CMakeFiles/leveldb.dir/util/bloom.cc.o [ 26%] Building CXX object CMakeFiles/leveldb.dir/util/cache.cc.o [ 27%] Building CXX object CMakeFiles/leveldb.dir/util/coding.cc.o [ 28%] Building CXX object CMakeFiles/leveldb.dir/util/comparator.cc.o [ 29%] Building CXX object CMakeFiles/leveldb.dir/util/crc32c.cc.o [ 29%] Building CXX object CMakeFiles/leveldb.dir/util/env.cc.o [ 30%] Building CXX object CMakeFiles/leveldb.dir/util/filter_policy.cc.o [ 31%] Building CXX object CMakeFiles/leveldb.dir/util/hash.cc.o [ 32%] Building CXX object CMakeFiles/leveldb.dir/util/logging.cc.o [ 33%] Building CXX object CMakeFiles/leveldb.dir/util/options.cc.o [ 34%] Building CXX object CMakeFiles/leveldb.dir/util/status.cc.o [ 35%] Building CXX object CMakeFiles/leveldb.dir/util/env_posix.cc.o [ 36%] Building CXX object CMakeFiles/leveldb.dir/helpers/memenv/memenv.cc.o [ 37%] Linking CXX static library libleveldb.a [ 37%] Built target leveldb [ 38%] Building CXX object CMakeFiles/leveldbutil.dir/db/leveldbutil.cc.o [ 39%] Linking CXX executable leveldbutil [ 39%] Built target leveldbutil [ 40%] Building CXX object third_party/googletest/googletest/CMakeFiles/gtest.dir/src/gtest-all.cc.o [ 41%] Linking CXX static library ../../../lib/libgtest.a [ 41%] Built target gtest [ 42%] Building CXX object third_party/googletest/googlemock/CMakeFiles/gmock.dir/src/gmock-all.cc.o [ 43%] Linking CXX static library ../../../lib/libgmock.a [ 43%] Built target gmock [ 44%] Building CXX object CMakeFiles/env_posix_test.dir/util/testutil.cc.o [ 45%] Building CXX object CMakeFiles/env_posix_test.dir/util/env_posix_test.cc.o [ 46%] Linking CXX executable env_posix_test [ 46%] Built target env_posix_test [ 47%] Building CXX object third_party/googletest/googletest/CMakeFiles/gtest_main.dir/src/gtest_main.cc.o [ 48%] Linking CXX static library ../../../lib/libgtest_main.a [ 48%] Built target gtest_main [ 49%] Building CXX object CMakeFiles/leveldb_tests.dir/util/status_test.cc.o [ 50%] Building CXX object CMakeFiles/leveldb_tests.dir/util/no_destructor_test.cc.o [ 51%] Building CXX object CMakeFiles/leveldb_tests.dir/util/testutil.cc.o [ 52%] Building CXX object CMakeFiles/leveldb_tests.dir/db/autocompact_test.cc.o [ 53%] Building CXX object CMakeFiles/leveldb_tests.dir/db/corruption_test.cc.o [ 54%] Building CXX object CMakeFiles/leveldb_tests.dir/db/db_test.cc.o [ 55%] Building CXX object CMakeFiles/leveldb_tests.dir/db/dbformat_test.cc.o [ 56%] Building CXX object CMakeFiles/leveldb_tests.dir/db/filename_test.cc.o [ 57%] Building CXX object CMakeFiles/leveldb_tests.dir/db/log_test.cc.o [ 57%] Building CXX object CMakeFiles/leveldb_tests.dir/db/recovery_test.cc.o [ 58%] Building CXX object CMakeFiles/leveldb_tests.dir/db/skiplist_test.cc.o [ 59%] Building CXX object CMakeFiles/leveldb_tests.dir/db/version_edit_test.cc.o [ 60%] Building CXX object CMakeFiles/leveldb_tests.dir/db/version_set_test.cc.o [ 61%] Building CXX object CMakeFiles/leveldb_tests.dir/db/write_batch_test.cc.o [ 62%] Building CXX object CMakeFiles/leveldb_tests.dir/helpers/memenv/memenv_test.cc.o [ 63%] Building CXX object CMakeFiles/leveldb_tests.dir/table/filter_block_test.cc.o [ 64%] Building CXX object CMakeFiles/leveldb_tests.dir/table/table_test.cc.o [ 65%] Building CXX object CMakeFiles/leveldb_tests.dir/util/arena_test.cc.o [ 66%] Building CXX object CMakeFiles/leveldb_tests.dir/util/bloom_test.cc.o [ 67%] Building CXX object CMakeFiles/leveldb_tests.dir/util/cache_test.cc.o [ 68%] Building CXX object CMakeFiles/leveldb_tests.dir/util/coding_test.cc.o [ 69%] Building CXX object CMakeFiles/leveldb_tests.dir/util/crc32c_test.cc.o [ 70%] Building CXX object CMakeFiles/leveldb_tests.dir/util/hash_test.cc.o [ 71%] Building CXX object CMakeFiles/leveldb_tests.dir/util/logging_test.cc.o [ 72%] Linking CXX executable leveldb_tests [ 72%] Built target leveldb_tests [ 73%] Building CXX object CMakeFiles/c_test.dir/util/testutil.cc.o [ 74%] Building C object CMakeFiles/c_test.dir/db/c_test.c.o [ 75%] Linking CXX executable c_test [ 75%] Built target c_test [ 75%] Building CXX object third_party/benchmark/src/CMakeFiles/benchmark.dir/benchmark.cc.o [ 76%] Building CXX object third_party/benchmark/src/CMakeFiles/benchmark.dir/benchmark_api_internal.cc.o [ 77%] Building CXX object third_party/benchmark/src/CMakeFiles/benchmark.dir/benchmark_name.cc.o [ 78%] Building CXX object third_party/benchmark/src/CMakeFiles/benchmark.dir/benchmark_register.cc.o [ 79%] Building CXX object third_party/benchmark/src/CMakeFiles/benchmark.dir/benchmark_runner.cc.o [ 80%] Building CXX object third_party/benchmark/src/CMakeFiles/benchmark.dir/check.cc.o [ 81%] Building CXX object third_party/benchmark/src/CMakeFiles/benchmark.dir/colorprint.cc.o [ 82%] Building CXX object third_party/benchmark/src/CMakeFiles/benchmark.dir/commandlineflags.cc.o [ 83%] Building CXX object third_party/benchmark/src/CMakeFiles/benchmark.dir/complexity.cc.o [ 84%] Building CXX object third_party/benchmark/src/CMakeFiles/benchmark.dir/console_reporter.cc.o [ 85%] Building CXX object third_party/benchmark/src/CMakeFiles/benchmark.dir/counter.cc.o [ 86%] Building CXX object third_party/benchmark/src/CMakeFiles/benchmark.dir/csv_reporter.cc.o [ 87%] Building CXX object third_party/benchmark/src/CMakeFiles/benchmark.dir/json_reporter.cc.o [ 88%] Building CXX object third_party/benchmark/src/CMakeFiles/benchmark.dir/perf_counters.cc.o [ 89%] Building CXX object third_party/benchmark/src/CMakeFiles/benchmark.dir/reporter.cc.o [ 90%] Building CXX object third_party/benchmark/src/CMakeFiles/benchmark.dir/statistics.cc.o [ 91%] Building CXX object third_party/benchmark/src/CMakeFiles/benchmark.dir/string_util.cc.o [ 91%] Building CXX object third_party/benchmark/src/CMakeFiles/benchmark.dir/sysinfo.cc.o [ 92%] Building CXX object third_party/benchmark/src/CMakeFiles/benchmark.dir/timers.cc.o [ 93%] Linking CXX static library libbenchmark.a [ 93%] Built target benchmark [ 94%] Building CXX object CMakeFiles/db_bench.dir/util/histogram.cc.o [ 95%] Building CXX object CMakeFiles/db_bench.dir/util/testutil.cc.o [ 96%] Building CXX object CMakeFiles/db_bench.dir/benchmarks/db_bench.cc.o [ 97%] Linking CXX executable db_bench [ 97%] Built target db_bench [ 98%] Building CXX object third_party/googletest/googlemock/CMakeFiles/gmock_main.dir/src/gmock_main.cc.o [ 98%] Linking CXX static library ../../../lib/libgmock_main.a [ 98%] Built target gmock_main [ 99%] Building CXX object third_party/benchmark/src/CMakeFiles/benchmark_main.dir/benchmark_main.cc.o [100%] Linking CXX static library libbenchmark_main.a [100%] Built target benchmark_main + make install Consolidate compiler generated dependencies of target leveldb [ 37%] Built target leveldb Consolidate compiler generated dependencies of target leveldbutil [ 39%] Built target leveldbutil Consolidate compiler generated dependencies of target gtest [ 41%] Built target gtest Consolidate compiler generated dependencies of target gmock [ 43%] Built target gmock Consolidate compiler generated dependencies of target env_posix_test [ 46%] Built target env_posix_test Consolidate compiler generated dependencies of target gtest_main [ 48%] Built target gtest_main Consolidate compiler generated dependencies of target leveldb_tests [ 72%] Built target leveldb_tests Consolidate compiler generated dependencies of target c_test [ 75%] Built target c_test Consolidate compiler generated dependencies of target benchmark [ 93%] Built target benchmark Consolidate compiler generated dependencies of target db_bench [ 97%] Built target db_bench Consolidate compiler generated dependencies of target gmock_main [ 98%] Built target gmock_main Consolidate compiler generated dependencies of target benchmark_main [100%] Built target benchmark_main Install the project... -- Install configuration: "Release" -- Installing: /usr/local/lib64/libleveldb.a CMake Error at cmake_install.cmake:46 (file): file INSTALL cannot copy file "/builddir/build/BUILD/leveldb/build/libleveldb.a" to "/usr/local/lib64/libleveldb.a": Permission denied. make: *** [Makefile:71: install] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.p4L9zX (%build) Bad exit status from /var/tmp/rpm-tmp.p4L9zX (%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