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

qttools fails yocto build with llvm 19

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P1: Critical P1: Critical
    • 6.8.0 RC
    • 6.8, 6.9
    • Tools: Linguist
    • None
    • Linux/Yocto

      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

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes