pcp
[Top] [All Lists]

Makepkgs Looping?

To: PCP Mailing List <pcp@xxxxxxxxxxx>
Subject: Makepkgs Looping?
From: Dave Brolley <brolley@xxxxxxxxxx>
Date: Fri, 16 May 2014 12:18:13 -0400
Delivered-to: pcp@xxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0
Hi,

With all of the latest from upstream, on my f19 system, Makepkgs seems to be looping on the command below. CPU for gawk is pegged at 100%, so it's not waiting for something. I'm looking into it, but if it rings any bells with anyone, please have a look.

The invocation was: Makepkgs -verbose -clean

Thanks,
Dave

--------------------------------------------------------

+ /usr/bin/gawk --posix '
BEGIN {
    while( getline < "cfg_files") cfg[$0]=1;
    while( getline < "gui_files") gui[$0]=1;
    while( getline < "docs_files") doc[$0]=1;
    while( getline < "libs_files") lib[$0]=1;
    while( getline < "devel_files") dev[$0]=1;
    while( getline < "webapi_files") webapi[$0]=1;
    while( getline < "manager_files") manager[$0]=1;
    while( getline < "testsuite_files") testsuite[$0]=1;
    while( getline < "pmda_infiniband_files") pmda_infiniband[$0]=1;
    while( getline < "import_sar2pcp_files") import_sar2pcp[$0]=1;
    while( getline < "import_iostat2pcp_files") import_iostat2pcp[$0]=1;
    while( getline < "import_sheet2pcp_files") import_sheet2pcp[$0]=1;
    while( getline < "import_mrtg2pcp_files") import_mrtg2pcp[$0]=1;
while( getline < "import_collectl2pcp_files") import_collectl2pcp[$0]=1; while( getline < "import_collectl2pcp_files") import_collectl2pcp[$0]=1;
    while( getline < "conf_files") conf[nconf++]=$0;
}
{
    if (cfg[$NF]) f="cfg_files.rpm";
    else if (gui[$NF]) f="gui_files.rpm";
    else if (doc[$NF]) f="docs_files.rpm";
    else if (lib[$NF]) f="libs_files.rpm";
    else if (dev[$NF]) f="devel_files.rpm";
    else if (webapi[$NF]) f="webapi_files.rpm";
    else if (manager[$NF]) f="manager_files.rpm";
    else if (testsuite[$NF]) f="testsuite_files.rpm";
    else if (pmda_infiniband[$NF]) f="pmda_infiniband_files.rpm";
    else if (import_sar2pcp[$NF]) f="import_sar2pcp_files.rpm";
    else if (import_iostat2pcp[$NF]) f="import_iostat2pcp_files.rpm";
    else if (import_sheet2pcp[$NF]) f="import_sheet2pcp_files.rpm";
    else if (import_mrtg2pcp[$NF]) f="import_mrtg2pcp_files.rpm";
    else if (import_collectl2pcp[$NF]) f="import_collectl2pcp_files.rpm";
    else f="base_files.rpm"
}
$1 == "d" { printf ("%%dir %%attr(%s,%s,%s) %s\n", $2, $3, $4, $5) >> f }

$1 == "f" && $6 ~ "etc/pcp.conf" { printf ("%%config ") >> f; }
$1 == "f" {
        for (i=0; i < nconf; i++) {
            if ($6 ~ conf[i]) {
            printf ("%%config(noreplace) ") >> f;
            break;
        }
        }
if (match ($6, "/usr/share/man") || match ($6, "/usr/share/doc/pcp-3.9.5")) {
        printf ("%%doc ") >> f;
        }
        printf ("%%attr(%s,%s,%s) %s\n", $2, $3, $4, $6) >> f }
$1 == "l" { print "%attr(0777,root,root)", $3 >> f }'

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