svn commit: r448098 - head/devel/libvirt

Roman Bogorodskiy bogorodskiy at gmail.com
Sun Aug 20 04:58:13 UTC 2017


  Mathieu Arnold wrote:

> Le 17/08/2017 à 15:24, Roman Bogorodskiy a écrit :
> > Author: novel
> > Date: Thu Aug 17 13:24:45 2017
> > New Revision: 448098
> > URL: https://svnweb.freebsd.org/changeset/ports/448098
> >
> > Log:
> >   devel/libvirt: add yajl dependency for nss
> >   
> >   The nss plugin requires yajl. It's pulled for qemu when it's enabled, but
> >   build fails when nss plugin is enabled and qemu driver is disabled, so
> >   add a dependency on yajl for both options.
> 
> I am not sure exactly why, but after this, it fails to build:

I guess it's related to using --with-yajl=${LOCALBASE} instead of
globally adding "-I${LOCALBASE}/include", however I cannot reproduce
this. Too bad I can't inspect config.log to see what's going on.

Anyway, I'll update the port to configure sasl in a similar way, i.e.
using --with-sasl=${LOCALBASE}, I guess it should fix this error.

> checking for sasl/sasl.h... no
> checking for sasl/sasl.h... (cached) no
> configure: error: You must install the libsasl2 library & headers to compile libvirt
> ===>  Script "configure" failed unexpectedly.
> Please report the problem to novel at FreeBSD.org [maintainer] and attach the
> "/wrkdirs/usr/ports/devel/libvirt/work/libvirt-3.6.0/config.log" including
> the output of the failure of your make command. Also, it might be a good idea
> to provide an overview of all packages installed on your system (e.g. a
> /usr/local/sbin/pkg-static info -g -Ea).
> *** Error code 1
> 
> 
> https://pkg.absolight.fr/data/10amd64-pkgng-default/20170818T150711Z/logs/errors/libvirt-3.6.0.log
> 
> 
> 
> 
> 
> >   PR:		221279
> >   Reported by:	vvd at unislabs.com
> >
> > Modified:
> >   head/devel/libvirt/Makefile
> >
> > Modified: head/devel/libvirt/Makefile
> > ==============================================================================
> > --- head/devel/libvirt/Makefile	Thu Aug 17 13:24:11 2017	(r448097)
> > +++ head/devel/libvirt/Makefile	Thu Aug 17 13:24:45 2017	(r448098)
> > @@ -41,9 +41,7 @@ OPTIONS_SUB=	yes
> >  
> >  BHYVE_CONFIGURE_WITH=	bhyve
> >  
> > -QEMU_CONFIGURE_WITH=	qemu yajl
> > -QEMU_CFLAGS=	-I${LOCALBASE}/include
> > -QEMU_LIB_DEPENDS=	libyajl.so:devel/yajl
> > +QEMU_CONFIGURE_WITH=	qemu
> >  QEMU_RUN_DEPENDS=	dmidecode:sysutils/dmidecode \
> >  			qemu-io:emulators/qemu
> >  
> > @@ -111,6 +109,11 @@ SUB_FILES=	pkg-message
> >  SUB_LIST+=	PORTVERSION="-${PORTVERSION}"
> >  
> >  .include <bsd.port.options.mk>
> > +
> > +.if ${PORT_OPTIONS:MQEMU} || ${PORT_OPTIONS:MNSS}
> > +LIB_DEPENDS+=		libyajl.so:devel/yajl
> > +CONFIGURE_ARGS+=	--with-yajl=${LOCALBASE}
> > +.endif
> >  
> >  .if !${PLIST_SUB:MXEN}
> >  PLIST_SUB+=	XEN="@comment "
> >
> >
> 
> -- 
> Mathieu Arnold
> 
> 




Roman Bogorodskiy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 455 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-ports-all/attachments/20170820/ef762ec5/attachment.sig>


More information about the svn-ports-all mailing list