[pkg-php-pear] Bug#789943: FTBFS: Unable to parse version '>=0.90 <3.0' with dependency ruflin/elastica

David Prévot taffit at debian.org
Thu Jun 25 15:20:03 UTC 2015

Control: reassign -1 pkg-php-tools,php-monolog
Control: retitle -1 dh_phpcomposer should handle ranges separated by a space (causes FTBFS in packages using them)
Control: found -1 pkg-php-tools/1.29
Control: found -1 pkg-php-tools/1.14.0-1
Control: tags -1 = pending

On Thu, Jun 25, 2015 at 01:57:40PM +0000, Chris West (Faux) wrote:
> Package: php-monolog
> Version: 1.14.0-1
> Severity: serious
> Tags: sid stretch
> Justification: fails to build from source (but built successfully in the past)
> User: reproducible-builds at lists.alioth.debian.org
> Usertags: ftbfs

> The package fails to build in sid, but seems fine in testing

Well, the version is testing is not the same 1.13.1-2 (nor is the
version in stable (1.11.0-2), so the tags might have been an abuse.

> exception 'InvalidArgumentException' with message 'Unable to parse version '>=0.90 <3.0' with dependency ruflin/elastica (>=0.90 <3.0)' in /usr/share/php/pkgtools/phpcomposer/source.php:192

I noticed it one day after the upload (thanks to the reproducible effort
showing up in the DDPO), and documented it four days ago [1].

	1: http://anonscm.debian.org/cgit/pkg-php/php-monolog.git/commit/?id=6768cb5d271b6b72e1843115a2182bd5fe2da8e6

The root issue has been fixed in pkg-php-tools a month ago [2], Mathieu,
are you willing to upload it soon, or do you mind me doing a team upload
of pkg-php-tools as of its current status?

FWIW, I do use this version for a month already without any issue so
far, except maybe not noticing FTBFSes like this one any more. The range
specification was updated recently (in Composer 1.0.0~alpha10) [3].
Hypen range is a bit trickier to handle as far as I’ve tried, but is not
yet used in what is currently packaged in Debian AFAIK.

	2: http://anonscm.debian.org/cgit/pkg-php/pkg-php-tools.git/commit/?id=0077d22e352cdfe0351f53b396ef83f30c63e08d
	3: https://getcomposer.org/doc/01-basic-usage.md#package-versions


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-php-pear/attachments/20150625/7726ae26/attachment.sig>

More information about the pkg-php-pear mailing list