--- Begin Message ---
On Wed, 15 Mar 2023 14:57:11 -0400
Greg Troxel <gdt%lexort.com@localhost> wrote:
> On:
> netbsd-10 amd64 from about a week ago
> x sets installed, so pkgsrc using native
> pkgsrc-current from about 36h ago, but with qemu from an hour ago
> everthing else up to date (pkg_rr)
>
>
> building qemu fails:
>
> [5721/6717] Generating pc-bios/edk2-i386-vars.fd with a custom
> command (wrapped by meson to capture output) [5722/6717] Generating
> pc-bios/keymaps/ar with a custom command FAILED: pc-bios/keymaps/ar
> /usr/pkg/bin/qemu-keymap -f pc-bios/keymaps/ar -l ar
> xkbcommon: ERROR: failed to add default include path
> /usr/X11R7/share/X11/xkb [5723/6717] Generating
> pc-bios/edk2-x86_64-code.fd with a custom command (wrapped by meson
> to capture output) [5724/6717] Generating
> pc-bios/edk2-x86_64-secure-code.fd with a custom command (wrapped by
> meson to capture output) ninja: build stopped: subcommand failed. ***
> Error code 1
>
> I dimly remember seeing this before, but I do not remember the
> outcome.
Hi, Greg.
This has been fixed in pull-up ticket 120 for NetBSD 10 .
Also see pkg/57232 on how to fix it.
I your case, uninstall qemu ,update to NetBSD 10 with the fix, run make
update in x11/libxkbcommon. Now you can install and rebuild qemu
without the problem. The reason for the problem is that libxkbcommon is
using the wrong directory /usr/X11R7/share/X11/xkb that it has taken
from xkeyboard-config.pc during build time. Using
/usr/X11R7/lib/X11/xkb that is the right directory in
xkeyboard-config.pc and rebuilding libxkbcommon fixes the issue.
Niclas
--- End Message ---