[Bug 282786] devel/libvirt: build fails on missing 'bhyveload' (15/aarch64)

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 15 Nov 2024 15:59:24 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=282786

            Bug ID: 282786
           Summary: devel/libvirt: build fails on missing 'bhyveload'
                    (15/aarch64)
           Product: Ports & Packages
           Version: Latest
          Hardware: arm64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: novel@FreeBSD.org
          Reporter: ronald@FreeBSD.org
          Assignee: novel@FreeBSD.org
             Flags: maintainer-feedback?(novel@FreeBSD.org)

Created attachment 255200
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=255200&action=edit
git diff fixing the build

The build fails in configure:

Program bhyve found: YES (/usr/sbin/bhyve)
Program bhyvectl found: YES (/usr/sbin/bhyvectl)
Program bhyveload found: NO

meson.build:1490:19: ERROR: Program 'bhyveload' not found or not executable

See:
https://pkg-status.freebsd.org/ampere2/data/main-arm64-default/p380be9c7980a_s5036d9652a5/logs/libvirt-10.9.0.log

Support for bhyve is new in 15/aarch64.
But the ports OPTION BHYVE is not enabled in the port for aarch64. It isn't
even defined.

I think on runtime it does detect some bhyve artifacts because this does not
disable driver_bhyve on aarch64.

.if exists(/usr/sbin/bhyve)
OPTIONS_DEFINE_amd64+=  BHYVE
OPTIONS_DEFAULT_amd64+= BHYVE
.else
PLIST_SUB+=             BHYVE="@comment "
SUB_LIST+=              BHYVE="@comment "
MESON_ARGS+=    -Ddriver_bhyve=disabled
.endif

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