Control: tags -1 + moreinfo

On Sun, 2023-11-26 at 14:06 +0100, Fabio Pedretti wrote:
> when I add --no-lintian (as found in debuild man page) option
> to debuild, I get the following error:
> ...
>  dpkg-buildpackage -us -uc -ui -S -sd -d --no-lintian
> dpkg-buildpackage: error: unknown option or argument --no-lintian

That suggests you've added it in the wrong part of the command line.
clearly shows in the synopsis that all debuild-specific options must
come _before_ any dpkg-buildpackage-specific options, and that --(no-
)lintian affects the behaviour of debuild itself, so falls into the
former set.

What *exactly* does your debuild invocation look like?

> I also tried setting:
> but it still uses lintian.

If you've added that to your shell, or a file like .profile, then
that's not particularly surprising, given that the same manpage also
says that DEBUILD_LINTIAN is a configuration variable, which is read
from one of two files, and "[e]nvironment variable settings are ignored
when these configuration files are read". (In common with almost every
variable any script in devscripts uses.)



Reply via email to