Bug 2166383
Summary: | rpm-build should use debugedit package | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 9 | Reporter: | Mark Wielaard <mjw> |
Component: | rpm | Assignee: | Packaging Maintenance Team <packaging-team-maint> |
Status: | CLOSED ERRATA | QA Contact: | Eva Mrakova <emrakova> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 9.2 | CC: | fche, ffesti, fweimer, mbanas, mcermak, mcurlej, packaging-team-maint, pmatilai, sbueno, tbajer, tis, woodard |
Target Milestone: | rc | Keywords: | Triaged |
Target Release: | --- | Flags: | pm-rhel:
mirror+
|
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | rpm-4.16.1.3-25.el9 | Doc Type: | No Doc Update |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2023-11-07 08:52:54 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 2216434 | ||
Bug Blocks: | 2177302 |
Description
Mark Wielaard
2023-02-01 16:49:39 UTC
Note that bug #2177302 has been fixed now, but it is still depending on rpm-build actually using debugedit. Change in rpm 4.16.1.3-24.el9 breaks build of gcc-toolset-13-gcc because location of find-debuginfo uses %%{_bindir} and doesn't expand that to /usr/bin. When scl package mangles _bindir to point to scl root it can't find the script in scl directory. Simple fix would be to change the sed to: -sed -i -e "s:%%{_rpmconfigdir}/find-debuginfo.sh:%%{_bindir}/find-debuginfo.sh:g" macros.in +sed -i -e "s:%%{_rpmconfigdir}/find-debuginfo.sh:%{_bindir}/find-debuginfo.sh:g" macros.in That is to hardcode the location of find-debuginfo.sh in macros.in so that change of %{_bindir} doesn't change location of script. 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-2023:6623 |