[Pkg-mediawiki-devel] Bug#566290: php-wikidiff2: missing dependency on phpapi-*

Raphael Geissert geissert at debian.org
Fri Jan 22 18:06:40 UTC 2010

Package: php-wikidiff2
Version: 0.0.1+svn55737-1
Severity: serious


Your package builds a PHP extension but doesn't depend on phpapi-*.
This is incorrect and will break it on PHP transitions, such as the
soon-to-come PHP 5.3 transition.

All you need to do is, at build time, make the package shipping the
PHP extension depend on phpapi-$(php-config5 --phpapi)
This can be inserted into the control file by the means of subst vars.

Please note that in spite of the lintian warning about depending on a
virtual package, you shoul *NOT* add any of the php SAPIs (-cli, -cgi,
libapache-mod, etc) as an ORed dependency to phpapi-. You could add an
override if you insist, but this will likely be handled on lintian's
side in a future version.

P.S. if this bug isn't fixed by one of the current BSPs I plan to fix
it in the following days via a 1-day delay NMU.
If you intend to fix it, in less than three days, say it NOW.

Thanks in advance.

Raphael Geissert - Debian Developer
www.debian.org - get.debian.net

More information about the Pkg-mediawiki-devel mailing list