Simon Tatham <ana...@pobox.com> wrote: > However, the arcanist package does not list php-xml as a dependency, so > it's possible to install arcanist and find it giving you mysterious > internal errors when you try to use it with Subversion.
I didn't include a transcript of the error in the previous message because I didn't have one to hand; sorry about that. Now I've temporarily uninstalled php-xml in order to generate one: attached a full transcript, first without and then with the --trace option. Cheers, Simon -- for k in [pow(x,37,0x1a1298d262b49c895d47f) for x in [0x50deb914257022de7fff, 0x213558f2215127d5a2d1, 0x90c99e86d08b91218630, 0x109f3d0cfbf640c0beee7, 0xc83e01379a5fbec5fdd1, 0x19d3d70a8d567e388600e, 0x534e2f6e8a4a33155123]]: print("".join([chr(32+3*((k>>x)&1))for x in range(79)])) # <ana...@pobox.com>
$ arc patch D45753 Exception Failed to load class or interface 'SimpleXMLElement': the class or interface 'SimpleXMLElement' is not defined in the library map for any loaded phutil library. If you are not a developer, this almost always means that a library is out of date. For example, you may have upgraded `phabricator` without upgrading `libphutil`, or vice versa. It might also mean that you need to restart Apache or PHP-FPM. Make sure all libraries are up to date and all services have been restarted. If you are a developer and this symbol was recently added or moved, your library map may need to be rebuilt. You can rebuild the map by running 'arc liberate'. For more information, see: https://secure.phabricator.com/book/phabcontrib/article/adding_new_classes/ (Run with `--trace` for a full exception trace.) $ arc --trace patch D45753 ARGV '/usr/share/arcanist/bin/../scripts/arcanist.php' '--trace' 'patch' 'D45753' LOAD Loaded "phutil" from "/usr/share/libphutil/src". LOAD Loaded "arcanist" from "/usr/share/arcanist/src". Config: Reading user configuration file "/HOMEDIR/.arcrc"... Config: Did not find system configuration at "/etc/arcconfig". Working Copy: Reading .arcconfig from "/PATHNAME/llvm/.arcconfig". Working Copy: Path "/PATHNAME/llvm" is part of `svn` working copy "/PATHNAME/llvm". Working Copy: Project root is at "/PATHNAME/llvm". Config: Did not find local configuration at "/PATHNAME/llvm/.svn/arc/config". >>> [0] <conduit> differential.querydiffs() <bytes = 76> >>> [1] <http> https://reviews.llvm.org/api/differential.querydiffs <<< [1] <http> 1,424,922 us <<< [0] <conduit> 1,425,225 us >>> [2] <conduit> user.whoami() <bytes = 117> >>> [3] <http> https://reviews.llvm.org/api/user.whoami <<< [3] <http> 343,079 us <<< [2] <conduit> 343,251 us >>> [4] <conduit> differential.querydiffs() <bytes = 157> >>> [5] <http> https://reviews.llvm.org/api/differential.querydiffs <<< [5] <http> 2,661,195 us <<< [4] <conduit> 2,661,375 us >>> [6] <conduit> repository.query() <bytes = 151> >>> [7] <http> https://reviews.llvm.org/api/repository.query <<< [7] <http> 293,154 us <<< [6] <conduit> 293,339 us >>> [8] <exec> $ svn --xml status <<< [8] <exec> 310,098 us [2018-05-01 12:17:31] EXCEPTION: (PhutilMissingSymbolException) Failed to load class or interface 'SimpleXMLElement': the class or interface 'SimpleXMLElement' is not defined in the library map for any loaded phutil library. If you are not a developer, this almost always means that a library is out of date. For example, you may have upgraded `phabricator` without upgrading `libphutil`, or vice versa. It might also mean that you need to restart Apache or PHP-FPM. Make sure all libraries are up to date and all services have been restarted. If you are a developer and this symbol was recently added or moved, your library map may need to be rebuilt. You can rebuild the map by running 'arc liberate'. For more information, see: https://secure.phabricator.com/book/phabcontrib/article/adding_new_classes/ at [<phutil>/src/__phutil_library_init__.php:25] arcanist(), phutil() #0 __phutil_autoload(string) #1 spl_autoload_call(string) called at [<arcanist>/src/repository/api/ArcanistSubversionAPI.php:78] #2 ArcanistSubversionAPI::getSVNStatus() called at [<arcanist>/src/repository/api/ArcanistSubversionAPI.php:54] #3 ArcanistSubversionAPI::buildUncommittedStatus() called at [<arcanist>/src/repository/api/ArcanistRepositoryAPI.php:142] #4 ArcanistRepositoryAPI::getUncommittedStatus() called at [<arcanist>/src/repository/api/ArcanistRepositoryAPI.php:211] #5 ArcanistRepositoryAPI::getUncommittedPathsWithMask(integer) called at [<arcanist>/src/repository/api/ArcanistRepositoryAPI.php:186] #6 ArcanistRepositoryAPI::getIncompleteChanges() called at [<arcanist>/src/workflow/ArcanistWorkflow.php:842] #7 ArcanistWorkflow::requireCleanWorkingCopy() called at [<arcanist>/src/workflow/ArcanistPatchWorkflow.php:427] #8 ArcanistPatchWorkflow::run() called at [<arcanist>/src/workflow/ArcanistPatchWorkflow.php:397] #9 ArcanistPatchWorkflow::run() called at [<arcanist>/scripts/arcanist.php:392]