Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Jul 2026 13:08:08 +0000
From:      Lexi Winter <ivy@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Cc:        Roman Bogorodskiy <novel@FreeBSD.org>
Subject:   git: 73a7f5ab5fb9 - stable/15 - packages: make bhyve depend on acpi
Message-ID:  <6a64b538.264c7.2c42533e@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch stable/15 has been updated by ivy:

URL: https://cgit.FreeBSD.org/src/commit/?id=73a7f5ab5fb92481b142d22f20cac5423c91eace

commit 73a7f5ab5fb92481b142d22f20cac5423c91eace
Author:     Roman Bogorodskiy <novel@FreeBSD.org>
AuthorDate: 2026-04-25 16:03:58 +0000
Commit:     Lexi Winter <ivy@FreeBSD.org>
CommitDate: 2026-07-25 13:01:24 +0000

    packages: make bhyve depend on acpi
    
    bhyve(8) on amd64 needs iasl(8) to run, otherwise it fails with:
    
      /bin/sh: /usr/sbin/iasl: not found
      bhyve: BASL failed @ build_dsdt:484
          Failed to execute basl_compile(ctx, basl_fwrite_dsdt): Unknown
      error: 32512
      bhyve: BASL failed @ acpi_build:899
          Failed to execute build_dsdt(ctx): Unknown error: 32512
      Assertion failed: (error == 0), function bhyve_init_platform_late, file
      /home/pkgbuild/worktrees/main/usr.sbin/bhyve/amd64/bhyverun_machdep.c,
      line 394.
    
    Register the "acpi" package which provides iasl(8) as a dependency for
    bhyve on amd64.
    
    Reviewed by:            markj (previous revision), ivy
    Differential Revision:  https://reviews.freebsd.org/D56498
    Sponsored by:           The FreeBSD Foundation
    
    (cherry picked from commit 8a9c94cd59eed09477049635663a7113ab0582a5)
---
 packages/bhyve/Makefile | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/packages/bhyve/Makefile b/packages/bhyve/Makefile
index 26658cf9934f..6e6d9c628356 100644
--- a/packages/bhyve/Makefile
+++ b/packages/bhyve/Makefile
@@ -1,3 +1,8 @@
 WORLDPACKAGE=	bhyve
 
+# bhyve needs iasl(8) on amd64
+.if ${MACHINE_ARCH} == "amd64"
+PKG_DEPS.bhyve+=	acpi
+.endif
+
 .include <bsd.pkg.mk>


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a64b538.264c7.2c42533e>