Lintian ReportsBETA

Wdebian-rules-sets-dpkg-architecture-variable

Tag versions

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

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 ?=.

Please refer to the dpkg-architecture(1) manual page for details.

Visibility: warning

Check: debian/rules

The following 74 source packages in the archive triggered the tag 127 times.

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