#1044015 clazy: Fails to build source after successful build

Package:
src:clazy
Source:
src:clazy
Submitter:
Lucas Nussbaum
Date:
2026-02-22 07:05:03 UTC
Severity:
normal
Tags:
#1044015#5
Date:
2023-08-13 13:17:56 UTC
From:
To:
Hi,

This package fails to build a source package after a successful build
(dpkg-buildpackage ; dpkg-buildpackage -S).

This is probably a clear violation of Debian Policy section 4.9 (clean target),
but this is filed as severity:minor for now, because a discussion on
debian-devel showed that we might want to revisit the requirement of a working
'clean' target.

More information about this class of issues, included common problems and
solutions, is available at
https://wiki.debian.org/qa.debian.org/FTBFS/SourceAfterBuild

Relevant part of the build log:
The full build log is available from:
http://qa-logs.debian.net/2023/08/13/clazy_1.11-4_unstable.log

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.

#1044015#12
Date:
2024-07-04 18:19:12 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
clazy, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1044015@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Pino Toscano <pino@debian.org> (supplier of updated clazy package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Thu, 04 Jul 2024 20:06:47 +0200
Source: clazy
Architecture: source
Version: 1.12-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Changed-By: Pino Toscano <pino@debian.org>
Closes: 1043011 1044015 1051858
Changes:
 clazy (1.12-1) unstable; urgency=medium
 .
   * New upstream release:
     - supports up to LLVM 18 (Closes: #1051858)
   * Update standards version to 4.7.0, no changes needed.
   * Clean the generated files of the test suite run. (Closes: #1044015)
   * Update the patches:
     - upstream_tests-fix-clang-version-regexp.patch: drop, backported from
       upstream
     - upstream_tests-add-j-jobs-option-for-run_tests.py.patch: drop, backported
       from upstream
     - upstream_Build-fixes-for-LLVM-Clang-15.0.0.patch: drop, backported from
       upstream
     - debian-tests-link-atomic.diff: refresh/update
     - select-clangpp.diff: refresh
     - disable-reserve-candidates-flaky.patch: drop, no more needed
   * Update the build dependencies according to the upstream build system:
     - bump cmake to 3.8
     - bump clang & LLVM to 11.0
   * Add more dependencies as test build dependency, and for the 'run-tests'
     autopkgtest, needed by the new upstream release:
     - libqt5networkauth5-dev, libqt5svg5-dev, qtmultimedia5-dev
     - qt6-base-dev, qt6-declarative-dev, qt6-multimedia-dev,
       qt6-networkauth-dev, qt6-scxml-dev, qt6-svg-dev
   * Update the license file to drop from the installed documentation.
   * The rebuild will make it usable with GCC 13. (Closes: #1043011)
Checksums-Sha1:
 85512b828eee47bb53455a8b61f893b07c3c9a90 2905 clazy_1.12-1.dsc
 ea012dd99c6f8f302e43100728a43fbacf89ee53 427740 clazy_1.12.orig.tar.xz
 921546b6f4ccb39bb32bfcfa1314727609a3d49b 195 clazy_1.12.orig.tar.xz.asc
 122e0847c69dc8bf1cbcbd6b7796d976cb7520af 19576 clazy_1.12-1.debian.tar.xz
 74d629c36659fc658f6ebd9533efd7ef80c91ee6 15534 clazy_1.12-1_source.buildinfo
Checksums-Sha256:
 e5115549f46437e151fab34fbfdfa614429384acbf9aff2feb894579f0ffa5b7 2905 clazy_1.12-1.dsc
 611749141d07ce1e006f8a1253f9b2dbd5b7b44d2d5322d471d62430ec2849ac 427740 clazy_1.12.orig.tar.xz
 d944d1f5ec54f24d99c4a6b74cea78cccd9d97931b5b264434f2e7c36c97f46f 195 clazy_1.12.orig.tar.xz.asc
 a7f79dd295c5653d4c86775f29228c0c02bb490bc41a4d873b3b040cf6bfa730 19576 clazy_1.12-1.debian.tar.xz
 02c992b4797c2959e5323144f1c97e22e2ea9df769551e52fbf01de9b7782947 15534 clazy_1.12-1_source.buildinfo
Files:
 a233c18fbec1e1a17908d7855eb8298b 2905 devel optional clazy_1.12-1.dsc
 23f36b092c38d3f16bb3e6579f501b4b 427740 devel optional clazy_1.12.orig.tar.xz
 a73f53dad4df33d72990516294199702 195 devel optional clazy_1.12.orig.tar.xz.asc
 2e7ca63ac1ae591f6993edaf92ce6056 19576 devel optional clazy_1.12-1.debian.tar.xz
 d58d632832dda1207d53656bb4ee7652 15534 devel optional clazy_1.12-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEXyqfuC+mweEHcAcHLRkciEOxP00FAmaG5NYACgkQLRkciEOx
P00kUA/7B5Bd8NS5NL2np+ZjtX+yv4BIMFm257PLUP9mQH12kwz7UJ3imeYhqMgp
QMTbhXNadQmL5iZ7ngm0geLAehpaapeUUIkPCR0Gqsu8GTBr3zwPXHYaktkPzKv9
WU4FyTihPjywO3bhD1G5I9enzejo62hXhUkj5fOG3dqVyQ3szKLra1q8mBZUQQPy
YfnFm8NFTRw3Kaqz78/eRus9hN5nvB0ghO+r7w+rnHQYZXWyA4a1jMlbd+Yao+vT
Vt4z4WS9pRFyVS1EFK2nnu3KWk0FvsMdmSHwitAx/5xY5MaLgciRUQgmfkpcIhLX
gPSOl/w94ZSaDY8rKkhUdoeNYxRVCZ9CUR2rsRlc1sduFP00ioJqwn6VFar6ZaPT
CSBf+dXLl+xhTFeh/hs6Wps21kvvGx9ez1mLOTcxX4XjaNeSDsfIon9XrqjyuyyX
jRA1tE39/xDpTmRRO/uwVA3qX+h95QCe6Dfv4KELz7NvkEYeTvRYxrjd1hf02L/x
l+AhSu0GsZLb6LKJ7Kj6N8d0OWlLBpRRaa5jLNLk7aLyv//pNsQQRcxihpra8ax3
CDlJpVMMDvFSFANBve97MT4uzKV4zBV0Is1G994IohBkyqyYbEHaBzjUO2KdYlkc
uwFm+nd88NeTRjUw5tZ3oTjn3BVfRIFs2gFiVgYHerIJ5kQmZlA=
=Y3/a
-----END PGP SIGNATURE-----

#1044015#25
Date:
2026-02-19 08:46:13 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
clazy, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1044015@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Pino Toscano <pino@debian.org> (supplier of updated clazy package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Thu, 19 Feb 2026 09:02:47 +0100
Source: clazy
Architecture: source
Version: 1.17-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Changed-By: Pino Toscano <pino@debian.org>
Closes: 1044015
Changes:
 clazy (1.17-1) unstable; urgency=medium
 .
   * New upstream release.
   * Update the patches:
     - debian-tests-extra-libs.diff: drop, as the code for it was removed, and
       hopefully the is no more need to inject custom linker flags for tests
     - select-clangpp.diff: refresh
     - tests-clang-tidy-envvar.diff: drop, as upstream provides something now
   * Stop excluding the qt6-header-fixes on certain architectures, as this test
     was removed.
   * Adapt the 'run-tests' autopkgtest to set the CLANGTIDY environment variable
     instead of the previous home-grown CLAZY_CLANG_TIDY for the clang-tidy
     executable.
   * Bump Standards-Version to 4.7.3, no changes required.
   * Drop Priority: optional, no more needed since dpkg 1.22.13.
   * Disable/empty the list of architectures that need -latomic for now, as the
     only architecture there (armel) was discontinued.
   * Clean also the generated '.pch; files of the test suite run.
     (Closes: #1044015)
   * Exclude the qt6-* tests, as the test cases for them were left after the
     removal of those checks.
Checksums-Sha1:
 333cbba76eef854eb92be1b40ff773717ce4efda 2696 clazy_1.17-1.dsc
 a6534379e1522711752f5d2a2f6396f0e7a3cbe9 436196 clazy_1.17.orig.tar.xz
 b664f2ec05484bd5d99ec2087e8d010d4c44a233 17036 clazy_1.17-1.debian.tar.xz
 590b3f529e3cff36771401be5784e24c2b74dabf 16831 clazy_1.17-1_source.buildinfo
Checksums-Sha256:
 861df2f9ebec56918fecb6bf53c7d35ae328598498fb1ec1796d5ab68e298007 2696 clazy_1.17-1.dsc
 8d7e97a056b1bfbfc730e69855857866729686b8c7e66a22aee81f1baeaab1ec 436196 clazy_1.17.orig.tar.xz
 636eb39e21181ed15e616844aaf5ca83c8c953b9e9cfec434ec5f6bd6cdff428 17036 clazy_1.17-1.debian.tar.xz
 cc05d3ce6f1619c02467d8e9d7ec7439730f3aca4dd908109104b893a40805d2 16831 clazy_1.17-1_source.buildinfo
Files:
 d745930fdaff53d048fcbf7f77eb2ca9 2696 devel optional clazy_1.17-1.dsc
 30836708cf7f336fd8d32686aac77999 436196 devel optional clazy_1.17.orig.tar.xz
 e750ccffb11c348d5c084aa59c1964fd 17036 devel optional clazy_1.17-1.debian.tar.xz
 9a552d2e2d57e9666c96d5fc998d4ee2 16831 devel optional clazy_1.17-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEXyqfuC+mweEHcAcHLRkciEOxP00FAmmWw9AACgkQLRkciEOx
P02Cgw/+M24ZuPowu0K6wgF976XXr1zwz6mgHPS4wdG7zgooOeFEsFQIp/84Z73Q
8ogOQAdGYhL4AQ8Sf0cNQmF/6If3KPMu8CosA5cztuWf36UU/VWrUfWU+KAvcjHV
Grmc+yZ8hHVas4Cm195gNP+nURbuO/2tVrW/uxQamxO8SwWNt5QZ7o/6iwqwsU1Q
PVPEeRkSMnDcHKOkWGOj3EXu8Odt+sjh+NYNvjHuccwP3a4PB2WhoT0RGrksIk4R
RZQsSJJMEgII1PVcE2uYST5l7s3nq5d5Qf06LGM2jGNVxg+CFLnEYIjXEhEDK+1x
UjJ82dFSr2eGYDEdGysFXrBMrS0TVUbloU/7gPFaq21gIJ+sPXg3AAqhaahUDrus
QN1iPI4Vp56mSGT0DMIPUftzYW2g8qW6CHyuM3u8zEJmncMbSClGaXLOtq6BFTFC
FM5/NSBCgdXeU9IYidQnDt51RfsBvfeH7PlemlI4IsQj57OJLV//KIGW/OW7z27t
VAgRWIcgyU0EVijbwMFU5Ot3cVjAIok4V0yfACoB1lacV/BEoShNWV3dzJQ2KdHw
Nqtvx8NPBxOSlVdaB9iexEj5wq3vGqQ0L6ILbqkpW4Thzte8LdVtfDKmidJikoCW
N4LbTauf0aOyn/EPR190+bbQXBCSgi5L8VUlwGABw0Bs8hi6U/k=
=mbYh
-----END PGP SIGNATURE-----

#1044015#30
Date:
2026-02-19 16:58:14 UTC
From:
To:
tags 1044015 patch
severity 1044015 normal
reopen 1044015
thanks

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.

#1044015#45
Date:
2026-02-22 07:04:17 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
clazy, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1044015@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Pino Toscano <pino@debian.org> (supplier of updated clazy package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Sun, 22 Feb 2026 07:48:15 +0100
Source: clazy
Architecture: source
Version: 1.17-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Changed-By: Pino Toscano <pino@debian.org>
Closes: 1044015
Changes:
 clazy (1.17-2) unstable; urgency=medium
 .
   * Clean also the generated '.fixed', and '.yaml' files of the test suite run.
     (Closes: #1044015 for real; if not, please open a new bug)
   * Run the tests at build time using the upstream build system:
     - use dh_auto_test, removing all the bits that are handled automatically
     - pass tests to exclude to ctest via -E, with a bit of quoting required
     - clarify that the excluded qt6-* tests are now needed only for the
       'run-tests' autopkgtest
Checksums-Sha1:
 6636105ee6cfec7db629fce804ff9eda28df6af1 2696 clazy_1.17-2.dsc
 43cc19279e481762dc2ec196b919e9160f43d88b 17172 clazy_1.17-2.debian.tar.xz
 a70b1d424aafdbfc04d1139b53e65fac20785ab0 16837 clazy_1.17-2_source.buildinfo
Checksums-Sha256:
 a894621fb7fde551d03eb6c32c5533893af4fa474b57f4b7d2d146c3e620e51e 2696 clazy_1.17-2.dsc
 285aa06ade3fc4cf77ce764e7655d36e9bec0b787783e56b5250c7cff49d148c 17172 clazy_1.17-2.debian.tar.xz
 464d4d995cdb26cd63e072196f65f467e1b905d0b1b992017c9ddb06a2756adc 16837 clazy_1.17-2_source.buildinfo
Files:
 b9b42f28a93bd7e8f066d7545b5e20c1 2696 devel optional clazy_1.17-2.dsc
 06d47a8f44a1a9f211ef4000f1bf204b 17172 devel optional clazy_1.17-2.debian.tar.xz
 d463d56967776724affc8df97224f910 16837 devel optional clazy_1.17-2_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEXyqfuC+mweEHcAcHLRkciEOxP00FAmmaptMACgkQLRkciEOx
P01x8xAAmmP3n2CYaJygQUJVS4e7LKPa2xoAfmcLTqZMMTMY31x6zxafyaqfNgd4
sOPeHE8FPcvlomYmaGUPfj7rhjTBQDcQ5G73lvU7RxCtexqpmuf6Gh/BmY/PVMAo
R+UgVGFDo8vVV5NuYRHxz4DfLfvzB1aiF/u3mPmfZRojhjKLYm2zdQY4E6b07ykr
5eLf9V4EV3qwNJ3Nyhipzi7/VNkCSiVwxMARUdsXLDpkaK6RExbhJ8N1RA1VHapm
kHzbtSwHqgvGkT8786IjG8jWlD5Qj0B+TcM3bfA1l9Mye3IhY0JEJGm//8qdp80B
c6h+sr66cjD3lbTVq0Q2eXAnMfZ4eZT1lF+MVe62FmOTYdYCSP3SrdTwm0LOMcNR
NZoCq4+kY19gE1OQE+OBIAyM2v4/hLu4CPHbViZ/h0CewRNzv41YRQroxXCP4OiS
p1vHiHXvUG+7qgCsHuPOiWArg0KTjj0KCDrMz2QCxpRCIeTa4Dxj+II9VB1bMT5j
qJHNCo5SOkcrkKCRxRqiTTkDhYP3lvPaygha6u/sUIZw423vf1CaAxywVBBcz/JF
5V9kRuTJRUoA1vz8D+G5or5AjUU4CIK3rS+YM+s+ayv9A6tgCkQahizndAhF9OGx
lnEfu2SsEksLzSCUN4lISYvZR1zjieGwaM6Ool/pnBPlPS8CRHM=
=dprs
-----END PGP SIGNATURE-----