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
Opened by nl6720 (nl6720) - Friday, 04 February 2022, 10:07 GMT
Last edited by David Runge (dvzrv) - Sunday, 27 November 2022, 23:59 GMT
|
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
Sunday, 27 November 2022, 23:59 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed with libelf 0.188-1

Alternatively, debuginfod could be made an optional dependency of
gdb.

@nl6720: Thanks for bringing this up. I believe the best way
forward here is to have gdb add debuginfod to optdepends.

After conversing with @arojas on IRC, it appears it would be
easier to just add these files to libelf.