Skip to content

fix(tauri): use the qemu version from oecore - #691

Merged
mlilien merged 1 commit into
omnect:mainfrom
mlilien:tauri_qemu
Aug 21, 2026
Merged

fix(tauri): use the qemu version from oecore#691
mlilien merged 1 commit into
omnect:mainfrom
mlilien:tauri_qemu

Conversation

@mlilien

@mlilien mlilien commented Aug 21, 2026

Copy link
Copy Markdown
Contributor

meta-imx-bsp ships an i.MX qemu fork it pins to mx95 only, while all other i.MX machines get oecore's qemu via QEMUVERSION ??= "10.2.0". meta-phytec overrides QEMUVERSION with a stale "8.2%", which resolves to nothing and thus defeats that pin, so bitbake falls back to the highest version available - the fork. Its ui/sdl2.c assigns qemu_egl_display outside of any CONFIG_OPENGL guard, which breaks nativesdk-qemu, since we build qemu with sdl but without opengl:

ui/sdl2.c: In function 'sdl2_window_create':
ui/sdl2.c:128:5: error: 'qemu_egl_display' undeclared (first use in this function)

Mask the fork and drop the dangling preferred-version pins.

meta-imx-bsp ships an i.MX qemu fork it pins to mx95 only, while all other
i.MX machines get oecore's qemu via `QEMUVERSION ??= "10.2.0"`. meta-phytec
overrides QEMUVERSION with a stale "8.2%", which resolves to nothing and thus
defeats that pin, so bitbake falls back to the highest version available - the
fork. Its ui/sdl2.c assigns qemu_egl_display outside of any CONFIG_OPENGL
guard, which breaks nativesdk-qemu, since we build qemu with sdl but without
opengl:

  ui/sdl2.c: In function 'sdl2_window_create':
  ui/sdl2.c:128:5: error: 'qemu_egl_display' undeclared (first use in this function)

Mask the fork and drop the dangling preferred-version pins.

Signed-off-by: Marcel Lilienthal <134974+mlilien@users.noreply.github.com>
@mlilien
mlilien requested a review from HarryWaschkeit August 21, 2026 09:43
@mlilien
mlilien merged commit 6c2fcea into omnect:main Aug 21, 2026
3 checks passed
@mlilien
mlilien deleted the tauri_qemu branch August 21, 2026 13:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants