Summary: | devel/libvirt: Fails to configure (Can't build nss plugin without yajl) with NSS option enabled | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Vladimir Druzenko <vvd> | ||||
Component: | Individual Port(s) | Assignee: | Roman Bogorodskiy <novel> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Many People | Keywords: | needs-qa | ||||
Priority: | --- | Flags: | bugzilla:
maintainer-feedback?
(novel) koobs: merge-quarterly? |
||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
Description
Vladimir Druzenko
![]() ![]() (In reply to vvd from comment #0) Thanks for the PR; I'll check if the nss plugin really needs yajl and will either add a dependency or try to fix that upstream. By the way, another possible workaround is to enable the QEMU option which pulls yajl. (In reply to Roman Bogorodskiy from comment #1) yajl already installed: $ pkg info | grep yajl yajl-2.1.0 Portable JSON parsing and serialization library in ANSI C Created attachment 185348 [details]
libvirt nss yajl dep
(In reply to vvd from comment #2) Yeah, it needs to be instructed to look for yajl in /usr/local; could you please check if the attached patch works for you? (In reply to Roman Bogorodskiy from comment #4) Compiled without errors. Thanks! A commit references this bug: Author: novel Date: Thu Aug 17 13:24:45 UTC 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. PR: 221279 Reported by: vvd@unislabs.com Changes: head/devel/libvirt/Makefile |