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
|