pcp
[Top] [All Lists]

Re: [pcp] rpm-based build failures .. moved to python code

To: pcp@xxxxxxxxxxx
Subject: Re: [pcp] rpm-based build failures .. moved to python code
From: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Fri, 31 Oct 2014 06:43:13 +1100
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <54521217.5030709@xxxxxxxxxxxxxxxx>
References: <54521217.5030709@xxxxxxxxxxxxxxxx>
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0
On 30/10/14 21:25, Ken McDonell wrote:
> I'm seeing failures like below on FC19, FC20 and openSUSE 13.1...
> 
> ...

At lease for one VM I know what is happening here, but not why.  My 
VERSIONS.pcp file is empty (and there is a block of nulls in the tail of the 
Logs/pcp file) ... these VMs have preallocated disk space, so I am not sure why 
I'm seeing something like a file system full symptom.

Anyway, that seems to have passed now, but I'm seeing build failures in the 
python code now (on Fedora 19, I've not delved into the other cases yet) ...

I've tried make distclean, but Makepkgs fails the same way.

If it makes any difference, python and python3 are both installed on this system

kenj@vm22:~/src/pcp$ python --version
Python 2.7.5
kenj@vm22:~/src/pcp$ python3 --version
Python 3.3.2

=== python ===
python3 setup.py build_ext --include-dirs=../../src/include 
--library-dirs=../../src/libpcp/src:../../src/libpcp_pmda/src:../../src/libpcp_gui/src:../../src/libpcp_import/src:../../src/libpcp_mmv/src
running build_ext
building 'cpmapi' extension
creating build
creating build/temp.linux-x86_64-3.3
gcc -pthread -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall 
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector 
--param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic 
-D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 
-fexceptions -fstack-protector --param=ssp-buffer-size=4 -grecord-gcc-switches 
-m64 -mtune=generic -fPIC -fno-strict-aliasing -D_GNU_SOURCE 
-fstack-protector-all -D_FORTIFY_SOURCE=2 -Wall -O2 -g -DPCP_DEBUG 
-DPCP_VERSION="3.10.0" -I./src/include -I./src/include/pcp -fPIC 
-fno-strict-aliasing -D_GNU_SOURCE -fstack-protector-all -D_FORTIFY_SOURCE=2 
-Wall -O2 -g -DPCP_DEBUG -DPCP_VERSION="3.10.0" -I../src/include 
-I../src/include/pcp -fPIC -fno-strict-aliasing -D_GNU_SOURCE 
-fstack-protector-all -D_FORTIFY_SOURCE=2 -Wall -O2 -g -DPCP_DEBUG 
-DPCP_VERSION="3.10.0" -I../../src/include -I../../src/include/pcp -fPIC 
-I../../src/include -I/usr/include/python3.3m -c pmapi.c -o 
build/temp.linux-x86_64-3.3/pmapi.o
pmapi.c:27:20: fatal error: Python.h: No such file or directory
 #include <Python.h>
                    ^
compilation terminated.

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