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
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
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.
*** This bug has been marked as a duplicate of bug 2079600 ***