pcp
[Top] [All Lists]

Re: [pcp] [pcp-announce] pcp-3.5.5 released

To: Nathan Scott <nathans@xxxxxxxxxx>
Subject: Re: [pcp] [pcp-announce] pcp-3.5.5 released
From: jeffpc@xxxxxxxxxxxxxx
Date: Thu, 7 Jul 2011 10:41:58 -0400
Cc: pcp <pcp@xxxxxxxxxxx>
In-reply-to: <795680652.135149.1310003251207.JavaMail.root@xxxxxxxxxxxxxxxxxxxxxx>
References: <780625946.134421.1309986808467.JavaMail.root@xxxxxxxxxxxxxxxxxxxxxx> <795680652.135149.1310003251207.JavaMail.root@xxxxxxxxxxxxxxxxxxxxxx>
User-agent: Mutt/1.5.21 (2010-09-15)
On Thu, Jul 07, 2011 at 11:47:31AM +1000, Nathan Scott wrote:
> Hi all,
> 
> The pcp-3.5.5 has been tagged and uploaded.  This is mainly a bug
> fix release...
> 
> pcp-3.5.5 (6 July 2011)
...
>     - Perl changes for Solaris.
>     - Solaris pmda zpool_vdev_name() api change.

FWIW, I get a build failure on OpenIndiana:

=== pmie ===
sed -e's;/var/adm/pmielog/;PCP_LOG_DIR/pmie/;' -e 's;/var/pcp;'/var/lib/pcp';g' 
control > control.install
sed -e's;/var/adm/pmielog/;PCP_LOG_DIR/pmie/;' -e 's;/var/pcp;'/var/lib/pcp';g' 
config.default > config.default.install
sed -e's;/usr/pcp/bin;'/usr/share/pcp/bin';g' crontab > crontab.install
=== src ===
/usr/bin/gcc -m64 -fPIC -fno-strict-aliasing  -Wall -g -DPCP_DEBUG 
-DPCP_VERSION=\"3.5.5\" -DASYNC_API -I../../../src/include   -c -o pmie.o pmie.c
/usr/bin/gcc -m64 -fPIC -fno-strict-aliasing  -Wall -g -DPCP_DEBUG 
-DPCP_VERSION=\"3.5.5\" -DASYNC_API -I../../../src/include   -c -o symbol.o 
symbol.c
/usr/bin/gcc -m64 -fPIC -fno-strict-aliasing  -Wall -g -DPCP_DEBUG 
-DPCP_VERSION=\"3.5.5\" -DASYNC_API -I../../../src/include   -c -o dstruct.o 
dstruct.c
yacc -d -b `basename grammar.y .y` grammar.y && cp `basename grammar.h 
.h`.tab.h grammar.h
"grammar.y", line 61: fatal: invalid escape, or illegal reserved word: expect
gmake[4]: *** [grammar.h] Error 1

If I remove the expect line, things seem to build just fine for a while and
then I hit the same issue in pmlogger/gram.y.  Removing that line makes the
build continue until it gets into the solaris pmda:

/usr/bin/gcc -m64 -fPIC -fno-strict-aliasing  -Wall -g -DPCP_DEBUG 
-DPCP_VERSION=\"3.5.5\" -DASYNC_API -I../../../src/include   -c -o zpool.o 
zpool.c
zpool.c: In function `zp_cache_pool':
zpool.c:78: error: `ZPOOL_CONFIG_STATS' undeclared (first use in this function)
zpool.c:78: error: (Each undeclared identifier is reported only once
zpool.c:78: error: for each function it appears in.)
gmake[3]: *** [zpool.o] Error 1

Jeff.

-- 
UNIX is user-friendly ... it's just selective about who its friends are

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