Since qemu-guest-agent has been removed and qemu guestagent flavor exist, it is impossible to build this flavor using portmaster. ===== Here is the command result: # portmaster emulators/qemu@guestagent ===>>> Port directory: /usr/ports/emulators/qemu@guestagent ===>>> Launching 'make checksum' for emulators/qemu@guestagent in background ===>>> Gathering dependency list for emulators/qemu@guestagent from ports ===>>> Initial dependency check complete for emulators/qemu@guestagent ===>>> Starting build for emulators/qemu@guestagent <<<=== ===>>> All dependencies are up to date ===> Cleaning for qemu-guest-agent-8.0.0 ===> License GPLv2 accepted by the user ===> qemu-guest-agent-8.0.0 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by qemu-guest-agent-8.0.0 for building ===> Extracting for qemu-guest-agent-8.0.0 => SHA256 Checksum OK for qemu/8.0.0/qemu-8.0.0.tar.xz. ===> Patching for qemu-guest-agent-8.0.0 ===> Applying FreeBSD patches for qemu-guest-agent-8.0.0 from /usr/ports/emulators/qemu/files ===> qemu-guest-agent-8.0.0 depends on executable: bash - found ===> qemu-guest-agent-8.0.0 depends on package: py39-sphinx_rtd_theme>0 - found ===> qemu-guest-agent-8.0.0 depends on executable: sphinx-build - found ===> qemu-guest-agent-8.0.0 depends on package: gmake>=4.3 - found ===> qemu-guest-agent-8.0.0 depends on executable: ninja - found ===> qemu-guest-agent-8.0.0 depends on package: pkgconf>=1.3.0_1 - found ===> qemu-guest-agent-8.0.0 depends on file: /usr/local/bin/python3.9 - found ===> qemu-guest-agent-8.0.0 depends on package: perl5>=5.32.r0<5.33 - found ===> qemu-guest-agent-8.0.0 depends on file: /usr/local/bin/ccache - found ===> qemu-guest-agent-8.0.0 depends on shared library: libglib-2.0.so - found (/usr/local/lib/libglib-2.0.so) ===> qemu-guest-agent-8.0.0 depends on shared library: libintl.so - found (/usr/local/lib/libintl.so) ===> Configuring for qemu-guest-agent-8.0.0 sed: /usr/ports/emulators/qemu/work-guestagent/qemu-8.0.0/meson/test: No such file or directory ===> FreeBSD 10 autotools fix applied to /usr/ports/emulators/qemu/work-guestagent/qemu-8.0.0/meson/test touch: /usr/ports/emulators/qemu/work-guestagent/qemu-8.0.0/meson/test.fbsd10bak: No such file or directory sed: cases/common/230: No such file or directory ===> FreeBSD 10 autotools fix applied to cases/common/230 touch: cases/common/230.fbsd10bak: No such file or directory sed: external: No such file or directory ===> FreeBSD 10 autotools fix applied to external touch: external.fbsd10bak: No such file or directory sed: project/libfoo/configure: No such file or directory ===> FreeBSD 10 autotools fix applied to project/libfoo/configure touch: project/libfoo/configure.fbsd10bak: No such file or directory Using './build' as the directory for build output ERROR: unknown option --disable-blobs Try '/usr/ports/emulators/qemu/work-guestagent/qemu-8.0.0/configure --help' for more information ===> Script "configure" failed unexpectedly. Please report the problem to bofh@FreeBSD.org [maintainer] and attach the "/usr/ports/emulators/qemu/work-guestagent/qemu-8.0.0/config.log" including the output of the failure of your make command. Also, it might be a good idea to provide an overview of all packages installed on your system (e.g. a /usr/local/sbin/pkg-static info -g -Ea). *** Error code 1 Stop. make[1]: stopped in /usr/ports/emulators/qemu *** Error code 1 Stop. make: stopped in /usr/ports/emulators/qemu ===>>> make build failed for emulators/qemu@guestagent ===>>> Aborting update ===>>> You can restart from the point of failure with this command line: portmaster <flags> emulators/qemu@guestagent This command has been saved to ~/portmasterfail.txt ===== There is no /usr/ports/emulators/qemu/work-guestagent/qemu-8.0.0/config.log file.
Here there are two problems: 1. The configure script fails which I can reproduce. The fix will go into the next batch of commits today or tomorrow. Due to some other reason I disabled building all other flavors of a port due to which qemu@guest-agent was not build tested. 2. Building with portmaster. I cannot confirm this as I do not use portmaster at all. And this is also not the recommended way of using ports anymore although there are lots of incarnation of this in the handbooks. If you need to use customized ports please use poudriere+pkg combiantion.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=be5d4fed1bd3c86cb9ea8cb8eb8be08d69be54b8 commit be5d4fed1bd3c86cb9ea8cb8eb8be08d69be54b8 Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2023-05-07 14:47:34 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2023-05-07 19:26:16 +0000 emulators/qemu@guestagent: Fix build PR: 271294 Reported by: julien.dlq@gmail.com emulators/qemu/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)