On Thu, Nov 28, 2024 at 06:30:14PM +0100, Mark Wielaard wrote: > 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. Yes, debugedit-5.1-2.fc42.x86_64 fixes the issue. I tested by reverted the chmod +w Guestfs.so in the spec file (so the shared library is unwritable), and rebuilding locally ('fedpkg local') with the new debugedit package. No objcopy error was observed. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com libguestfs lets you edit virtual machines. Supports shell scripting, bindings from many languages. http://libguestfs.org -- _______________________________________________ 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