qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* egl compile error on msys CI runners
@ 2023-03-28 14:38 Peter Maydell
  2023-03-29  7:01 ` Marc-André Lureau
  0 siblings, 1 reply; 6+ messages in thread
From: Peter Maydell @ 2023-03-28 14:38 UTC (permalink / raw)
  To: QEMU Developers; +Cc: Daniel P. Berrange, Marc-André Lureau

The msys CI runners have started failing to compile with an EGL
related error:

https://gitlab.com/qemu-project/qemu/-/jobs/4015682307

In file included from
C:/GitLab-Runner/builds/qemu-project/qemu/msys64/mingw64/include/epoxy/egl.h:46,
from C:/GitLab-Runner/builds/qemu-project/qemu/include/ui/egl-helpers.h:5,
from ../ui/egl-helpers.c:21:
C:/GitLab-Runner/builds/qemu-project/qemu/msys64/mingw64/include/epoxy/egl_generated.h:11:10:
fatal error: EGL/eglplatform.h: No such file or directory
11 | #include "EGL/eglplatform.h"
| ^~~~~~~~~~~~~~~~~~~
ninja: build stopped: subcommand failed.

Dan says this is because of a msys2 packaging issue:
https://github.com/msys2/MINGW-packages/issues/16492

Can we have a meson test that doesn't try to enable EGL on systems
like this one where it's broken ? Changing the current meson.build
  if cc.has_header('epoxy/egl.h', dependencies: epoxy)
to whatever the meson is for "actually try to compile with the
header" ought to do the trick, I think.

thanks
-- PMM


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-03-29 10:22 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-28 14:38 egl compile error on msys CI runners Peter Maydell
2023-03-29  7:01 ` Marc-André Lureau
2023-03-29  7:23   ` Thomas Huth
2023-03-29  8:07   ` Daniel P. Berrangé
2023-03-29  8:20     ` Thomas Huth
2023-03-29 10:22       ` Peter Maydell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).