Bug 1609013
| Summary: | [RFE] find-debuginfo.sh should use a reliable, dedicated ELF file id tool, not rely on parsing 'file' output | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Adam Williamson <awilliam> |
| Component: | debugedit | Assignee: | Mark Wielaard <mjw> |
| Status: | CLOSED UPSTREAM | QA Contact: | |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | fweimer, mjw, packaging-team-maint, pmatilai, pmoravco, vmukhame |
| Target Milestone: | --- | Keywords: | FutureFeature |
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2025-04-09 16:02:48 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
Adam Williamson
2018-07-26 18:02:45 UTC
Actually... we already have a small, ELF-specific tool in rpm: elfdeps. The one in released rpm's wont work, but after this patch it should be usable for the purpose: https://github.com/rpm-software-management/rpm/commit/4cc32dec579afbc4aa48de62ee125f532bf3fc94 After actually looking at what find-debuginfo.sh does with file... it needs quite a bit of adaptation to work with the above elfdeps change, or we need to further change elfdeps to be more like file, eg add an option that prints out the filename if a file is actually ELF, or something like that. Reassigning to debugedit which is where future developments in this area will take place. Moved upstream: https://sourceware.org/bugzilla/show_bug.cgi?id=32863 |