Bug 2155384

Summary: Broken symbolic links in compiler-rt.
Product: Red Hat Enterprise Linux 8 Reporter: Flos Qi Guo <qguo>
Component: compiler-rtAssignee: Tom Stellard <tstellar>
Status: CLOSED MIGRATED QA Contact: Jesus Checa <jchecahi>
Severity: medium Docs Contact:
Priority: medium    
Version: 8.6CC: jchecahi, mprchlik, sipoyare
Target Milestone: rcKeywords: MigratedToJIRA, Triaged
Target Release: ---Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-09-22 16:36:15 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Flos Qi Guo 2022-12-21 04:48:46 UTC
> Description of problem:
compiler-rt contains lots of broken symbolic links which point to non-existing files.

> Version-Release number of selected component (if applicable):
compiler-rt-14.0.6-1.module+el8.7.0+15816+ec020e8f.x86_64 and even on RHEL9.

> How reproducible:
100%

> Steps to Reproduce:
1. Fresh install a RHEL8.
2. Enable rhel-8-for-x86_64-appstream-rpms channel.
3. Install compiler-rt.
4. Check files under '/usr/lib64/clang/14.0.6/lib/linux'.

> Actual results:
Files with 'i386' in their names point to invalid files.

> Expected results:
No broken symbolic links.

> Additional info:
Need to handle the '*i386*' files better.

Comment 6 Flos Qi Guo 2023-02-25 07:49:02 UTC
Hello,

The problem is that you SHOULD NOT force a user to install "compiler-rt.i686" when one only use "compiler-rt.x86_64". As I mentioned before, the "compiler-rt.x86_64" relies on the files provided by "compiler-rt.i686", if "compiler-rt.i686" is not installed, then the "compiler-rt.x86_64" will have lots of broken symbolic links which point to non-existing files.

It's blocking the backup and restore procedure of another product 'rear', as it'll check the non-existing files of system's RPM.

Thanks.

Best regards,
Flos

Comment 8 RHEL Program Management 2023-09-22 16:32:19 UTC
Issue migration from Bugzilla to Jira is in process at this time. This will be the last message in Jira copied from the Bugzilla bug.

Comment 9 RHEL Program Management 2023-09-22 16:36:15 UTC
This BZ has been automatically migrated to the issues.redhat.com Red Hat Issue Tracker. All future work related to this report will be managed there.

Due to differences in account names between systems, some fields were not replicated.  Be sure to add yourself to Jira issue's "Watchers" field to continue receiving updates and add others to the "Need Info From" field to continue requesting information.

To find the migrated issue, look in the "Links" section for a direct link to the new issue location. The issue key will have an icon of 2 footprints next to it, and begin with "RHEL-" followed by an integer.  You can also find this issue by visiting https://issues.redhat.com/issues/?jql= and searching the "Bugzilla Bug" field for this BZ's number, e.g. a search like:

"Bugzilla Bug" = 1234567

In the event you have trouble locating or viewing this issue, you can file an issue by sending mail to rh-issues. You can also visit https://access.redhat.com/articles/7032570 for general account information.