RPM Community Forums

Mailing List Message of <rpm-users>

Question about brp-compress and brp-strip

From: DB <arielbay@earthlink.net>
Date: Sat 05 Apr 2008 - 00:46:52 CEST
Message-ID: <47F6AFDC.2080701@earthlink.net>
I'm brand-new to RPM and am researching a problem for someone fairly new 
to RPM.

We build software on several platforms (including 2 versions of Linux 
and 2 versions of Solaris), and we use RPM 4.3.3 (from what I can tell). 
In the Solaris 8 build, we're getting an error when the RPM is put 
together. The compress/strip commands complain that 8 binary files are 
in an "unrecognizable format." It then puts the binary plus an empty 
garbage file into the RPM.

Here's two snippets from the log, the first showing the tar of the 
binary, and the next showing the error where the empty garbage file is 

+ tar xf -
+ tar chf - BinaryName

+ /usr/lib/rpm/redhat/brp-compress
+ /usr/lib/rpm/redhat/brp-strip /usr/bin/strip
/usr/bin/strip: Unable to recognise the format of the input file 

I'll have to do a more exhaustive search of the system, but so far this 
happens to just 8 binary files for this particular build. These files 
have nonsense names, such as stXyzzy and are placed in the same 
destination directory as the binary.

Has anyone seen this type of problem before? Can you point me to what I 
else I need to research, and whether there are rpm options that might 
prevent this from happening?

Received on Sat Apr 5 01:09:35 2008
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.