since clang 12, invoking scan-view fails with the following: Traceback (most recent call last): File "/usr/lib/llvm/12/bin/scan-view", line 150, in <module> main() File "/usr/lib/llvm/12/bin/scan-view", line 147, in main run(port, args, args.root) File "/usr/lib/llvm/12/bin/scan-view", line 74, in run import ScanView File "/usr/lib/llvm/12/bin/../share/scan-view/ScanView.py", line 29, in <module> import Reporter ModuleNotFoundError: No module named 'Reporter' I'm using default python targets (3.8 at time of writing)
https://reviews.llvm.org/D93565 https://github.com/llvm/llvm-project/commit/dbb01536f6f49fa428f170e34466072ef439b3e9
https://reviews.llvm.org/D96367 https://github.com/llvm/llvm-project/commit/e3cd3a3c91524c957e06bb0170343548f02b6842
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e423501d8ce3971dff16dd52e35bd4b55c61117f commit e423501d8ce3971dff16dd52e35bd4b55c61117f Author: Michał Górny <mgorny@gentoo.org> AuthorDate: 2021-04-17 05:53:16 +0000 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: 2021-04-17 05:53:16 +0000 sys-devel/clang: Backport scan-view fix Closes: https://bugs.gentoo.org/783126 Signed-off-by: Michał Górny <mgorny@gentoo.org> ...{clang-12.0.0.ebuild => clang-12.0.0-r1.ebuild} | 1 + sys-devel/clang/files/12.0.0/readd-reporter.patch | 200 +++++++++++++++++++++ 2 files changed, 201 insertions(+)