[PATCH] D131699: add arcanist patch

Uday Bondhugula via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun May 28 12:48:58 PDT 2023


bondhugula added a comment.

In D131699#3742559 <https://reviews.llvm.org/D131699#3742559>, @hiraditya wrote:

> with `arc diff`
>
>   Deprecated: Function libxml_disable_entity_loader() is deprecated in /usr/share/arcanist/support/init/init-script.php on line 92
>   PHP Fatal error:  Uncaught Exception: Error while loading file "/usr/share/arcanist/src/object/Phobject.php": Return type of Phobject::rewind() should either be compatible with Iterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /usr/share/arcanist/src/init/lib/PhutilBootloader.php:275
>   Stack trace:
>   #0 /usr/share/arcanist/src/init/lib/PhutilBootloader.php(207): PhutilBootloader->executeInclude()
>   #1 /usr/share/arcanist/src/symbols/PhutilSymbolLoader.php(422): PhutilBootloader->loadLibrarySource()
>   #2 /usr/share/arcanist/src/symbols/PhutilSymbolLoader.php(277): PhutilSymbolLoader->loadSymbol()
>   #3 /usr/share/arcanist/src/init/init-library.php(23): PhutilSymbolLoader->selectAndLoadSymbols()
>   #4 /usr/share/arcanist/src/filesystem/Filesystem.php(18): __phutil_autoload()
>   #5 /usr/share/arcanist/src/init/lib/PhutilBootloader.php(247): include_once('...')
>   #6 /usr/share/arcanist/src/init/lib/PhutilBootloader.php(207): PhutilBootloader->executeInclude()
>   #7 /usr/share/arcanist/src/symbols/PhutilSymbolLoader.php(422): PhutilBootloader->loadLibrarySource()
>   #8 /usr/share/arcanist/src/symbols/PhutilSymbolLoader.php(277): PhutilSymbolLoader->loadSymbol()
>   #9 /usr/share/arcanist/src/init/init-library.php(23): PhutilSymbolLoader->selectAndLoadSymbols()
>   #10 /usr/share/arcanist/src/init/lib/PhutilBootloader.php(97): __phutil_autoload()
>   #11 /usr/share/arcanist/src/init/lib/PhutilBootloader.php(21): PhutilBootloader->registerLibrary()
>   #12 /usr/share/arcanist/src/init/init-library.php(70): PhutilBootloader::newLibrary()
>   #13 /usr/share/arcanist/support/init/init-script.php(96): require_once('...')
>   #14 /usr/share/arcanist/support/init/init-script.php(115): __arcanist_init_script__()
>   #15 /usr/share/arcanist/support/init/init-arcanist.php(3): require_once('...')
>   #16 /usr/share/arcanist/bin/arc(10): require_once('...')
>   #17 {main}
>     thrown in /usr/share/arcanist/src/init/lib/PhutilBootloader.php on line 275

I still see the above error on Ubuntu 22.04 with PHP 2:8.1+92ubuntu1 and arcanist at `0fc22183e796fb8ac2e3a0a3f3f37aa964c6d7fa` (Mar 30, 2023) and after patching with llvm/utils/phabricator/0001-Fix-PHP-8.1-incompatibility-with-arc-patch-D-12345.patch.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D131699/new/

https://reviews.llvm.org/D131699



More information about the llvm-commits mailing list