Bug 22801

Summary: objdump spurious error in find-requires.
Product: [Retired] Red Hat Linux Reporter: Sam Varshavchik <mrsam>
Component: rpm-buildAssignee: Jeff Johnson <jbj>
Status: CLOSED RAWHIDE QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.1   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-05-22 19:09:54 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 Sam Varshavchik 2000-12-24 04:59:53 UTC
Getting a bunch of errors like this:

Finding  Requires: (using /usr/lib/rpm/find-requires)...
objdump: /var/tmp/courier-install/etc/init.d/courier: File format not
recognized
objdump:
/var/tmp/courier-install/usr/lib/courier/libexec/authlib/authdaemond: File
format not recognized

This is why:

[mrsam@localhost rpm]$ file
/var/tmp/courier-install/usr/lib/courier/share/esmtpd
/var/tmp/courier-install/usr/lib/courier/share/esmtpd: Bourne shell script
text executable


The grep in find-requires now thinks that this is a binary executable.

Comment 1 Sam Varshavchik 2001-01-13 23:50:04 UTC
This problem still exists in beta2.


Comment 2 Jeff Johnson 2001-02-21 19:11:21 UTC
Changing component.

Comment 3 Jeff Johnson 2001-03-23 16:09:42 UTC
The root cause for the problem is a change to /etc/magic in the file package
that
broke logic in find-requires. FWIW, the error message is harmless.

Comment 4 Jeff Johnson 2001-05-22 18:58:33 UTC
*** Bug 41372 has been marked as a duplicate of this bug. ***

Comment 5 Jeff Johnson 2001-06-06 17:37:59 UTC
Fixed (by more carefully qualifying file(1) output) in rpm-4.0.3-0.32.

Comment 6 eric gerbier 2001-07-16 15:40:29 UTC
I solve the problem in rpm-build-4.0.2-8, with a little change in
/usr/lib/rpm/find-requires :
my new line 9 is :

exelist=`echo $filelist | xargs -r file | grep ":.*executable" | grep -v script
| cut -d: -f1 `