File: missing-dependency-on-phpapi.tag

package info (click to toggle)
lintian 2.130.0
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 71,852 kB
  • sloc: perl: 46,140; javascript: 9,151; makefile: 4,071; sh: 3,044; ansic: 714; xml: 518; python: 91; java: 15; cpp: 9; tcl: 4; lisp: 3
file content (15 lines) | stat: -rw-r--r-- 721 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Tag: missing-dependency-on-phpapi
Severity: error
Check: binaries/prerequisites/php
Explanation: This package includes a &ast;.so file in <code>/usr/lib/phpN</code>
 (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
 <code>${php:Depends}</code> to the <code>Depends</code> field of the binary
 package shipping the extension:
 .
 echo "php:Depends=phpapi-$(php-config5 --phpapi)" &gt; debian/substvars