Bug 437249

Summary: redhat-rpm-config: find-requires parsing problem of objdump -p output
Product: [Fedora] Fedora Reporter: Lennert Buytenhek <buytenh>
Component: redhat-rpm-configAssignee: Jon Masters <jcm>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: rawhideCC: jonathan, pmatilai
Target Milestone: ---   
Target Release: ---   
Hardware: arm9   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-05-06 19:01:42 EDT Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Bug Depends On:    
Bug Blocks: 245418    
Description Flags
Make find-requires deal with output following Version References: section. none

Description Lennert Buytenhek 2008-03-13 04:27:17 EDT
find-requires expects the 'Version References' section to be the
very last section in objdump -p output and nothing else to follow
it, but at least on Linux/ARM, you can get output a la:

	Version References:
	  required from ld-linux.so.3:
	    0x0d696914 0x00 06 GLIBC_2.4
	  required from libacl.so.1:
	    0x05822450 0x00 05 ACL_1.0
	  required from libgcc_s.so.1:
	    0x0b792655 0x00 04 GCC_3.5
	  required from librt.so.1:
	    0x0d696914 0x00 03 GLIBC_2.4
	  required from libc.so.6:
	    0x0d696914 0x00 02 GLIBC_2.4
	private flags = 4000002: [Version4 EABI] [has entry point]

This last line causes the built package (if the external dep generator
is used) to end up with dependencies such as:

	package: firefox - from f8
	  unresolved deps: 

The attached patch makes find-requires stop parsing dependencies
as soon as a [A-Za-z] character is found in column 1, and was recently
applied to upstream rpm's copy of find-requires:


However, redhat-rpm-config carries a (modified) copy of this file,
which also needs patching -- the attached patch does that.
Comment 1 Lennert Buytenhek 2008-03-13 04:27:17 EDT
Created attachment 297903 [details]
Make find-requires deal with output following Version References: section.
Comment 2 Jon Masters 2008-05-06 19:04:52 EDT
Can you test the next rawhide build? Otherwise, let me know and I'll send you a
package to test :)