qemu-trivial
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: building qemu on a system with libxkbcommon installed but not xkeybo


From: Michael Tokarev
Subject: Re: building qemu on a system with libxkbcommon installed but not xkeyboard-config produces an core dump
Date: Thu, 1 Feb 2024 15:59:30 +0300
User-agent: Mozilla Thunderbird

01.02.2024 15:57, Peter Maydell пишет:
On Thu, 1 Feb 2024 at 12:50, Michael Tokarev <mjt@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

[Prev in Thread] Current Thread [Next in Thread]