Tag: rules-require-build-prerequisite
Severity: error
Check: debian/rules
Renamed-From:
missing-build-dependency
missing-python-build-dependency
Explanation:
The code in debian/rules
requires a prerequisite
that is not presently listed in the package's Build-Depends
.
.
In the special case of Python, affected packages should Build-Depend
on one of python3
, python3-all
, python3-dev
,
or python3-all-dev
. Which one depends on whether a package supports
multiple Python versions, and also whether the package builds Python modules
or uses Python only as part of the build process.
.
Packages that depend on a specific Python version may build-depend
on any appropriate pythonX.Y
or pythonX.Y-dev
package
instead.
.
The condition you see in the context is not a recommendation on what to add. If
you see a list, more than likely only one member is needed to make this tag go
away. You probably also do not need the :any
multiarch qualifier,
if you see one.
See-Also: debian-policy 4.2