On Thu, Aug 21, 2025 at 09:12:33PM -0600, Orion Poplawski wrote:
> >There is a libgdal.dll.a in the noarch mingw packages.
> >I dunno if that is the one that causes the issue yet though.
> >
> >>>For now as workaround please add:
> >>>%undefine _preserve_static_debuginfo
> >>>to the spec file for now.
> >>
> >>four of the five arches are done in the build that's running now. After 24
> >>hours.  i686 is the remaining arch.
> >>
> >>I don't know if it's worth killing and restarting it at this point.
> >
> >Probably not. But if you do a followup build please do include the
> >%undefine _preserve_static_debuginfo
> 
> This is not sufficient.  I also had to add:
> 
> %define _find_debuginfo_opts --no-ar-files

O... Yes we did add _preserve_static_debuginfo processing to
redhat-rpm-config for __os_install_post in
/usr/lib/rpm/redhat/macros. But didn't add it to rpm
/usr/lib/rpm/macros for __debug_install_post.

When you undef _preserve_static_debuginfo find-debuginfo still does
all the ar processing work, but then brp-strip-static-archive will
remove all the debuginfo from the ar file...

So yes, you need to do both
%undefine _preserve_static_debuginfo
%define _find_debuginfo_opts --no-ar-files

Thanks for finding that.

Cheers,

Mark
-- 
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
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@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to