FS#73619 - [gdb][debuginfod] add debuginfod to optdepends for gdb

Attached to Project: Arch Linux
Opened by nl6720 (nl6720) - Friday, 04 February 2022, 10:07 GMT
Last edited by David Runge (dvzrv) - Sunday, 27 November 2022, 23:59 GMT
Task Type Feature Request
Category Packages: Testing
Status Closed
Assigned To David Runge (dvzrv)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

Some debuggers, such as gdb, only require libdebuginfod.so to use a debuginfod server.

Since /usr/lib/libdebuginfod.so is provided by libelf, it would make sense that /etc/debuginfod/archlinux.urls, /etc/profile.d/debuginfod.sh and /etc/profile.d/debuginfod.csh would be provided by it too.


Additional info:
* package version(s)
* config and/or log files etc.
* link to upstream bug report, if any
libelf 0.186-4
debuginfod 0.186-4


Steps to reproduce:
Try to use gdb without having the debuginfod package installed.
This task depends upon

Closed by  David Runge (dvzrv)
Sunday, 27 November 2022, 23:59 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed with libelf 0.188-1
Comment by nl6720 (nl6720) - Saturday, 05 February 2022, 09:00 GMT
Alternatively, debuginfod could be made an optional dependency of gdb.
Comment by David Runge (dvzrv) - Saturday, 19 February 2022, 13:20 GMT
@nl6720: Thanks for bringing this up. I believe the best way forward here is to have gdb add debuginfod to optdepends.
Comment by David Runge (dvzrv) - Sunday, 27 November 2022, 23:55 GMT
After conversing with @arojas on IRC, it appears it would be easier to just add these files to libelf.

Loading...