[pkg-php-pear] Incorrect fix [Was: php-doctrine-cache_1.10.0-4_source.changes ACCEPTED into unstable]

David Prévot david at tilapin.org
Mon Mar 23 17:58:13 GMT 2020


Hi Ondřej,

Le 23/03/2020 à 00:53, Debian FTP Masters a écrit :
[…]
> Source: php-doctrine-cache
[…]
> Maintainer: Debian PHP PEAR Maintainers <pkg-php-pear at lists.alioth.debian.org>
[…]
>    * The autopkgtest dependencies were underspecified (Closes: #953777)

I had a quick look at the fix. It’s useless: phpunit already depend on
php-cli, php-xml, and php-mbstring.

https://salsa.debian.org/php-team/pear/php-doctrine-cache/-/commit/77782beaad3a125d97fd1e8541d4c6a1d150b785

#953777 is about the lack of tight versioning dependency between PHP
extensions.

The test log shows a mix of php-7.3 and php-7.4 extensions installed:
php7.3-mbstring php7.3-sqlite3 php7.3-xml php7.4-cli php7.4-common
php7.4-json (the autopkgtest is about *partial* upgrade for migrations).

https://ci.debian.net/data/autopkgtest/testing/amd64/p/php-doctrine-cache/4542910/log.gz

You may argue that it’s a flow in autopkgtest, but anyway, you can’t fix
it by adding useless dependencies in a consumer (using php extensions)
package. You may want to (at least temporarily, since it defeat the main
purpose of having various PHP versions co-installable) tighten the
dependencies from php-7.4 (e.g, Breaks: php7.3-mbstring, php-7.3-xml,
etc.), or try and get an exception from the release team.

Regards

David

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-php-pear/attachments/20200323/89362c6b/attachment.sig>


More information about the pkg-php-pear mailing list