Package: dpkg-dev
Version: 1.23.5
Severity: wishlist

Hello Guillem et al.

This bug is a sister of #1126558.

When dpkg-source reports the extra files that it found, sometimes
it does not report everything which is wrong.

This often lead maintainers (this happened to me, so including myself!)
to implement an incomplete fix. Then the bug has to be reported again
or reopened, which seems like a suboptimal way to handle all this.

I'm going to use the same package as before as an example:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1045695

The initial report suggests that the po/*.gmo files need to be removed,
but after doing so, file "po/stamp-po" still needs to be removed
(but it was not reported the first time).

This can be reproduced easily in trixie, by building the source
after the binary build, then adding po/*.gmo to debian/clean
as a quick fix, then trying to build the source again.

Note: I have no idea of easy/difficult this would be to implement.

If it's not easy I would maybe suggest adding a warning/caveat
at the end like "There may be more errors, you should try again
after fixing the errors above" (of course not with such wording
but you get the idea).

Thanks.

Reply via email to