Package: php5-json
Version: 1.1.0-1
Severity: grave

The php5-json package is currently uninstallable in unstable, because it
depends on phpapi-20041030.  PHP 5.1.1 has just been uploaded, and the api
has been bumped.  You will need to rebuild your package.

Also, please note that it is incorrect to hard-code the dependency on
phpapi-20041030 in debian/control as you have done.  Just as with shared
libraries, the dependency should reflect the build environment instead of
hard-coding a particular version.  It is suggested that you use a command
such as

       echo "php:Depends=phpapi-`php-config5 --phpapi`" >> 
debian/php5-json.substvars

in debian/rules prior to calling dpkg-gencontrol, and use ${php:Depends} in
debian/control, so that the correct version can be pulled in automatically.
If you make this change (with s/5/4/ for php4-json as well), future PHP ABI
changes can be handled through binNMUs on the autobuilders.

Thanks,
-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
[EMAIL PROTECTED]                                   http://www.debian.org/

Attachment: signature.asc
Description: Digital signature

Reply via email to