Date: Sun, 20 Aug 2017 08:56:47 +0400 From: Roman Bogorodskiy <bogorodskiy@gmail.com> To: Mathieu Arnold <mat@FreeBSD.org> Cc: Roman Bogorodskiy <novel@FreeBSD.org>, ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: Re: svn commit: r448098 - head/devel/libvirt Message-ID: <20170820045645.GA18349@kloomba> In-Reply-To: <961a68ac-3362-a4dd-8eca-0b7b7acbf3ba@FreeBSD.org> References: <201708171324.v7HDOjsw036833@repo.freebsd.org> <961a68ac-3362-a4dd-8eca-0b7b7acbf3ba@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--FL5UXtIhxfXey3p5 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Mathieu Arnold wrote: > Le 17/08/2017 =E0 15:24, Roman Bogorodskiy a =E9crit=A0: > > 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 > > =20 > > 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. >=20 > I am not sure exactly why, but after this, it fails to build: I guess it's related to using --with-yajl=3D${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=3D${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 comp= ile libvirt > =3D=3D=3D> Script "configure" failed unexpectedly. > Please report the problem to novel@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 >=20 >=20 > https://pkg.absolight.fr/data/10amd64-pkgng-default/20170818T150711Z/logs= /errors/libvirt-3.6.0.log >=20 >=20 >=20 >=20 >=20 > > PR: 221279 > > Reported by: vvd@unislabs.com > > > > Modified: > > head/devel/libvirt/Makefile > > > > Modified: head/devel/libvirt/Makefile > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D > > --- 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=3D yes > > =20 > > BHYVE_CONFIGURE_WITH=3D bhyve > > =20 > > -QEMU_CONFIGURE_WITH=3D qemu yajl > > -QEMU_CFLAGS=3D -I${LOCALBASE}/include > > -QEMU_LIB_DEPENDS=3D libyajl.so:devel/yajl > > +QEMU_CONFIGURE_WITH=3D qemu > > QEMU_RUN_DEPENDS=3D dmidecode:sysutils/dmidecode \ > > qemu-io:emulators/qemu > > =20 > > @@ -111,6 +109,11 @@ SUB_FILES=3D pkg-message > > SUB_LIST+=3D PORTVERSION=3D"-${PORTVERSION}" > > =20 > > .include <bsd.port.options.mk> > > + > > +.if ${PORT_OPTIONS:MQEMU} || ${PORT_OPTIONS:MNSS} > > +LIB_DEPENDS+=3D libyajl.so:devel/yajl > > +CONFIGURE_ARGS+=3D --with-yajl=3D${LOCALBASE} > > +.endif > > =20 > > .if !${PLIST_SUB:MXEN} > > PLIST_SUB+=3D XEN=3D"@comment " > > > > >=20 > --=20 > Mathieu Arnold >=20 >=20 Roman Bogorodskiy --FL5UXtIhxfXey3p5 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJZmRaNAAoJEMltX/4IwiJqYkwH/j2dPZK3bGfnCno1tfy75BqY 5sU0rAGWtm3cVy+AvT9s7EwMsP0zMXEKSCfAnGVTvv//4W9LJA75TUEJev8c/KAV tzaUKCmpsa7cVS6fyLoCDFBmwX9irosEfw2CePaM+PeBGc9iFvQw7bgNUKCMmQ/M vPrcOzjJBF8WR/7CMD6lPRU42G7EFq6KUuNbpmAgGS+4EFFwK1CA9r1E6alHr/CI ArXnrF3w7KXHXBG0Gjp0uSovc0DpwXB+KU6m7TAdlcWMCP4KowX6BL2xtM75DUPZ DbTpQx8YUafE/D+2GrDGYhByLiwDgxj299KmGl3bnJCtz1WSsaQQDTbxyXAE7Wk= =D5Mi -----END PGP SIGNATURE----- --FL5UXtIhxfXey3p5--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20170820045645.GA18349>