clang: Option 'help-list' registered more than once!
I’m trying to use clazy [1] with clang/llvm 4.0.0.
(https://github.com/alpinelinux/aports/pull/1317)
“clazy —version” works but if I want to compile something I get this
error.
: CommandLine Error: Option ‘help-list’ registered more than once!
fatal error: error in backend: inconsistency in registered CommandLine
options
clang-4.0: error: clang frontend command failed with exit code 70 (use
-v to see invocation)
clang version 4.0.0 (tags/RELEASE_400/final)
Target: x86_64-alpine-linux-musl
Thread model: posix
InstalledDir: /usr/bin
clang-4.0: note: diagnostic msg: PLEASE submit a bug report to and
include the crash backtrace, preprocessed source, and associated run
script.
clang-4.0: note: diagnostic msg: Error generating preprocessed
source(s).
I reported it to clazy maintainer. He thinks it is a problem of alpine’s clang packging.
https://bugs.kde.org/show\_bug.cgi?id=379248
[1] https://github.com/KDE/clazy
(from redmine: issue id 7251, created on 2017-04-27)