DescriptionFrank Ch. Eigler
2022-02-10 17:56:55 UTC
+++ This bug was initially created as a clone of Bug #2052574 +++
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].)
--- Additional comment from Mark Wielaard on 2022-02-10 15:21:28 UTC ---
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.
--- Additional comment from Frank Ch. Eigler on 2022-02-10 16:54:15 UTC ---
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.)
A 0.186-2 update of elfutils with this configuration is now awaiting export to the centos.org build system. (No RHEL9 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 build by mistake.)