[Debian-med-packaging] Bug#1001932: Bug#1001932: smart-open: FTBFS with dpkg-buildpackage -nc/--no-pre-clean

Paul Wise pabs at debian.org
Sun Dec 19 09:38:30 GMT 2021


Control: reopen -1
Control: retitle -1 smart-open: FTBFS with dpkg-buildpackage -nc/--no-pre-clean
Control: severity -1 normal
Control: tags -1 - moreinfo

On Sun, 2021-12-19 at 13:20 +0530, Nilesh Patra wrote:

> Looks like it is a local issue for you

I narrowed it down, it occurs when `debian/rules clean` is not run
before the build. I use that when I don't have enough the build-deps
outside the chroot to run `debian/rules clean` but enough to create the
source package. Looking at override_dh_auto_clean, I think that is
incorrect, instead the unwanted files should be deleted during an
execute_before_dh_auto_configure target. You can't guarantee that
debian/rules clean has been run after unpacking the source package,
but the package tests (incorrectly) rely on that having happened.

-- 
bye,
pabs

https://wiki.debian.org/PaulWise
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <http://alioth-lists.debian.net/pipermail/debian-med-packaging/attachments/20211219/46425e1d/attachment-0001.sig>


More information about the Debian-med-packaging mailing list