Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 783126 - sys-devel/clang-12 ModuleNotFoundError: No module named 'Reporter' when using scan-view
Summary: sys-devel/clang-12 ModuleNotFoundError: No module named 'Reporter' when using...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: LLVM support project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-04-16 10:24 UTC by Jannik Glückert
Modified: 2021-04-17 06:22 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jannik Glückert 2021-04-16 10:24:46 UTC
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)
Comment 3 Larry the Git Cow gentoo-dev 2021-04-17 06:22:58 UTC
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(+)