$ arc diff master --update D25425 Launching editor "micro"... Update the revision comments, then save and exit. Linting... Exception Some linters failed: - PhutilProxyException: Your version of 'xhpast' is unbuilt or out of date. Run this script to build it.: $ /nix/store/a6zfw7jrbgf6b9iq1jrn5c7pmipxmsh1-arcanist-20230530/libexec/arcanist/support/xhpast/build-xhpast.php - CommandException: Command failed with error #255! COMMAND php -f /nix/store/a6zfw7jrbgf6b9iq1jrn5c7pmipxmsh1-arcanist-20230530/libexec/arcanist/src/moduleutils/../../support/lib/extract-symbols.php -- --ugly --builtins -- STDOUT (empty) STDERR [2023-09-23 14:34:35] EXCEPTION: (PhutilProxyException) Your version of 'xhpast' is unbuilt or out of date. Run this script to build it.: $ /nix/store/a6zfw7jrbgf6b9iq1jrn5c7pmipxmsh1-arcanist-20230530/libexec/arcanist/support/xhpast/build-xhpast.php {>} (CommandException) Command failed with error #2! COMMAND gmake -C /nix/store/a6zfw7jrbgf6b9iq1jrn5c7pmipxmsh1-arcanist-20230530/libexec/arcanist/support/xhpast 'SKIP_PARSER=1' 'SKIP_SCANNER=1' clean all install STDOUT gmake: Entering directory '/nix/store/a6zfw7jrbgf6b9iq1jrn5c7pmipxmsh1-arcanist-20230530/libexec/arcanist/support/xhpast' rm -f xhpast parser.yacc.output libxhpast.a *.o touch scanner.lex.hpp scanner.lex.cpp gmake: Leaving directory '/nix/store/a6zfw7jrbgf6b9iq1jrn5c7pmipxmsh1-arcanist-20230530/libexec/arcanist/support/xhpast' STDERR touch: cannot touch 'scanner.lex.hpp': Permission denied touch: cannot touch 'scanner.lex.cpp': Permission denied gmake: *** [Makefile:53: scanner.lex.cpp] Error 1 at [/src/... (666 more byte(s)) ... (Run with `--trace` for a full exception trace.) $ /nix/store/a6zfw7jrbgf6b9iq1jrn5c7pmipxmsh1-arcanist-20230530/libexec/arcanist/support/xhpast/build-xhpast.php [2023-09-23 14:34:56] EXCEPTION: (CommandException) Command failed with error #2! COMMAND gmake -C /nix/store/a6zfw7jrbgf6b9iq1jrn5c7pmipxmsh1-arcanist-20230530/libexec/arcanist/support/xhpast 'SKIP_PARSER=1' 'SKIP_SCANNER=1' clean all install STDOUT gmake: Entering directory '/nix/store/a6zfw7jrbgf6b9iq1jrn5c7pmipxmsh1-arcanist-20230530/libexec/arcanist/support/xhpast' rm -f xhpast parser.yacc.output libxhpast.a *.o touch scanner.lex.hpp scanner.lex.cpp gmake: Leaving directory '/nix/store/a6zfw7jrbgf6b9iq1jrn5c7pmipxmsh1-arcanist-20230530/libexec/arcanist/support/xhpast' STDERR touch: cannot touch 'scanner.lex.hpp': Permission denied touch: cannot touch 'scanner.lex.cpp': Permission denied gmake: *** [Makefile:53: scanner.lex.cpp] Error 1 at [/src/future/exec/ExecFuture.php:436] arcanist() #0 ExecFuture::raiseResultError(array) called at [/src/future/exec/ExecFuture.php:340] #1 ExecFuture::resolvex() called at [/src/future/exec/execx.php:17] #2 execx(string, string, string, array) called at [/src/parser/xhpast/bin/PhutilXHPASTBinary.php:43] #3 PhutilXHPASTBinary::build() called at [/support/xhpast/build-xhpast.php:7] $ sudo /nix/store/a6zfw7jrbgf6b9iq1jrn5c7pmipxmsh1-arcanist-20230530/libexec/arcanist/support/xhpast/build-xhpast.php [sudo] password for waldir.pimenta: [2023-09-23 14:35:16] EXCEPTION: (CommandException) Command failed with error #2! COMMAND gmake -C /nix/store/a6zfw7jrbgf6b9iq1jrn5c7pmipxmsh1-arcanist-20230530/libexec/arcanist/support/xhpast 'SKIP_PARSER=1' 'SKIP_SCANNER=1' clean all install STDOUT gmake: Entering directory '/nix/store/a6zfw7jrbgf6b9iq1jrn5c7pmipxmsh1-arcanist-20230530/libexec/arcanist/support/xhpast' rm -f xhpast parser.yacc.output libxhpast.a *.o touch scanner.lex.hpp scanner.lex.cpp touch parser.yacc.hpp parser.yacc.cpp php -f bin/xhpast-generate-nodes.php Wrote C++ definition. Wrote PHP definition. g++ -c -fPIC -Wall -O3 -minline-all-stringops -o scanner.lex.o scanner.lex.cpp g++ -c -fPIC -Wall -O3 -minline-all-stringops -o parser.yacc.o parser.yacc.cpp ar -crs libxhpast.a scanner.lex.o parser.yacc.o g++ -fPIC -Wall -O3 -minline-all-stringops -D XHPAST_VERSION='"7.1.6"' -o xhpast xhpast.cpp libxhpast.a gmake: Leaving directory '/nix/store/a6zfw7jrbgf6b9iq1jrn5c7pmipxmsh1-arcanist-20230530/libexec/arcanist/support/xhpast' STDERR Failed loading /nix/store/35bfg0dkrjkacw0id0ifdxsaq4b2g1yn-php-opcache-8.1.19/lib/php/extensions/opcache.so: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_ABI_DT_RELR' not found (required by /nix/store/x33pcmpsiimxhip52mwxbb5y77dhmb21-glibc-2.37-8/lib/librt.so.1) PHP Warning: PHP Startup: Unable to load dynamic library '/nix/store/c9qaayxgc5zj7ivssnpg8105y6k2kbmb-php-curl-8.1.19/lib/php/extensions/curl.so' (tried: /nix/store/c9qaayxgc5zj7ivssnpg8105y6k2kbmb-php-curl-8.1.19/lib/php/extensions/curl.so (/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.36' not found (required by /nix/store/rahi3k4d1lszif28xn84v74wd614gk2d-curl-8.1.1/lib/libcurl.so.4)), /usr/lib/php/20210902//nix/store/c9qaayxgc5zj7ivssnpg8105y6k2kbmb-php-curl-8.1.19/lib/php/extensions/curl.so.so (/usr/lib/php/20210902//nix/store/c9qaayxgc5zj7ivssnpg8105y6k2kbmb-php-curl-8.1.19/lib/php/extensions/curl.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 PHP Warning: Module "filter" i... (7,483 more byte(s)) ... at [/src/future/exec/ExecFuture.php:436] arcanist() #0 ExecFuture::raiseResultError(array) called at [/src/future/exec/ExecFuture.php:340] #1 ExecFuture::resolvex() called at [/src/future/exec/execx.php:17] #2 execx(string, string, string, array) called at [/src/parser/xhpast/bin/PhutilXHPASTBinary.php:43] #3 PhutilXHPASTBinary::build() called at [/support/xhpast/build-xhpast.php:7] $ sudo bash -c /nix/store/a6zfw7jrbgf6b9iq1jrn5c7pmipxmsh1-arcanist-20230530/libexec/arcanist/support/xhpast/build-xhpast.php [sudo] password for waldir.pimenta: [2023-09-24 09:08:07] EXCEPTION: (CommandException) Command failed with error #2! COMMAND gmake -C /nix/store/a6zfw7jrbgf6b9iq1jrn5c7pmipxmsh1-arcanist-20230530/libexec/arcanist/support/xhpast 'SKIP_PARSER=1' 'SKIP_SCANNER=1' clean all install STDOUT gmake: Entering directory '/nix/store/a6zfw7jrbgf6b9iq1jrn5c7pmipxmsh1-arcanist-20230530/libexec/arcanist/support/xhpast' rm -f xhpast parser.yacc.output libxhpast.a *.o g++ -c -fPIC -Wall -O3 -minline-all-stringops -o scanner.lex.o scanner.lex.cpp g++ -c -fPIC -Wall -O3 -minline-all-stringops -o parser.yacc.o parser.yacc.cpp ar -crs libxhpast.a scanner.lex.o parser.yacc.o g++ -fPIC -Wall -O3 -minline-all-stringops -D XHPAST_VERSION='"7.1.6"' -o xhpast xhpast.cpp libxhpast.a gmake: Leaving directory '/nix/store/a6zfw7jrbgf6b9iq1jrn5c7pmipxmsh1-arcanist-20230530/libexec/arcanist/support/xhpast' STDERR xhpast.cpp: In function ‘int xhpast_process(std::string&)’: xhpast.cpp:47:3: error: ‘xhpastlex_init’ was not declared in this scope 47 | xhpastlex_init(&scanner); | ^~~~~~~~~~~~~~ xhpast.cpp:48:3: error: ‘xhpastset_extra’ was not declared in this scope 48 | xhpastset_extra(&extra, scanner); | ^~~~~~~~~~~~~~~ xhpast.cpp:49:3: error: ‘xhpast_scan_buffer’ was not declared in this scope 49 | xhpast_scan_buffer(buffer, in.size() + 2, scanner); | ^~~~~~~~~~~~~~~~~~ xhpast.cpp:51:3: error: ‘xhpastlex_destroy’ was not declared in this scope 51 | xhpastlex_destroy(scanner); | ^~~~~~~~~~~~~~~~~ gmake: *** [Makefile:78: xhpast] Error 1 at [/src/future/exec/ExecFuture.php:436] arcanist() #0 ExecFuture::raiseResultError(array) called at [/src/future/exec/ExecFuture.php:340] #1 ExecFuture::resolvex() called at [/src/future/exec/execx.php:17] #2 execx(string, string, string, array) called at [/src/parser/xhpast/bin/PhutilXHPASTBinary.php:43] #3 PhutilXHPASTBinary::build() called at [/support/xhpast/build-xhpast.php:7]