Bug 2079600 - check-rpaths wastes time fetching debuginfo
Summary: check-rpaths wastes time fetching debuginfo
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: rpm
Version: 36
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Packaging Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 2093180 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-04-27 20:21 UTC by Tom Hughes
Modified: 2022-06-22 10:45 UTC (History)
7 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2022-06-22 10:37:13 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Tom Hughes 2022-04-27 20:21:22 UTC
Description of problem:

The check-rpaths-worker script uses readelf to look for an RPATH but with recent binutils that readelf invocation is now doing debuginfod lookups.

At best that slows things down unnecessarily, at worst it can cause things to hang for a long time if the debuginfod server is not responding.

Version-Release number of selected component (if applicable):

rpm-4.17.0-10.fc36.x86_64
binutils-2.37-24.fc36.x86_64

Additional info:

Adding the -wE switch to readelf will stop it doing lookups though I think that's only available in 2.38 so unsetting DEBUGINFOD_URLS may be a better solution.

Comment 1 Panu Matilainen 2022-06-22 10:37:13 UTC
Hmm, I could've sworn I replied to this already, even did something about it but apparently not. Sorry about that. 
Will be fixed in the next 4.18 pre-release: https://github.com/rpm-software-management/rpm/pull/2100

Thanks for the report, and suggestion!

Comment 2 Panu Matilainen 2022-06-22 10:41:10 UTC
*** Bug 2093180 has been marked as a duplicate of this bug. ***

Comment 3 Panu Matilainen 2022-06-22 10:45:07 UTC
Okay so there was a duplicate on which I did respond, goes to explain. And we'll need this in F36 too, not just upstream latest.


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