Source: quilt
Version: 0.65-2
Severity: normal

`debian/rules clean` is meant to work with only the Build-Depends and
Build-Conflicts satisfied (Policy §7.7):

    d/rules target         clean     build-arch   build-indep
    must have B-D            x           x            x
    must not have B-C        x           x            x
    must have B-D-Arch                   x
    must not have B-C-Arch               x
    must have B-D-Indep                               x
    must not have B-C-Indep                           x

but quilt fails to clean when bash-completion is not installed:

dpkg-buildpackage: info: source package quilt
dpkg-buildpackage: info: source version 0.65-3
dpkg-buildpackage: info: source distribution UNRELEASED
dpkg-buildpackage: info: source changed by Ondřej Nový <on...@debian.org>
 dpkg-source -i.gitignore -I.git --before-build .
 fakeroot debian/rules clean
dh clean --with=bash-completion
dh: unable to load addon bash-completion: Can't locate 
Debian/Debhelper/Sequence/bash_completion.pm in @INC (you may need to install 
the Debian::Debhelper::Sequence::bash_completion module) (@INC contains: 
/etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.28.0 
/usr/local/share/perl/5.28.0 /usr/lib/x86_64-linux-gnu/perl5/5.28 
/usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.28 /usr/share/perl/5.28 
/usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at (eval 11) line 
1.
BEGIN failed--compilation aborted at (eval 11) line 1.

This happens if you build a clean source package (but nothing else)
using sbuild.

In general, packages providing third-party debhelper sequences need to
be in B-D, not in B-D-Arch or B-D-Indep.

    smcv

Reply via email to