pcp
[Top] [All Lists]

Re: [pcp] build failure on fc20 [fixed]

To: pcp@xxxxxxxxxxx
Subject: Re: [pcp] build failure on fc20 [fixed]
From: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Fri, 08 May 2015 08:33:26 +1000
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <554BD678.70207@xxxxxxxxxxxxxxxx>
References: <554BD678.70207@xxxxxxxxxxxxxxxx>
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0
On 08/05/15 07:17, Ken McDonell wrote:
My build just started failing on fc20 thusly ...

+ /usr/bin/gawk --posix '
...
             printf ("%%attr(%s,%s,%s) %s\n", $2, $3, $4, $6) >> f }
$1 == "l" { print "%attr(0777,root,root)", $3 >> f }'
gawk: cmd. line:133:     else if (import_sheet2pcp[$NF]) 
f="import_sheet2pcp_files.rpm";
gawk: cmd. line:133:                                       ^ yacc stack overflow

Anyone else seeing this?

Better still, any suggestions?

This https://bugzilla.redhat.com/show_bug.cgi?id=743343 suggests the problem 
may have been there for ages, we're just hitting it now because we have lots 
more packages ... 8^)

Can we change this code from
if () ...
else if () ...
...

to
if () ...
if () ...
...

Doing a yum update fixed this ... so probably a gawk build problem that was fixed at some point in the fc20 update cycle.

Looks like unravelling the nested if-else-else ... in pcp.spec.in would work in case this problem reappears elsewhere.

<Prev in Thread] Current Thread [Next in Thread>