> > Hi. I've verified that adding the filename which shows up in the build log > > to debian/clean, as in the attached patch, fixes the issue. > > https://salsa.debian.org/samba-team/samba/-/commit/5541b5166411d19da3508236857ad684bd8f6d20 > > fwiw. I fixed it on the same day you reopened the issue.
Oh, thank you! > Since this turned out to be an easy one, let's not open a new bug report. And also thank you for this. This one was in the category of "extra file which needs to be removed but it's not used during build", which is easy indeed. The difficult category would be "file which is modified during build but we can't remove in the clean target because then the build either fails or produces a different .deb". I'm looking at ways to solve at least the first category in a semi-automatic fashion (parsing the build log, verifying that it fixes the problem etc) and send patches, but it's still a work in progress. Thanks.

