[Bug 292544] Failed to build edk2-bhyve g202508.

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 17 Jan 2026 18:27:21 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=292544

            Bug ID: 292544
           Summary: Failed to build edk2-bhyve g202508.
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: uboot@FreeBSD.org
          Reporter: cb34@fureai.or.jp
             Flags: maintainer-feedback?(uboot@FreeBSD.org)
          Assignee: uboot@FreeBSD.org

When attempting to update to edk2-bhyve g202508 via portmaster, the build fails
with the following error log.

---
"gcc-ar" cr
/usr/ports/sysutils/edk2/work-bhyve/edk2-edk2-stable202508/Build/BhyveX64/RELEASE_GCC/X64/MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint/OUTPUT/UefiDriverEntryPoint.lib

@/usr/ports/sysutils/edk2/work-bhyve/edk2-edk2-stable202508/Build/BhyveX64/RELEASE_GCC/X64/MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint/OUTPUT/object_files.lst
ar: invalid option -- @
usage:  ar -d [-Tjsvz] archive file ...
        ar -m [-Tjsvz] archive file ...
        ar -m [-Tabijsvz] position archive file ...
        ar -p [-Tv] archive [file ...]
        ar -q [-TcDjsUvz] archive file ...
        ar -r [-TcDjsUuvz] archive file ...
        ar -r [-TabcDijsUuvz] position archive file ...
        ar -s [-jz] archive
        ar -t [-Tv] archive [file ...]
        ar -x [-CTouv] archive [file ...]
        ar -V
make[1]: *** [GNUmakefile:293:
/usr/ports/sysutils/edk2/work-bhyve/edk2-edk2-stable202508/Build/BhyveX64/RELEASE_GCC/X64/MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint/OUTPUT/UefiDriverEntryPoint.lib]
Error 1
make[1]: Leaving directory
'/usr/ports/sysutils/edk2/work-bhyve/edk2-edk2-stable202508/Build/BhyveX64/RELEASE_GCC/X64/MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint'


build.py...
 : error 7000: Failed to execute command
        make tbuild
[/usr/ports/sysutils/edk2/work-bhyve/edk2-edk2-stable202508/Build/BhyveX64/RELEASE_GCC/X64/MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint]


build.py...
 : error 7000: Failed to execute command
        make tbuild
[/usr/ports/sysutils/edk2/work-bhyve/edk2-edk2-stable202508/Build/BhyveX64/RELEASE_GCC/X64/MdePkg/Library/StackCheckLibNull/StackCheckLibNull]


build.py...
 : error 7000: Failed to execute command
        make tbuild
[/usr/ports/sysutils/edk2/work-bhyve/edk2-edk2-stable202508/Build/BhyveX64/RELEASE_GCC/X64/NetworkPkg/Library/DxeDpcLib/DxeDpcLib]


build.py...
 : error 7000: Failed to execute command
        make tbuild
[/usr/ports/sysutils/edk2/work-bhyve/edk2-edk2-stable202508/Build/BhyveX64/RELEASE_GCC/X64/MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib]


build.py...
 : error 7000: Failed to execute command
        make tbuild
[/usr/ports/sysutils/edk2/work-bhyve/edk2-edk2-stable202508/Build/BhyveX64/RELEASE_GCC/X64/MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLibDevicePathProtocol]


build.py...
 : error 7000: Failed to execute command
        make tbuild
[/usr/ports/sysutils/edk2/work-bhyve/edk2-edk2-stable202508/Build/BhyveX64/RELEASE_GCC/X64/NetworkPkg/Library/DxeIpIoLib/DxeIpIoLib]


build.py...
 : error 7000: Failed to execute command
        make tbuild
[/usr/ports/sysutils/edk2/work-bhyve/edk2-edk2-stable202508/Build/BhyveX64/RELEASE_GCC/X64/MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib]


build.py...
 : error 7000: Failed to execute command
        make tbuild
[/usr/ports/sysutils/edk2/work-bhyve/edk2-edk2-stable202508/Build/BhyveX64/RELEASE_GCC/X64/NetworkPkg/Library/DxeNetLib/DxeNetLib]


build.py...
 : error 7000: Failed to execute command
        make tbuild
[/usr/ports/sysutils/edk2/work-bhyve/edk2-edk2-stable202508/Build/BhyveX64/RELEASE_GCC/X64/MdePkg/Library/UefiLib/UefiLib]


build.py...
 : error F002: Failed to build module
       
/usr/ports/sysutils/edk2/work-bhyve/edk2-edk2-stable202508/MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
[X64, GCC, RELEASE]

- Failed -
Build end time: 03:16:18, Jan.18 2026
Build total time: 00:00:12

*** Error code 1

Stop.
make: stopped in /usr/ports/sysutils/edk2

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