Re: Koji build failure: noarch vs. arch?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Jerry James wrote:

> I just had a weird failure on a koji builder:
> 
> http://koji.fedoraproject.org/koji/taskinfo?taskID=8776617
> 
> The SRPM creation step failed, with this output:
> 
> error: parse error in expression
> error: /builddir/build/SPECS/libpuma.spec:119: bad %if condition
> Building target platforms: noarch
> Building for target noarch
> Child return code was: 1
> EXCEPTION: Command failed. See logs for output.
> 
> It is complaining about this line in the spec file:
> 
> %if %{__isa_bits} == 64

Maybe try a safer comparison when/if __isa_bits is undefined?  something 
like:

%if "%{?__isa_bits}" == "64"

instead?

-- Rex

-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux