Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 08 Jun 2014 01:59:52 +0000
From:      bz-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 190783] New: devel/libvirt: configure checks for bhyve are broken
Message-ID:  <bug-190783-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
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@FreeBSD.org
          Reporter: rodrigc@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-190783-13>