missing-dependency-on-phpapi
This package includes a *.so file in /usr/lib/phpN
(where N is a number representing the major PHP version), normally
indicating that it includes a PHP extension. PHP extensions must
depend on phpapi-$(php-configN --phpapi), without adding an
alternative package with the OR operator.
This can usually be achieved by, for example, adding the following
code to the binary-arch target of the rules file and adding
${php:Depends}
to the Depends
field of the binary
package shipping the extension:
echo "php:Depends=phpapi-$(php-config5 --phpapi)" > debian/substvars
The tag is present in Lintian version 2.114.163
.
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.114.0
release tag in our Git
repository.
You can find the detection logic for this version at commit 3410a22. For merge requests, please use the latest version in the Lintian check binaries/prerequisites/php.
Visibility: error