On Thursday, 15 November 2018 8:22:17 AM AEDT Łukasz wrote: > It looks like one of the dependencies (php-parser) is not backward > compatible. > > Right now, in buster/sid, it is in version 3.1.5-1, but php7cc seems to > work only with version ~1.4 (as it is described in composer.json > file: > > "nikic/php-parser": "~1.4", > > , what means the version >= 1.4 but < 2.0.0 - https://getcomposer.org/d > oc/articles/versions.md#tilde-version-range-)
Thanks for looking into this problem, Łukasz. > What i did to solve the problem in my sid container: > > $ echo 'deb http://deb.debian.org/debian stretch main' \ > >> /etc/apt/sources.list > $ apt-get update > $ apt-get install php-parser=1.4.1-2 > > $ touch foo.php > $ php7cc foo.php > Checked 1 file in 0.002 second > > (gist with Dockerfile: > https://gist.github.com/lbacik/ebae064b31264d5c6d9512e47f395a01) We need to find out how to fix the package in "unstable" without downgrading any dependency packages. It may be necessary to produce a patch or discuss the matter with upstream. -- Cheers, Dmitry Smirnov. --- We often refuse to accept an idea merely because the way in which it has been expressed is unsympathetic to us. -- Friedrich Nietzsche
signature.asc
Description: This is a digitally signed message part.