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

dlint error



Hello!


I just got this:

E: dlint source: build-depends-without-arch-dep
N:
N:   The control file specifies source relations for architecture-dependent
N:   packages, but no architecture-dependent packages are built. Most
N:   likely you need to change Build-Depends to Build-Depends-Indep.
N:   
N:   Refer to Policy Manual, section 7.6 for details.
N:

Why do I have to change?


>From policy section 7.6:

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

The targets of Bild-Depends are a superset of the
targets of Build-Depends-Indep. So using Build-Depends-Indep
does not bring any additional use.

It is the other way round: As the dh_* tools are used
from the "build" and "binary" target, too, using "Build-Depends" 
is better than using "Build-Depends-Indep". An installed
debhelper package is needed for this targets, too.


  Slightly confused
              Florian


--
  Florian Hinzmann                         private: f.hinzmann@hamburg.de
                                            Debian: fh@debian.org
PGP Key / ID: 1024D/B4071A65
Fingerprint : F9AB 00C1 3E3A 8125 DD3F  DF1C DF79 A374 B407 1A65



Reply to: