To enable Parallel Installable Debuginfo https://fedoraproject.org/wiki/Changes/ParallelInstallableDebuginfo by default we need a couple of upstream backports.
The attached patch adds these.
With these applied the following macros can be set by defaults to enable the feature by default:
Created attachment 1258805 [details]
Adds upstream debuginfo improvement patches
This is a backport against rpm 22.214.171.124 of the following upstream patches:
Igor Gnatenko (1):
configure.ac: use LIBDW always conditionally
Mark Wielaard (9):
Make sure CPPFLAGS are setup correctly for finding nspr.h
configure --with-external-db should fall back to external if unspecified.
Add build-id links to rpm for all ELF files.
Make it possible to have unique build-ids across build versions/releases.
Make adding GDB index sections configurable.
Add option to have unique debug file names across version/release/arch.
Fix libdw configure check.
debugedit: Support String/Line table rewriting for larger/smaller paths.
Add option to have unique debug source dirs across version/release/arch.
Panu Matilainen (3):
Fix behavior when %_build_id_links is undefined
Fix debuginfo etc when subpackages have different versions (RhBug:1051407)
Only process regular files when generating build-ids
I don't think it'd be a good idea to include this in F26 at this point. Even if everything went silk-smooth the result would be inconsistent debuginfo packages in F26. And considering this hasn't seen even a single day in rawhide yet, F26 seems outlandish to me.
Right now is just about the perfect time to land changes like this in rawhide to allow it to mature a bit before possible next mass rebuild for F27, but I think F26 sailed already.
Sure lets also stick it in rawhide. The idea was that this would land before f26 branched. That is what we agreed on with fesco. We deliberately delayed till after the mass rebuild, so as to not disrupt any package builds. The package set doesn't really change. The idea was that we needed to support different layout of debuginfo packages for some time. So IMHO now would be the perfect time to flip the defaults and show the feature is testable now.
Note that the individual patches on top of rpm-126.96.36.199-release can also be found here: https://pagure.io/rpm-debuginfo/commits/rpm-188.8.131.52-debuginfo
Hmm, I get a reject on macros.in from the individual patches but not the combined one so there's some fine-tuning needed. No big deal, I'll try to get this sorted out and into rawhide tomorrow.
(In reply to Panu Matilainen from comment #5)
> Hmm, I get a reject on macros.in from the individual patches but not the
> combined one so there's some fine-tuning needed. No big deal, I'll try to
> get this sorted out and into rawhide tomorrow.
Which patch gets rejected?
They apply cleanly for me when generated from https://pagure.io/rpm-debuginfo.git with git format-patch rpm-184.108.40.206-release..origin/rpm-220.127.116.11-debuginfo and added as:
Hmm, you probably have %_default_patch_fuzz set to non-zero in your ~/.rpmmacros, that's the only way I can get those to apply.
The clash is on the fedora specific rpm-18.104.22.168-ld-flags.patch which will need to be updated for next major rpm version anyway so I'll just update that - like said it's no big deal.
Pushed + built for rawhide now, and seems to be live on koji already as well: