From Bugzilla Helper: User-Agent: Mozilla/4.77 [en] (X11; U; Linux 2.4.2-2 i686) Description of problem: When I do rpm -bb myproject.spec I get errors such as Finding Requires: (using /usr/lib/rpm/find-requires)... objdump: /var/tmp/gri-root/usr/bin/gri_merge: File format not recognized where "gri_merge" is a perlscript, recognized as such by the "find" command. Should I be doing something in my SPEC file to indicate the "file format"? Thanks! How reproducible: Always Steps to Reproduce: 1. rpm -bb gri.spec 2. 3. Actual Results: ... Finding Requires: (using /usr/lib/rpm/find-requires)... objdump: /var/tmp/gri-root/usr/bin/gri_merge: File format not recognized ... Expected Results: Well, I didn't expect this warning, or error, or whatever it is! Additional info: I don't think this happened before I upgraded from RH 7.0 to 7.1, but I'm not sure.
There's nothing you have to do. The file(1) /etc/magic has changed, breaking the find-requires logic that normally feeds only ELF binaries to objdump. Doesn't hurt anything at all to feed perl scripts to objdump, it's just an error message.
*** This bug has been marked as a duplicate of 22801 ***
Thanks for informing me of the old (duplicate) bug. FYI: I can't access that bug. It says I don't have permission to do so (although I'm logged in at the moment).