Mock Version: 1.4.14 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/ccls.spec'], chrootPath='/var/lib/mock/872902-fedora-rawhide-x86_64-1553367960.832913/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': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.jlyitmnq:/etc/resolv.conf']unshare_net=TrueprintOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'a3c7c93c346b4276bb5c88c4f41febdf', '-D', '/var/lib/mock/872902-fedora-rawhide-x86_64-1553367960.832913/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.jlyitmnq:/etc/resolv.conf', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/ccls.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': 'en_US.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/ccls-0.20181111.1-1.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/ccls.spec'], chrootPath='/var/lib/mock/872902-fedora-rawhide-x86_64-1553367960.832913/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': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.jlyitmnq:/etc/resolv.conf']unshare_net=TrueprintOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'e0b104276d1e4af7a48a96fd8f0310c1', '-D', '/var/lib/mock/872902-fedora-rawhide-x86_64-1553367960.832913/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.jlyitmnq:/etc/resolv.conf', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/ccls.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': 'en_US.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.A6Z3c1 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ccls-0.20181111.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/0.20181111.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd ccls-0.20181111.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Ixla37 + umask 022 + cd /builddir/build/BUILD + cd ccls-0.20181111.1 + cmake -H. -BRelease '-DCMAKE_INSTALL_PREFIX=%{install_prefix}' -DSYSTEM_CLANG=on -DUSE_SHARED_LLVM=on -DLLVM_ENABLE_RTTI=on -- The CXX compiler identification is GNU 9.0.1 -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Setting build type to 'Release' as none was specified. -- Using system Clang -- Found Clang: /usr/lib64/libclangIndex.so (found suitable version "8.0.0", minimum required is "6.0.0") -- Found Curses: /usr/lib64/libcurses.so -- Found ZLIB: /usr/lib64/libz.so (found version "1.2.11") -- Looking for C++ include pthread.h -- Looking for C++ include pthread.h - found -- Looking for pthread_create -- Looking for pthread_create - not found -- Check if compiler accepts -pthread -- Check if compiler accepts -pthread - yes -- Found Threads: TRUE -- Configuring done -- Generating done -- Build files have been written to: /builddir/build/BUILD/ccls-0.20181111.1/Release + cmake --build Release Scanning dependencies of target ccls [ 2%] Building CXX object CMakeFiles/ccls.dir/third_party/siphash.cc.o [ 4%] Building CXX object CMakeFiles/ccls.dir/src/clang_complete.cc.o BUILDSTDERR: In file included from /builddir/build/BUILD/ccls-0.20181111.1/src/clang_complete.hh:22, BUILDSTDERR: from /builddir/build/BUILD/ccls-0.20181111.1/src/clang_complete.cc:16: BUILDSTDERR: /builddir/build/BUILD/ccls-0.20181111.1/src/threaded_queue.hh: In instantiation of 'T ccls::ThreadedQueue::Dequeue() [with T = ccls::CompletionManager::PreloadRequest]': BUILDSTDERR: /builddir/build/BUILD/ccls-0.20181111.1/src/clang_complete.cc:343:55: required from here BUILDSTDERR: /builddir/build/BUILD/ccls-0.20181111.1/src/threaded_queue.hh:136:27: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] BUILDSTDERR: 136 | return std::move(val); BUILDSTDERR: | ^ BUILDSTDERR: /builddir/build/BUILD/ccls-0.20181111.1/src/threaded_queue.hh:136:27: note: remove 'std::move' call BUILDSTDERR: /builddir/build/BUILD/ccls-0.20181111.1/src/threaded_queue.hh: In instantiation of 'T ccls::ThreadedQueue::Dequeue() [with T = std::unique_ptr]': BUILDSTDERR: /builddir/build/BUILD/ccls-0.20181111.1/src/clang_complete.cc:376:46: required from here BUILDSTDERR: /builddir/build/BUILD/ccls-0.20181111.1/src/threaded_queue.hh:136:27: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] BUILDSTDERR: /builddir/build/BUILD/ccls-0.20181111.1/src/threaded_queue.hh:136:27: note: remove 'std::move' call BUILDSTDERR: /builddir/build/BUILD/ccls-0.20181111.1/src/threaded_queue.hh: In instantiation of 'T ccls::ThreadedQueue::Dequeue() [with T = ccls::CompletionManager::DiagnosticRequest]': BUILDSTDERR: /builddir/build/BUILD/ccls-0.20181111.1/src/clang_complete.cc:464:46: required from here BUILDSTDERR: /builddir/build/BUILD/ccls-0.20181111.1/src/threaded_queue.hh:136:27: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] BUILDSTDERR: /builddir/build/BUILD/ccls-0.20181111.1/src/threaded_queue.hh:136:27: note: remove 'std::move' call [ 6%] Building CXX object CMakeFiles/ccls.dir/src/clang_tu.cc.o [ 8%] Building CXX object CMakeFiles/ccls.dir/src/config.cc.o [ 11%] Building CXX object CMakeFiles/ccls.dir/src/filesystem.cc.o [ 13%] Building CXX object CMakeFiles/ccls.dir/src/fuzzy_match.cc.o [ 15%] Building CXX object CMakeFiles/ccls.dir/src/main.cc.o [ 17%] Building CXX object CMakeFiles/ccls.dir/src/include_complete.cc.o [ 20%] Building CXX object CMakeFiles/ccls.dir/src/indexer.cc.o [ 22%] Building CXX object CMakeFiles/ccls.dir/src/log.cc.o [ 24%] Building CXX object CMakeFiles/ccls.dir/src/lsp.cc.o [ 26%] Building CXX object CMakeFiles/ccls.dir/src/match.cc.o [ 28%] Building CXX object CMakeFiles/ccls.dir/src/message_handler.cc.o [ 31%] Building CXX object CMakeFiles/ccls.dir/src/pipeline.cc.o BUILDSTDERR: In file included from /builddir/build/BUILD/ccls-0.20181111.1/src/clang_complete.hh:22, BUILDSTDERR: from /builddir/build/BUILD/ccls-0.20181111.1/src/pipeline.cc:18: BUILDSTDERR: /builddir/build/BUILD/ccls-0.20181111.1/src/threaded_queue.hh: In instantiation of 'std::optional<_Tp> ccls::ThreadedQueue::TryPopFront() [with T = ccls::pipeline::{anonymous}::Index_Request]': BUILDSTDERR: /builddir/build/BUILD/ccls-0.20181111.1/src/pipeline.cc:185:73: required from here BUILDSTDERR: /builddir/build/BUILD/ccls-0.20181111.1/src/threaded_queue.hh:151:27: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] BUILDSTDERR: 151 | return std::move(val); BUILDSTDERR: | ^ BUILDSTDERR: /builddir/build/BUILD/ccls-0.20181111.1/src/threaded_queue.hh:151:27: note: remove 'std::move' call BUILDSTDERR: /builddir/build/BUILD/ccls-0.20181111.1/src/threaded_queue.hh: In instantiation of 'std::optional<_Tp> ccls::ThreadedQueue::TryPopFront() [with T = ccls::IndexUpdate]': BUILDSTDERR: /builddir/build/BUILD/ccls-0.20181111.1/src/pipeline.cc:538:67: required from here BUILDSTDERR: /builddir/build/BUILD/ccls-0.20181111.1/src/threaded_queue.hh:151:27: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] BUILDSTDERR: /builddir/build/BUILD/ccls-0.20181111.1/src/threaded_queue.hh:151:27: note: remove 'std::move' call [ 33%] Building CXX object CMakeFiles/ccls.dir/src/platform_posix.cc.o [ 35%] Building CXX object CMakeFiles/ccls.dir/src/platform_win.cc.o [ 37%] Building CXX object CMakeFiles/ccls.dir/src/position.cc.o [ 40%] Building CXX object CMakeFiles/ccls.dir/src/project.cc.o [ 42%] Building CXX object CMakeFiles/ccls.dir/src/query_utils.cc.o [ 44%] Building CXX object CMakeFiles/ccls.dir/src/query.cc.o [ 46%] Building CXX object CMakeFiles/ccls.dir/src/serializer.cc.o [ 48%] Building CXX object CMakeFiles/ccls.dir/src/test.cc.o [ 51%] Building CXX object CMakeFiles/ccls.dir/src/utils.cc.o [ 53%] Building CXX object CMakeFiles/ccls.dir/src/working_files.cc.o [ 55%] Building CXX object CMakeFiles/ccls.dir/src/messages/ccls_call.cc.o [ 57%] Building CXX object CMakeFiles/ccls.dir/src/messages/ccls_info.cc.o [ 60%] Building CXX object CMakeFiles/ccls.dir/src/messages/ccls_inheritance.cc.o [ 62%] Building CXX object CMakeFiles/ccls.dir/src/messages/ccls_member.cc.o [ 64%] Building CXX object CMakeFiles/ccls.dir/src/messages/ccls_navigate.cc.o [ 66%] Building CXX object CMakeFiles/ccls.dir/src/messages/ccls_reload.cc.o [ 68%] Building CXX object CMakeFiles/ccls.dir/src/messages/ccls_vars.cc.o [ 71%] Building CXX object CMakeFiles/ccls.dir/src/messages/initialize.cc.o [ 73%] Building CXX object CMakeFiles/ccls.dir/src/messages/textDocument_code.cc.o [ 75%] Building CXX object CMakeFiles/ccls.dir/src/messages/textDocument_completion.cc.o [ 77%] Building CXX object CMakeFiles/ccls.dir/src/messages/textDocument_definition.cc.o [ 80%] Building CXX object CMakeFiles/ccls.dir/src/messages/textDocument_did.cc.o [ 82%] Building CXX object CMakeFiles/ccls.dir/src/messages/textDocument_foldingRange.cc.o [ 84%] Building CXX object CMakeFiles/ccls.dir/src/messages/textDocument_formatting.cc.o [ 86%] Building CXX object CMakeFiles/ccls.dir/src/messages/textDocument_document.cc.o [ 88%] Building CXX object CMakeFiles/ccls.dir/src/messages/textDocument_hover.cc.o [ 91%] Building CXX object CMakeFiles/ccls.dir/src/messages/textDocument_references.cc.o [ 93%] Building CXX object CMakeFiles/ccls.dir/src/messages/textDocument_rename.cc.o [ 95%] Building CXX object CMakeFiles/ccls.dir/src/messages/textDocument_signatureHelp.cc.o [ 97%] Building CXX object CMakeFiles/ccls.dir/src/messages/workspace.cc.o [100%] Linking CXX executable ccls [100%] Built target ccls + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.ZoNhnk + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ccls-0.20181111.1-1.fc31.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ccls-0.20181111.1-1.fc31.x86_64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/ccls-0.20181111.1-1.fc31.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ccls-0.20181111.1-1.fc31.x86_64 + cd ccls-0.20181111.1 + mkdir -p /builddir/build/BUILDROOT/ccls-0.20181111.1-1.fc31.x86_64/usr/bin + install Release/ccls /builddir/build/BUILDROOT/ccls-0.20181111.1-1.fc31.x86_64/usr/bin/ccls + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: ccls-0.20181111.1-1.fc31.x86_64 Provides: ccls = 0.20181111.1-1.fc31 ccls(x86-64) = 0.20181111.1-1.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libLLVM-8.so()(64bit) libLLVM-8.so(LLVM_8)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libclangAST.so.8()(64bit) libclangAnalysis.so.8()(64bit) libclangBasic.so.8()(64bit) libclangDriver.so.8()(64bit) libclangEdit.so.8()(64bit) libclangFormat.so.8()(64bit) libclangFrontend.so.8()(64bit) libclangIndex.so.8()(64bit) libclangLex.so.8()(64bit) libclangParse.so.8()(64bit) libclangRewrite.so.8()(64bit) libclangSema.so.8()(64bit) libclangSerialization.so.8()(64bit) libclangTooling.so.8()(64bit) libclangToolingCore.so.8()(64bit) libclangToolingInclusions.so.8()(64bit) libform.so.6()(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libm.so.6()(64bit) libncurses.so.6()(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.2.5)(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.2)(64bit) libstdc++.so.6(CXXABI_1.3.5)(64bit) libstdc++.so.6(CXXABI_1.3.8)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.11)(64bit) libstdc++.so.6(GLIBCXX_3.4.14)(64bit) libstdc++.so.6(GLIBCXX_3.4.15)(64bit) libstdc++.so.6(GLIBCXX_3.4.17)(64bit) libstdc++.so.6(GLIBCXX_3.4.18)(64bit) libstdc++.so.6(GLIBCXX_3.4.19)(64bit) libstdc++.so.6(GLIBCXX_3.4.20)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) libstdc++.so.6(GLIBCXX_3.4.22)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) libtinfo.so.6()(64bit) libz.so.1()(64bit) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ccls-0.20181111.1-1.fc31.x86_64 Wrote: /builddir/build/RPMS/ccls-0.20181111.1-1.fc31.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.ErPKAx + umask 022 + cd /builddir/build/BUILD + cd ccls-0.20181111.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/ccls-0.20181111.1-1.fc31.x86_64 + exit 0 Child return code was: 0