blob: 6bf9a40b43132bce5135b31f06e2426c9b61d22f (
plain) (
blame)
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
|
id = 2799
title = "compile failure for linux-user when host libc defines \"struct sched_attr\" in its sched.h"
state = "closed"
created_at = "2025-01-31T17:10:39.601Z"
closed_at = "2025-02-20T16:23:20.314Z"
labels = ["kind::Bug", "linux-user", "workflow::Patch available"]
url = "https://gitlab.com/qemu-project/qemu/-/issues/2799"
host-os = "Archlinux"
host-arch = "x86_64"
qemu-version = "n/a"
guest-os = "n/a"
guest-arch = "n/a"
description = """When I tried to build commit 871af84d the build process stopped in [3306/9698] Compiling C object libqemu...-linux-user.a.p/linux-user_syscall.c.o
Here is the error log:
```
../linux-user/syscall.c:364:8: error: redefinition of 'struct sched_attr'
364 | struct sched_attr {
| ^~~~~~~~~~
In file included from /usr/include/bits/sched.h:63,
from /usr/include/sched.h:43,
from /usr/include/pthread.h:22,
from /usr/include/glib-2.0/glib/deprecated/gthread.h:126,
from /usr/include/glib-2.0/glib.h:115,
from /home/fred/qemu-git/src/qemu/include/glib-compat.h:32,
from /home/fred/qemu-git/src/qemu/include/qemu/osdep.h:161,
from ../linux-user/syscall.c:20:
/usr/include/linux/sched/types.h:98:8: note: originally defined here
98 | struct sched_attr {
| ^~~~~~~~~~
```"""
reproduce = """1. Grab commit 871af84d
2. Use this configure command line:
```
--prefix=/usr \\
--sysconfdir=/etc \\
--localstatedir=/var \\
--libexecdir=/usr/lib/qemu \\
--smbd=/usr/bin/smbd \\
--enable-modules \\
--enable-sdl \\
--disable-werror \\
"${@:2}"
```
3. Launch ninja and wait."""
additional = """"""
|