Control: tag 1140788 pending

Hi!

Bug #1140788 in package dpkg reported by you has been fixed in
the dpkg/dpkg.git Git repository. You can see the changelog below, and
you can check the diff of the fix at:

    https://git.dpkg.org/cgit/dpkg/dpkg.git/diff/?id=eb3b315e2

---
dpkg-buildpackage: Remove temporary *.dsc.asc file before and after signing

To sign the .dsc we use a temporary file that then we move into place,
so that we do not have to care about any overwrite behavior of the
various OpenPGP implementations.

If the build gets stopped during the signing process, or if it fails,
we might end up with lingering .dsc.asc files that some OpenPGP
implementations will refuse to overwrite, causing a confusing error.

Instead add an exit handler to remove the temporary file in case of any
error, and unconditionally remove it before we sign the .dsc file in
case there are leftovers from previous runs.

Closes: #1140788

Reply via email to