Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 908699

Summary: app-emulation/qemu-guest-agent-8.0.0 - ninja: build stopped: subcommand failed.
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: John Helmert III <ajak>
Status: CONFIRMED ---    
Severity: normal CC: maracay, sam, tamiko, virtualization
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
app-emulation:qemu-guest-agent-8.0.0:20230617-192451.log
emerge-history.txt
environment
etc.clang.tar.xz
etc.portage.tar.xz
logs.tar.xz
temp.tar.xz
xkb_keymap_mod_get_index-ar-ara-patch

Description Toralf Förster gentoo-dev 2023-06-17 19:40:03 UTC
xkbcommon: ERROR: Failed to compile xkb_symbols
xkbcommon: ERROR: Failed to compile keymap
[676/939] Compiling C object contrib/ivshmem-server/ivshmem-server.p/main.c.o
[677/939] Linking target qemu-pr-helper
[678/939] Compiling C object contrib/ivshmem-client/ivshmem-client.p/ivshmem-client.c.o
[679/939] Compiling C object contrib/ivshmem-server/ivshmem-server.p/ivshmem-server.c.o
ninja: build stopped: subcommand failed.
make[1]: *** [Makefile:165: run-ninja] Error 1
make[1]: Leaving directory '/var/tmp/portage/app-emulation/qemu-guest-agent-8.0.0/work/qemu-8.0.0/build'

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop-20230615-074226

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 16.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/16/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/16
16.0.6
Python 3.11.4
Available Ruby profiles:
  [1]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.69.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.18_p10 [openjdk-bin-11]
*)	Eclipse Temurin JDK 17.0.6_p10 [openjdk-bin-17]
3)	Eclipse Temurin JDK 8.362_p09 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17  system-vm

php cli (if any):
go version go1.20.5 linux/amd64

  HEAD of ::gentoo
commit 5cacd7bacd46c3d1e2509d76e10d4a8effd99437
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Jun 17 19:02:00 2023 +0000

    2023-06-17 19:01:59 UTC

emerge -qpvO app-emulation/qemu-guest-agent
[ebuild  N    ] app-emulation/qemu-guest-agent-8.0.0
Comment 1 Toralf Förster gentoo-dev 2023-06-17 19:40:04 UTC
Created attachment 864072 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-06-17 19:40:05 UTC
Created attachment 864073 [details]
app-emulation:qemu-guest-agent-8.0.0:20230617-192451.log
Comment 3 Toralf Förster gentoo-dev 2023-06-17 19:40:06 UTC
Created attachment 864074 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2023-06-17 19:40:08 UTC
Created attachment 864075 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2023-06-17 19:40:08 UTC
Created attachment 864076 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-06-17 19:40:09 UTC
Created attachment 864077 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-06-17 19:40:10 UTC
Created attachment 864078 [details]
logs.tar.xz
Comment 8 Toralf Förster gentoo-dev 2023-06-17 19:40:11 UTC
Created attachment 864079 [details]
temp.tar.xz
Comment 9 Toei Rei 2023-07-07 12:32:46 UTC
`xkbcommon: ERROR: Couldn't find file "symbols/ar" in include paths`

This looks like a change in xkb to me. Wasn't ar for arabic changed into ara?
Comment 10 Toei Rei 2023-07-07 12:34:43 UTC
Created attachment 865235 [details, diff]
xkb_keymap_mod_get_index-ar-ara-patch
Comment 11 Toei Rei 2023-07-07 12:35:15 UTC
Found the patch on https://patchew.org/QEMU/20230620150335.814005-1-alex.bennee@linaro.org/ - attaching it here for convenience
Comment 12 Toei Rei 2023-07-07 12:39:58 UTC
Testing around, x11-misc/xkeyboard-config-2.38 allows qemu to build correctly so it's the change in 2.39 breaking the build
Comment 13 Eddie Chapman 2023-07-12 16:49:42 UTC
I used this simpler patch to resolve the build issue in 8.0.2:

https://gitlab.com/qemu-project/qemu/-/commit/497fad38979c16b6412388927401e577eba43d26

Haven't checked (just grabbed it to quickly fix for me) but appears that this commit is what they've gone with upstream.