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

Bug#370201: marked as done (Lintian is slightly schizophrenic in Build-Depends checks)



Your message dated Fri, 18 Aug 2006 20:58:22 -0700
with message-id <8764gpgyw1.fsf@windlord.stanford.edu>
and subject line build-depends-without-arch-dep fixed in 1.23.22
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
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


--- End Message ---
--- Begin Message ---
Version: 1.23.22

I'm pretty sure this bug was fixed in 1.23.22.  Did you have a versioned
dependency on python-dev in mutagen 1.4-1?  If so, it definitely was.  I
tried and can't reproduce this problem any more.

(BTW, the current version of mutagen has an unnecessary override for
build-depends-without-arch-dep, I think.  lintian understands the CDBS
Python includes and doesn't complain.)

-- 
Russ Allbery (rra@debian.org)               <http://www.eyrie.org/~eagle/>

--- End Message ---

Reply to: