Source: clazy Version: 1.11-4 Severity: serious Tags: ftbfs sid trixie Justification: fails to build from source (but built successfully in the past) X-Debbugs-Cc: sramac...@debian.org
https://buildd.debian.org/status/fetch.php?pkg=clazy&arch=armhf&ver=1.11-4%2Bb1&stamp=1694627460&raw=0 [ 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/<<PKGBUILDDIR>>/obj-arm-linux-gnueabihf -I/usr/lib/llvm-16/include -I/usr/lib/llvm-16/tools/clang/include -I/tools/clang/include -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/src -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-class-memaccess -Wdate-time -D_FORTIFY_SOURCE=2 -fno-common -Woverloaded-virtual -Wcast-qual -fno-strict-aliasing -pedantic -Wno-long-long -Wall -W -Wno-unused-parameter -Wwrite-strings -fno-exceptions -fno-rtti -fPIC -std=gnu++17 -fPIC -Winvalid-pch -x c++-header -include /<<PKGBUILDDIR>>/obj-arm-linux-gnueabihf/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 /<<PKGBUILDDIR>>/obj-arm-linux-gnueabihf/CMakeFiles/ClazyPlugin.dir/cmake_pch.hxx.cxx make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-arm-linux-gnueabihf' [ 1%] Built target man In file included from /<<PKGBUILDDIR>>/src/checkbase.h:29, from /<<PKGBUILDDIR>>/obj-arm-linux-gnueabihf/CMakeFiles/ClazyPlugin.dir/cmake_pch.hxx:5, from <command-line>: /<<PKGBUILDDIR>>/src/SourceCompatibilityHelpers.h: In function ‘auto clazy::getBuffer(const clang::SourceManager&, clang::FileID, bool*)’: /<<PKGBUILDDIR>>/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 /<<PKGBUILDDIR>>/src/checkbase.h: At global scope: /<<PKGBUILDDIR>>/src/checkbase.h:93:10: error: ‘void ClazyPreprocessorCallbacks::InclusionDirective(clang::SourceLocation, const clang::Token&, llvm::StringRef, bool, clang::CharSourceRange, clazy::OptionalFileEntryRef, llvm::StringRef, llvm::StringRef, const clang::Module*, clang::SrcMgr::CharacteristicKind)’ marked ‘override’, but does not override 93 | void InclusionDirective(clang::SourceLocation HashLoc, const clang::Token &IncludeTok, clang::StringRef FileName, bool IsAngled, | ^~~~~~~~~~~~~~~~~~ make[3]: *** [CMakeFiles/ClazyPlugin.dir/build.make:80: CMakeFiles/ClazyPlugin.dir/cmake_pch.hxx.gch] Error 1 -- Sebastian Ramacher