Bug 185227 - rpmlint uses objdump -T on .so.x.debug files -debuginfo, which fails
Summary: rpmlint uses objdump -T on .so.x.debug files -debuginfo, which fails
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: rpmlint
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Ville Skyttä
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-03-12 07:30 UTC by Hans de Goede
Modified: 2007-11-30 22:11 UTC (History)
1 user (show)

Fixed In Version: 0.76-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-04-11 18:24:19 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Fix (1.05 KB, patch)
2006-03-12 10:01 UTC, Ville Skyttä
no flags Details | Diff

Description Hans de Goede 2006-03-12 07:30:41 UTC
Try running rpmlint on any -debuginfo rpm on a fully up2date rawhide, it gives:
[hans@shalem t]$ rpmlint
/usr/src/redhat/RPMS/x86_64/adime-debuginfo-2.2.1-2.x86_64.rpm 
W: adime-debuginfo objdump-failed 

The probem is the use of the -T option which doesnot work on .so.x.debug, hre I
try to use it on another .so.x.debug file:
[hans@shalem t]$ LC_ALL=C objdump --headers --private-headers -T
/usr/lib/debug/usr/lib64/libgda-3.so.3.0.0.debug &> /dev/null; echo $?
1

Without -T:
[hans@shalem t]$ LC_ALL=C objdump --headers --private-headers
/usr/lib/debug/usr/lib64/libgda-3.so.3.0.0.debug &> /dev/null; echo $?
0

Please change romlint to not use the -T objdump option on .so.x.debug files.

Comment 1 Ville Skyttä 2006-03-12 10:01:19 UTC
Created attachment 126007 [details]
Fix

Upstream CVS now has the attached patch, it will be included in the next
package revision.

Comment 2 Ville Skyttä 2006-03-12 10:03:49 UTC
Oh, by the way, using objdump -T on a *.debug file extracted from an executable
instead of a library does not fail, but doesn't seem to print too useful info
either.  What do you think, should -T be dropped from the objdump arguments only
for *.debug extracted from *.so*, or left as is in the patch?

Comment 3 Hans de Goede 2006-03-12 10:05:18 UTC
I have no real opinion on this, just take the easy route and leave it as is.


Comment 4 Ville Skyttä 2006-04-11 18:24:19 UTC
Done in 0.76-1.


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