Created attachment 255200 [details] 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
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=751fd2a4a2fcd48fc1f80b1a2d20848f35a924a3 commit 751fd2a4a2fcd48fc1f80b1a2d20848f35a924a3 Author: Ronald Klop <ronald@FreeBSD.org> AuthorDate: 2024-11-15 20:16:13 +0000 Commit: Ronald Klop <ronald@FreeBSD.org> CommitDate: 2024-12-03 22:57:21 +0000 devel/libvirt: fix build on 15/aarch64 The build picked up BHYVE option while it does not have the /usr/sbin/bhyveload executable which is needed by the build. PR: 282786 Reported by: https://lists.freebsd.org/archives/freebsd-pkg-fallout/2024-December/690521.html Approved by: novel@ (maintainer timeout) devel/libvirt/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)