[pkg-php-pear] Bug#911278: php7cc: PHP Fatal error: Uncaught Error: Cannot instantiate interface PhpParser\Parser
Paul Wise
pabs at debian.org
Thu Oct 18 04:18:13 BST 2018
Package: php7cc
Version: 1.2.1-1
Severity: serious
php7cc doesn't appear to work at all. I tried with a empty directory
and with an empty file as well as with some old PHP code and all three
invocations produced the same set of errors:
$ php7cc .
PHP Fatal error: Uncaught Error: Cannot instantiate interface PhpParser\Parser in /usr/share/php/Sstalle/php7cc/Infrastructure/ContainerBuilder.php:165
Stack trace:
#0 /usr/share/php/Pimple/Container.php(113): Sstalle\php7cc\Infrastructure\ContainerBuilder->Sstalle\php7cc\Infrastructure\{closure}(Object(Pimple\Container))
#1 /usr/share/php/Sstalle/php7cc/Infrastructure/ContainerBuilder.php(195): Pimple\Container->offsetGet('parser')
#2 /usr/share/php/Pimple/Container.php(113): Sstalle\php7cc\Infrastructure\ContainerBuilder->Sstalle\php7cc\Infrastructure\{closure}(Object(Pimple\Container))
#3 /usr/share/php/Sstalle/php7cc/Infrastructure/ContainerBuilder.php(220): Pimple\Container->offsetGet('contextChecker')
#4 /usr/share/php/Pimple/Container.php(113): Sstalle\php7cc\Infrastructure\ContainerBuilder->Sstalle\php7cc\Infrastructure\{closure}(Object(Pimple\Container))
#5 /usr/share/php/Sstalle/php7cc/Infrastructure/ContainerBuilder.php(229): Pimple\Container->offsetGet('pathChecker')
#6 /usr/share/php/Pimple/Container.php(113): Ss in /usr/share/php/Sstalle/php7cc/Infrastructure/ContainerBuilder.php on line 165
$ touch foo.php
$ php7cc foo.php
PHP Fatal error: Uncaught Error: Cannot instantiate interface PhpParser\Parser in /usr/share/php/Sstalle/php7cc/Infrastructure/ContainerBuilder.php:165
Stack trace:
#0 /usr/share/php/Pimple/Container.php(113): Sstalle\php7cc\Infrastructure\ContainerBuilder->Sstalle\php7cc\Infrastructure\{closure}(Object(Pimple\Container))
#1 /usr/share/php/Sstalle/php7cc/Infrastructure/ContainerBuilder.php(195): Pimple\Container->offsetGet('parser')
#2 /usr/share/php/Pimple/Container.php(113): Sstalle\php7cc\Infrastructure\ContainerBuilder->Sstalle\php7cc\Infrastructure\{closure}(Object(Pimple\Container))
#3 /usr/share/php/Sstalle/php7cc/Infrastructure/ContainerBuilder.php(220): Pimple\Container->offsetGet('contextChecker')
#4 /usr/share/php/Pimple/Container.php(113): Sstalle\php7cc\Infrastructure\ContainerBuilder->Sstalle\php7cc\Infrastructure\{closure}(Object(Pimple\Container))
#5 /usr/share/php/Sstalle/php7cc/Infrastructure/ContainerBuilder.php(229): Pimple\Container->offsetGet('pathChecker')
#6 /usr/share/php/Pimple/Container.php(113): Ss in /usr/share/php/Sstalle/php7cc/Infrastructure/ContainerBuilder.php on line 165
-- System Information:
Debian Release: buster/sid
APT prefers testing-debug
APT policy: (900, 'testing-debug'), (900, 'testing'), (800, 'unstable-debug'), (800, 'unstable'), (790, 'buildd-unstable'), (700, 'experimental-debug'), (700, 'experimental'), (690, 'buildd-experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 4.18.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8), LANGUAGE=en_AU.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages php7cc depends on:
ii php-cli 1:7.2+62
ii php-common 1:62
ii php-parser 3.1.5-1
ii php-pimple 3.0.2-2
ii php-symfony-console 3.4.17+dfsg-1
ii php-symfony-finder 3.4.17+dfsg-1
ii php7.2-cli [php-cli] 7.2.9-1
php7cc recommends no packages.
php7cc suggests no packages.
-- no debconf information
--
bye,
pabs
https://wiki.debian.org/PaulWise
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <http://alioth-lists.debian.net/pipermail/pkg-php-pear/attachments/20181018/1502682f/attachment.sig>
More information about the pkg-php-pear
mailing list