rpmbuild with target i386 on x86_64 sets %{_libdir} to lib64.

Dennis Gilmore dennis at ausil.us
Fri Sep 22 02:26:30 UTC 2006


On Thursday 21 September 2006 8:30 pm, Ralf Corsepius wrote:
> On Thu, 2006-09-21 at 18:14 +0200, Dominik 'Rathann' Mierzejewski wrote:
> > On Thursday, 21 September 2006 at 17:06, Ralf Corsepius wrote:
> >
> > "setarch i686" is missing.
> >
> > > Bug in rpm.
> >
> > Not really. Use setarch.
>
> Wrong. Try the same targeting a sparc.
>
> > > rpmbuild should set its macros according to --target, but it doesn't.
> >
> > Are you sure that's the documented behaviour?
>
> Without it, --target is useless.
actually you need to remove /etc/rpm/platform as well as use setarch   or on 
sparc sparc32  to build 32 bitr binaries.  its a known issue 
-- 
Dennis Gilmore, RHCE
Proud Australian




More information about the devel mailing list