Le 02/03/2026 à 12:59, Vincent Danjean a écrit :
   Hi,

   Thanks for the report.

   Do you have an idea why the commands in debian/rules do not work ?
I put them explicitely for these files. With them, I pass the rebuild test on 
salsa.

override_dh_auto_clean::
         dh_auto_clean
         $(RM) go*.*pk go*.pfm
         $(RM) manual.log manual.pdf
         $(RM) sgfsplit

If I understand correctly, debian/clean is used by dh_auto_clean, so I do not 
understand what your proposal is changing (ie move files to remove from 
debian/rules command in override_dh_auto_clean target to a list in debian/clean)

Found, I had a typo (go*.pfm instead of go*.tfm)

  Regards,
    Vincent

   Regards,
     Vincent

Le 02/03/2026 à 12:27, Santiago Vila a écrit :
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.




Reply via email to