Creating SCL Packages *-debuginfo Results in Error

Latest response

Attempting to rpmbuild an scl (Software Collections) package results in following error related to the debuginfo version of the package.

Installed (but unpackaged) file(s) found:
   /usr/lib/debug/.build-id/62/68505c7a4ba8a79ecd37e07e93d82bea53de53
   /usr/lib/debug/.build-id/62/68505c7a4ba8a79ecd37e07e93d82bea53de53.debug
   /usr/lib/debug/opt/rh/SDL2/root/usr/lib64/libSDL2-2.0.so.0.2.1.debug
   /usr/lib/debug/opt/rh/SDL2/root/usr/lib64/libSDL2-2.0.so.0.debug
   /usr/lib/debug/opt/rh/SDL2/root/usr/lib64/libSDL2.so.debug
   /usr/src/debug/SDL2-2.0.3/include/SDL.h

If the pkg_name and pkg_name-devel are built into the /opt/rh/ ROOTDIRs, shouldn't the pkg_name-debuginfo also be in those subdirectories?

Maybe this error is related to the CFLAGS line in the spec-file:

CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{prefix} --disable-video-directfb

Responses

Hi Amel,

This might be a good start for fixing problems related to debuginfo file conflicts:

https://access.redhat.com/documentation/en-US/Red_Hat_Software_Collections/2/html/Packaging_Guide/sect-Avoiding_debuginfo_File_Conflicts.html

HTH, pk

Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.