Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-86968

qttools fails with CentOS 8.1

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P1: Critical
    • None
    • 6.0
    • Tools: Linguist
    • None
    • Linux/Wayland

    Description

      CentOS 8.1 fails with QtTools

      CentOS qttools.txt

      http://10.212.0.61:8083/coin/integration/qt/qt5/tasks/web_qt_qt5_1600938276268

      td::char_traits<char>, std::allocator<char> > >, std::shared_ptr<clang::PCHContainerOperations>, llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem>, llvm::IntrusiveRefCntPtr<clang::FileManager>)'
      agent:2020/09/24 10:55:47 build.go:302: /home/qt/work/qt/qttools/src/linguist/lupdate/cpp_clang.cpp:153: undefined reference to `clang::tooling::ClangTool::appendArgumentsAdjuster(std::function<std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > (std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&, llvm::StringRef)>)'
      agent:2020/09/24 10:55:47 build.go:302: src/linguist/lupdate/CMakeFiles/lupdate.dir/clangtoolastreader.cpp.o: In function `LupdateVisitor::VisitCallExpr(clang::CallExpr*)':
      agent:2020/09/24 10:55:47 build.go:302: /home/qt/work/qt/qttools/src/linguist/lupdate/clangtoolastreader.cpp:169: undefined reference to `clang::DeclarationNameInfo::getAsString[abi:cxx11]() const'
      agent:2020/09/24 10:55:47 build.go:302: src/linguist/lupdate/CMakeFiles/lupdate.dir/clangtoolastreader.cpp.o: In function `LupdatePrivate::contextForNoopMacro(clang::NamedDecl*)':
      agent:2020/09/24 10:55:47 build.go:302: /home/qt/work/qt/qttools/src/linguist/lupdate/clangtoolastreader.cpp:55: undefined reference to `clang::DeclarationName::getAsString[abi:cxx11]() const'
      agent:2020/09/24 10:55:47 build.go:302: src/linguist/lupdate/CMakeFiles/lupdate.dir/clangtoolastreader.cpp.o: In function `LupdateVisitor::findContextForTranslationStoresFromPP(clang::NamedDecl*)':
      agent:2020/09/24 10:55:47 build.go:302: /home/qt/work/qt/qttools/src/linguist/lupdate/clangtoolastreader.cpp:660: undefined reference to `clang::NamedDecl::getQualifiedNameAsString[abi:cxx11]() const'
      agent:2020/09/24 10:55:47 build.go:302: /home/qt/work/qt/qttools/src/linguist/lupdate/clangtoolastreader.cpp:668: undefined reference to `clang::SourceLocation::printToString[abi:cxx11](clang::SourceManager const&) const'
      agent:2020/09/24 10:55:47 build.go:302: /home/qt/work/qt/qttools/src/linguist/lupdate/clangtoolastreader.cpp:666: undefined reference to `clang::SourceRange::printToString[abi:cxx11](clang::SourceManager const&) const'
      agent:2020/09/24 10:55:47 build.go:302: /home/qt/work/qt/qttools/src/linguist/lupdate/clangtoolastreader.cpp:663: undefined reference to `clang::SourceLocation::printToString[abi:cxx11](clang::SourceManager const&) const'
      agent:2020/09/24 10:55:47 build.go:302: /home/qt/work/qt/qttools/src/linguist/lupdate/clangtoolastreader.cpp:662: undefined reference to `clang::SourceRange::printToString[abi:cxx11](clang::SourceManager const&) const'
      agent:2020/09/24 10:55:47 build.go:302: /home/qt/work/qt/qttools/src/linguist/lupdate/clangtoolastreader.cpp:645: undefined reference to `clang::NamedDecl::getQualifiedNameAsString[abi:cxx11]() const'
      agent:2020/09/24 10:55:47 build.go:302: /home/qt/work/qt/qttools/src/linguist/lupdate/clangtoolastreader.cpp:643: undefined reference to `clang::SourceLocation::printToString[abi:cxx11](clang::SourceManager const&) const'
      agent:2020/09/24 10:55:47 build.go:302: /home/qt/work/qt/qttools/src/linguist/lupdate/clangtoolastreader.cpp:641: undefined reference to `clang::SourceRange::printToString[abi:cxx11](clang::SourceManager const&) const'
      agent:2020/09/24 10:55:47 build.go:302: /home/qt/work/qt/qttools/src/linguist/lupdate/clangtoolastreader.cpp:638: undefined reference to `clang::SourceLocation::printToString[abi:cxx11](clang::SourceManager const&) const'
      agent:2020/09/24 10:55:47 build.go:302: /home/qt/work/qt/qttools/src/linguist/lupdate/clangtoolastreader.cpp:637: undefined reference to `clang::SourceRange::printToString[abi:cxx11](clang::SourceManager const&) const'
      agent:2020/09/24 10:55:47 build.go:302: src/linguist/lupdate/CMakeFiles/lupdate.dir/clangtoolastreader.cpp.o: In function `LupdateVisitor::VisitNamedDecl(clang::NamedDecl*)':
      agent:2020/09/24 10:55:47 build.go:302: /home/qt/work/qt/qttools/src/linguist/lupdate/clangtoolastreader.cpp:600: undefined reference to `clang::SourceRange::printToString[abi:cxx11](clang::SourceManager const&) const'
      agent:2020/09/24 10:55:47 build.go:302: /home/qt/work/qt/qttools/src/linguist/lupdate/clangtoolastreader.cpp:599: undefined reference to `clang::NamedDecl::getQualifiedNameAsString[abi:cxx11]() const'
      agent:2020/09/24 10:55:47 build.go:302: src/linguist/lupdate/CMakeFiles/lupdate.dir/lupdatepreprocessoraction.cpp.o: In function `LupdatePPCallbacks::MacroExpands(clang::Token const&, clang::MacroDefinition const&, clang::SourceRange, clang::MacroArgs const*)':
      agent:2020/09/24 10:55:47 build.go:302: /usr/local/libclang-10.0/include/clang/Lex/Preprocessor.h:1690: undefined reference to `clang::Lexer::getSpelling[abi:cxx11](clang::Token const&, clang::SourceManager const&, clang::LangOptions const&, bool*)'
      agent:2020/09/24 10:55:47 build.go:302: /usr/local/libclang-10.0/include/clang/Lex/Preprocessor.h:1690: undefined reference to `clang::Lexer::getSpelling[abi:cxx11](clang::Token const&, clang::SourceManager const&, clang::LangOptions const&, bool*)'
      agent:2020/09/24 10:55:47 build.go:302: /usr/local/libclang-10.0/include/clang/Lex/Preprocessor.h:1690: undefined reference to `clang::Lexer::getSpelling[abi:cxx11](clang::Token const&, clang::SourceManager const&, clang::LangOptions const&, bool*)'
      agent:2020/09/24 10:55:47 build.go:302: collect2: error: ld returned 1 exit status
      agent:2020/09/24 10:55:47 build.go:302: [175/620] sccache /usr/bin/g++ -DHelp_EXPORTS -DQHELP_LIB -DQT_ASCII_CAST_WARNINGS -DQT_BUILDING_QT -DQT_BUILD_HELP_LIB -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS -DQT_GUI_LIB -DQT_HELP_LIB -DQT_MOC_COMPAT -DQT_NETWORK_LIB -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_EXCEPTIONS -DQT_SQL_LIB -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -Ddeprecations -Isrc/assistant/help/Help_autogen/include -Iinclude -Iinclude/QtHelp -Isrc/assistant/help -Iinclude/QtHelp/6.0.0 -Iinclude/QtHelp/6.0.0/QtHelp -isystem /home/qt/work/install/include/QtCore -isystem /home/qt/work/install/mkspecs/linux-g++ -isystem /home/qt/work/install/include -isystem /home/qt/work/install/include/QtGui -isystem /home/qt/work/install/include/QtSql -isystem /home/qt/work/install/include/QtWidgets -isystem /home/qt/work/install/include/QtCore/6.0.0 -isystem /home/qt/work/install/include/QtCore/6.0.0/QtCore -isystem /home/qt/work/install/include/QtNetwork -g -DNDEBUG -O2 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wall -Wextra -fno-exceptions -fPIC -pthread -std=c++17 -MD -MT src/assistant/help/CMakeFiles/Help.dir/qcompressedhelpinfo.cpp.o -MF src/assistant/help/CMakeFiles/Help.dir/qcompressedhelpinfo.cpp.o.d -o src/assistant/help/CMakeFiles/Help.dir/qcompressedhelpinfo.cpp.o -c src/assistant/help/qcompressedhelpinfo.cpp
      agent:2020/09/24 10:55:47 build.go:302: [176/620] sccache /usr/bin/g++ -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_EXCEPTIONS -DQT

      Attachments

        For Gerrit Dashboard: QTBUG-86968
        # Subject Branch Project Status CR V

        Activity

          People

            cadam Cristian Adam
            hehalmet Heikki Halmet
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes