[CentOS] Can't build RPM for i686 target (i386 works)

2014-11-19 Thread Ian Pilcher
I'm creating a simple RPM for my 32-bit CentOS 6 server. When I build the RPM without specifying a target architecture (rpmbuild foo.spec), it successfully builds an i386 RPM. If I try to build an i686 RPM, I get nothing: $ rpmbuild --target i686 foo.spec Building target platforms: i686

Re: [CentOS] Can't build RPM for i686 target (i386 works)

2014-11-19 Thread Frank Cox
On Wed, 19 Nov 2014 14:40:55 -0600 Ian Pilcher wrote: I'm creating a simple RPM for my 32-bit CentOS 6 server. When I build the RPM without specifying a target architecture (rpmbuild foo.spec), it successfully builds an i386 RPM. export CC=gcc -m32 rpmbuild --target=i686 foo.spec --

Re: [CentOS] Can't build RPM for i686 target (i386 works)

2014-11-19 Thread Ian Pilcher
On 11/19/2014 02:49 PM, Frank Cox wrote: export CC=gcc -m32 rpmbuild --target=i686 foo.spec Same result. Building target platforms: i686 Building for target i686 No error message or code. Weird. Weird. Weird. (And I can't escape the feeling that I've seen this before.) --

Re: [CentOS] Can't build RPM for i686 target (i386 works)

2014-11-19 Thread Ned Slider
On 19/11/14 20:40, Ian Pilcher wrote: I'm creating a simple RPM for my 32-bit CentOS 6 server. When I build the RPM without specifying a target architecture (rpmbuild foo.spec), it successfully builds an i386 RPM. If I try to build an i686 RPM, I get nothing: $ rpmbuild --target i686

Re: [CentOS] Can't build RPM for i686 target (i386 works)

2014-11-19 Thread Ian Pilcher
On 11/19/2014 04:02 PM, Ned Slider wrote: Try running rpmbuild verbosely with -vv and see if that gives you any clues. I just figure it out. I am a moron. When I added --target i686 to the command line (or --target i386), I was omitting the -bb. rpmbuild wasn't doing anything, because I

Re: [CentOS] Can't build RPM for i686 target (i386 works)

2014-11-19 Thread Mark LaPierre
the -bb, for the benefit of those who might be searching for a solution to the same problem you tripped over. Change the subject to Re: [CentOS] Can't build RPM for i686 target (i386 works)(SOLVED) -- _ °v° /(_)\ ^ ^ Mark LaPierre Registered Linux user No #267004 https