tags 1044015 patch severity 1044015 normal reopen 1044015 thanks On Thu, Feb 19, 2026 at 08:46:13AM +0000, Debian FTP Masters wrote:
> * Clean also the generated '.pch; files of the test suite run. > (Closes: #1044015) Hi. Trying to build source after build now results in the following error: dpkg-buildpackage: info: source package clazy dpkg-buildpackage: info: source version 1.17-1 [...] # cleanup the artifacts of the tests find tests/ \( -name '*.o' -o -name '*.out' -o -name '*.result' -o -name '*.gch' -o -name '*.pch' \) -delete make[1]: Leaving directory '/<<PKGBUILDDIR>>' dh_clean dpkg-source -b . dpkg-source: info: using source format '3.0 (quilt)' dpkg-source: info: building clazy using existing ./clazy_1.17.orig.tar.xz dpkg-source: info: using patch list from debian/patches/series dpkg-source: info: local changes detected, the modified files are: clazy-1.17/tests/auto-unexpected-qstringbuilder/main.cpp.clazy-standalone.fixed clazy-1.17/tests/auto-unexpected-qstringbuilder/main.cpp.clazy-standalone.yaml clazy-1.17/tests/auto-unexpected-qstringbuilder/main.cpp.clazy.fixed clazy-1.17/tests/auto-unexpected-qstringbuilder/main.cpp.clazy.yaml clazy-1.17/tests/copyable-polymorphic/fixits.cpp.clazy-standalone.fixed clazy-1.17/tests/copyable-polymorphic/fixits.cpp.clazy-standalone.yaml [...] Maybe this is an effect of bug #1126665 in dpkg-dev, where dpkg-source does not tell everything which is wrong (and therefore, acting solely on its output does not ensure that we are fixing the problem). Anyway, the attached patch works for me for the current version. Thanks.
commit 0ed05305adc8f8be1b2126548327f3eeb460247e Author: Santiago Vila <[email protected]> Date: Thu Feb 19 17:20:00 2026 +0100 Fix clean target. Closes: #1044015. diff --git a/debian/rules b/debian/rules index 75e2841..60de8e1 100755 --- a/debian/rules +++ b/debian/rules @@ -30,7 +30,7 @@ DPKG_ARCHITECTURE = $(shell dpkg --print-architecture) execute_after_dh_auto_clean: # cleanup the artifacts of the tests - find tests/ \( -name '*.o' -o -name '*.out' -o -name '*.result' -o -name '*.gch' -o -name '*.pch' \) -delete + find tests/ \( -name '*.o' -o -name '*.out' -o -name '*.result' -o -name '*.gch' -o -name '*.pch' -o -name '*.fixed' -o -name '*.yaml' \) -delete override_dh_auto_configure: dh_auto_configure -- -DCLANGPP_EXECUTABLE="$(CLANGPP)" -DREADLINK_CMD:FILEPATH=/bin/readlink

