Hi,

[sorry for the duplicate message, looks like the mailinglist doesn't
 accept email from non-subscribed addresses.]

On Thu, Aug 21, 2025 at 12:52:44PM -0400, Stephen Gallagher wrote:
> > > > find-debuginfo: starting
> > > > Extracting debug info from 43 files
> > > >
> > > > and has been there for hours.
> > > >
> > > > So, did the static debuginfo collection change affect this?  Did 
> > > > something in libarrow 20?
> > > >
> > > > Any ideas?
> > >
> > > At least debuginfo rpm changed from 5.1-7.fc42 to 5.2-1.fc43
> > > on 2025-07-07, which is during that period:
> > >
> > > https://koji.fedoraproject.org/koji/packageinfo?packageID=33647
> > >
> > > This may explain the issue you see.
> >
> > I'd also point out that
> > https://koji.fedoraproject.org/koji/buildinfo?buildID=2793712 built on
> > Aug 15th in just over an hour in a Fedora 42 buildroot (which still
> > has debuginfo 5.1). I'm attempting to prove it right now, but it looks
> > likely that something severely regressed performance in 5.2. CCing
> > Mark Wielaard for awareness.
> 
> I strongly suspect that
> https://sourceware.org/cgit/debugedit/commit/?id=eaf5bfc1a67652530efc2a2037ca80ec63aba0f8
> is to blame. From its commit message:
> 
> "This works by having find-debuginfo find .a files, extracting all the
> .o files one at a time, running debugedit, then repacking the files
> back into the .a."
> 
> Since all of the time is being spent in `/usr/bin/ar`, this would
> definitely explain it.

It certainly looks that way. The ar format is not ideal to rewrite in
place, which is why it is unpacked and repacked like this. Which isn't
super efficient, but somewhat surprising it takes 20+ hours... That
must be a pretty big .a file.

We'll see if we can come up with some trick to make this more
efficient.

For now as workaround please add:
%undefine _preserve_static_debuginfo
to the spec file for now.

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