blob: 6ba4c7758be3a27d34c98b4ccc49e72060434ca3 (
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
50
51
52
|
id = 2670
title = "The virglrenderer depency causes qemu native recipe building to fail for NXP QEMU"
state = "closed"
created_at = "2024-11-12T09:31:20.058Z"
closed_at = "2024-11-12T10:53:36.454Z"
labels = []
url = "https://gitlab.com/qemu-project/qemu/-/issues/2670"
host-os = "Debian 5.10.226-1"
host-arch = "x86_64"
qemu-version = "8.2.2"
guest-os = "- OS/kernel version:"
guest-arch = "## Description of problem"
description = """nativesdk-qemu-8.2.2.imx-r0 do_compile: oe_runmake failed
...
[87/4472] Compiling C object libcommon.fa.p/hw_display_virtio-gpu.c.o
| FAILED: libcommon.fa.p/hw_display_virtio-gpu.c.o
...
../hw/display/virtio-gpu.c:36:10: fatal error: virglrenderer.h: No such file or directory
| 36 | #include <virglrenderer.h>
| | ^~~~~~~~~~~~~~~~~
| compilation terminated.
This issue was originally exposed after updating Yocto release to Scarthgap
https://lists.yoctoproject.org/g/yocto/topic/building_sdk_fails_after/109275322
which seems to relate to commit https://github.com/nxp-imx/imx-qemu/commit/628105edbd816458dbf154a128cc3dd3ac809c7e that seemingly induces dependency to virglrenderer.h for virtio_gpu driver.
Enabling opengl in our Distribution features is not a solution because that pulls in VGA graphics dependencies to our target binaries and we have no graphics hardware on our system. I have tried to disable the virglrenderer through QEMU build configuration but that does not fix the issue."""
reproduce = """1. Clone NXP BSP Scarthgap
```
$ mkdir nxp-bsp
$ cd nxp-bsp
nxp-bsp$ repo init -u https://github.com/nxp-imx/imx-manifest -b scarthgap -m imx-6.6.36-2.1.0.xml
nxp-bsp$ repo sync
```
2. Remove opengl from `fsl-imx-xwayland` DISTRO_FEATURES
```
sources/meta-imx/meta-imx-sdk/conf/distro/fsl-imx-wayland.conf:
...
+DISTRO_FEATURES:remove = "opengl "
...
```
3. Build qemu-native_8.2.2.imx
```
$ bitbake qemu-native_8.2.2.imx
```"""
additional = """"""
|