pcp
[Top] [All Lists]

Re: [pcp] build failure in infinband pmda

To: Nathan Scott <nathans@xxxxxxxxxx>
Subject: Re: [pcp] build failure in infinband pmda
From: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Wed, 07 Aug 2013 21:09:58 +1000
Cc: PCP Mailing List <pcp@xxxxxxxxxxx>
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <193008548.12478199.1375869838872.JavaMail.root@xxxxxxxxxx>
References: <5201FCA2.5040201@xxxxxxxxxxxxxxxx> <193008548.12478199.1375869838872.JavaMail.root@xxxxxxxxxx>
User-agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130623 Thunderbird/17.0.7
On 07/08/13 20:03, Nathan Scott wrote:
> Hi Ken,
> 
> ----- Original Message -----
>> on linuxmint
>>
>> === infiniband ===
>> gcc  -fpic -fno-strict-aliasing -D_GNU_SOURCE -fstack-protector-all
>> -D_FORTIFY_SOURCE=2  -Wall -O2 -g -DPCP_DEBUG -DPCP_VERSION=\"3.8.3\"
>> -I../../../src/include -I../../../src/include/pcp   -c -o ib.o ib.c
>> ib.c:17:29: fatal error: infiniband/umad.h: No such file or directory
>>
> 
> That's Debian-based isn't it?  Were the build dependencies satisfied:
> 
> debian/control ...
> Build-Depends: ... libibumad-dev, libibmad-dev
> 
> Those came along late last night in a follow-up commit after the initial
> RPM packaging work, possibly (hopefully?) you pulled in-between?

Right cause.  Wrong explanation.  I was not runnning Makepkgs in this case, but 
doing this ... 

make clean
qa/admin/myconfigure
make

which makes no reference to any build dependencies ... so that one's my fault.

But Makepkgs chooses to die differently ...

== dpkg-buildpackage: binary-arch
rmdir: failed to remove âdebian/pcp/usr/share/man/man3â: Directory not empty
make: *** [binary-arch] Error 1
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2


$ ls -l build/deb/pcp-3.8.3/debian/pcp/usr/share/man/man3
total 0
lrwxrwxrwx 1 kenj kenj 13 Aug  7 21:05 pmdaRehash.3.gz -> pmdaInit.3.gz
lrwxrwxrwx 1 kenj kenj 13 Aug  7 21:05 pmdaSetFlags.3.gz -> pmdaInit.3.gz


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