[pkg-php-pear] Bug#770347: php-doctrine-instantiator: FTBFS: exception 'InvalidArgumentException' with message 'Unable to parse version '2.0.*@ALPHA' with dependency squizlabs/php_codesniffer (2.0.*@ALPHA)' in /usr/share/php/pkgtools/phpcomposer/source.php:192

Daniel Schepler dschepler at gmail.com
Thu Nov 20 16:47:11 UTC 2014


Source: php-doctrine-instantiator
Version: 1.0.2-1
Severity: serious

>From my pbuilder build log (on amd64):

...
 fakeroot debian/rules binary
dh binary --with phpcomposer
   dh_testroot
   dh_prep
   dh_auto_install
   dh_install
   dh_installdocs
   dh_installchangelogs
   dh_perl
   dh_phpcomposer
exception 'InvalidArgumentException' with message 'Unable to parse version '2.0.*@ALPHA' with dependency squizlabs/php_codesniffer (2.0.*@ALPHA)' in /usr/share/php/pkgtools/phpcomposer/source.php:192
Stack trace:
#0 /usr/share/php/pkgtools/phpcomposer/command.php(73): Pkgtools\Phpcomposer\Source->getDependencies()
#1 [internal function]: Pkgtools\Phpcomposer\Command->runSubstvars()
#2 /usr/share/php/pkgtools/base/command.php(181): call_user_func_array(Array, Array)
#3 /usr/share/php/pkgtools/base/command.php(169): Pkgtools\Base\Command->parseArgs(Array)
#4 /usr/bin/pkgtools(32): Pkgtools\Base\Command->parseArgs()
#5 {main}

Next exception 'Exception' with message 'Unable to parse version '2.0.*@ALPHA' with dependency squizlabs/php_codesniffer (2.0.*@ALPHA) with dependency squizlabs/php_codesniffer (2.0.*@ALPHA)' in /usr/share/php/pkgtools/phpcomposer/source.php:240
Stack trace:
#0 /usr/share/php/pkgtools/phpcomposer/command.php(73): Pkgtools\Phpcomposer\Source->getDependencies()
#1 [internal function]: Pkgtools\Phpcomposer\Command->runSubstvars()
#2 /usr/share/php/pkgtools/base/command.php(181): call_user_func_array(Array, Array)
#3 /usr/share/php/pkgtools/base/command.php(169): Pkgtools\Base\Command->parseArgs(Array)
#4 /usr/bin/pkgtools(32): Pkgtools\Base\Command->parseArgs()
#5 {main}
dh_phpcomposer: /usr/bin/pkgtools -v --sourcedirectory . phpcomposer substvars returned exit code 1
debian/rules:3: recipe for target 'binary' failed
make: *** [binary] Error 29
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2
-- 
Daniel Schepler



More information about the pkg-php-pear mailing list