Bug 161722 - debugedit fails to find any source code if Java package compiled with -O0 -g
debugedit fails to find any source code if Java package compiled with -O0 -g
Status: CLOSED UPSTREAM
Product: Fedora
Classification: Fedora
Component: rpm (Show other bugs)
rawhide
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Paul Nasrat
Mike McLean
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2005-06-26 12:08 EDT by Robin Green
Modified: 2007-11-30 17:11 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2005-07-13 05:23:55 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
Source RPM demonstrating bug (4.27 KB, application/octet-stream)
2005-06-26 12:08 EDT, Robin Green
no flags Details
Fix (689 bytes, patch)
2005-06-26 19:21 EDT, Robin Green
no flags Details | Diff

  None (edit)
Description Robin Green 2005-06-26 12:08:08 EDT
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
Comment 1 Robin Green 2005-06-26 12:08:08 EDT
Created attachment 115987 [details]
Source RPM demonstrating bug
Comment 2 Robin Green 2005-06-26 19:21:13 EDT
Created attachment 115997 [details]
Fix
Comment 3 Jeff Johnson 2005-07-13 05:23:55 EDT
Patch added to CVS, should be in rpm-4.4.2-0.8 when built. Thanks for the patch.

Note You need to log in before you can comment on or make changes to this bug.