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
Site Admin
Posts: 33202
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 ...
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
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