Rene Engelhard <[EMAIL PROTECTED]> writes:

> Package: lintian
> Version: 1.23.22
> Severity: normal

> Hi,

> $ lintian -i openoffice.org_2.0.3-4.dsc
> E: openoffice.org source: missing-dh_python-build-dependency python | 
> python-dev | python-all-dev
> N:
> N:   The package runs dh_python in debian/rules but doesn't build-depend on
> N:   python or python-dev. dh_python requires /usr/bin/python to run, so
> N:   packages using dh_python must build-depend on python (or python-dev or
> N:   python-all-dev, which in turn depend on python), even if they don't
> N:   otherwise need Python to build.
> N:
> N:   Refer to the dh_python(1) manual page for details.

> wrong, because:

> Build-Depends: [...] python-central (>= 0.4.10) [i386 powerpc sparc], 
> debhelper (>= 5.0.37.1), python (>= 2.3.5-7) [i386 powerpc sparc], python-dev 
> [i386 powerpc sparc] [...]

> As wee see, both python and python-dev is there. (and dh_python is only
> ran on i386, powerpc, sparc because the python package is only built
> there - but lintian of course cannot know it).

> But it imho should omit the warning because it's specified....

This is difficult to fix, since lintian is (correctly) realizing that the
dependencies don't guarantee that those packages are installed.  To fix
this, we probably need to add a dependency checking function that ignores
architecture strings.  Ugh.

-- 
Russ Allbery ([EMAIL PROTECTED])               <http://www.eyrie.org/~eagle/>


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to