Created attachment 1574526 [details] Fix Description of problem: https://fedoraproject.org/wiki/Features/MiniDebugInfo is no longer provided in recent binaries, such as F-29 and F-30. Version-Release number of selected component (if applicable): FAIL: rpm-build-4.14.2.1-2.fc29.x86_64 How reproducible: Always. Steps to Reproduce: readelf -WS /bin/bash|fgrep .gnu_debugdata Actual results: <none> Expected results: [34] .gnu_debugdata PROGBITS 0000000000000000 1106f0 006694 00 0 0 1 Additional info: $ file -bi /bin/bash produces: application/x-pie-executable; charset=binary while /usr/lib/rpm/find-debuginfo.sh expects: application/x-executable; charset=binary
Fixed by the following upstream commit: commit 0917da26bf0722fcf40de1c5a61412f23982d131 Author: Ernestas Kulik <ekulik> Date: Mon Feb 25 16:34:06 2019 +0100 find-debuginfo.sh: Handle position-independent executables Since file 5.33, PIEs are identified by a new MIME type, meaning that, currently, for such executables, the .gnu_debugdata section is not added, even if -m is passed. Signed-off-by: Ernestas Kulik <ekulik> diff --git a/scripts/find-debuginfo.sh b/scripts/find-debuginfo.sh index 967814509..6e3ba2ce0 100755 --- a/scripts/find-debuginfo.sh +++ b/scripts/find-debuginfo.sh @@ -412,6 +412,7 @@ do_file() case "$(file -bi "$f")" in application/x-sharedlib*) skip_mini=false ;; application/x-executable*) skip_mini=false ;; + application/x-pie-executable*) skip_mini=false ;; esac $skip_mini || add_minidebug "${debugfn}" "$f" fi
It is already fixed now in Rawhide but not yet fixed in F-30: FAIL: rpm-4.14.2.1-4.fc30.1 PASS: rpm-4.15.0-0.beta.1.fc31
FEDORA-2019-c010b35eb6 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2019-c010b35eb6
rpm-4.14.2.1-3.fc29 has been pushed to the Fedora 29 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-c010b35eb6
rpm-4.14.2.1-3.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report.
*** Bug 1761318 has been marked as a duplicate of this bug. ***