2014-11-07 18:22 GMT+01:00 David Prévot <[email protected]>:
> Package: pkg-php-tools
> Version: 1.25
> Severity: normal
>
> Hi,
Hi David,
> While trying to build the latest beta of aws-sdk-for-php package (3.0
> branch), that depends on mtdowling/jmespath.php, an exception happens:
>
> exception 'InvalidArgumentException' with message 'Malformed dependency
> package: 'jmespath.php'' in /usr/share/php/pkgtools/base/dependency.php:203
> Stack trace:
> #0 /usr/share/php/pkgtools/base/dependency.php(120):
> Pkgtools\Base\Dependency->__set('package', 'jmespath.php')
> #1 /usr/share/php/pkgtools/phpcomposer/source.php(160):
> Pkgtools\Base\Dependency->__construct('require', 'mtdowling', 'jmespath.php')
> #2 /usr/share/php/pkgtools/phpcomposer/command.php(73):
> Pkgtools\Phpcomposer\Source->getDependencies()
> #3 [internal function]: Pkgtools\Phpcomposer\Command->runSubstvars()
> #4 /usr/share/php/pkgtools/base/command.php(181): call_user_func_array(Array,
> Array)
> #5 /usr/share/php/pkgtools/base/command.php(169):
> Pkgtools\Base\Command->parseArgs(Array)
> #6 /usr/bin/pkgtools(32): Pkgtools\Base\Command->parseArgs()
> #7 {main}
Can you attach the complete build log?
> As one could guess, misc:Depends= is empty, but the package didn’t fails
> to build (which is worse than one could expect IMHO).
>
> It would be nice if the parser didn’t choke on this latest dependency,
Yes
> it would also be nice if such an exception triggered an FTBFS.
Yes.
Regards
Mathieu
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]