trouble building i386 rpms on x86_64 system: TexLive example
Rex Dieter
rdieter at math.unl.edu
Sun Dec 9 04:13:04 UTC 2007
Paul Johnson wrote:
> I'm running into lots of weird little problems trying to rebuild rpms
> on an x8_64 system. I use the command
>
> setarch i386 rpmbuild --rebuild --target=x86_64,i386 whatever.src.rpm
The presence of /etc/rpm/platform will confuse things, so make sure to
remove it before attempting cross-compiles (using rpmbuild anyway).
Otherwise, as mentioned elsewhere, use mock (or as clean a build environment
as you can get).
-- Rex
More information about the fedora-list
mailing list