pcp
[Top] [All Lists]

Re: [pcp] build failure on fc20

To: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Subject: Re: [pcp] build failure on fc20
From: Nathan Scott <nathans@xxxxxxxxxx>
Date: Thu, 7 May 2015 18:30:25 -0400 (EDT)
Cc: PCP <pcp@xxxxxxxxxxx>
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <554BD678.70207@xxxxxxxxxxxxxxxx>
References: <554BD678.70207@xxxxxxxxxxxxxxxx>
Reply-to: Nathan Scott <nathans@xxxxxxxxxx>
Thread-index: O6xP63HpFY+TzCD1y7lmQopML/s7aQ==
Thread-topic: build failure on fc20

----- Original Message -----
> 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?

I've got a regular fedora 20 build here & not seeing this FWLIW.

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

>From a quick reading of the code, I think that'd be safe & correct, yes.

cheers.

--
Nathan

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