Help with mock building a 32bit rpm

General support questions
Post Reply
schotty
Posts: 19
Joined: 2014/08/22 20:31:16
Location: Milwaukee, WI
Contact:

Help with mock building a 32bit rpm

Post by schotty » 2014/10/21 00:26:23

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?

User avatar
TrevorH
Forum Moderator
Posts: 26596
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Help with mock building a 32bit rpm

Post by TrevorH » 2014/10/21 01:27:08

You want to use a mock config file for a 32 bit architecture - for example mock -r epel-6-i386 ...
CentOS 5 died in March 2017 - migrate NOW!
CentOS 6 goes EOL sooner rather than later, get upgrading!
Full time Geek, part time moderator. Use the FAQ Luke

schotty
Posts: 19
Joined: 2014/08/22 20:31:16
Location: Milwaukee, WI
Contact:

Re: Help with mock building a 32bit rpm

Post by schotty » 2014/10/21 09:56:41

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.

Post Reply

Return to “CentOS 7 - General Support”