pcp
[Top] [All Lists]

Build/install status for 3.7.0

To: pcp@xxxxxxxxxxx
Subject: Build/install status for 3.7.0
From: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Wed, 06 Mar 2013 17:13:54 +1100
Delivered-to: pcp@xxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130221 Thunderbird/17.0.3
No real QA yet, just trying to build and install everywhere.

We still have some work to be done ...  :-)

Compilation Failures

On comma 3.6.11 i386 Darwin 10.8.0, the build of the logger PMDA fails

gcc  -fPIC -no-cpp-precomp -fno-strict-aliasing -arch i386 -arch x86_64 -fstack-protector-all -O2 -D_FORTIFY_SOURCE=2  -Wall -O2 -g -DPCP_DEBUG -DPCP_VERSION=\"3.6.11\" -I../../../src/include -I../../../src/include/pcp   -c -o event.o event.c
In file included from event.c:18:
event.h:29: error: field 'pathstat' has incomplete type
In file included from event.c:18:
event.h:29: error: field 'pathstat' has incomplete type

On vm05 3.7.0 i486 Gentoo 2.0.3 ... I have a fix for this that is on its way (move comment out of macro body)
src/include/builddefs:430: *** recipe commences before first target.  Stop.
Error: Makepkgs failed!

On vm18 3.6.11 x86_64 LinuxMint 12 (lisa) the build dies a horrible death in the python code with ...
== dpkg-buildpackage: binary-arch
/bin/sh: python2.6: not found

and the tail of the Logs/pcp file contains stuff that does not appear on the Ubuntu builds (also dpkg-based)
for V in 2.7 2.6; do \
            export GZIP=-9q DIST_ROOT=`pwd`/debian/python-pcp; /usr/bin/make PYTHON=python$V -C src/python install; \
        done
...
make[1]: Entering directory `/home/kenj/src/pcp/build/deb/pcp-3.7.0/src/python'
python2.6 setup.py install --skip-build --root=${DIST_ROOT-/} --record=../../python-pcp.list --install-layout=deb
make[1]: Leaving directory `/home/kenj/src/pcp/build/deb/pcp-3.7.0/src/python'
<End-of-File>

Compilation Warnings

Some of these are not new, just included here in case someone is in the neighbourhood and wants to do some drive-by community work ...

On vm03 3.7.0 x86_64  Fedora 18 (Spherical Cow)
in libpcp
context.c:775:12: warning: ignoring return value of ‘strerror_r’, declared with attribute warn_unused_result [-Wunused-result]
context.c:226:12: warning: ignoring return value of ‘strerror_r’, declared with attribute warn_unused_result [-Wunused-result]
context.c:233:12: warning: ignoring return value of ‘strerror_r’, declared with attribute warn_unused_result [-Wunused-result]
context.c:240:12: warning: ignoring return value of ‘strerror_r’, declared with attribute warn_unused_result [-Wunused-result]
context.c:255:12: warning: ignoring return value of ‘strerror_r’, declared with attribute warn_unused_result [-Wunused-result]
lock.c:55:12: warning: ignoring return value of ‘strerror_r’, declared with attribute warn_unused_result [-Wunused-result]
lock.c:94:12: warning: ignoring return value of ‘strerror_r’, declared with attribute warn_unused_result [-Wunused-result]

On vm04 3.7.0 i586 CentOS 5.9 (Final)
in assorted flex generated code (so probably not much we can do about it other than raising a flex bug) we see warnings like this (on multiple platforms)...
lex.l:119: warning: ignoring return value of ‘fwrite’, declared with attribute warn_unused_result

in the linux pmda
pmda.c:732: warning: ‘rightnow’ may be used uninitialized in this function


Package Installation/Startup Issues

On vm07 3.7.0 x86_64 Debian 6.0.5, (I don't think this is a new issue)

Setting up pcp (3.7.0) ...
insserv: warning: current start runlevel(s) (empty) of script `pmie' overwrites defaults (2 3 4 5).
insserv: warning: current stop runlevel(s) (0 1 2 3 4 5 6) of script `pmie' overwrites defaults (0 1 6).

On vm05 3.7.0 i486 Gentoo 2.0.3 pmcd dies
Starting pmcd ...
[Wed Mar  6 16:13:51] pmcd(1293) Error: OpenRequestSocket(44321, INADDR_ANY) __pmCreateSocket: Address family not supported by protocol
[Wed Mar  6 16:13:51] pmcd(1293) Error: pmcd: can't open any request ports, exiting
[Wed Mar  6 16:13:51] pmcd(1293) Error: pmcd not started due to errors!

Current State of my QA Farm

Host        PCP      CPU     Operating System
----------- -------- ------  ------------------
vm00        3.7.0    x86_64  Ubuntu 12.04 (precise)
vm01        3.7.0    i686    Ubuntu 12.10 (quantal)
vm02        3.7.0    i686    openSUSE 12.1
vm03        3.7.0    x86_64  Fedora 18 (Spherical Cow)
vm04        3.7.0    i586    CentOS 5.9 (Final)
vm05        unknown  i486    Gentoo 2.0.3
vm06        ?        ?       Freebsd
vm07        3.7.0    x86_64  Debian 6.0.5
vm08        ?        ?       OpenSolaris
vm09        3.6.11   i386    NetBSD 5.1.2
vm10        ?        ?       Freebsd
vm11        3.6.11   i686    Debian 6.0.6
vm12        3.7.0    i686    Fedora 17 (Beefy Miracle)
vm13        ?        ?       OpenIndiana
vm14        3.7.0    x86_64  CentOS 6.3 (Final)
vm15        unknown  x86_64  Slackware 13.37.0
vm16        3.7.0    x86_64  MandrivaLinux 2011.0 (turtle)
vm17        unknown  x86_64  Windows 8
vm18        3.6.11   x86_64  LinuxMint 12 (lisa)
vm19        3.6.11   x86_64  openSUSE 12.2

bozo        3.7.0    x86_64  Ubuntu 12.10 (quantal)
bozo-laptop 3.7.0    i686    Ubuntu 12.10 (quantal)
grundy      3.7.0    ia64    SUSE Linux Enterprise Server 11
comma       3.6.11   i386    Darwin 10.8.0


There are some missing ones here because my switch from LinuxMint back to Ubuntu broke some of the VMs (grr) and some of the 3.7.0 problems above have prevented installing a new working PCP on some platforms, and some of the platforms are not "supported" in the sense of anyone accepting responsibility for making them continue to work (like Windows, *bsd, OpenSolaris, OpenIndiana).

If the list of platforms is missing something you think should be tested, and it is not being tested by anyone else (that probably means RH), please let me know.
<Prev in Thread] Current Thread [Next in Thread>