please consider adding a debugedit binary to elfutils. Currently this is shipped within the rpm sources, however distribution as a separate tool would also benefit people not requiring rpm, like https://bugs.debian.org/981245
I second this. The only technical complication I see is that debugedit uses Autotest for testing while the rest of elfutils uses tests driven by Automake.
I would like that, and more. I would like something doing everything rpm/debugedit do so I can run something similar to ./extract_debuginfo_to_use_with_debuginfod -d <my_staging_dir> So debugedit + find-debuginfo.sh + https://github.com/rpm-software-management/rpm/commit/bbfe1f86b2e4b5c0bd499d9f3dd9de9c9c20fff2 If I could ./extract_debuginfo_to_use_with_debuginfod -d <staging_dir> -u <my_debuginfod_server> to directly extract+upload the debug information to my debuginfod server it would be my ideal workflow.
We should obviously discuss with the rpm maintainers. But I think it might actually be easier to have debugedit be its own project, just like e.g. dwz is. Then it can have its own release schedule and the build setup can be small and easy. Using autoconf autotests will then also be more natural. And should it just be debugedit itself or also the find-debuginfo.sh script that rpm ships. That one is more integrated/tied to rpm at the moment. But might also be useful independently. If debugedit (and possibly find-debuginfo.sh) would be released independently of rpm then making sure things keep being compatible is really important. We'll probably need to add a buildbot that builds/tests the project together for that. But first we need to know what the rpm maintainers think of this idea. It would probably be a good idea to raise this on the http://lists.rpm.org/mailman/listinfo/rpm-ecosystem mailinglist.
Note that The Rpm-ecosystem Archives is likely out of date, the latest month is "June 2020". I would rather create an issue here: https://github.com/rpm-software-management/rpm/issues
Us rpm maintainers are all +100 for splitting debugedit out of rpm, it's only there for historical reasons and would be better off directly maintained closer to home with other ELF tooling. rpm-ecosystem may be quiet but is fine for purposes of discussion. GitHub ticket would be just painful as Mark is not on GH.
http://lists.rpm.org/pipermail/rpm-ecosystem/2021-February/000734.html
Now that there is a separate debugedit project https://sourceware.org/debugedit I think we can close this elfutils bug.