When building php-ast extension, Perl returns Insecure $ENV{PATH}. This has been encountered before when building as another user.
----------
ID: php_ast_build
Function: cmd.script
Result: False
Comment: Command 'php_ast_build' run
Started: 13:25:24.496407
Duration: 166.343 ms
Changes:
----------
pid:
68211
retcode:
2
stderr:
Insecure $ENV{PATH} while running setgid at /usr/local/bin/autom4te-2.69 line 92.
/opt/php-ast/__salt.tmp.0tbvmu8_.sh: ./configure: not found
make: no target to make.
stdout:
Configuring for:
PHP Api Version: 20190902
Zend Module Api No: 20190902
Zend Extension Api No: 320190902
make: stopped in /opt/php-ast
----------
ID: php_ast_install
Function: cmd.run
Name: make install
Result: False
Comment: Command "make install" run
Started: 13:25:24.662943
Duration: 11.35 ms
Changes:
----------
pid:
68400
retcode:
2
stderr:
make: don't know how to make install. Stop
stdout:
make: stopped in /opt/php-ast
----------