DescriptionFrank Ch. Eigler
2022-02-09 15:28:17 UTC
In the case of 0%{?centos} >= 8, the elfutils configure can activate
--enable-debuginfod-urls=https://debuginfod.centos.org/
(I'm still just chewing through HOW to contribute this to centos-stream [8].)
Note that you also need a conditional around the following elfutils.spec hunk:
# We don't have standard DEBUGINFOD_URLS yet.
rm ${RPM_BUILD_ROOT}%{_sysconfdir}/profile.d/debuginfod.sh
rm ${RPM_BUILD_ROOT}%{_sysconfdir}/profile.d/debuginfod.csh
As long as it is conditionalized with 0%{?centos} >= 8 this should be fine for centos without it appearing in rhel.
But I do think we have to double check at least gdb works correct, there have been some usability nits (and patches that fix them) in the gdb fedora package that I am not sure are in the centos packages yet.
A 0.186-2 update of elfutils with this configuration is now awaiting export to the git.centos.org build system. (No RHEL8 build is being created, and thus this BZ should probably be closed as CLOSED/CURRENTRELEASE or something to avoid it being included in a RHEL errata by mistake.)