Lintian ReportsBETA

Tag versions

Wdebian-rules-sets-dpkg-architecture-variable

The tag is present in Lintian version 2.113.26. That is the most recent version we know about.

We use semantic versions. The patch number is a commit step indicator relative to the 2.113.0 release tag in our Git repository.

You can find the detection logic for this version at commit 43a81d7. For merge requests, please use the latest version in the Lintian check debian/rules.

Visibility: warning

The debian/rules file sets one or more dpkg-architecture variables such as DEB_BUILD_ARCH.

These variables are pre-initialized in the environment when running under dpkg-buildpackage - avoiding these assignments can reduce package build time.

Please use:

include /usr/share/dpkg/architecture.mk

instead, or replace the assignment operator with ?=.

For more information please consult:

The following 71 source packages in the archive triggered the tag 123 times (in any Lintian version).

We found 27 overrides. The tag performed 78% of the time.