Lintian tag: debian-rules-sets-dpkg-architecture-variable

Type: warning

Description (from lintian-explain-tags)

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
Show-Always: no
Check: debian/rules

Affected packages

source version binary tag type tag information count
alberta 3.0.3-2 warning debian-rules-sets-dpkg-architecture-variable DEB_HOST_ARCH [debian/rules:14] 1
binutils 2.43.90.20250127-1 overridden debian-rules-sets-dpkg-architecture-variable DEB_TARGET_MULTIARCH [debian/rules:236] 1
binutils 2.43.90.20250127-1 overridden debian-rules-sets-dpkg-architecture-variable DEB_HOST_MULTIARCH [debian/rules:249] 1
binutils 2.43.90.20250127-1 overridden debian-rules-sets-dpkg-architecture-variable DEB_HOST_MULTIARCH [debian/rules:251] 1
binutils 2.43.90.20250127-1 overridden debian-rules-sets-dpkg-architecture-variable DEB_TARGET_GNU_TYPE [debian/rules:235] 1
binutils 2.43.90.20250127-1 overridden debian-rules-sets-dpkg-architecture-variable DEB_TARGET_ARCH [debian/rules:234] 1
binutils-gold 2.43.90.20250127-1 overridden debian-rules-sets-dpkg-architecture-variable DEB_TARGET_ARCH [debian/rules:242] 1
binutils-gold 2.43.90.20250127-1 overridden debian-rules-sets-dpkg-architecture-variable DEB_TARGET_MULTIARCH [debian/rules:244] 1
binutils-gold 2.43.90.20250127-1 overridden debian-rules-sets-dpkg-architecture-variable DEB_HOST_MULTIARCH [debian/rules:257] 1
binutils-gold 2.43.90.20250127-1 overridden debian-rules-sets-dpkg-architecture-variable DEB_TARGET_GNU_TYPE [debian/rules:243] 1
binutils-gold 2.43.90.20250127-1 overridden debian-rules-sets-dpkg-architecture-variable DEB_HOST_MULTIARCH [debian/rules:259] 1
cde 0.1+git9-g551e54d-2 warning debian-rules-sets-dpkg-architecture-variable DEB_BUILD_GNU_TYPE [debian/rules:27] 1
cde 0.1+git9-g551e54d-2 warning debian-rules-sets-dpkg-architecture-variable DEB_HOST_GNU_TYPE [debian/rules:28] 1
cde 0.1+git9-g551e54d-2 warning debian-rules-sets-dpkg-architecture-variable DEB_HOST_ARCH [debian/rules:29] 1
cdrom-checker 1.65 warning debian-rules-sets-dpkg-architecture-variable DEB_BUILD_GNU_TYPE [debian/rules:3] 1
condor 23.6.2+dfsg-2 warning debian-rules-sets-dpkg-architecture-variable DEB_TARGET_ARCH [debian/rules:10] 1
connectome-workbench 2.0.1-1 warning debian-rules-sets-dpkg-architecture-variable DEB_HOST_ARCH [debian/rules:8] 1
devicexlib 0.8.5-1 warning debian-rules-sets-dpkg-architecture-variable DEB_HOST_MULTIARCH [debian/rules:8] 1
ecere-sdk 0.44.15-1 warning debian-rules-sets-dpkg-architecture-variable DEB_HOST_ARCH [debian/rules:3] 1
ecere-sdk 0.44.15-1 warning debian-rules-sets-dpkg-architecture-variable DEB_HOST_MULTIARCH [debian/rules:4] 1
flex 2.6.4-8.2 warning debian-rules-sets-dpkg-architecture-variable DEB_HOST_MULTIARCH [debian/rules:21] 1
flex 2.6.4-8.2 warning debian-rules-sets-dpkg-architecture-variable DEB_BUILD_MULTIARCH [debian/rules:22] 1
gcc-defaults 1.220 overridden debian-rules-sets-dpkg-architecture-variable DEB_HOST_GNU_TYPE [debian/rules:226] 1
gcc-defaults 1.220 overridden debian-rules-sets-dpkg-architecture-variable DEB_HOST_MULTIARCH [debian/rules:227] 1
gcc-defaults 1.220 overridden debian-rules-sets-dpkg-architecture-variable DEB_HOST_ARCH [debian/rules:225] 1
gcc-defaults-mipsen 1.220 overridden debian-rules-sets-dpkg-architecture-variable DEB_HOST_MULTIARCH [debian/rules:227] 1
gcc-defaults-mipsen 1.220 overridden debian-rules-sets-dpkg-architecture-variable DEB_HOST_GNU_TYPE [debian/rules:226] 1
gcc-defaults-mipsen 1.220 overridden debian-rules-sets-dpkg-architecture-variable DEB_HOST_ARCH [debian/rules:225] 1
gcc-defaults-ports 1.220 overridden debian-rules-sets-dpkg-architecture-variable DEB_HOST_ARCH [debian/rules:225] 1
gcc-defaults-ports 1.220 overridden debian-rules-sets-dpkg-architecture-variable DEB_HOST_MULTIARCH [debian/rules:227] 1
gcc-defaults-ports 1.220 overridden debian-rules-sets-dpkg-architecture-variable DEB_HOST_GNU_TYPE [debian/rules:226] 1
gcc-h8300-hms 1:3.4.6+dfsg2-4.2 warning debian-rules-sets-dpkg-architecture-variable DEB_BUILD_GNU_TYPE [debian/rules:22] 1
gcc-h8300-hms 1:3.4.6+dfsg2-4.2 warning debian-rules-sets-dpkg-architecture-variable DEB_HOST_GNU_TYPE [debian/rules:23] 1
haskell-skein 1.0.9.4-9 warning debian-rules-sets-dpkg-architecture-variable DEB_HOST_ARCH_ENDIAN [debian/rules:8] 1
icon 9.5.24a-2 warning debian-rules-sets-dpkg-architecture-variable DEB_HOST_ARCH_OS [debian/rules:6] 1
libcapi20-3 1:3.27-3.2 warning debian-rules-sets-dpkg-architecture-variable DEB_HOST_MULTIARCH [debian/rules:2] 1
libgcrypt20 1.11.0-7 overridden debian-rules-sets-dpkg-architecture-variable DEB_HOST_MULTIARCH [debian/rules:10] 1
libint2 2.7.2-1.1 warning debian-rules-sets-dpkg-architecture-variable DEB_HOST_MULTIARCH [debian/rules:16] 1
libnss-docker 0.02-1.1 warning debian-rules-sets-dpkg-architecture-variable DEB_HOST_MULTIARCH [debian/rules:3] 1
libnss-extrausers 0.6-6 warning debian-rules-sets-dpkg-architecture-variable DEB_HOST_GNU_TYPE [debian/rules:6] 1
libpulse-java 2.4.7-2 warning debian-rules-sets-dpkg-architecture-variable DEB_HOST_MULTIARCH [debian/rules:5] 1
lowmem 1.52 warning debian-rules-sets-dpkg-architecture-variable DEB_BUILD_GNU_TYPE [debian/rules:3] 1
mailagent 1:3.1-106-1.1 warning debian-rules-sets-dpkg-architecture-variable DEB_HOST_MULTIARCH [debian/rules:24] 1
main-menu 1.68 warning debian-rules-sets-dpkg-architecture-variable DEB_BUILD_GNU_TYPE [debian/rules:3] 1
mono 6.12.0.199+dfsg-2.1 warning debian-rules-sets-dpkg-architecture-variable DEB_BUILD_ARCH [debian/rules:26] 1
mono 6.12.0.199+dfsg-2.1 warning debian-rules-sets-dpkg-architecture-variable DEB_HOST_ARCH [debian/rules:27] 1
mono 6.12.0.199+dfsg-2.1 warning debian-rules-sets-dpkg-architecture-variable DEB_HOST_GNU_TYPE [debian/rules:29] 1
mono 6.12.0.199+dfsg-2.1 warning debian-rules-sets-dpkg-architecture-variable DEB_BUILD_GNU_TYPE [debian/rules:28] 1
network-console 1.97 warning debian-rules-sets-dpkg-architecture-variable DEB_BUILD_GNU_TYPE [debian/rules:3] 1
openmolcas 24.10-4 warning debian-rules-sets-dpkg-architecture-variable DEB_HOST_MULTIARCH [debian/rules:7] 1
partman-crypto 129 warning debian-rules-sets-dpkg-architecture-variable DEB_BUILD_GNU_TYPE [debian/rules:3] 1
psi4 1:1.3.2+dfsg-5 warning debian-rules-sets-dpkg-architecture-variable DEB_BUILD_MULTIARCH [debian/rules:6] 1
read-edid 3.0.2-1.1 warning debian-rules-sets-dpkg-architecture-variable DEB_HOST_ARCH [debian/rules:6] 1
read-edid 3.0.2-1.1 warning debian-rules-sets-dpkg-architecture-variable DEB_HOST_ARCH_CPU [debian/rules:8] 1
read-edid 3.0.2-1.1 warning debian-rules-sets-dpkg-architecture-variable DEB_HOST_ARCH_OS [debian/rules:7] 1
sensors-applet 3.0.0+git6-0.6 warning debian-rules-sets-dpkg-architecture-variable DEB_HOST_MULTIARCH [debian/rules:9] 1
sprng 2.0a-16 overridden debian-rules-sets-dpkg-architecture-variable DEB_HOST_ARCH [debian/rules:16] 1
unzip 6.0-28 warning debian-rules-sets-dpkg-architecture-variable DEB_HOST_GNU_TYPE [debian/rules:5] 1
xserver-xorg-video-qxl 0.1.6-1 warning debian-rules-sets-dpkg-architecture-variable DEB_HOST_GNU_TYPE [debian/rules:3] 1