Public bug reported: Ubuntu 24.04.4 LTS
arcanist: Installed: 0~git20220903-2 Candidate: 0~git20220903-2 Version table: *** 0~git20220903-2 500 500 http://ubuntu.redcom.com/ubuntu noble/universe amd64 Packages 100 /var/lib/dpkg/status php8.3-cli: Installed: 8.3.6-0ubuntu0.24.04.6.redcom3+1768579000 Candidate: 8.3.6-0ubuntu0.24.04.6.redcom3+1768579000 Version table: *** 8.3.6-0ubuntu0.24.04.6.redcom3+1768579000 500 500 http://update.redcom.com/cobblepot/main/latest stable/main amd64 Packages 100 /var/lib/dpkg/status 8.3.6-0ubuntu0.24.04.6 500 500 http://ubuntu.redcom.com/ubuntu noble-updates/main amd64 Packages 500 http://security.ubuntu.com/ubuntu noble-security/main amd64 Packages 8.3.6-0maysync1 500 500 http://ubuntu.redcom.com/ubuntu noble/main amd64 Packages There is a bug in the Ubuntu 24.04 LTS (noble) arcanist package, and apparently also in plucky and questing. In the package source file “src/utils/utf8.php” the script tries to make use of the PHP “utf8_decode” function, which is deprecated in current versions of PHP and triggers an exception. The fix is quite simple: ``` function phutil_utf8_strlen($string) { if (function_exists('mb_strlen')) { return mb_strlen($string,'UTF-8'); } return count(phutil_utf8v($string)); } ``` ** Affects: phabricator (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2142690 Title: Arcanist uses a deprecated PHP function To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/phabricator/+bug/2142690/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
