How to override error "debugedit: Cannot handle 8-byte build ID" in rpm .spec file?
- User
How to override error "debugedit: Cannot handle 8-byte build ID" in rpm .spec file?
- Assistant
To override the error "debugedit: Cannot handle 8-byte build ID" in an RPM .spec file, you can follow these steps:
-
Open the .spec file in a text editor.
-
Look for the debuginfo section in the .spec file. It should be under the %package and %description sections.
-
Add the "--build-id" option to the debugedit command that is causing the error. For example, if the debugedit command looks like this:
%_bindir/debugedit -b %{buildidopts} $RPM_BUILD_ROOT%{_libdir}/%{name}/%{debugdir}/%{name}.debugModify it to include the "--build-id" option like this:
%_bindir/debugedit --build-id -b %{buildidopts} $RPM_BUILD_ROOT%{_libdir}/%{name}/%{debugdir}/%{name}.debug -
Save the .spec file.
-
Rebuild the RPM package.
-