Bug 2099617 - Add _find_debuginfo_vendor_opts to the list of variables passed to the find-debuginfo.sh script.
Summary: Add _find_debuginfo_vendor_opts to the list of variables passed to the find-d...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: rpm
Version: 9.1
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Nick Clifton
QA Contact: Martin Cermak
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-06-21 10:40 UTC by Nick Clifton
Modified: 2023-07-18 14:29 UTC (History)
1 user (show)

Fixed In Version: rpm-4.16.1.3-15.el9
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-11-15 11:21:17 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-125823 0 None None None 2022-06-21 10:51:22 UTC
Red Hat Product Errata RHBA-2022:8365 0 None None None 2022-11-15 11:21:23 UTC

Description Nick Clifton 2022-06-21 10:40:22 UTC
Please can the change covered by this Fedora rawhide pull-request also be applied to the RHEL-9 rpm package:

  https://src.fedoraproject.org/rpms/rpm/pull-request/25

The change adds an extra variable which, if defined, is passed on to the find-debuginfo.sh script when it is invoked.

The new variable - _find_debuginfo_extra_opts - is used by the redhat-rpm-config package to pass a "remove-section .gnu.build.attributes" option to the find-debuginfo script.  This option forces any annobin notes present in the target executable to be moved to its separate debuginfo file.

Comment 1 Nick Clifton 2022-06-22 09:50:36 UTC
In line with a change to the rawhide PR, I am now asking if the invocation of the find-debuginfo script could include the variable _find_debuginfo_vendor_opts, rather than _find_debuginfo_extra_opts.

Comment 2 Nick Clifton 2022-06-30 11:43:47 UTC
Fixed in rpm-4.16.1.3-15.el9.

Note for QE - together with the recent change to redhat-rpm-config this update should mean that once these packages hit the buildroot other packages will start to see a reduction in the size of their executable files.  The annobin data that was once held in those files should now be moved to their associated debuginfo files.

So if you have a build environment with rpm-4.16.1-3-15 and redhat-rpm-config-196-1 installed and you then use it to build another package, lets say "binutils", then you should find that the files in the binary rpm(s) do not contain a .gnu.build.attributes section whereas the files in the debuginfo rpm(s) do contain this section.

Comment 6 errata-xmlrpc 2022-11-15 11:21:17 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (rpm bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2022:8365


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