Vincent Danjean <[EMAIL PROTECTED]> writes:

> Package: lintian
> Version: 1.23.21
> Severity: normal

> One of my packages (mercurial) needs python2.4. So I specifically
> build-depends on python2.4-dev.  Since a few days, lintian complains
> about a missing build dependency:
> E: mercurial source: missing-build-dependency python | python-dev | 
> python-all-dev
> It seems to ignore my depend on python2.4-dev. 

>   However, my package perfectly builds in a pbuilder environment
> (without any depends requested by lintian). So it seems that lintian has
> too strict tests with respect to python.

Are you using dh_python?

dh_python specifically requires that /usr/bin/python exist.  As near as I
could determine, installing the versioned packages (python2.4,
python2.4-dev) does not create /usr/bin/python, only /usr/bin/python2.4.
Hence the warning.  dh_python doesn't look for python2.4 or python2.3; it
just bails out with an error if /usr/bin/python doesn't exist.

Are you sure that dh_python is working in your chroot build of the
package?  And if so, could something else be pulling in python for you via
a transitive dependency?

If you're not using dh_python, something else may be going on; let me know
if that's the case.

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