Red Hat Bugzilla – Bug 436770
rpm: find-requires parsing problem of objdump -p output
Last modified: 2008-04-18 12:16:42 EDT
autodeps/linux.req 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:
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 - 184.108.40.206-2.fc8.armv5tel from f8
The attached patch makes find-requires stop parsing dependencies
as soon as a [A-Za-z] character is found in column 1.
Issue found by Rabeeh Khoury <email@example.com>
Created attachment 297419 [details]
Make find-requires deal with output following Version References: section.
Applied upstream (thanks for the patch!), keeping open here for Fedora tracking.
In rawhide now...
This is very very broken. See 443015.