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

Re: Lintian warnings for no-{section|priority}-field



On Sun, Feb 20, 2000 at 11:52:27AM -0500, Bob Hilliard wrote:
>      Why does lintian issue a warning in this case?  Since a package
> with these fields in debian/control and not in
> debian/tmp/DEBIAN/control can be installed in the distribution and
> work properly, isn't this lintian warning unnecessary, or perhaps a
> bug in lintian?  If there is a good reason for this warning, then it
> appears that dpkg-gencontrol should always be called with the -isp
> option.  If this is true, shouldn't dpkg-gencontrol place section and
> priority fields in debian/tmp/DEBIAN/control by default?
Lintian basicly doesn't care what's in the debian/control file, only the
tmp/DEBIAN/control file.  The warnings are warnings and not errors because
the package will still install.  

The warnings are NOT bugs in Lintian.  The fields are specified in either
policy, packaging manual or developers reference.  Like perl warnings and C
lint runs, Lintian warns and informs on more than just errors but also on
"bad form".  
> 
>      Why does the packaging system require two control files anyhow? 
The control file debian/control is used to build the file that eventually
becomes tmp/DEBIAN/control.  The only file included in the binary *.deb
package is the tmp/DEBIAN/control file...  The two files are not identical.

-- 
Please cc all mailing list replies to me, also.
* http://benham.net/index.html        <gecko@benham.net>           <><  *
* Debian:                             Software in the Public Interest:  *
*   Project Secretary                   Treasurer                       *
*   Webmaster Team                                                      *
*   BTS Team                          siteROCK:                         *
*   Lintian Team                        Linux Infrastructure Engineer   *

Attachment: pgptlmlzdWxyh.pgp
Description: PGP signature


Reply to: