svn commit: r448098 - head/devel/libvirt
Mathieu Arnold
mat at FreeBSD.org
Fri Aug 18 14:01:54 UTC 2017
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:
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/svn-ports-head/attachments/20170818/ee458590/attachment.sig>
More information about the svn-ports-head
mailing list