Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/ccls.spec'], chrootPath='/var/lib/mock/f33-build-225113-48457/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=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --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: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1588723200 Wrote: /builddir/build/SRPMS/ccls-0.20190823.6-1.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/ccls.spec'], chrootPath='/var/lib/mock/f33-build-225113-48457/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=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --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: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1588723200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ciHMFx + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ccls-0.20190823.6 + /usr/bin/gzip -dc /builddir/build/SOURCES/ccls-0.20190823.6.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd ccls-0.20190823.6 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/0001-cmake-support-CLANG_LINK_CLANG_DYLIB.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + rm -rf third_party/rapidjson + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.43wqlx + umask 022 + cd /builddir/build/BUILD + cd ccls-0.20190823.6 + mkdir build ~/build/BUILD/ccls-0.20190823.6/build ~/build/BUILD/ccls-0.20190823.6 + pushd build + 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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + /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 .. -DCLANG_LINK_CLANG_DYLIB=ON -- The CXX compiler identification is GNU 10.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. -- Looking for C++ include pthread.h -- Looking for C++ include pthread.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed -- Check if compiler accepts -pthread -- Check if compiler accepts -pthread - yes -- Found Threads: TRUE -- RapidJSON found. Headers: /usr/include -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: CMAKE_C_FLAGS_RELEASE CMAKE_Fortran_FLAGS_RELEASE INCLUDE_INSTALL_DIR LIB_INSTALL_DIR LIB_SUFFIX SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR -- Build files have been written to: /builddir/build/BUILD/ccls-0.20190823.6/build + /usr/bin/make -O -j4 V=1 VERBOSE=1 /usr/bin/cmake -S/builddir/build/BUILD/ccls-0.20190823.6 -B/builddir/build/BUILD/ccls-0.20190823.6/build --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/ccls-0.20190823.6/build/CMakeFiles /builddir/build/BUILD/ccls-0.20190823.6/build/CMakeFiles/progress.marks /usr/bin/make -f CMakeFiles/Makefile2 all /usr/bin/make -f CMakeFiles/ccls.dir/build.make CMakeFiles/ccls.dir/depend make[2]: Entering directory '/builddir/build/BUILD/ccls-0.20190823.6/build' cd /builddir/build/BUILD/ccls-0.20190823.6/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/ccls-0.20190823.6 /builddir/build/BUILD/ccls-0.20190823.6 /builddir/build/BUILD/ccls-0.20190823.6/build /builddir/build/BUILD/ccls-0.20190823.6/build /builddir/build/BUILD/ccls-0.20190823.6/build/CMakeFiles/ccls.dir/DependInfo.cmake --color= Dependee "/builddir/build/BUILD/ccls-0.20190823.6/build/CMakeFiles/ccls.dir/DependInfo.cmake" is newer than depender "/builddir/build/BUILD/ccls-0.20190823.6/build/CMakeFiles/ccls.dir/depend.internal". Dependee "/builddir/build/BUILD/ccls-0.20190823.6/build/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/builddir/build/BUILD/ccls-0.20190823.6/build/CMakeFiles/ccls.dir/depend.internal". Scanning dependencies of target ccls make[2]: Leaving directory '/builddir/build/BUILD/ccls-0.20190823.6/build' /usr/bin/make -f CMakeFiles/ccls.dir/build.make CMakeFiles/ccls.dir/build make[2]: Entering directory '/builddir/build/BUILD/ccls-0.20190823.6/build' [ 6%] Building CXX object CMakeFiles/ccls.dir/third_party/siphash.cc.o /usr/bin/c++ -I/builddir/build/BUILD/ccls-0.20190823.6/src -isystem /builddir/build/BUILD/ccls-0.20190823.6/third_party -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 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -Wall -Wno-sign-compare -Wno-return-type -Wno-unused-result -pthread -std=c++17 -o CMakeFiles/ccls.dir/third_party/siphash.cc.o -c /builddir/build/BUILD/ccls-0.20190823.6/third_party/siphash.cc make[2]: Leaving directory '/builddir/build/BUILD/ccls-0.20190823.6/build' make[2]: Entering directory '/builddir/build/BUILD/ccls-0.20190823.6/build' [ 4%] Building CXX object CMakeFiles/ccls.dir/src/config.cc.o /usr/bin/c++ -I/builddir/build/BUILD/ccls-0.20190823.6/src -isystem /builddir/build/BUILD/ccls-0.20190823.6/third_party -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 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -Wall -Wno-sign-compare -Wno-return-type -Wno-unused-result -pthread -std=c++17 -o CMakeFiles/ccls.dir/src/config.cc.o -c /builddir/build/BUILD/ccls-0.20190823.6/src/config.cc make[2]: Leaving directory '/builddir/build/BUILD/ccls-0.20190823.6/build' make[2]: Entering directory '/builddir/build/BUILD/ccls-0.20190823.6/build' [ 11%] Building CXX object CMakeFiles/ccls.dir/src/fuzzy_match.cc.o /usr/bin/c++ -I/builddir/build/BUILD/ccls-0.20190823.6/src -isystem /builddir/build/BUILD/ccls-0.20190823.6/third_party -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 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -Wall -Wno-sign-compare -Wno-return-type -Wno-unused-result -pthread -std=c++17 -o CMakeFiles/ccls.dir/src/fuzzy_match.cc.o -c /builddir/build/BUILD/ccls-0.20190823.6/src/fuzzy_match.cc make[2]: Leaving directory '/builddir/build/BUILD/ccls-0.20190823.6/build' make[2]: Entering directory '/builddir/build/BUILD/ccls-0.20190823.6/build' [ 9%] Building CXX object CMakeFiles/ccls.dir/src/filesystem.cc.o /usr/bin/c++ -I/builddir/build/BUILD/ccls-0.20190823.6/src -isystem /builddir/build/BUILD/ccls-0.20190823.6/third_party -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 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -Wall -Wno-sign-compare -Wno-return-type -Wno-unused-result -pthread -std=c++17 -o CMakeFiles/ccls.dir/src/filesystem.cc.o -c /builddir/build/BUILD/ccls-0.20190823.6/src/filesystem.cc make[2]: Leaving directory '/builddir/build/BUILD/ccls-0.20190823.6/build' make[2]: Entering directory '/builddir/build/BUILD/ccls-0.20190823.6/build' [ 2%] Building CXX object CMakeFiles/ccls.dir/src/clang_tu.cc.o /usr/bin/c++ -I/builddir/build/BUILD/ccls-0.20190823.6/src -isystem /builddir/build/BUILD/ccls-0.20190823.6/third_party -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 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -Wall -Wno-sign-compare -Wno-return-type -Wno-unused-result -pthread -std=c++17 -o CMakeFiles/ccls.dir/src/clang_tu.cc.o -c /builddir/build/BUILD/ccls-0.20190823.6/src/clang_tu.cc make[2]: Leaving directory '/builddir/build/BUILD/ccls-0.20190823.6/build' In file included from /builddir/build/BUILD/ccls-0.20190823.6/src/clang_tu.cc:9: /usr/include/clang/AST/Type.h: In member function 'clang::QualType clang::TypeSourceInfo::getType() const': /usr/include/clang/AST/Type.h:6238:37: error: invalid use of non-static data member 'clang::TypeSourceInfo::Ty' 6238 | QualType getType() const { return Ty; } | ^~ /usr/include/clang/AST/Type.h:6232:12: note: declared here 6232 | QualType Ty; | ^~ make[2]: *** [CMakeFiles/ccls.dir/build.make:99: CMakeFiles/ccls.dir/src/clang_tu.cc.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Entering directory '/builddir/build/BUILD/ccls-0.20190823.6/build' [ 16%] Building CXX object CMakeFiles/ccls.dir/src/include_complete.cc.o /usr/bin/c++ -I/builddir/build/BUILD/ccls-0.20190823.6/src -isystem /builddir/build/BUILD/ccls-0.20190823.6/third_party -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 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -Wall -Wno-sign-compare -Wno-return-type -Wno-unused-result -pthread -std=c++17 -o CMakeFiles/ccls.dir/src/include_complete.cc.o -c /builddir/build/BUILD/ccls-0.20190823.6/src/include_complete.cc make[2]: Leaving directory '/builddir/build/BUILD/ccls-0.20190823.6/build' make[2]: Entering directory '/builddir/build/BUILD/ccls-0.20190823.6/build' [ 13%] Building CXX object CMakeFiles/ccls.dir/src/main.cc.o /usr/bin/c++ -DCCLS_VERSION="\"\"" -I/builddir/build/BUILD/ccls-0.20190823.6/src -isystem /builddir/build/BUILD/ccls-0.20190823.6/third_party -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 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -Wall -Wno-sign-compare -Wno-return-type -Wno-unused-result -pthread -std=c++17 -o CMakeFiles/ccls.dir/src/main.cc.o -c /builddir/build/BUILD/ccls-0.20190823.6/src/main.cc make[2]: Leaving directory '/builddir/build/BUILD/ccls-0.20190823.6/build' make[2]: Entering directory '/builddir/build/BUILD/ccls-0.20190823.6/build' [ 18%] Building CXX object CMakeFiles/ccls.dir/src/indexer.cc.o /usr/bin/c++ -I/builddir/build/BUILD/ccls-0.20190823.6/src -isystem /builddir/build/BUILD/ccls-0.20190823.6/third_party -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 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -Wall -Wno-sign-compare -Wno-return-type -Wno-unused-result -pthread -std=c++17 -o CMakeFiles/ccls.dir/src/indexer.cc.o -c /builddir/build/BUILD/ccls-0.20190823.6/src/indexer.cc make[2]: Leaving directory '/builddir/build/BUILD/ccls-0.20190823.6/build' In file included from /usr/include/clang/AST/TemplateBase.h:19, from /usr/include/clang/AST/ASTTypeTraits.h:20, from /usr/include/clang/AST/ASTContext.h:18, from /usr/include/clang/Frontend/ASTUnit.h:17, from /usr/include/clang/Frontend/FrontendAction.h:23, from /usr/include/clang/Frontend/FrontendActions.h:12, from /builddir/build/BUILD/ccls-0.20190823.6/src/sema_manager.hh:13, from /builddir/build/BUILD/ccls-0.20190823.6/src/indexer.cc:10: /usr/include/clang/AST/Type.h: In member function 'clang::QualType clang::TypeSourceInfo::getType() const': /usr/include/clang/AST/Type.h:6238:37: error: invalid use of non-static data member 'clang::TypeSourceInfo::Ty' 6238 | QualType getType() const { return Ty; } | ^~ /usr/include/clang/AST/Type.h:6232:12: note: declared here 6232 | QualType Ty; | ^~ In file included from /usr/include/clang/AST/DeclarationName.h:18, from /usr/include/clang/AST/TypeLoc.h:17, from /usr/include/clang/AST/ASTTypeTraits.h:21, from /usr/include/clang/AST/ASTContext.h:18, from /usr/include/clang/Frontend/ASTUnit.h:17, from /usr/include/clang/Frontend/FrontendAction.h:23, from /usr/include/clang/Frontend/FrontendActions.h:12, from /builddir/build/BUILD/ccls-0.20190823.6/src/sema_manager.hh:13, from /builddir/build/BUILD/ccls-0.20190823.6/src/indexer.cc:10: /usr/include/clang/Basic/IdentifierTable.h: In member function 'clang::detail::DeclarationNameExtra::ExtraKind clang::detail::DeclarationNameExtra::getKind() const': /usr/include/clang/Basic/IdentifierTable.h:920:35: error: invalid use of non-static data member 'clang::detail::DeclarationNameExtra::ExtraKindOrNumArgs' 920 | return static_cast(ExtraKindOrNumArgs > | ^~~~~~~~~~~~~~~~~~ /usr/include/clang/Basic/IdentifierTable.h:912:12: note: declared here 912 | unsigned ExtraKindOrNumArgs; | ^~~~~~~~~~~~~~~~~~ /usr/include/clang/Basic/IdentifierTable.h:923:41: error: invalid use of non-static data member 'clang::detail::DeclarationNameExtra::ExtraKindOrNumArgs' 923 | : ExtraKindOrNumArgs); | ^~~~~~~~~~~~~~~~~~ /usr/include/clang/Basic/IdentifierTable.h:912:12: note: declared here 912 | unsigned ExtraKindOrNumArgs; | ^~~~~~~~~~~~~~~~~~ /usr/include/clang/Basic/IdentifierTable.h: In member function 'unsigned int clang::detail::DeclarationNameExtra::getNumArgs() const': /usr/include/clang/Basic/IdentifierTable.h:931:12: error: invalid use of non-static data member 'clang::detail::DeclarationNameExtra::ExtraKindOrNumArgs' 931 | return ExtraKindOrNumArgs - (unsigned)ObjCMultiArgSelector; | ^~~~~~~~~~~~~~~~~~ /usr/include/clang/Basic/IdentifierTable.h:912:12: note: declared here 912 | unsigned ExtraKindOrNumArgs; | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/clang/AST/ASTTypeTraits.h:21, from /usr/include/clang/AST/ASTContext.h:18, from /usr/include/clang/Frontend/ASTUnit.h:17, from /usr/include/clang/Frontend/FrontendAction.h:23, from /usr/include/clang/Frontend/FrontendActions.h:12, from /builddir/build/BUILD/ccls-0.20190823.6/src/sema_manager.hh:13, from /builddir/build/BUILD/ccls-0.20190823.6/src/indexer.cc:10: /usr/include/clang/AST/TypeLoc.h: At global scope: /usr/include/clang/AST/TypeLoc.h:244:16: error: no declaration matches 'clang::TypeLoc clang::TypeSourceInfo::getTypeLoc() const' 244 | inline TypeLoc TypeSourceInfo::getTypeLoc() const { | ^~~~~~~~~~~~~~ In file included from /usr/include/clang/AST/TemplateBase.h:19, from /usr/include/clang/AST/ASTTypeTraits.h:20, from /usr/include/clang/AST/ASTContext.h:18, from /usr/include/clang/Frontend/ASTUnit.h:17, from /usr/include/clang/Frontend/FrontendAction.h:23, from /usr/include/clang/Frontend/FrontendActions.h:12, from /builddir/build/BUILD/ccls-0.20190823.6/src/sema_manager.hh:13, from /builddir/build/BUILD/ccls-0.20190823.6/src/indexer.cc:10: /usr/include/clang/AST/Type.h:6241:11: note: candidate is: 'clang::TypeLoc clang::TypeSourceInfo::getTypeLoc() const' 6241 | TypeLoc getTypeLoc() const; // implemented in TypeLoc.h | ^~~~~~~~~~ /usr/include/clang/AST/Type.h:6227:18: note: 'class clang::TypeSourceInfo' defined here 6227 | class alignas(8) TypeSourceInfo { | ^~~~~~~~~~~~~~ In file included from /usr/include/clang/AST/Expr.h:21, from /usr/include/clang/AST/DeclCXX.h:23, from /usr/include/clang/Sema/DeclSpec.h:25, from /usr/include/clang/Sema/CodeCompleteConsumer.h:21, from /usr/include/clang/Frontend/ASTUnit.h:28, from /usr/include/clang/Frontend/FrontendAction.h:23, from /usr/include/clang/Frontend/FrontendActions.h:12, from /builddir/build/BUILD/ccls-0.20190823.6/src/sema_manager.hh:13, from /builddir/build/BUILD/ccls-0.20190823.6/src/indexer.cc:10: /usr/include/clang/AST/Stmt.h: In member function 'clang::Stmt::StmtClass clang::Stmt::getStmtClass() const': /usr/include/clang/AST/Stmt.h:1125:35: error: invalid use of non-static data member 'clang::Stmt::::StmtBits' 1125 | return static_cast(StmtBits.sClass); | ^~~~~~~~ /usr/include/clang/AST/Stmt.h:974:19: note: declared here 974 | StmtBitfields StmtBits; | ^~~~~~~~ /usr/include/clang/AST/Stmt.h: In member function 'bool clang::Stmt::isOMPStructuredBlock() const': /usr/include/clang/AST/Stmt.h:1130:46: error: invalid use of non-static data member 'clang::Stmt::::StmtBits' 1130 | bool isOMPStructuredBlock() const { return StmtBits.IsOMPStructuredBlock; } | ^~~~~~~~ /usr/include/clang/AST/Stmt.h:974:19: note: declared here 974 | StmtBitfields StmtBits; | ^~~~~~~~ /usr/include/clang/AST/Stmt.h: In member function 'const clang::Stmt* clang::Stmt::IgnoreContainers(bool) const': /usr/include/clang/AST/Stmt.h:1180:12: error: invalid 'const_cast' from type 'const clang::Stmt*' to type 'clang::Stmt*' 1180 | return const_cast(this)->IgnoreContainers(IgnoreCaptured); | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/clang/AST/Stmt.h: In member function 'clang::Stmt* clang::Stmt::stripLabelLikeStatements()': /usr/include/clang/AST/Stmt.h:1185:12: error: invalid 'const_cast' from type 'const clang::Stmt*' to type 'clang::Stmt*' 1185 | return const_cast( | ^~~~~~~~~~~~~~~~~~ 1186 | const_cast(this)->stripLabelLikeStatements()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/clang/AST/Stmt.h: In member function 'clang::Stmt::const_child_range clang::Stmt::children() const': /usr/include/clang/AST/Stmt.h:1201:21: error: invalid 'const_cast' from type 'const clang::Stmt*' to type 'clang::Stmt*' 1201 | auto Children = const_cast(this)->children(); | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/clang/AST/Stmt.h: In member function 'clang::Stmt::const_child_iterator clang::Stmt::child_begin() const': /usr/include/clang/AST/Stmt.h:1208:62: error: cannot call member function 'clang::Stmt::child_range clang::Stmt::children()' without object 1208 | const_child_iterator child_begin() const { return children().begin(); } | ^ /usr/include/clang/AST/Stmt.h: In member function 'clang::Stmt::const_child_iterator clang::Stmt::child_end() const': /usr/include/clang/AST/Stmt.h:1209:60: error: cannot call member function 'clang::Stmt::child_range clang::Stmt::children()' without object 1209 | const_child_iterator child_end() const { return children().end(); } | ^ /usr/include/clang/AST/Stmt.h: In member function 'clang::AsmStmt::const_inputs_iterator clang::AsmStmt::begin_inputs() const': /usr/include/clang/AST/Stmt.h:2841:22: error: invalid conversion from 'clang::Stmt**' to 'const clang::Stmt* const*' [-fpermissive] 2841 | return &Exprs[0] + NumOutputs; | ~~~~~~~~~~^~~~~~~~~~~~ | | | clang::Stmt** /usr/include/clang/AST/Stmt.h:1085:27: note: initializing argument 1 of 'clang::Stmt::CastIterator::CastIterator(StmtPtr*) [with T = clang::Expr; TPtr = const clang::Expr* const; StmtPtr = const clang::Stmt* const]' 1085 | CastIterator(StmtPtr *I) : Base(I) {} | ~~~~~~~~~^ /usr/include/clang/AST/Stmt.h: In member function 'clang::AsmStmt::const_inputs_iterator clang::AsmStmt::end_inputs() const': /usr/include/clang/AST/Stmt.h:2845:35: error: invalid conversion from 'clang::Stmt**' to 'const clang::Stmt* const*' [-fpermissive] 2845 | return &Exprs[0] + NumOutputs + NumInputs; | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | clang::Stmt** /usr/include/clang/AST/Stmt.h:1085:27: note: initializing argument 1 of 'clang::Stmt::CastIterator::CastIterator(StmtPtr*) [with T = clang::Expr; TPtr = const clang::Expr* const; StmtPtr = const clang::Stmt* const]' 1085 | CastIterator(StmtPtr *I) : Base(I) {} | ~~~~~~~~~^ /usr/include/clang/AST/Stmt.h: In member function 'clang::AsmStmt::const_outputs_iterator clang::AsmStmt::begin_outputs() const': /usr/include/clang/AST/Stmt.h:2872:12: error: invalid conversion from 'clang::Stmt**' to 'const clang::Stmt* const*' [-fpermissive] 2872 | return &Exprs[0]; | ^~~~~~~~~ | | | clang::Stmt** /usr/include/clang/AST/Stmt.h:1085:27: note: initializing argument 1 of 'clang::Stmt::CastIterator::CastIterator(StmtPtr*) [with T = clang::Expr; TPtr = const clang::Expr* const; StmtPtr = const clang::Stmt* const]' 1085 | CastIterator(StmtPtr *I) : Base(I) {} | ~~~~~~~~~^ /usr/include/clang/AST/Stmt.h: In member function 'clang::AsmStmt::const_outputs_iterator clang::AsmStmt::end_outputs() const': /usr/include/clang/AST/Stmt.h:2876:22: error: invalid conversion from 'clang::Stmt**' to 'const clang::Stmt* const*' [-fpermissive] 2876 | return &Exprs[0] + NumOutputs; | ~~~~~~~~~~^~~~~~~~~~~~ | | | clang::Stmt** /usr/include/clang/AST/Stmt.h:1085:27: note: initializing argument 1 of 'clang::Stmt::CastIterator::CastIterator(StmtPtr*) [with T = clang::Expr; TPtr = const clang::Expr* const; StmtPtr = const clang::Stmt* const]' 1085 | CastIterator(StmtPtr *I) : Base(I) {} | ~~~~~~~~~^ /usr/include/clang/AST/Stmt.h: In member function 'clang::GCCAsmStmt::const_labels_iterator clang::GCCAsmStmt::begin_labels() const': /usr/include/clang/AST/Stmt.h:3070:22: error: invalid conversion from 'clang::Stmt**' to 'const clang::Stmt* const*' [-fpermissive] 3070 | return &Exprs[0] + NumInputs; | ~~~~~~~~~~^~~~~~~~~~~ | | | clang::Stmt** /usr/include/clang/AST/Stmt.h:1085:27: note: initializing argument 1 of 'clang::Stmt::CastIterator::CastIterator(StmtPtr*) [with T = clang::AddrLabelExpr; TPtr = const clang::AddrLabelExpr* const; StmtPtr = const clang::Stmt* const]' 1085 | CastIterator(StmtPtr *I) : Base(I) {} | ~~~~~~~~~^ /usr/include/clang/AST/Stmt.h: In member function 'clang::GCCAsmStmt::const_labels_iterator clang::GCCAsmStmt::end_labels() const': /usr/include/clang/AST/Stmt.h:3074:34: error: invalid conversion from 'clang::Stmt**' to 'const clang::Stmt* const*' [-fpermissive] 3074 | return &Exprs[0] + NumInputs + NumLabels; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | clang::Stmt** /usr/include/clang/AST/Stmt.h:1085:27: note: initializing argument 1 of 'clang::Stmt::CastIterator::CastIterator(StmtPtr*) [with T = clang::AddrLabelExpr; TPtr = const clang::AddrLabelExpr* const; StmtPtr = const clang::Stmt* const]' 1085 | CastIterator(StmtPtr *I) : Base(I) {} | ~~~~~~~~~^ In file included from /usr/include/clang/AST/DeclCXX.h:23, from /usr/include/clang/Sema/DeclSpec.h:25, from /usr/include/clang/Sema/CodeCompleteConsumer.h:21, from /usr/include/clang/Frontend/ASTUnit.h:28, from /usr/include/clang/Frontend/FrontendAction.h:23, from /usr/include/clang/Frontend/FrontendActions.h:12, from /builddir/build/BUILD/ccls-0.20190823.6/src/sema_manager.hh:13, from /builddir/build/BUILD/ccls-0.20190823.6/src/indexer.cc:10: /usr/include/clang/AST/Expr.h: In member function 'clang::CallExpr::const_arg_iterator clang::CallExpr::arg_begin() const': /usr/include/clang/AST/Expr.h:2750:47: error: invalid conversion from 'clang::Stmt* const*' to 'const clang::Stmt* const*' [-fpermissive] 2750 | return getTrailingStmts() + PREARGS_START + getNumPreArgs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ | | | clang::Stmt* const* In file included from /usr/include/clang/AST/Expr.h:21, from /usr/include/clang/AST/DeclCXX.h:23, from /usr/include/clang/Sema/DeclSpec.h:25, from /usr/include/clang/Sema/CodeCompleteConsumer.h:21, from /usr/include/clang/Frontend/ASTUnit.h:28, from /usr/include/clang/Frontend/FrontendAction.h:23, from /usr/include/clang/Frontend/FrontendActions.h:12, from /builddir/build/BUILD/ccls-0.20190823.6/src/sema_manager.hh:13, from /builddir/build/BUILD/ccls-0.20190823.6/src/indexer.cc:10: /usr/include/clang/AST/Stmt.h:1085:27: note: initializing argument 1 of 'clang::Stmt::CastIterator::CastIterator(StmtPtr*) [with T = clang::Expr; TPtr = const clang::Expr* const; StmtPtr = const clang::Stmt* const]' 1085 | CastIterator(StmtPtr *I) : Base(I) {} | ~~~~~~~~~^ In file included from /usr/include/clang/AST/AST.h:23, from /builddir/build/BUILD/ccls-0.20190823.6/src/indexer.cc:12: /usr/include/clang/AST/ExprObjC.h: In member function 'clang::ObjCBoxedExpr::const_arg_iterator clang::ObjCBoxedExpr::arg_begin() const': /usr/include/clang/AST/ExprObjC.h:174:12: error: invalid conversion from 'const clang::Stmt* const*' to 'const clang::Stmt* const*' [-fpermissive] 174 | return reinterpret_cast(&SubExpr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | const clang::Stmt* const* In file included from /usr/include/clang/AST/Expr.h:21, from /usr/include/clang/AST/DeclCXX.h:23, from /usr/include/clang/Sema/DeclSpec.h:25, from /usr/include/clang/Sema/CodeCompleteConsumer.h:21, from /usr/include/clang/Frontend/ASTUnit.h:28, from /usr/include/clang/Frontend/FrontendAction.h:23, from /usr/include/clang/Frontend/FrontendActions.h:12, from /builddir/build/BUILD/ccls-0.20190823.6/src/sema_manager.hh:13, from /builddir/build/BUILD/ccls-0.20190823.6/src/indexer.cc:10: /usr/include/clang/AST/Stmt.h:1085:27: note: initializing argument 1 of 'clang::Stmt::CastIterator::CastIterator(StmtPtr*) [with T = clang::Expr; TPtr = const clang::Expr* const; StmtPtr = const clang::Stmt* const]' 1085 | CastIterator(StmtPtr *I) : Base(I) {} | ~~~~~~~~~^ In file included from /usr/include/clang/AST/AST.h:23, from /builddir/build/BUILD/ccls-0.20190823.6/src/indexer.cc:12: /usr/include/clang/AST/ExprObjC.h: In member function 'clang::ObjCBoxedExpr::const_arg_iterator clang::ObjCBoxedExpr::arg_end() const': /usr/include/clang/AST/ExprObjC.h:178:12: error: invalid conversion from 'const clang::Stmt* const*' to 'const clang::Stmt* const*' [-fpermissive] 178 | return reinterpret_cast(&SubExpr + 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | const clang::Stmt* const* In file included from /usr/include/clang/AST/Expr.h:21, from /usr/include/clang/AST/DeclCXX.h:23, from /usr/include/clang/Sema/DeclSpec.h:25, from /usr/include/clang/Sema/CodeCompleteConsumer.h:21, from /usr/include/clang/Frontend/ASTUnit.h:28, from /usr/include/clang/Frontend/FrontendAction.h:23, from /usr/include/clang/Frontend/FrontendActions.h:12, from /builddir/build/BUILD/ccls-0.20190823.6/src/sema_manager.hh:13, from /builddir/build/BUILD/ccls-0.20190823.6/src/indexer.cc:10: /usr/include/clang/AST/Stmt.h:1085:27: note: initializing argument 1 of 'clang::Stmt::CastIterator::CastIterator(StmtPtr*) [with T = clang::Expr; TPtr = const clang::Expr* const; StmtPtr = const clang::Stmt* const]' 1085 | CastIterator(StmtPtr *I) : Base(I) {} | ~~~~~~~~~^ In file included from /usr/include/clang/AST/AST.h:23, from /builddir/build/BUILD/ccls-0.20190823.6/src/indexer.cc:12: /usr/include/clang/AST/ExprObjC.h: In member function 'clang::ObjCMessageExpr::const_arg_iterator clang::ObjCMessageExpr::arg_begin() const': /usr/include/clang/AST/ExprObjC.h:1478:12: error: invalid conversion from 'const clang::Stmt* const*' to 'const clang::Stmt* const*' [-fpermissive] 1478 | return reinterpret_cast(getArgs()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | const clang::Stmt* const* In file included from /usr/include/clang/AST/Expr.h:21, from /usr/include/clang/AST/DeclCXX.h:23, from /usr/include/clang/Sema/DeclSpec.h:25, from /usr/include/clang/Sema/CodeCompleteConsumer.h:21, from /usr/include/clang/Frontend/ASTUnit.h:28, from /usr/include/clang/Frontend/FrontendAction.h:23, from /usr/include/clang/Frontend/FrontendActions.h:12, from /builddir/build/BUILD/ccls-0.20190823.6/src/sema_manager.hh:13, from /builddir/build/BUILD/ccls-0.20190823.6/src/indexer.cc:10: /usr/include/clang/AST/Stmt.h:1085:27: note: initializing argument 1 of 'clang::Stmt::CastIterator::CastIterator(StmtPtr*) [with T = clang::Expr; TPtr = const clang::Expr* const; StmtPtr = const clang::Stmt* const]' 1085 | CastIterator(StmtPtr *I) : Base(I) {} | ~~~~~~~~~^ In file included from /usr/include/clang/AST/AST.h:23, from /builddir/build/BUILD/ccls-0.20190823.6/src/indexer.cc:12: /usr/include/clang/AST/ExprObjC.h: In member function 'clang::ObjCMessageExpr::const_arg_iterator clang::ObjCMessageExpr::arg_end() const': /usr/include/clang/AST/ExprObjC.h:1482:12: error: invalid conversion from 'const clang::Stmt* const*' to 'const clang::Stmt* const*' [-fpermissive] 1482 | return reinterpret_cast(getArgs() + NumArgs); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | const clang::Stmt* const* In file included from /usr/include/clang/AST/Expr.h:21, from /usr/include/clang/AST/DeclCXX.h:23, from /usr/include/clang/Sema/DeclSpec.h:25, from /usr/include/clang/Sema/CodeCompleteConsumer.h:21, from /usr/include/clang/Frontend/ASTUnit.h:28, from /usr/include/clang/Frontend/FrontendAction.h:23, from /usr/include/clang/Frontend/FrontendActions.h:12, from /builddir/build/BUILD/ccls-0.20190823.6/src/sema_manager.hh:13, from /builddir/build/BUILD/ccls-0.20190823.6/src/indexer.cc:10: /usr/include/clang/AST/Stmt.h:1085:27: note: initializing argument 1 of 'clang::Stmt::CastIterator::CastIterator(StmtPtr*) [with T = clang::Expr; TPtr = const clang::Expr* const; StmtPtr = const clang::Stmt* const]' 1085 | CastIterator(StmtPtr *I) : Base(I) {} | ~~~~~~~~~^ In file included from /usr/include/clang/AST/StmtVisitor.h:17, from /usr/include/clang/AST/AST.h:24, from /builddir/build/BUILD/ccls-0.20190823.6/src/indexer.cc:12: /usr/include/clang/AST/ExprCXX.h: In member function 'clang::CXXConstructExpr::const_arg_iterator clang::CXXConstructExpr::arg_begin() const': /usr/include/clang/AST/ExprCXX.h:1561:64: error: invalid conversion from 'const clang::Stmt* const*' to 'const clang::Stmt* const*' [-fpermissive] 1561 | const_arg_iterator arg_begin() const { return getTrailingArgs(); } | ~~~~~~~~~~~~~~~^~ | | | const clang::Stmt* const* In file included from /usr/include/clang/AST/Expr.h:21, from /usr/include/clang/AST/DeclCXX.h:23, from /usr/include/clang/Sema/DeclSpec.h:25, from /usr/include/clang/Sema/CodeCompleteConsumer.h:21, from /usr/include/clang/Frontend/ASTUnit.h:28, from /usr/include/clang/Frontend/FrontendAction.h:23, from /usr/include/clang/Frontend/FrontendActions.h:12, from /builddir/build/BUILD/ccls-0.20190823.6/src/sema_manager.hh:13, from /builddir/build/BUILD/ccls-0.20190823.6/src/indexer.cc:10: /usr/include/clang/AST/Stmt.h:1085:27: note: initializing argument 1 of 'clang::Stmt::CastIterator::CastIterator(StmtPtr*) [with T = clang::Expr; TPtr = const clang::Expr* const; StmtPtr = const clang::Stmt* const]' 1085 | CastIterator(StmtPtr *I) : Base(I) {} | ~~~~~~~~~^ In file included from /usr/include/clang/AST/StmtVisitor.h:17, from /usr/include/clang/AST/AST.h:24, from /builddir/build/BUILD/ccls-0.20190823.6/src/indexer.cc:12: /usr/include/clang/AST/ExprCXX.h: In member function 'clang::CXXNewExpr::const_arg_iterator clang::CXXNewExpr::placement_arg_begin() const': /usr/include/clang/AST/ExprCXX.h:2320:41: error: invalid conversion from 'clang::Stmt* const*' to 'const clang::Stmt* const*' [-fpermissive] 2320 | return getTrailingObjects() + placementNewArgsOffset(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ | | | clang::Stmt* const* In file included from /usr/include/clang/AST/Expr.h:21, from /usr/include/clang/AST/DeclCXX.h:23, from /usr/include/clang/Sema/DeclSpec.h:25, from /usr/include/clang/Sema/CodeCompleteConsumer.h:21, from /usr/include/clang/Frontend/ASTUnit.h:28, from /usr/include/clang/Frontend/FrontendAction.h:23, from /usr/include/clang/Frontend/FrontendActions.h:12, from /builddir/build/BUILD/ccls-0.20190823.6/src/sema_manager.hh:13, from /builddir/build/BUILD/ccls-0.20190823.6/src/indexer.cc:10: /usr/include/clang/AST/Stmt.h:1085:27: note: initializing argument 1 of 'clang::Stmt::CastIterator::CastIterator(StmtPtr*) [with T = clang::Expr; TPtr = const clang::Expr* const; StmtPtr = const clang::Stmt* const]' 1085 | CastIterator(StmtPtr *I) : Base(I) {} | ~~~~~~~~~^ In file included from /usr/include/clang/AST/StmtVisitor.h:17, from /usr/include/clang/AST/AST.h:24, from /builddir/build/BUILD/ccls-0.20190823.6/src/indexer.cc:12: /usr/include/clang/AST/ExprCXX.h: In member function 'clang::CXXNewExpr::const_arg_iterator clang::CXXNewExpr::raw_arg_begin() const': /usr/include/clang/AST/ExprCXX.h:2333:38: error: invalid conversion from 'clang::Stmt* const*' to 'const clang::Stmt* const*' [-fpermissive] 2333 | return getTrailingObjects(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ | | | clang::Stmt* const* In file included from /usr/include/clang/AST/Expr.h:21, from /usr/include/clang/AST/DeclCXX.h:23, from /usr/include/clang/Sema/DeclSpec.h:25, from /usr/include/clang/Sema/CodeCompleteConsumer.h:21, from /usr/include/clang/Frontend/ASTUnit.h:28, from /usr/include/clang/Frontend/FrontendAction.h:23, from /usr/include/clang/Frontend/FrontendActions.h:12, from /builddir/build/BUILD/ccls-0.20190823.6/src/sema_manager.hh:13, from /builddir/build/BUILD/ccls-0.20190823.6/src/indexer.cc:10: /usr/include/clang/AST/Stmt.h:1085:27: note: initializing argument 1 of 'clang::Stmt::CastIterator::CastIterator(StmtPtr*) [with T = clang::Expr; TPtr = const clang::Expr* const; StmtPtr = const clang::Stmt* const]' 1085 | CastIterator(StmtPtr *I) : Base(I) {} | ~~~~~~~~~^ make[2]: *** [CMakeFiles/ccls.dir/build.make:177: CMakeFiles/ccls.dir/src/indexer.cc.o] Error 1 RPM build errors: make[1]: *** [CMakeFiles/Makefile2:155: CMakeFiles/ccls.dir/all] Error 2 make: *** [Makefile:153: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.43wqlx (%build) Bad exit status from /var/tmp/rpm-tmp.43wqlx (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/mockbuild/trace_decorator.py", line 95, in trace result = func(*args, **kw) File "/usr/lib/python3.8/site-packages/mockbuild/util.py", line 746, 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 riscv64 --nodeps /builddir/build/SPECS/ccls.spec