tags 1045266 patch severity 1045266 normal reopen 1045266 thanks On Sun, Mar 01, 2026 at 10:09:11PM +0000, Debian FTP Masters wrote:
> * Fix clean target > Closes: #1045266 Hi. When trying to build source after binary build, this is what happens now: dpkg-source: error: cannot represent change to gobl.tfm: binary file contents changed dpkg-source: error: add gobl.tfm in debian/source/include-binaries if you want to store the modified binary in the debian tarball dpkg-source: error: cannot represent change to goea.tfm: binary file contents changed dpkg-source: error: add goea.tfm in debian/source/include-binaries if you want to store the modified binary in the debian tarball dpkg-source: error: cannot represent change to goeb.tfm: binary file contents changed dpkg-source: error: add goeb.tfm in debian/source/include-binaries if you want to store the modified binary in the debian tarball [...] Note that dpkg-source does not report everything which is wrong: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1126665 so after an attempt to fix the issue it is usually a good idea to retest again to be sure. Anyway, the attached patch works for me, I moved all the cleaning stuff to debian/clean, where it's easier to update, and also dropped things that do not need to be cleaned anymore. Thanks.
commit c1394836354f01ebd0c0080fde846967f87e6557 Author: Santiago Vila <[email protected]> Date: Mon Mar 2 12:15:00 2026 +0100 Fix clean target. Closes: #1045266. diff --git a/debian/clean b/debian/clean index b230cba..b2e9636 100644 --- a/debian/clean +++ b/debian/clean @@ -1,2 +1,7 @@ +go*.*pk +go*.tfm +manual.log +manual.pdf +sgfsplit test.pdf test.ps diff --git a/debian/rules b/debian/rules index f863494..4d1cc71 100755 --- a/debian/rules +++ b/debian/rules @@ -15,12 +15,5 @@ override_dh_installchangelogs: dh_installchangelogs dh_installchangelogs --keep debian/changelog-sgf2tex.Debian - -override_dh_auto_clean:: - dh_auto_clean - $(RM) go*.*pk go*.pfm - $(RM) manual.log manual.pdf - $(RM) sgfsplit - override_dh_missing: dh_missing --fail-missing

