Description of problem: Strange, but true. /usr/lib/rpm/debugedit fails to find any source code if a Java package is compiled with -O0 -g. Version-Release number of selected component (if applicable): rpm-build-4.4.1-21 How reproducible: Always Steps to Reproduce: 1. Download attached jhello.src.rpm 2. rpmbuild --rebuild jhello.src.rpm 3. Run rpm -qlp on the generated -debuginfo rpm Actual results: /usr/lib/debug/usr/lib/jhello/libjhello.jar.so.debug Expected results: /usr/lib/debug/usr/lib/jhello/libjhello.jar.so.debug /usr/src/debug/jhello-1.0.0 /usr/src/debug/jhello-1.0.0/HelloWorld.java
Created attachment 115987 [details] Source RPM demonstrating bug
Created attachment 115997 [details] Fix
Patch added to CVS, should be in rpm-4.4.2-0.8 when built. Thanks for the patch.