Bug 207631 - readahead has no debuginfo
Summary: readahead has no debuginfo
Alias: None
Product: Fedora
Classification: Fedora
Component: rpm   
(Show other bugs)
Version: 5
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Paul Nasrat
QA Contact: Mike McLean
Depends On:
TreeView+ depends on / blocked
Reported: 2006-09-22 02:28 UTC by Nalin Dahyabhai
Modified: 2007-11-30 22:11 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2006-09-22 09:04:15 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

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 

%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. 

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