[Bug 190783] New: devel/libvirt: configure checks for bhyve are broken

bz-noreply at freebsd.org bz-noreply at freebsd.org
Sun Jun 8 01:59:52 UTC 2014


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=190783

            Bug ID: 190783
           Summary: devel/libvirt: configure checks for bhyve are broken
           Product: Ports Tree
           Version: Latest
          Hardware: Any
                OS: Any
            Status: Needs Triage
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs at FreeBSD.org
          Reporter: rodrigc at FreeBSD.org

If the BHYVE option is enabled in this port, then the configure check fails:

checking for bhyve... /usr/sbin/bhyve
checking for bhyvectl... /usr/sbin/bhyvectl
checking for bhyveload... /usr/sbin/bhyveload
test: /usr/sbin/bhyvectl: unexpected operator

Peter Krempa has submitted a patch that fixes the problem:
https://www.redhat.com/archives/libvir-list/2014-June/msg00379.html

The patch is not in libvirt yet.

Until the patch is in, I suggest this patch to the configure script
of the port:

--- configure.orig      2014-06-07 18:27:57.809669553 -0700
+++ configure   2014-06-07 18:59:16.891541812 -0700
@@ -62467,7 +62467,7 @@



-        if test -z "$BHYVE" || test -z "$BHYVECTL" \
+        if test -z "$BHYVE" || test -z "$BHYVECTL" || \
             test -z "$BHYVELOAD" || test "$with_freebsd" = "no"; then
             if test "$with_bhyve" = "check"; then
                 with_bhyve="no"

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list