Re: rpm-4.20 and __debug_install_post

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 6/4/24 09:40, Sandro Mani wrote:
Hi

In rpm 4.20 as currently available in rawhide, defining __debug_install_post seems to have no effect. The %mingw_package_header sets __debug_install_post as follows

%mingw_package_header                                         \
%global __strip %{mingw_strip}                                \
%global __objdump %{mingw_objdump}                            \
%global __debug_install_post %%{mingw_debug_install_post}     \
%{nil}

but %mingw_debug_install_post is never executed. Manually running

%mingw_debug_install_post

in %install works however.

Please file a bug (upstream or Fedora, whichever is more convenient for you) on this so it gets tracked. There's just so much going on there's a danger of bits falling through the cracks otherwise. We'll look into it ASAP.

Perhaps this is related to [1]? What is the correct way now to trigger the custom debug extraction script?

It's almost certainly related to the debuginfo change, but I can't say offhand what the right thing to do here is or if its possible to maintain compatibility. The original way to enable debuginfo through this %install macro override is such a terrible duct-tape hack relying on a thousand tiny and subtle details across the board, and when you add twenty years of all the overrides and tweaks from packages from the last 20 years...

Let me put it this way: this is what it looks like when 20 years of technical debt suddenly collapses underneath you. We didn't want to do this debuginfo change in this release that was already loaded with build-side changes but details regarding the %install macro override hack basically forced our hand. Apologies for the all the disruption!

	- Panu -

--
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux