This post suggests I need to be building packages using arch i686 instead of i386 as mock does by default. If so, how do I go about doing so?
Thanks, Matt
----- Forwarded message from bugzilla@redhat.com -----
Date: Tue, 16 Feb 2010 07:23:46 -0500 Subject: [Bug 565074] FTBFS opencv-2.0.0-4.fc13
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=565074
Karel Klíč kklic@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |CLOSED Resolution| |RAWHIDE
--- Comment #5 from Karel Klíč kklic@redhat.com 2010-02-16 07:23:43 EST --- The -march=i386 is added by /usr/lib/rpm/redhat/rpmrc
The FTBFS system uses i386 build architecture. Koji uses i686 architecture which has no problem with the compilation.
I fixed it by overriding CXXFLAXS on i386: %ifarch i386 export CXXFLAGS="%{__global_cflags} -m32 -fasynchronous-unwind-tables" %endif