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.
|