[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1031173: arcanist-clang-format-linter: prevents arcanist tool from working (PHP Fatal error: Uncaught Error)



Package: arcanist-clang-format-linter
Version: 0.git20161021-3
Severity: grave
Justification: renders package unusable

Dear Maintainer,

When arcanist-clang-format-linter is installed, arcanist will fail to run with
this error:

------------------------
$ arcanist help
PHP Fatal error:  Uncaught Error: Call to undefined function arcanist_load_libraries() in /usr/share/arcanist/src/extensions/clang-format-linter.php:3
Stack trace:
#0 /usr/share/arcanist/src/init/lib/PhutilBootloader.php(247): include_once()
#1 /usr/share/arcanist/src/init/lib/PhutilBootloader.php(287): PhutilBootloader->executeInclude('...')
#2 /usr/share/arcanist/src/init/lib/PhutilBootloader.php(106): PhutilBootloader->loadExtension('...', '...', '...')
#3 /usr/share/arcanist/src/init/lib/PhutilBootloader.php(21): PhutilBootloader->registerLibrary('...', '...')
#4 /usr/share/arcanist/src/init/init-library.php(70): PhutilBootloader::newLibrary('...', '...')
#5 /usr/share/arcanist/support/init/init-script.php(114): require_once('...')
#6 /usr/share/arcanist/support/init/init-script.php(131): __arcanist_init_script__()
#7 /usr/share/arcanist/support/init/init-arcanist.php(3): require_once('...')
#8 /usr/share/arcanist/bin/arc(10): require_once('...')
#9 {main}
  thrown in /usr/share/arcanist/src/extensions/clang-format-linter.php on line 3

------------------------

The error does not appear when using arcanist without having this package
installed.

As this render the arcanist tool unusable, I've marked this bug as grave.

The most probable cause to this is the fact that arcanist-clang-format-linter
version is from 2016 but arcanist is from 2022.
I guess there were breaking changes in arcanist since then.

Upstream seem to have stopped any development on it as the last commit is from
2016.
See https://github.com/pwithnall/morefas-phabricator.

I installed this package to do development on LLVM (which use phabricator).
But it seems that it is in fact not needed, LLVM having its own lint script for
code style (which use clang-format too).



So I guess the solution is to remove this package from Debian as it doesn't
work anymore and was not updated upstream ?


-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable
  APT policy: (950, 'unstable'), (500, 'unstable-debug')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.1.0-3-amd64 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_WARN, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages arcanist-clang-format-linter depends on:
ii  arcanist      0~git20220903-2
ii  clang-format  1:14.0-55.5+b1
ii  diffutils     1:3.8-4

arcanist-clang-format-linter recommends no packages.

arcanist-clang-format-linter suggests no packages.

--
Alexis Murzeau
PGP: B7E6 0EBB 9293 7B06 BDBC  2787 E7BD 1904 F480 937F                 |


Reply to: