Bug 2221585
Summary: | clang-analyzer: cannot run scan-view after python 3.12 update | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Jesus Checa <jchecahi> |
Component: | clang | Assignee: | Tulio Magno Quites Machado Filho <tuliom> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 39 | CC: | airlied, jchecahi, kkleine, npopov, sbergman, sergesanspaille, siddharth.kde, tbaeder, tstellar, tuliom |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2023-10-02 17:52:33 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Jesus Checa
2023-07-10 08:05:11 UTC
I'm working on the update to LLVM 16.0.6, which should also fix this. FEDORA-2023-afd7a38128 has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2023-afd7a38128 I have tested the updated package from bodhi, unfortunately it seems the issue is still reproducible: [root@ibm-z-109 ~]# rpm -q clang clang-16.0.6-1.fc39.s390x [root@ibm-z-109 ~]# scan-view --help Traceback (most recent call last): File "/usr/bin/scan-view", line 9, in <module> import imp ModuleNotFoundError: No module named 'imp' [root@ibm-z-109 ~]# grep -Hn "import imp" `which scan-view` /usr/bin/scan-view:9:import imp I proposed a fix in this pull request: https://src.fedoraproject.org/rpms/clang/pull-request/208 The fix has been merged and is now available on https://bodhi.fedoraproject.org/updates/FEDORA-2023-afd7a38128 FEDORA-2023-afd7a38128 has been pushed to the Fedora 39 stable repository. If problem still persists, please make note of it in this bug report. This bug appears to have been reported against 'rawhide' during the Fedora Linux 39 development cycle. Changing version to 39. |