Hello!

I’m tying to build libvirt into the  buildroot project.

When I build libvirt  I have an error

 

make[3]: Entering directory `/home/zoadmin/BRAIN4NET/buildroot/buildroot-2018.02.2/output/build/libvirt-v6.1.0/src'

make[3]: *** No rule to make target `keycodemapdb/data/keymaps.csv', needed by `util/virkeycodetable_linux.h'.  Stop.

 

Please, Help me)

What I do incorrect ?

I tried build branch 6.1 and  master.

Completely build.log in attach.

 

Thank you!

 

P.S.

My package/libvirt/libvirt.mk into the buildroot

 

 

[zoadmin@BuildPC-SPECOS buildroot-2018.02.2]$ cat package/libvirt/libvirt.mk

######################################################################

#

#

# libvirt

#

#

#####################################################################

 

LIBVIRT_VERSION = v6.1.0

#LIBVIRT_SOURCE =

LIBVIRT_SITE = https://github.com/libvirt/libvirt

LIBVIRT_SITE_METHOD = git

LIBVIRT_AUTORECONF = YES

LIBVIRT_CONF_OPTS = -prefix=/usr --sysconfdir=/etc --localstatedir=/var --with-storage-mpath=no

LIBVIRT_INSTALL_TARGET = YES

LIBVIRT_DEPENDENCIES = gnutls kvmtool qemu linux libxml2 libpciaccess libxslt libnl host-libxslt host-python-rst2html5 host-python-docutils host-python3

 

define  LIBVIRT_PRE_CONFIGURE_GNU

        cd $(@D); ./bootstrap

endef

 

define LIBVIRT_PRE_CONFIGURE_DELETE_STRING

        cd $(@D); sed -i "21,24d" ./configure.ac

#       sed -i "3413,3416d" ./configure

endef

#LIBVIRT_PRE_CONFIGURE_HOOKS += LIBVIRT_PRE_CONFIGURE_GNU

LIBVIRT_PRE_CONFIGURE_HOOKS += LIBVIRT_PRE_CONFIGURE_DELETE_STRING

 

 

$(eval $(autotools-package))

 

 

fd

______________________________________________________________________________________

 

С уважением,

Комаров Егор

Инженер Департамента специальных работ (ДСР),

АО «ЭЛВИС-ПЛЮС»

тел. +7 (495) 276-02-11 доб.175

www.elvis.ru