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

qttools fails yocto build with llvm 19

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P1: Critical
    • None
    • 6.8, 6.9
    • Tools: Linguist
    • None
    • Linux/Yocto

    Description

      qttools fails to build with latest meta-clang(master) in yocto after it updates to llvm 19

      /home/qt/work/build/build/tmp/work/x86_64-linux/qttools-native/6.7.3/git/src/linguist/lupdate/clangtoolastreader.cpp: In member function ‘bool LupdateVisitor::VisitNamedDecl(clang::NamedDecl*)’:
      agent:2024/09/19 07:12:28 build.go:404: | /home/qt/work/build/build/tmp/work/x86_64-linux/qttools-native/6.7.3/git/src/linguist/lupdate/clangtoolastreader.cpp:785:73: error: ‘const class clang::FileEntry’ has no member named ‘getName’
      agent:2024/09/19 07:12:28 build.go:404: |   785 |     if (!LupdatePrivate::isFileSignificant(fullLocation.getFileEntry()->getName().str())) 

      getName seems to have been deprecated & removed, see https://github.com/llvm/llvm-project/pull/74910

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              kkohne Kai Köhne
              gronoff Mikko Gronoff
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes