Package: src:clazy Version: 1.12-2 Severity: serious Tags: ftbfs
Dear maintainer: During a rebuild of all packages in unstable, your package failed to build: -------------------------------------------------------------------------------- [...] debian/rules binary dh binary dh_update_autotools_config dh_autoreconf debian/rules override_dh_auto_configure make[1]: Entering directory '/<<PKGBUILDDIR>>' dh_auto_configure -- -DCLANGPP_EXECUTABLE="/usr/lib/llvm-19/bin/clang++" -DREADLINK_CMD:FILEPATH=/bin/readlink cd obj-x86_64-linux-gnu && DEB_PYTHON_INSTALL_LAYOUT=deb PKG_CONFIG=/usr/bin/pkg-config cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_LOCALSTATEDIR=/var -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_FIND_USE_PACKAGE_REGISTRY=OFF -DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON -DFETCHCONTENT_FULLY_DISCONNECTED=ON -DCMAKE_INSTALL_RUNSTATEDIR=/run -DCMAKE_SKIP_INSTALL_ALL_DEPENDENCY=ON "-GUnix Makefiles" -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_LIBDIR=lib/x86_64-linux-gnu -DCLANGPP_EXECUTABLE=/usr/lib/llvm-19/bin/clang\+\+ -DREADLINK_CMD:FILEPATH=/bin/readlink .. -- The C compiler identification is GNU 14.2.0 -- The CXX compiler identification is GNU 14.2.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done usage: llvm-config <OPTION>... [<COMPONENT>...] Get various configuration information needed to compile programs which use LLVM. Typically called from 'configure' scripts. Examples: llvm-config --cxxflags llvm-config --ldflags llvm-config --libs engine bcreader scalaropts Options: --assertion-mode Print assertion mode of LLVM tree (ON or OFF). --bindir Directory containing LLVM executables. --build-mode Print build mode of LLVM tree (e.g. Debug or Release). --build-system Print the build system used to build LLVM (e.g. `cmake` or `gn`). --cflags C compiler flags for files that include LLVM headers. --cmakedir Directory containing LLVM CMake modules. --components List of all possible components. --cppflags C preprocessor flags for files that include LLVM headers. --cxxflags C++ compiler flags for files that include LLVM headers. --has-rtti Print whether or not LLVM was built with rtti (YES or NO). --help Print a summary of llvm-config arguments. --host-target Target triple used to configure LLVM. --ignore-libllvm Ignore libLLVM and link component libraries instead. --includedir Directory containing LLVM headers. --ldflags Print Linker flags. --libdir Directory containing LLVM libraries. --libfiles Fully qualified library filenames for makefile depends. --libnames Bare library names for in-tree builds. --libs Libraries needed to link against LLVM components. --link-shared Link the components as shared libraries. --link-static Link the component libraries statically. --obj-root Print the object root used to build LLVM. --prefix Print the installation prefix. --shared-mode Print how the provided components can be collectively linked (`shared` or `static`). --system-libs System Libraries needed to link against LLVM components. --targets-built List of all targets currently built. --version Print LLVM version. Typical components: all All LLVM libraries (default). engine Either a native JIT or a bitcode interpreter. -- Found LLVM (version: 19.1.1): (using /usr/bin/llvm-config) -- Include dirs: /usr/lib/llvm-19/include;/usr/lib/llvm-19/include -- LLVM libraries: /usr/lib/llvm-19/lib/libLLVM-19.so -- LLVM System libraries: usage: llvm-config <OPTION>... [<COMPONENT>...] Get various configuration information needed to compile programs which use LLVM. Typically called from 'configure' scripts. Examples: llvm-config --cxxflags llvm-config --ldflags llvm-config --libs engine bcreader scalaropts Options: --assertion-mode Print assertion mode of LLVM tree (ON or OFF). --bindir Directory containing LLVM executables. --build-mode Print build mode of LLVM tree (e.g. Debug or Release). --build-system Print the build system used to build LLVM (e.g. `cmake` or `gn`). --cflags C compiler flags for files that include LLVM headers. --cmakedir Directory containing LLVM CMake modules. --components List of all possible components. --cppflags C preprocessor flags for files that include LLVM headers. --cxxflags C++ compiler flags for files that include LLVM headers. --has-rtti Print whether or not LLVM was built with rtti (YES or NO). --help Print a summary of llvm-config arguments. --host-target Target triple used to configure LLVM. --ignore-libllvm Ignore libLLVM and link component libraries instead. --includedir Directory containing LLVM headers. --ldflags Print Linker flags. --libdir Directory containing LLVM libraries. --libfiles Fully qualified library filenames for makefile depends. --libnames Bare library names for in-tree builds. --libs Libraries needed to link against LLVM components. --link-shared Link the components as shared libraries. --link-static Link the component libraries statically. --obj-root Print the object root used to build LLVM. --prefix Print the installation prefix. --shared-mode Print how the provided components can be collectively linked (`shared` or `static`). --system-libs System Libraries needed to link against LLVM components. --targets-built List of all targets currently built. --version Print LLVM version. Typical components: all All LLVM libraries (default). engine Either a native JIT or a bitcode interpreter. -- Detected that llvm-config comes from a build-tree, adding more include directories for Clang -- Found Clang (LLVM version: 19.1.1) -- Include dirs: /usr/lib/llvm-19/include;/usr/lib/llvm-19/include;/usr/lib/llvm-19/tools/clang/include;/tools/clang/include -- Clang libraries: /usr/lib/llvm-19/lib/libclangFrontend.a;/usr/lib/llvm-19/lib/libclangDriver.a;/usr/lib/llvm-19/lib/libclangCodeGen.a;/usr/lib/llvm-19/lib/libclangSema.a;/usr/lib/llvm-19/lib/libclangAnalysis.a;/usr/lib/llvm-19/lib/libclangRewriteFrontend.a;/usr/lib/llvm-19/lib/libclangRewrite.a;/usr/lib/llvm-19/lib/libclangAST.a;/usr/lib/llvm-19/lib/libclangASTMatchers.a;/usr/lib/llvm-19/lib/libclangParse.a;/usr/lib/llvm-19/lib/libclangLex.a;/usr/lib/llvm-19/lib/libclangBasic.a;/usr/lib/llvm-19/lib/libclangARCMigrate.a;/usr/lib/llvm-19/lib/libclangEdit.a;/usr/lib/llvm-19/lib/libclangFrontendTool.a;/usr/lib/llvm-19/lib/libclangRewrite.a;/usr/lib/llvm-19/lib/libclangSerialization.a;/usr/lib/llvm-19/lib/libclangTooling.a;/usr/lib/llvm-19/lib/libclangStaticAnalyzerCheckers.a;/usr/lib/llvm-19/lib/libclangStaticAnalyzerCore.a;/usr/lib/llvm-19/lib/libclangStaticAnalyzerFrontend.a;/usr/lib/llvm-19/lib/libclangSema.a;/usr/lib/llvm-19/lib/libclangAPINotes.a -- Libclang C library: /usr/lib/llvm-19/lib/libclang.so -- Clang dynamic library: /usr/lib/llvm-19/lib/libclang-cpp.so Looking for std::regex support... -- Configuring done (3.9s) -- Generating done (0.0s) CMake Warning: Manually-specified variables were not used by the project: CMAKE_EXPORT_NO_PACKAGE_REGISTRY CMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY FETCHCONTENT_FULLY_DISCONNECTED -- Build files have been written to: /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu make[1]: Leaving directory '/<<PKGBUILDDIR>>' dh_auto_build cd obj-x86_64-linux-gnu && make -j2 "INSTALL=install --strip-program=true" VERBOSE=1 make[1]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu' /usr/bin/cmake -S/<<PKGBUILDDIR>> -B/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/CMakeFiles /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu//CMakeFiles/progress.marks make -f CMakeFiles/Makefile2 all make[2]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu' make -f CMakeFiles/ClazyPlugin.dir/build.make CMakeFiles/ClazyPlugin.dir/depend make -f docs/man/CMakeFiles/man.dir/build.make docs/man/CMakeFiles/man.dir/depend make[3]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu' cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<<PKGBUILDDIR>> /<<PKGBUILDDIR>>/docs/man /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/docs/man /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/docs/man/CMakeFiles/man.dir/DependInfo.cmake "--color=" make[3]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu' cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<<PKGBUILDDIR>> /<<PKGBUILDDIR>> /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/CMakeFiles/ClazyPlugin.dir/DependInfo.cmake "--color=" make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu' make -f docs/man/CMakeFiles/man.dir/build.make docs/man/CMakeFiles/man.dir/build make[3]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu' make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu' make -f CMakeFiles/ClazyPlugin.dir/build.make CMakeFiles/ClazyPlugin.dir/build make[3]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu' [ 1%] Generating clazy.1 cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/docs/man && /usr/bin/pod2man -c KDAB -r "1.12.0" -s 1 /<<PKGBUILDDIR>>/docs/man/clazy.pod /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/docs/man/clazy.1 [ 1%] Building CXX object CMakeFiles/ClazyPlugin.dir/cmake_pch.hxx.gch /usr/bin/c++ -DCLAZY_VERSION=\"1.12\" -DClazyPlugin_EXPORTS -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-19/include -I/usr/lib/llvm-19/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>>/obj-x86_64-linux-gnu/CMakeFiles/ClazyPlugin.dir/cmake_pch.hxx:5, from <command-line>: /<<PKGBUILDDIR>>/src/checkbase.h:90: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 90 | void InclusionDirective(clang::SourceLocation HashLoc, | ^~~~~~~~~~~~~~~~~~ make[3]: *** [CMakeFiles/ClazyPlugin.dir/build.make:80: CMakeFiles/ClazyPlugin.dir/cmake_pch.hxx.gch] Error 1 make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu' make[2]: *** [CMakeFiles/Makefile2:120: CMakeFiles/ClazyPlugin.dir/all] Error 2 make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu' make[1]: *** [Makefile:169: all] Error 2 make[1]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu' dh_auto_build: error: cd obj-x86_64-linux-gnu && make -j2 "INSTALL=install --strip-program=true" VERBOSE=1 returned exit code 2 make: *** [debian/rules:33: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 -------------------------------------------------------------------------------- The above is just how the build ends and not necessarily the most relevant part. If required, the full build log is available here: https://people.debian.org/~sanvila/build-logs/202410/ About the archive rebuild: The build was made on virtual machines from AWS, using sbuild and a reduced chroot with only build-essential packages. If you could not reproduce the bug please contact me privately, as I am willing to provide ssh access to a virtual machine where the bug is fully reproducible. If this is really a bug in one of the build-depends, please use reassign and affects, so that this is still visible in the BTS web page for this package. Thanks.