Bug 2115362 - python3-clang depends on libclang.so
Summary: python3-clang depends on libclang.so
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: clang
Version: 36
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Nikita Popov
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-08-04 13:58 UTC by Marc-Andre Lureau
Modified: 2023-01-11 01:20 UTC (History)
8 users (show)

Fixed In Version: clang-15.0.6-3.fc37
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-01-11 01:20:46 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Marc-Andre Lureau 2022-08-04 13:58:13 UTC
The clang python binding need libclang.so, otherwise it's useless/broken:

clang.cindex.LibclangError: libclang.so: cannot open shared object file: No such file or directory. To provide a path to libclang use Config.set_library_path() or Config.set_library_file().

python3-clang should probably have a "Depends:" on clang-libs.

But that's not all, since clang-libs doesn't provide libclang.so! Any idea why or what would be the solution?

thanks

Comment 1 Nikita Popov 2022-08-04 14:22:46 UTC
python3-clang does depend on clang-libs, see https://src.fedoraproject.org/rpms/clang/blob/rawhide/f/clang.spec#_232.

However libclang.so is provided only by clang-devel, not clang-libs (clang-libs only provides libclang.so.14 or similar, not the libclang.so symlink). Probably python3-clang should depend on clang-devel to make it directly usable.

Comment 3 Fedora Update System 2023-01-02 09:14:02 UTC
FEDORA-2023-2522d9d420 has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2023-2522d9d420

Comment 4 Fedora Update System 2023-01-03 01:08:56 UTC
FEDORA-2023-2522d9d420 has been pushed to the Fedora 37 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-2522d9d420`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-2522d9d420

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Fedora Update System 2023-01-11 01:20:46 UTC
FEDORA-2023-2522d9d420 has been pushed to the Fedora 37 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.