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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Attachment: signature.asc
Description: Digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]