Description of problem:
The RHEL-4 ksh-debuginfo package is empty (and therefore useless).
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. rpm -qlp ksh-debuginfo-20050202-0.5E.4.i386.rpm
(contains no files)
Lots of files from /usr/src/debug/...
This is caused by the error in the spec file. It contains the following line in the %install section:
install -c -s -m 755 arch/*/bin/ksh $RPM_BUILD_ROOT/bin/ksh
Note the "-s" install option -- it strips the symbols from the binary... It must be removed.
It's even worse than that: the CCFLAGS are ignored while building the package, so we need to export the CCFLAGS="-O2 -ggdb" first and then call the "package" utility. Similarly as in RHEL-5 or Fedora...
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.