Source: clazy
Severity: important
Dear Maintainer,
We upgraded llvm-defaults to version 19.
Your package fails with:
[ 1%] Building CXX object CMakeFiles/ClazyPlugin.dir/cmake_pch.hxx.gch
/usr/bin/c++ -DClazyPlugin_EXPORTS -DHAS_STD_FILESYSTEM
-DHAVE_CLANG_CONFIG_H -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS
-D__STDC_LIMIT_MACROS -I\
/build/clazy-1.11/obj-x86_64-linux-gnu -I/usr/lib/llvm-19/include
-I/usr/lib/llvm-19/tools/clang/include -I/tools/clang/include -I/build/claz\
y-1.11 -I/build/clazy-1.11/src -g -O2
-ffile-prefix-map=/build/clazy-1.11=. -fstack-protector-strong
-fstack-clash-protection -Wformat -Werro\
r=format-security -fcf-protection -Wno-class-memaccess -Wdate-time
-D_FORTIFY_SOURCE=2 -fno-common -Woverloaded-virtual -Wcast-qual -fno-stri\
ct-aliasing -pedantic -Wno-long-long -Wall -W -Wno-unused-parameter
-Wwrite-strings -fno-exceptions -fno-rtti -fPIC -std=gnu++17 -fPIC -Winva\
lid-pch -x c++-header -include
/build/clazy-1.11/obj-x86_64-linux-gnu/CMakeFiles/ClazyPlugin.dir/cmake_pch.hxx
-MD -MT CMakeFiles/ClazyPlugin\
.dir/cmake_pch.hxx.gch -MF
CMakeFiles/ClazyPlugin.dir/cmake_pch.hxx.gch.d -o
CMakeFiles/ClazyPlugin.dir/cmake_pch.hxx.gch -c /build/clazy-1.1\
1/obj-x86_64-linux-gnu/CMakeFiles/ClazyPlugin.dir/cmake_pch.hxx.cxx
make[3]: Leaving directory '/build/clazy-1.11/obj-x86_64-linux-gnu'
[ 1%] Built target man
In file included from /build/clazy-1.11/src/checkbase.h:29,
from
/build/clazy-1.11/obj-x86_64-linux-gnu/CMakeFiles/ClazyPlugin.dir/cmake_pch.hxx:5,
from <command-line>:
/build/clazy-1.11/src/SourceCompatibilityHelpers.h: In function 'auto
clazy::getBuffer(const clang::SourceManager&, clang::FileID, bool*)':
/build/clazy-1.11/src/SourceCompatibilityHelpers.h:112:24: error: 'class
std::optional<llvm::MemoryBufferRef>' has no member named 'hasValue'\
; did you mean 'has_value'?
112 | *invalid = !buffer.hasValue();
| ^~~~~~~~
| has_value
/build/clazy-1.11/src/SourceCompatibilityHelpers.h: At global scope:
/build/clazy-1.11/src/SourceCompatibilityHelpers.h:148:37: error:
'Optional' in namespace 'clang' does not name a template type
148 | using OptionalFileEntryRef = clang::Optional<clang::FileEntryRef>;
| ^~~~~~~~
/build/clazy-1.11/src/checkbase.h:94:67: error:
'clazy::OptionalFileEntryRef' has not been declared
94 | clang::CharSourceRange
FilenameRange, clazy::OptionalFileEntryRef File, clang::StringRef
SearchPath,
| ^~~~~
/build/clazy-1.11/src/checkbase.h:93:10: error: 'void
ClazyPreprocessorCallbacks::InclusionDirective(clang::SourceLocation,
const clang::Toke\
n&, llvm::StringRef, bool, clang::CharSourceRange, int, llvm::StringRef,
llvm::StringRef, const clang::Module*, clang::SrcMgr::Characteristic\
Kind)' marked 'override', but does not override
93 | void InclusionDirective(clang::SourceLocation HashLoc,
const clang::Token &IncludeTok, clang::StringRef FileName, bool IsAngled,
| ^~~~~~~~~~~~~~~~~~
/build/clazy-1.11/src/checkbase.h:154:67: error:
'clazy::OptionalFileEntryRef' has not been declared
154 | clang::CharSourceRange
FilenameRange, clazy::OptionalFileEntryRef File, clang::StringRef
SearchPath,
Could you please have a look?
Thanks
Sylvestre
-- System Information:
Debian Release: trixie/sid
APT prefers testing
APT policy: (990, 'testing'), (600, 'unstable'), (500, 'oldstable'),
(300, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 6.10.9-amd64 (SMP w/20 CPU threads; PREEMPT)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE
not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled