Package Details: php-ast 1.1.0-1

Git Clone URL: (read-only, click to copy)
Package Base: php-ast
Description: Extension exposing PHP 7 abstract syntax tree
Upstream URL:
Keywords: ast pecl php
Licenses: BSD
Submitter: bgaleotti
Maintainer: leo98
Last Packager: leo98
Votes: 6
Popularity: 0.000000
First Submitted: 2015-12-07 15:12 (UTC)
Last Updated: 2022-08-20 10:10 (UTC)

Required by (1)

Sources (1)

Latest Comments

leo98 commented on 2021-03-29 14:45 (UTC)

reply to [flavius] and [lonaowna]:

I'm the new maintainer of this package.

Patches are applied for PHP 8 compatibility. Try rebuild and it would not throw any error if everything goes well.

flavius commented on 2021-03-17 07:19 (UTC) (edited on 2021-03-17 07:19 (UTC) by flavius)

Compilation error with php8:

creating libtool
appending configuration tag "CXX" to libtool
configure: patching
configure: creating ./config.status
config.status: creating config.h
/bin/sh /home/flav/.cache/rua/build/php-ast/src/php-ast-1.0.5/libtool --mode=compile cc -I. -I/home/flav/.cache/rua/build/php-ast/src/php-ast-1.0.5 -I/home/flav/.cache/rua/build/php-ast/src/php-ast-1.0.5/include -I/home/flav/.cache/rua/build/php-ast/src/php-ast-1.0.5/main -I/home/flav/.cache/rua/build/php-ast/src/php-ast-1.0.5 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib  -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H  -march=x86-64 -mtune=generic -O2 -pipe -fno-plt    -c /home/flav/.cache/rua/build/php-ast/src/php-ast-1.0.5/ast.c -o ast.lo 
mkdir .libs
 cc -I. -I/home/flav/.cache/rua/build/php-ast/src/php-ast-1.0.5 -I/home/flav/.cache/rua/build/php-ast/src/php-ast-1.0.5/include -I/home/flav/.cache/rua/build/php-ast/src/php-ast-1.0.5/main -I/home/flav/.cache/rua/build/php-ast/src/php-ast-1.0.5 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -c /home/flav/.cache/rua/build/php-ast/src/php-ast-1.0.5/ast.c  -fPIC -DPIC -o .libs/ast.o
/home/flav/.cache/rua/build/php-ast/src/php-ast-1.0.5/ast.c: In function ‘get_ast’:
/home/flav/.cache/rua/build/php-ast/src/php-ast-1.0.5/ast.c:310:6: error: void value not ignored as it ought to be
  310 |  if (zend_prepare_string_for_scanning(&code_zv, filename) == SUCCESS) {
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make: *** [Makefile:208: ast.lo] Error 1
==> ERROR: A failure occurred in build().

Build failed with exit code 4 in /home/flav/.cache/rua/build/php-ast

lonaowna commented on 2021-01-18 18:32 (UTC)

Please update: 1.0.5 is not compatible with PHP 8 (currently in [testing]).

atriix commented on 2016-03-20 02:39 (UTC)

==> ERROR: license should be an array ==> ERROR: Makepkg was unable to build php-ast.

aaronjameslang commented on 2016-01-05 12:28 (UTC)

Please change dependency to extra/php as this is now 7. Thanks