Bug 2093180 - check-rpaths-worker does not work without networking
Summary: check-rpaths-worker does not work without networking
Keywords:
Status: CLOSED DUPLICATE of bug 2079600
Alias: None
Product: Fedora
Classification: Fedora
Component: rpm
Version: 35
Hardware: All
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Packaging Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-06-03 07:45 UTC by Sami Farin
Modified: 2022-06-22 10:41 UTC (History)
6 users (show)

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


Attachments (Terms of Use)
readelf -wE (do-not-use-debuginfod) (532 bytes, patch)
2022-06-03 07:45 UTC, Sami Farin
no flags Details | Diff

Description Sami Farin 2022-06-03 07:45:35 UTC
Created attachment 1886293 [details]
readelf -wE (do-not-use-debuginfod)

Description of problem:
if networking is disabled, building rpm hangs without errors when readelf is trying to connect to debuginfod.

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

How reproducible:
100%

Steps to Reproduce:
1. build rpm which requires use of check-rpaths-worker
2.
3.

Actual results:
check-rpaths-worker hangs while connecting to debuginfod

Expected results:
rpmbuild rpm without networking

Additional info:
fix attached

Comment 1 Panu Matilainen 2022-06-03 09:01:48 UTC
That unfortunately requires a readelf version supporting that option so it's not upstream friendly. If you can easily reproduce, can you check if this accomplishes the same?

-    rpath=$(readelf -W -d "$1" 2>/dev/null | LANG=C grep -E "\((RPATH|RUNPATH)\).*:") || return 0
+    rpath=$(DEBUGINFOD_URLS="" readelf -W -d "$1" 2>/dev/null | LANG=C grep -E "\((RPATH|RUNPATH)\).*:") || return 0

Comment 2 Sami Farin 2022-06-03 09:26:06 UTC
Unfortunately, rebuilding mutter did not try to connect to debuginfo servers anymore so I can't verify does this fix do the same thing, but I assume it does.

Comment 3 Panu Matilainen 2022-06-22 10:41:10 UTC

*** This bug has been marked as a duplicate of bug 2079600 ***


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