01.02.2024 15:57, Peter Maydell пишет:
On Thu, 1 Feb 2024 at 12:50, Michael Tokarev <m...@tls.msk.ru> wrote:

01.02.2024 15:11, Michael Tokarev wrote:
31.01.2024 11:13, Zhang Wen:
With this patch, qemu requires keyboard-config when libxkbcommon is found on 
the system. So if the qemu is configured when libxkbcommon is installed
but not keyboard-config, the configure stage will produce an error message, 
thus avoid coredump in the build stage.

I'm not sure what you're talking about.  What *is* keyboard-config anyway?

On a debian system there's no such thing.  There's keyboard-configuration
package but it has nothing to do with that.  It looks like if we apply
such patch, it will be impossible to build qemu on debian.

Aha, I found it.  On debian it is /usr/share/pkgconfig/keyboard-config.pc,
which is a part of xkb-data package.  And libxkbcommon Depends on xkb-data.
It looks like the distribution here is wrong, there should be no libxkbcommon
without xkb-data which includes keyboard-config.

Are we talking about "keyboard-config" or "xkeyboard-config" here?
The commit message says "keyboard-config" but the patch itself
says "xkeyboard-config".

It is xkeyboard-config.pc, - I hit the same trap with the wrong commit
message.

$ dpkg -L xkb-data | fgrep .pc
/usr/share/pkgconfig/xkeyboard-config.pc
$ dpkg -s libxkbcommon0 | grep Depends
Depends: xkb-data, libc6 (>= 2.33)

/mjt

Reply via email to