Lintian Reports

I should-specify-rules-requires-root

All reports of should-specify-rules-requires-root for the archive. The extended description of this tag is:

This package builds a binary package containing at least one path with a UNIX ownership other than "root:root". It therefore requires fakeroot(1) or similar to build its binary targets.

Traditionally, Debian packages have required root privileges for some debian/rules target requiring a split between build and binary targets. This makes the builds slower due to the increased amount of invocations as well as the overhead of fakeroot itself.

By declaring when a package really does require root privileges the default, archive-wide, behaviour can be switched, optimising packaging build times in the common case.

Please specify (eg.) Rules-Requires-Root: binary-targets in the debian/control source stanza.

Refer to /usr/share/doc/dpkg-dev/rootless-builds.txt.gz, Debian Policy Manual section 4.9.2 (debian/rules and Rules-Requires-Root), and Debian Policy Manual section 5.6.31 (Rules-Requires-Root) for details.

Severity: info

Check: debian/control

This tag has not been emitted in any package tested by Lintian.