Page 1 of 1

Help with mock building a 32bit rpm

Posted: 2014/10/21 00:26:23
by schotty
Greetings,

I am having some difficulty in getting mock to want to compile a 32 bit version of a srpm. I get the following error message:

ERROR: Cannot build target i686 on arch x86_64


Any tips?

Re: Help with mock building a 32bit rpm

Posted: 2014/10/21 01:27:08
by TrevorH
You want to use a mock config file for a 32 bit architecture - for example mock -r epel-6-i386 ...

Re: Help with mock building a 32bit rpm

Posted: 2014/10/21 09:56:41
by schotty
Actually I did, but since there is no i386 base that is where the fun begins. epel-7-i386 is the specific cfg I used.

I was curious if there was a problem with my tactics/approach to this problem, and from what I could google, and what you said (and didn't say), I may be best off creating a second build vm of Springdale 32bit, for all the 32-bit stuff.