[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#370201: Lintian is slightly schizophrenic in Build-Depends checks



Package: lintian
Version: 1.23.21
Severity: wishlist

Lintian correctly picked up on this:

$ lintian -i mutagen_1.4-1_i386.changes
E: mutagen source: build-depends-indep-should-be-build-depends python | python-dev | python-all-dev
N:
N:   The specified package is required to run the clean target of
N:   debian/rules and therefore must be listed in Build-Depends, even if no
N:   architecture-dependent packages are built.
N:
N:   Refer to Policy Manual, section 7.6 for details.

But when I fixed my package, it now reports:

$ lintian -i mutagen_1.4-1_i386.changes
W: mutagen source: build-depends-without-arch-dep python-dev
N:
N:   The control file lists the given package in Build-Depends, but no
N:   architecture-dependent packages are built. If all the packages built
N:   are architecture-independent, the only packages that should be listed
N:   in Build-Depends are those required to run the clean target (such as
N:   debhelper if you use dh_clean). Other build dependencies should be
N:   listed in Build-Depends-Indep instead.
N:
N:   Refer to Policy Manual, section 7.6 for details.

If the former check is smart enough to know I need Python for my clean
target, the latter one should be too.
-- 
Joe Wreschnig <piman@sacredchao.net>

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: