Bug 207631

Summary: readahead has no debuginfo
Product: [Fedora] Fedora Reporter: Nalin Dahyabhai <nalin>
Component: rpmAssignee: Paul Nasrat <nobody+pnasrat>
Status: CLOSED NOTABUG QA Contact: Mike McLean <mikem>
Severity: medium Docs Contact:
Priority: medium    
Version: 5CC: kzak
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-09-22 09:04:15 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Nalin Dahyabhai 2006-09-22 02:28:56 UTC
The readahead package (1.3-2) produces no debuginfo when I build it, and yet it
contains ELF binaries.  Which is rather mysterious.

Comment 1 Karel Zak 2006-09-22 07:46:47 UTC
Hmm.. you're right. I have no clue why rpm doesn't call find-debuginfo.sh... ;-(

Comment 2 Karel Zak 2006-09-22 08:41:55 UTC
If I directly call the "%debug_package" macro from my spec file it works as
expected. So the %install macro is probably bad.

The readahead doesn't use any subdirectory for sources (there is not tarball,
all code is directly in the sourcedir).



Comment 3 Paul Nasrat 2006-09-22 09:04:15 UTC
Your not calling %setup so the buildsubdir isn't set.  Really the sources should
be in a released tar ball not just in CVS work around by 

%prep 
%setup -T -c



Comment 4 Paul Nasrat 2006-09-22 09:16:41 UTC
I suggest you also copy %{SOURCE0} to pwd after setup and compile it there so
debuginfo can find the source.

Comment 5 Karel Zak 2006-09-22 22:18:37 UTC
Fixed. I've created tarball -- it's probably the best solution which avoids all
current and future problems.