Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Description of problem:
In latest module build llvm-toolset:rhel8:8090020230510011837:b46abd14 the %{clang_resource_dir} points to a non existing directory (/usr/lib64/clang/16.0.0).
It seems to be because in previously there were two directories under /usr/lib64/clang/, one being %major.%minor.%patch and other being only %major. This has changed in clang 16 and now only one directory exists, which is (/usr/lib64/clang/16).
It looks like changing the macro definition [1] with the respective change from fedora [2] might fix the issue.
[1] https://gitlab.com/redhat/centos-stream/rpms/clang/-/blob/stream-llvm-toolset-rhel8-rhel-8.9.0/macros.clang#L11
[2] https://src.fedoraproject.org/rpms/clang/c/4cb2bd60c5856d81b8dc2c4beee7f54fc308bd69?branch=rawhide
Version-Release number of selected component (if applicable):
clang-devel-16.0.0-1.module+el8.9.0+18819+1c91450f.x86_64
clang-resource-filesystem-16.0.0-1.module+el8.9.0+18819+1c91450f.x86_64
How reproducible:
100%
Steps to Reproduce:
1. dnf install -y clang-devel
2. ls $(rpm -E "%{clang_resource_dir}")
Actual results:
ls: cannot access '/usr/lib64/clang/16.0.0': No such file or directory
Expected results:
%{clang_resource_dir} should expand to /usr/lib64/clang/16/
Additional info:
Fedora builds and RHEL9.3 builds are not affected by this issue.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory (llvm-toolset:rhel8 bug fix and enhancement update), and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://access.redhat.com/errata/RHBA-2023:6985
Description of problem: In latest module build llvm-toolset:rhel8:8090020230510011837:b46abd14 the %{clang_resource_dir} points to a non existing directory (/usr/lib64/clang/16.0.0). It seems to be because in previously there were two directories under /usr/lib64/clang/, one being %major.%minor.%patch and other being only %major. This has changed in clang 16 and now only one directory exists, which is (/usr/lib64/clang/16). It looks like changing the macro definition [1] with the respective change from fedora [2] might fix the issue. [1] https://gitlab.com/redhat/centos-stream/rpms/clang/-/blob/stream-llvm-toolset-rhel8-rhel-8.9.0/macros.clang#L11 [2] https://src.fedoraproject.org/rpms/clang/c/4cb2bd60c5856d81b8dc2c4beee7f54fc308bd69?branch=rawhide Version-Release number of selected component (if applicable): clang-devel-16.0.0-1.module+el8.9.0+18819+1c91450f.x86_64 clang-resource-filesystem-16.0.0-1.module+el8.9.0+18819+1c91450f.x86_64 How reproducible: 100% Steps to Reproduce: 1. dnf install -y clang-devel 2. ls $(rpm -E "%{clang_resource_dir}") Actual results: ls: cannot access '/usr/lib64/clang/16.0.0': No such file or directory Expected results: %{clang_resource_dir} should expand to /usr/lib64/clang/16/ Additional info: Fedora builds and RHEL9.3 builds are not affected by this issue.