From owner-svn-ports-head@freebsd.org Sun Aug 20 04:58:13 2017 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C50E2DDF5F8; Sun, 20 Aug 2017 04:58:13 +0000 (UTC) (envelope-from bogorodskiy@gmail.com) Received: from mail-lf0-x230.google.com (mail-lf0-x230.google.com [IPv6:2a00:1450:4010:c07::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4675F73451; Sun, 20 Aug 2017 04:58:13 +0000 (UTC) (envelope-from bogorodskiy@gmail.com) Received: by mail-lf0-x230.google.com with SMTP id d17so55605824lfe.0; Sat, 19 Aug 2017 21:58:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=LjKc39AvtN30c8J0zct7NGuyvO19g9ggRS/UY7JXPMo=; b=UjJYIt8LIGkyY7tRM2eTJoxmb+3LIWT68Bjn6EjyVSBEkcY7a2k+yx9d3Wt5+Gblfe xkQhpoUYM181ipcaooeoazOjp2Xl4anH4F75Q4b3UtNgmXjcCWeZalgHGhom0zTMBSYD cKko7NXVHXN/AZBff1dJ7DoCR6g94KHqJiO/ZcW+m8ytERLRnLITFgehbzAhm9ShvSQw Ld5k/f+u8IElwhamRQWZu2NnWPHYrSqBLmbyFjnZZj1CxuVImglfy5N23CJAtCJ4VUT6 8Ray23Q90jXEAvOnaZCiy93sX7CZbmnPxqZwqieXegGTXPVKsLELTurOPsAZ1aFEOaxF ho+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=LjKc39AvtN30c8J0zct7NGuyvO19g9ggRS/UY7JXPMo=; b=mfPbc63DRorjxqoXRV96+X3JUajVOzfYzwPHRLEMvQJx2y9N0+yxSXUetmF1WcJ4k8 2I1C46vd1WB0zRWRMp374+AB6wWepXqoDGDGe2XTi5bzr2li2e0Yy3GiCtqqOhzYzJLX Fe/GYXeeiEYS3pJ1/y2OJPeE1h3xab7Fr5Fls7LC6d0LkfGPYTxuF9pdJO4rRkP/w/PT 3EL9Vg/NWa4M3ASh/Fl1wP365zumbcl9RkvdZ68888/oGW6rtXZNGWji0lUvIKIzICJ6 WwnwbgXZP9YY9FJWX033ko36H6rU9eQTUM+nPpgx7Ww6c8V7YKnOMLRBBI8GIRMiWyOm aimg== X-Gm-Message-State: AHYfb5gLoGybyVdk4zqMvM5IfWgtmDcrWPhBpe6Kk6KRjDWfObPHE1zz z+/18lunnWfeJaM/ X-Received: by 10.25.141.17 with SMTP id p17mr1941667lfd.257.1503205090981; Sat, 19 Aug 2017 21:58:10 -0700 (PDT) Received: from kloomba ([213.147.217.116]) by smtp.gmail.com with ESMTPSA id 3sm1787118ljv.70.2017.08.19.21.58.08 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 19 Aug 2017 21:58:09 -0700 (PDT) Date: Sun, 20 Aug 2017 08:56:47 +0400 From: Roman Bogorodskiy To: Mathieu Arnold Cc: Roman Bogorodskiy , 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> References: <201708171324.v7HDOjsw036833@repo.freebsd.org> <961a68ac-3362-a4dd-8eca-0b7b7acbf3ba@FreeBSD.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="FL5UXtIhxfXey3p5" Content-Disposition: inline In-Reply-To: <961a68ac-3362-a4dd-8eca-0b7b7acbf3ba@FreeBSD.org> User-Agent: Mutt/1.8.3 (2017-05-23) X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Aug 2017 04:58:13 -0000 --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 > > + > > +.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--