Source: clazy
Version: 1.11-4
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20230925 ftbfs-trixie

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> /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-x86_64-linux-gnu -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 
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
> -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-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 
> /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/CMakeFiles/ClazyPlugin.dir/cmake_pch.hxx.cxx
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
> [  1%] Built target man
> In file included from /<<PKGBUILDDIR>>/src/checkbase.h:29,
>                  from 
> /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/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


The full build log is available from:
http://qa-logs.debian.net/2023/09/25/clazy_1.11-4_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20230925;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20230925&fusertaguser=lu...@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.

Reply via email to