genereese / togo

A script to create RPMs in less than five minutes from start to finish.
GNU General Public License v2.0
98 stars 22 forks source link

Can't build rpm with files packed by UPX #26

Open sttyru opened 6 years ago

sttyru commented 6 years ago

Hello!

Can't build rpm with some files packed by UPX. Got the next error:

/usr/bin/strip: error: the input file '/home/csummer/p1conf/meta/redhat/BUILDROOT/p1conf-1.0-1.x86_64/usr/local/bin/pureconf' has no sections

I try to add of special settings at ~/.rpmmacros but it was no success.

genereese commented 6 years ago

My apologies for the delay here; I've been involved with a great deal of changes at my company.

I'm not familiar with UPX, but I'd like to try to help. Could you provide me with a little more background about what you're trying to do?

Also, the command you're using followed by all output that follows would help.

liedekef commented 6 years ago

I think this will help: https://imvoid.wordpress.com/2013/06/05/stripping-and-stopping-stripping-of-binaries-in-rpm-build/