1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
|
register: 0.960
debug: 0.952
permissions: 0.950
semantic: 0.945
assembly: 0.944
device: 0.943
architecture: 0.938
user-level: 0.937
graphic: 0.933
arm: 0.931
performance: 0.923
mistranslation: 0.923
peripherals: 0.917
vnc: 0.915
risc-v: 0.915
PID: 0.914
ppc: 0.896
kernel: 0.886
files: 0.885
hypervisor: 0.873
socket: 0.869
KVM: 0.865
virtual: 0.858
VMM: 0.857
TCG: 0.856
boot: 0.828
x86: 0.798
network: 0.790
i386: 0.656
[git] Cannot build qemu: FAILED: target/hexagon/semantics_generated.pyinc
Hello.
I tried to build Qemu at commit 4115aec9af2a3de5fa89a0b1daa12debcd7741ff but it stops with this error message:
[code]
Found ninja-1.10.2 at /usr/bin/ninja
[632/9068] Generating semantics_generated.pyinc with a custom command
FAILED: target/hexagon/semantics_generated.pyinc
@INPUT@ target/hexagon/semantics_generated.pyinc
/bin/sh: line 1: @INPUT@: command not found
[637/9068] Compiling C object fsdev/vi...proxy-helper.p/virtfs-proxy-helper.c.o
ninja: build stopped: subcommand failed.
[/code]
ninja version: 1.10.2
meson version: 0.57.1
Last commit which build is going to its end: https://git.qemu.org/?p=qemu.git;a=commit;h=08895cda3a57fe2d72ef621800606ddc2f5eb612
Will try to see later with hexagon patches to see which one is breaking the build process.
Here are the configure options I'm using:
--prefix=/usr
--sysconfdir=/etc
--localstatedir=/var
--libexecdir=/usr/lib/qemu
--extra-ldflags="$LDFLAGS"
--smbd=/usr/bin/smbd
--enable-modules
--enable-sdl
--disable-werror
--enable-vhost-user
--enable-slirp=system
--enable-xfsctl
--audio-drv-list="pa alsa sdl"
LDFLAGS: -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now
Here is what I found to narrow the commit which breaks the build process.
Last working commit: 2184bca7b17559107032ba4fd8fc6f65345276ed -> "qapi: Replace List[str] with Sequence[str] for ifcond"
First broken commit: 3e7a84eeccc3b3a9b43c6dfb52bd98ea5acebf0a -> "Hexagon build infrastructure"
I can't seem to reproduce this locally, I will try to see if I can get my configuration to match yours more closely.
Does the attached patch mitigate the build issue? 0001-target-hexagon-fix-meson-build-failure.patch
Sorry for the late reply. Tried patch... Here is the output:
Option b_staticpic is: false [default: false]
Found ninja-1.10.2 at /usr/bin/ninja
[658/9072] Generating iset.py with a custom command
FAILED: target/hexagon/iset.py
@INPUT@ target/hexagon/iset.py
/bin/sh: line 1: @INPUT@: command not found
[663/9072] Compiling C object tests/qtest/libqos/libqos.fa.p/.._libqtest.c.o
ninja: build stopped: subcommand failed.
Still busted. Nothing changed.
Still having trouble reproducing the issue.
I don't have an arch system so I used Docker. Would you be willing to check whether the Dockerfile represents a close enough match to your build process?
Also, if you can think of anything particularly unique about your configuration, maybe I can try to come closer to reproducing this with some of those critical factors.
docker_arch_qemu_build.log.xz shows the output from the docker build via arch linux
I looked at it, and there seems to be no difference. Looks like my installation is rotten.
Let's close this bug as invalid.
I tried something else, and build process went right: building qemu in a clean-chroot: https://wiki.archlinux.org/index.php/DeveloperWiki:Building_in_a_clean_chroot
Well, something is broken on my real installation, or it could be a bug in a package as I'm using testing. Anyway, this bug can be closed as I can build Qemu successfully now.
Looks like there's a patch proposed that sounds as if it would mitigate this symptom:
https://mail.gnu.org/archive/html/qemu-devel/2021-03/msg02879.html
|