We could add a warning to debugedit in case it tries to recompute a build-id in a file that doesn't have debuginfo. The .debug sections contain important information about the build environment.