Bug 2174920 - clang-tidy headers not installed
Summary: clang-tidy headers not installed
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: clang15
Version: 37
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Tulio Magno Quites Machado Filho
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-03-02 16:16 UTC by Robert
Modified: 2023-03-24 01:54 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-03-24 01:54:22 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Robert 2023-03-02 16:16:36 UTC
Description of problem:  For the last few major-versions versions, clang-tidy installs a set of headers including ClangTidy.h which are used to build 3rd party out-of-tree sources which are installed when building LLVM-project from source.  Fedora does not install these headers in any package that I can find.


Version-Release number of selected component (if applicable): 37, but I suspect this effects 36 and rawhide.


How reproducible: every time

How to reproduce:

rpm -ql clang-tools-extra | grep Tidy.h
rpm -ql clang-devel | grep Tidy.h


Actual results:

no output

Expected results:

One of these (or a new package clang-tools-extra-devel) should output something like:
/usr/include/clang-tidy/ClangTidy.h


Additional info:

Debian/Ubuntu provides these files in libclang-$version-dev packages.

Comment 1 Tulio Magno Quites Machado Filho 2023-03-03 13:14:09 UTC
This header is already distributed in package clang-tools-extra-devel available on Fedora 38 (unreleased) and newer.
I'm working on a fix for Fedora 37.

Comment 2 Fedora Update System 2023-03-09 16:42:39 UTC
FEDORA-2023-8a08ac5d70 has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2023-8a08ac5d70

Comment 3 Tulio Magno Quites Machado Filho 2023-03-09 16:45:45 UTC
Robert, the new package is now available for testing: https://bodhi.fedoraproject.org/updates/FEDORA-2023-8a08ac5d70
I'd appreciate if you could provide some feedback.

Comment 4 Fedora Update System 2023-03-10 02:06:52 UTC
FEDORA-2023-8a08ac5d70 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-8a08ac5d70`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-8a08ac5d70

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

Comment 5 Fedora Update System 2023-03-24 01:54:22 UTC
FEDORA-2023-8a08ac5d70 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.