LINTIAN

# `illegal-variable`

With debhelper compatibility level >= 13 (and also `dh-exec` before it) several files in the `./debian` folder support the expansion of variables. Unfortunately, people sometimes confuse the `DEB_BUILD_*` variables with the similarly-named `DEB_HOST_*` variables.

Some conditions are difficult to detect but it is never correct to use `DEB_BUILD_MULTIARCH` in `debian/*.install` or in `debian/*.links`.

Please use `DEB_HOST_MULTIARCH` instead of `DEB_BUILD_MULTIARCH`.

Severity: | `error`
Experimental: | `false`

## See also

- https://wiki.debian.org/Multiarch/Implementation#Recipes_for_converting_packages

- Bug#983219

- list of all the affected packages
- the source of this tag