Koji build failure: noarch vs. arch?

T.C. Hollingsworth tchollingsworth at gmail.com
Fri Jan 30 04:36:55 UTC 2015


On Thu, Jan 29, 2015 at 8:43 PM, Jerry James <loganjerry at gmail.com> wrote:
> I have been assured that %__isa_bits is always defined, except for
> noarch builds:
>
> https://lists.fedoraproject.org/pipermail/devel/2014-October/203331.html
>
> That's what this problem looks like to me: something has erroneously
> concluded that this is a noarch build.  I just don't know what that
> something is, or why it reached such a conclusion.  Thanks,

createSRPMfromSCM operations are always noarch and can performed on
any primary architecture.

In general, you should always use %{?foo} syntax for anything that
will be parsed at createSRPMfromSCM time (e.g. in %if conditionals and
anything above %prep), unless of course it is defined with %global in
your spec file.  There's a lot of stuff that's missing during SRPM
creation time...

-T.C.


More information about the devel mailing list