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

Re: build-depends-without-arch-dep and error checking source package



Roland Gruber <post@rolandgruber.de> writes:
> I have two problems with lintian and my package ldap-account-manager:
>
> 1. I get a "build-depends-without-arch-dep" warning which is caused by
> yada. Yada puts itself in Build-Depends-Indep and Build-Depends.
> See the control file attached.
>
> The maintainer of yada says that this is correct:
>
> "The Build-Depends have to be set if
> clean target is used. Build-Depends-Indep have to be set if build-indep
> target is used, so seems to me all right..."

The yada maintainer should read the policy:

|      `Build-Depends', `Build-Conflicts'
|           The `Build-Depends' and `Build-Conflicts' fields must be
|           satisfied when any of the following targets is invoked: `build',
|           `clean', `binary', `binary-arch', `build-arch', `build-indep' and
|           `binary-indep'.

There is *no* reason to put a package in both B-D and B-D-I.

> 2. Second problem is that for another version of my package lintian
> fails to check the source package. I get these errors:
> 
> roland@Roland:/daten/projekte/lam/releases/0.5.rc1/debian$ lintian
> ldap-account-manager_0.4.10+0.5.rc1.dsc
> dpkg-source: error: unrecognised file suffix `.diff'

That's a dpkg-source problem - and I wasn't able to unpack the source
package you provide. The version number is also totally broken: Is this
a native package? At least I can't see what upstreams version is and
what your version is. If it is a native package, you can't provide an
orig.tar.gz and a diff, if it is non-native, you need to change the
version number. dpkg-source sees this mess and thinks it works on a
native package, thus is a bit puzzled when it sees the diff.gz.

Marc
-- 
BOFH #224:
Jan  9 16:41:27 huber su: 'su root' succeeded for .... on /dev/pts/1

Attachment: pgpMNavjroMIu.pgp
Description: PGP signature


Reply to: