devel/qt6-tools does not build with LLVM 19
- Reply: Dimitry Andric : "Re: devel/qt6-tools does not build with LLVM 19"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 06 Oct 2024 18:44:29 UTC
Hi, I use DEFAULT_VERSIONS+=llvm=19 in my /etc/make.conf. devel/qt6-tools does not build : /usr/ports/devel/qt6-tools/work/qttools-everywhere-src-6.7.3/src/linguist/lupdate/clangtoolastreader.cpp:785:73: error: no member named 'getName' in 'clang::FileEntry' 785 | if (!LupdatePrivate::isFileSignificant(fullLocation.getFileEntry()->getName().str())) Reverting back to DEFAULT_VERSIONS+=llvm=18 makes it compile fine Read on Chromium forum, same error, reason is : > commit 1b04e6d4a314cf677b5320b26f2746733b11152c > Author: Hans Wennborg <hans@chromium.org> > Date: Thu Jan 25 13:36:37 2024 > > [clang] Remove use of FileEntry::getName() > > That method was dropped recently. Instead, we should get the name via > the new FileEntryRef class. That one has existed for a while, so this > code works for both pinned and tip-of-tree Clang. Regards, Xavier -- Xavier HUMBERT - Unix/Win/MacOSX Sysadmin/Network Engineer https://www.amdh.fr