[libvirt] libnuma build failure [was: securityselinuxlabeltest test fails on v1.2.5]

Martin Kletzander mkletzan at redhat.com
Tue Jul 1 09:48:34 UTC 2014


On Mon, Jun 30, 2014 at 03:26:07PM -0600, Eric Blake wrote:
>On 06/30/2014 01:46 PM, Scott Sullivan wrote:
>> I've tested the v1.2.6-rc2 git tag, im getting this build error:
>>
>>   CC     util/libvirt_util_la-virnuma.lo
>> util/virnuma.c: In function 'virNumaNodeIsAvailable':
>> util/virnuma.c:428: error: 'numa_nodes_ptr' undeclared (first use in
>> this function)
>> util/virnuma.c:428: error: (Each undeclared identifier is reported only
>> once
>> util/virnuma.c:428: error: for each function it appears in.)
>
>What version of numactl-devel do you have installed?
>
>> make[3]: *** [util/libvirt_util_la-virnuma.lo] Error 1
>> make[3]: Leaving directory `/home/rpmbuild/packages/libvirt/src'
>> make[2]: *** [all] Error 2
>> make[2]: Leaving directory `/home/rpmbuild/packages/libvirt/src'
>> make[1]: *** [all-recursive] Error 1
>> make[1]: Leaving directory `/home/rpmbuild/packages/libvirt'
>> make: *** [all] Error 2
>> error: Bad exit status from /var/tmp/rpm-tmp.3Gu7nd (%build)
>>
>> Build works fine on tag v1.2.5-maint.
>
>Sounds like we need to make code added in the meantime be conditional to
>compile to older numa libraries.
>

Guess we have to check for numa_nodes_ptr in the conditional for
HAVE_NUMA_BITMASK_ISBITSET, but that's definitely some odd version of
numactl.

Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20140701/a8642bce/attachment-0001.sig>


More information about the libvir-list mailing list