Lintian tags - hints and tips

Maintainers Tags Packages

Feel free to contribute and share your hints and tips.

Lintian tag build-depends-on-python-dev-with-no-arch-any:

  • The given package appears to have a Python development package (python-dev, python-all-dev or pythonX.Y-dev) listed in its Build-Depends or Build-Depends-Indep fields, but only "Architecture: all" packages are built by this source package. Python applications and modules do not usually require those dev packages, so you should consider removing them in favour of python, python-all or pythonX.Y. If you are building a Python extension instead, you should have development packages listed in Build-Depends, but normally there should be at least one Architecture: any package.

Hints and Tips

CDBS generates python-dev build-dependency

When CDBS is used to generate build dependencies, it always generate:

If your package don't need python-dev, you can add one of those rules in debian/rules:

See CDBS bug 577613