Re: find-debuginfo failing with objcopy Permission denied error

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

 



Hi,

Sorry, I missed this thread. Please do feel free to file a bugzilla
against debugedit for these kind of issues.

On Mon, 2024-11-25 at 14:36 +0100, Jaroslav Škarvada wrote:
> the tcl package build started to fail with the same error in rawhide [1]:
>  /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed
> 8.6.15-3.fc42 --unique-debug-suffix -8.6.15-3.fc42.x86_64
> --unique-debug-src-base tcl-8.6.15-3.fc42.x86_64 --run-dwz
> --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S
> debugsourcefiles.list /builddir/build/BUILD/tcl-8.6.15-build/tcl8.6.15
> find-debuginfo: starting
> Extracting debug info from 2 files
> objcopy: unable to copy file
> '/builddir/build/BUILD/tcl-8.6.15-build/BUILDROOT/usr/lib64/libtcl8.6.so';
> reason: Permission denied
> *** ERROR:: GDB exited with exit status 1 during index generation
> 
> Mode of the library is: 0555
> 
> It makes sense to me that the library is installed as read-only by the
> upstream build script, so I don't want to divert from the upstream and
> workaround it, especially if it worked previously. So what's the
> solution for it?

As others already analyzed this is because debugedit added error
checking for gdb-add-index in debugedit 5.1. Which is good. Except it
found a bug (which was previously ignored) and made builds fail...

I submitted a fix upstream:
https://inbox.sourceware.org/debugedit/20241128171256.2194466-1-mark@xxxxxxxxx/T

And already added it to the debugedit-5.1-2 package in rawhide.
If this works out I'll backport it to f41 too.

Please let me know if the above fixes your issue.

Thanks,

Mark
-- 
_______________________________________________
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