* 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
* Re: egl compile error on msys CI runners
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é
0 siblings, 2 replies; 6+ messages in thread
From: Marc-André Lureau @ 2023-03-29 7:01 UTC (permalink / raw)
To: Peter Maydell, Thomas Huth; +Cc: QEMU Developers, Daniel P. Berrange
Hi Peter
On Tue, Mar 28, 2023 at 6:39 PM Peter Maydell <peter.maydell@linaro.org> wrote:
>
> 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.
>
This is an unfortunate consequence of using a fast-moving rolling
distribution, there are random breakages. It would make sense to have
tagged / pre-built images instead. That would also speed up the CI a
bit, hopefully.
Thomas, any idea how to do that?
--
Marc-André Lureau
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: egl compile error on msys CI runners
2023-03-29 7:01 ` Marc-André Lureau
@ 2023-03-29 7:23 ` Thomas Huth
2023-03-29 8:07 ` Daniel P. Berrangé
1 sibling, 0 replies; 6+ messages in thread
From: Thomas Huth @ 2023-03-29 7:23 UTC (permalink / raw)
To: Marc-André Lureau, Peter Maydell
Cc: QEMU Developers, Daniel P. Berrange, Yonggang Luo
On 29/03/2023 09.01, Marc-André Lureau wrote:
> Hi Peter
>
> On Tue, Mar 28, 2023 at 6:39 PM Peter Maydell <peter.maydell@linaro.org> wrote:
>>
>> 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.
>>
>
> This is an unfortunate consequence of using a fast-moving rolling
> distribution, there are random breakages. It would make sense to have
> tagged / pre-built images instead. That would also speed up the CI a
> bit, hopefully.
> Thomas, any idea how to do that?
Sorry, I've got no clue how that container stuff works on Windows :-(
Thomas
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: egl compile error on msys CI runners
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
1 sibling, 1 reply; 6+ messages in thread
From: Daniel P. Berrangé @ 2023-03-29 8:07 UTC (permalink / raw)
To: Marc-André Lureau; +Cc: Peter Maydell, Thomas Huth, QEMU Developers
On Wed, Mar 29, 2023 at 11:01:35AM +0400, Marc-André Lureau wrote:
> Hi Peter
>
> On Tue, Mar 28, 2023 at 6:39 PM Peter Maydell <peter.maydell@linaro.org> wrote:
> >
> > 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.
> >
>
> This is an unfortunate consequence of using a fast-moving rolling
> distribution, there are random breakages. It would make sense to have
> tagged / pre-built images instead. That would also speed up the CI a
> bit, hopefully.
IMHO if the distro is considered susceptible to ongoing random
breakage we must not use it as a gating CI job. IOW, these
msys jobs should have 'allow-failure: true' added to their
definition.
With regards,
Daniel
--
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org -o- https://fstop138.berrange.com :|
|: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: egl compile error on msys CI runners
2023-03-29 8:07 ` Daniel P. Berrangé
@ 2023-03-29 8:20 ` Thomas Huth
2023-03-29 10:22 ` Peter Maydell
0 siblings, 1 reply; 6+ messages in thread
From: Thomas Huth @ 2023-03-29 8:20 UTC (permalink / raw)
To: Daniel P. Berrangé, Marc-André Lureau
Cc: Peter Maydell, QEMU Developers
On 29/03/2023 10.07, Daniel P. Berrangé wrote:
> On Wed, Mar 29, 2023 at 11:01:35AM +0400, Marc-André Lureau wrote:
>> Hi Peter
>>
>> On Tue, Mar 28, 2023 at 6:39 PM Peter Maydell <peter.maydell@linaro.org> wrote:
>>>
>>> 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.
>>>
>>
>> This is an unfortunate consequence of using a fast-moving rolling
>> distribution, there are random breakages. It would make sense to have
>> tagged / pre-built images instead. That would also speed up the CI a
>> bit, hopefully.
>
> IMHO if the distro is considered susceptible to ongoing random
> breakage we must not use it as a gating CI job. IOW, these
> msys jobs should have 'allow-failure: true' added to their
> definition.
I'm not a fan of 'allow-failure: true' - that basically means nobody will
look at the failing jobs, so we could rather disable the jobs by default
instead (and just run them manually when you want to have a look at them).
Thomas
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: egl compile error on msys CI runners
2023-03-29 8:20 ` Thomas Huth
@ 2023-03-29 10:22 ` Peter Maydell
0 siblings, 0 replies; 6+ messages in thread
From: Peter Maydell @ 2023-03-29 10:22 UTC (permalink / raw)
To: Thomas Huth
Cc: Daniel P. Berrangé, Marc-André Lureau, QEMU Developers
On Wed, 29 Mar 2023 at 09:20, Thomas Huth <thuth@redhat.com> wrote:
> I'm not a fan of 'allow-failure: true' - that basically means nobody will
> look at the failing jobs, so we could rather disable the jobs by default
> instead (and just run them manually when you want to have a look at them).
Mmm; in fact I think we could probably look at upgrading some of
our current 'allow_failure: true' jobs to normal ones -- the
cirrus bsd and macos ones seem to pass pretty reliably these days.
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).