waffle issueshttps://gitlab.freedesktop.org/mesa/waffle/-/issues2023-09-25T12:51:33Zhttps://gitlab.freedesktop.org/mesa/waffle/-/issues/83Meson build produces libwaffle-1.dll, while cmake waffle-1.dll2023-09-25T12:51:33ZEmil VelikovMeson build produces libwaffle-1.dll, while cmake waffle-1.dllComparing the cmake/meson mingw builds for 1.7.0 and later:
- cmake - waffle-1.dll and libwaffle-1.dll.a - all
- meson - libwaffle-1.dll and libwaffle-dll.a - oops?? wflinfo et al link against waffle-1.dll, so things are broken
There'...Comparing the cmake/meson mingw builds for 1.7.0 and later:
- cmake - waffle-1.dll and libwaffle-1.dll.a - all
- meson - libwaffle-1.dll and libwaffle-dll.a - oops?? wflinfo et al link against waffle-1.dll, so things are broken
There's a tentative fix at https://gitlab.freedesktop.org/mesa/waffle/-/merge_requests/1241.8.0 releaseEmil VelikovEmil Velikovhttps://gitlab.freedesktop.org/mesa/waffle/-/issues/73Fix and enable all the warnings2022-06-02T14:31:18ZEmil VelikovFix and enable all the warningsWith 1.7.0 we have a few new deprecation warnings pop-up. I left them since they're not "too noisy" yet after rebuilding/packaging waffle a few times I realised how annoying they are. Plus the bad precedent of having any warnings in the ...With 1.7.0 we have a few new deprecation warnings pop-up. I left them since they're not "too noisy" yet after rebuilding/packaging waffle a few times I realised how annoying they are. Plus the bad precedent of having any warnings in the log.
So for 1.7.1 let's try to:
- silence the deprecation warnings
- fix all other warnings - check release/debug meson/cmake builds
- enable `-Wall -Wextra -Wpointer-arith`
- optionally enable `-Wmissing-prototypes -Wmissing-declarations -Wvla -Winit-self -Wundef`
- enable `-Werror` in the CI1.7.1 releasehttps://gitlab.freedesktop.org/mesa/waffle/-/issues/72Missing wayland/proto dependency tracking2023-09-25T14:44:01ZEmil VelikovMissing wayland/proto dependency trackingAs reported by MrCooper over IRC:
`looks like waffle is missing some meson dependencies on wl-xdg-shell-proto.h, hit build errors in wayland_{display,window}.c because the header didn't exist yet`As reported by MrCooper over IRC:
`looks like waffle is missing some meson dependencies on wl-xdg-shell-proto.h, hit build errors in wayland_{display,window}.c because the header didn't exist yet`1.7.3 releasehttps://gitlab.freedesktop.org/mesa/waffle/-/issues/65Remove the -static-libgcc2023-09-25T12:59:01ZEmil VelikovRemove the -static-libgccDepending on the MinGW runtime is annoying, so currently we're using `-static-libgcc`.
From a casual look ages ago, there was no compelling reason why we end using the library.
- Temporary remove the static link
- List the API used by...Depending on the MinGW runtime is annoying, so currently we're using `-static-libgcc`.
From a casual look ages ago, there was no compelling reason why we end using the library.
- Temporary remove the static link
- List the API used by libwaffle, wflinfo, gl_basic, tests - `*-w64-mingw32-objdump -CtT` or similar tool
- Try to remove the need for libgcc linking
Might need to address https://gitlab.freedesktop.org/mesa/waffle/-/issues/64 to fully achieve this.1.8.0 releasehttps://gitlab.freedesktop.org/mesa/waffle/-/issues/61Remove the NaCl backend2022-04-12T22:38:39ZEmil VelikovRemove the NaCl backendGoogle has been planning to remove NaCl support for a while[1]. Check the latest official stance and remove NaCl, considering a thumbs-up from the author @tpalli
[1] https://en.wikipedia.org/wiki/Google_Native_ClientGoogle has been planning to remove NaCl support for a while[1]. Check the latest official stance and remove NaCl, considering a thumbs-up from the author @tpalli
[1] https://en.wikipedia.org/wiki/Google_Native_Client2.0.0 releasehttps://gitlab.freedesktop.org/mesa/waffle/-/issues/59Can't change bash-completion file install directory with bash-completion vers...2021-01-19T14:43:04ZNanley CheryCan't change bash-completion file install directory with bash-completion version < 2.10MR !61 made it so that `-Ddatadir` needs to be specified in order to override the bash-completion file installation directory. However this only works with bash-completion version 2.10. `completionsdir` is hard-coded in version 2.9 and d...MR !61 made it so that `-Ddatadir` needs to be specified in order to override the bash-completion file installation directory. However this only works with bash-completion version 2.10. `completionsdir` is hard-coded in version 2.9 and depends on `prefix` in version 2.8. Here are the pkg-config file contents across the three versions on my system (I built 2.9 and 2.10 manually):
```bash
[nix-shell:~/repos/fgl/waffle]$ cat /nix/store/ph4zwnig83vad53gw7xpz754jmby1rjw-bash-completion-2.10/share/pkgconfig/bash-completion.pc
prefix=/nix/store/ph4zwnig83vad53gw7xpz754jmby1rjw-bash-completion-2.10
datadir=/nix/store/ph4zwnig83vad53gw7xpz754jmby1rjw-bash-completion-2.10/share
sysconfdir=/nix/store/ph4zwnig83vad53gw7xpz754jmby1rjw-bash-completion-2.10/etc
compatdir=${sysconfdir}/bash_completion.d
completionsdir=${datadir}/bash-completion/completions
helpersdir=${datadir}/bash-completion/helpers
Name: bash-completion
Description: programmable completion for the bash shell
URL: https://github.com/scop/bash-completion
Version: 2.10
[nix-shell:~/repos/fgl/waffle]$ cat /nix/store/36v8gb9a4zjxnp3f3lckr0d0kq1l90r3-bash-completion-2.9/share/pkgconfig/bash-completion.pc
prefix=/nix/store/36v8gb9a4zjxnp3f3lckr0d0kq1l90r3-bash-completion-2.9
compatdir=/nix/store/36v8gb9a4zjxnp3f3lckr0d0kq1l90r3-bash-completion-2.9/etc/bash_completion.d
completionsdir=/nix/store/36v8gb9a4zjxnp3f3lckr0d0kq1l90r3-bash-completion-2.9/share/bash-completion/completions
helpersdir=/nix/store/36v8gb9a4zjxnp3f3lckr0d0kq1l90r3-bash-completion-2.9/share/bash-completion/helpers
Name: bash-completion
Description: programmable completion for the bash shell
URL: https://github.com/scop/bash-completion
Version: 2.9
[nix-shell:~/repos/fgl/waffle]$ cat /nix/store/55vm3jxvygw7qwm746zz3g7ym3sjrzcc-bash-completion-2.8/share/pkgconfig/bash-completion.pc
prefix=/nix/store/55vm3jxvygw7qwm746zz3g7ym3sjrzcc-bash-completion-2.8
compatdir=${prefix}/etc/bash_completion.d
completionsdir=${prefix}/share/bash-completion/completions
helpersdir=${prefix}/share/bash-completion/helpers
Name: bash-completion
Description: programmable completion for the bash shell
URL: https://github.com/scop/bash-completion
Version: 2.8
```
/cc @rantogno1.6.2 releasehttps://gitlab.freedesktop.org/mesa/waffle/-/issues/56website fails to build; migrate website source into master branch2020-04-08T11:53:23ZJordan Justenwebsite fails to build; migrate website source into master branchWith the %"1.6.1 release", we found out that gitlab ci is failing to build the waffle website when @evelikov pushed changes:
* https://gitlab.freedesktop.org/mesa/waffle/-/jobs/2132071
Apparently this is a known gitlab issue:
* https://...With the %"1.6.1 release", we found out that gitlab ci is failing to build the waffle website when @evelikov pushed changes:
* https://gitlab.freedesktop.org/mesa/waffle/-/jobs/2132071
Apparently this is a known gitlab issue:
* https://gitlab.com/gitlab-org/gitlab-runner/-/issues/3371
@daniels thinks thinks that if we don't use git-lfs on the CI branch that initially is checked out, then we might still be able to checkout the git-lfs branch during the build.
Therefore, I will try to put the website source into the waffle master branch, and merge in the releases from the website branch during to build steps. I think this model works well for Mesa anyhow, so it seems like a positive step forward.1.6.1 releaseJordan JustenJordan Justenhttps://gitlab.freedesktop.org/mesa/waffle/-/issues/55Build fails with CFLAGS=-fno-common2020-03-30T16:08:02ZMatt TurnerBuild fails with CFLAGS=-fno-common```
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: src/waffle/0a74eb2@@waffle-1@sha/wayland_wayland_platform.c.o:(.bss+0x0): multiple definition of `wfl_wl_proxy_marshal_constructor_versioned'; src/waffle/...```
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: src/waffle/0a74eb2@@waffle-1@sha/wayland_wayland_platform.c.o:(.bss+0x0): multiple definition of `wfl_wl_proxy_marshal_constructor_versioned'; src/waffle/0a74eb2@@waffle-1@sha/wayland_wayland_display.c.o:(.bss+0x0): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: src/waffle/0a74eb2@@waffle-1@sha/wayland_wayland_platform.c.o:(.bss+0x4): multiple definition of `wfl_wl_proxy_marshal_constructor'; src/waffle/0a74eb2@@waffle-1@sha/wayland_wayland_display.c.o:(.bss+0x4): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: src/waffle/0a74eb2@@waffle-1@sha/wayland_wayland_platform.c.o:(.bss+0x8): multiple definition of `wfl_wl_proxy_marshal'; src/waffle/0a74eb2@@waffle-1@sha/wayland_wayland_display.c.o:(.bss+0x8): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: src/waffle/0a74eb2@@waffle-1@sha/wayland_wayland_platform.c.o:(.bss+0xc): multiple definition of `wfl_wl_proxy_add_listener'; src/waffle/0a74eb2@@waffle-1@sha/wayland_wayland_display.c.o:(.bss+0xc): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: src/waffle/0a74eb2@@waffle-1@sha/wayland_wayland_platform.c.o:(.bss+0x10): multiple definition of `wfl_wl_proxy_destroy'; src/waffle/0a74eb2@@waffle-1@sha/wayland_wayland_display.c.o:(.bss+0x10): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: src/waffle/0a74eb2@@waffle-1@sha/wayland_wayland_platform.c.o:(.bss+0x14): multiple definition of `wfl_wl_display_roundtrip'; src/waffle/0a74eb2@@waffle-1@sha/wayland_wayland_display.c.o:(.bss+0x14): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: src/waffle/0a74eb2@@waffle-1@sha/wayland_wayland_platform.c.o:(.bss+0x18): multiple definition of `wfl_wl_display_disconnect'; src/waffle/0a74eb2@@waffle-1@sha/wayland_wayland_display.c.o:(.bss+0x18): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: src/waffle/0a74eb2@@waffle-1@sha/wayland_wayland_platform.c.o:(.bss+0x1c): multiple definition of `wfl_wl_display_connect'; src/waffle/0a74eb2@@waffle-1@sha/wayland_wayland_display.c.o:(.bss+0x1c): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: src/waffle/0a74eb2@@waffle-1@sha/wayland_wayland_platform.c.o:(.bss+0x20): multiple definition of `wfl_wl_surface_interface'; src/waffle/0a74eb2@@waffle-1@sha/wayland_wayland_display.c.o:(.bss+0x20): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: src/waffle/0a74eb2@@waffle-1@sha/wayland_wayland_platform.c.o:(.bss+0x24): multiple definition of `wfl_wl_shell_surface_interface'; src/waffle/0a74eb2@@waffle-1@sha/wayland_wayland_display.c.o:(.bss+0x24): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: src/waffle/0a74eb2@@waffle-1@sha/wayland_wayland_platform.c.o:(.bss+0x28): multiple definition of `wfl_wl_shell_interface'; src/waffle/0a74eb2@@waffle-1@sha/wayland_wayland_display.c.o:(.bss+0x28): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: src/waffle/0a74eb2@@waffle-1@sha/wayland_wayland_platform.c.o:(.bss+0x2c): multiple definition of `wfl_wl_registry_interface'; src/waffle/0a74eb2@@waffle-1@sha/wayland_wayland_display.c.o:(.bss+0x2c): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: src/waffle/0a74eb2@@waffle-1@sha/wayland_wayland_platform.c.o:(.bss+0x30): multiple definition of `wfl_wl_compositor_interface'; src/waffle/0a74eb2@@waffle-1@sha/wayland_wayland_display.c.o:(.bss+0x30): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: src/waffle/0a74eb2@@waffle-1@sha/wayland_wayland_window.c.o:(.bss+0x8): multiple definition of `wfl_wl_proxy_marshal'; src/waffle/0a74eb2@@waffle-1@sha/wayland_wayland_display.c.o:(.bss+0x8): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: src/waffle/0a74eb2@@waffle-1@sha/wayland_wayland_window.c.o:(.bss+0x10): multiple definition of `wfl_wl_proxy_destroy'; src/waffle/0a74eb2@@waffle-1@sha/wayland_wayland_display.c.o:(.bss+0x10): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: src/waffle/0a74eb2@@waffle-1@sha/wayland_wayland_window.c.o:(.bss+0x20): multiple definition of `wfl_wl_surface_interface'; src/waffle/0a74eb2@@waffle-1@sha/wayland_wayland_display.c.o:(.bss+0x20): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: src/waffle/0a74eb2@@waffle-1@sha/wayland_wayland_window.c.o:(.bss+0x4): multiple definition of `wfl_wl_proxy_marshal_constructor'; src/waffle/0a74eb2@@waffle-1@sha/wayland_wayland_display.c.o:(.bss+0x4): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: src/waffle/0a74eb2@@waffle-1@sha/wayland_wayland_window.c.o:(.bss+0x24): multiple definition of `wfl_wl_shell_surface_interface'; src/waffle/0a74eb2@@waffle-1@sha/wayland_wayland_display.c.o:(.bss+0x24): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: src/waffle/0a74eb2@@waffle-1@sha/wayland_wayland_window.c.o:(.bss+0xc): multiple definition of `wfl_wl_proxy_add_listener'; src/waffle/0a74eb2@@waffle-1@sha/wayland_wayland_display.c.o:(.bss+0xc): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: src/waffle/0a74eb2@@waffle-1@sha/wayland_wayland_window.c.o:(.bss+0x0): multiple definition of `wfl_wl_proxy_marshal_constructor_versioned'; src/waffle/0a74eb2@@waffle-1@sha/wayland_wayland_display.c.o:(.bss+0x0): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: src/waffle/0a74eb2@@waffle-1@sha/wayland_wayland_window.c.o:(.bss+0x14): multiple definition of `wfl_wl_display_roundtrip'; src/waffle/0a74eb2@@waffle-1@sha/wayland_wayland_display.c.o:(.bss+0x14): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: src/waffle/0a74eb2@@waffle-1@sha/wayland_wayland_window.c.o:(.bss+0x18): multiple definition of `wfl_wl_display_disconnect'; src/waffle/0a74eb2@@waffle-1@sha/wayland_wayland_display.c.o:(.bss+0x18): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: src/waffle/0a74eb2@@waffle-1@sha/wayland_wayland_window.c.o:(.bss+0x1c): multiple definition of `wfl_wl_display_connect'; src/waffle/0a74eb2@@waffle-1@sha/wayland_wayland_display.c.o:(.bss+0x1c): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: src/waffle/0a74eb2@@waffle-1@sha/wayland_wayland_window.c.o:(.bss+0x28): multiple definition of `wfl_wl_shell_interface'; src/waffle/0a74eb2@@waffle-1@sha/wayland_wayland_display.c.o:(.bss+0x28): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: src/waffle/0a74eb2@@waffle-1@sha/wayland_wayland_window.c.o:(.bss+0x2c): multiple definition of `wfl_wl_registry_interface'; src/waffle/0a74eb2@@waffle-1@sha/wayland_wayland_display.c.o:(.bss+0x2c): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: src/waffle/0a74eb2@@waffle-1@sha/wayland_wayland_window.c.o:(.bss+0x30): multiple definition of `wfl_wl_compositor_interface'; src/waffle/0a74eb2@@waffle-1@sha/wayland_wayland_display.c.o:(.bss+0x30): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: src/waffle/0a74eb2@@waffle-1@sha/wayland_wayland_wrapper.c.o:(.bss+0x30): multiple definition of `wfl_wl_compositor_interface'; src/waffle/0a74eb2@@waffle-1@sha/wayland_wayland_display.c.o:(.bss+0x30): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: src/waffle/0a74eb2@@waffle-1@sha/wayland_wayland_wrapper.c.o:(.bss+0x2c): multiple definition of `wfl_wl_registry_interface'; src/waffle/0a74eb2@@waffle-1@sha/wayland_wayland_display.c.o:(.bss+0x2c): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: src/waffle/0a74eb2@@waffle-1@sha/wayland_wayland_wrapper.c.o:(.bss+0x28): multiple definition of `wfl_wl_shell_interface'; src/waffle/0a74eb2@@waffle-1@sha/wayland_wayland_display.c.o:(.bss+0x28): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: src/waffle/0a74eb2@@waffle-1@sha/wayland_wayland_wrapper.c.o:(.bss+0x24): multiple definition of `wfl_wl_shell_surface_interface'; src/waffle/0a74eb2@@waffle-1@sha/wayland_wayland_display.c.o:(.bss+0x24): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: src/waffle/0a74eb2@@waffle-1@sha/wayland_wayland_wrapper.c.o:(.bss+0x20): multiple definition of `wfl_wl_surface_interface'; src/waffle/0a74eb2@@waffle-1@sha/wayland_wayland_display.c.o:(.bss+0x20): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: src/waffle/0a74eb2@@waffle-1@sha/wayland_wayland_wrapper.c.o:(.bss+0x1c): multiple definition of `wfl_wl_display_connect'; src/waffle/0a74eb2@@waffle-1@sha/wayland_wayland_display.c.o:(.bss+0x1c): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: src/waffle/0a74eb2@@waffle-1@sha/wayland_wayland_wrapper.c.o:(.bss+0x18): multiple definition of `wfl_wl_display_disconnect'; src/waffle/0a74eb2@@waffle-1@sha/wayland_wayland_display.c.o:(.bss+0x18): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: src/waffle/0a74eb2@@waffle-1@sha/wayland_wayland_wrapper.c.o:(.bss+0x14): multiple definition of `wfl_wl_display_roundtrip'; src/waffle/0a74eb2@@waffle-1@sha/wayland_wayland_display.c.o:(.bss+0x14): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: src/waffle/0a74eb2@@waffle-1@sha/wayland_wayland_wrapper.c.o:(.bss+0x10): multiple definition of `wfl_wl_proxy_destroy'; src/waffle/0a74eb2@@waffle-1@sha/wayland_wayland_display.c.o:(.bss+0x10): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: src/waffle/0a74eb2@@waffle-1@sha/wayland_wayland_wrapper.c.o:(.bss+0xc): multiple definition of `wfl_wl_proxy_add_listener'; src/waffle/0a74eb2@@waffle-1@sha/wayland_wayland_display.c.o:(.bss+0xc): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: src/waffle/0a74eb2@@waffle-1@sha/wayland_wayland_wrapper.c.o:(.bss+0x8): multiple definition of `wfl_wl_proxy_marshal'; src/waffle/0a74eb2@@waffle-1@sha/wayland_wayland_display.c.o:(.bss+0x8): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: src/waffle/0a74eb2@@waffle-1@sha/wayland_wayland_wrapper.c.o:(.bss+0x4): multiple definition of `wfl_wl_proxy_marshal_constructor'; src/waffle/0a74eb2@@waffle-1@sha/wayland_wayland_display.c.o:(.bss+0x4): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: src/waffle/0a74eb2@@waffle-1@sha/wayland_wayland_wrapper.c.o:(.bss+0x0): multiple definition of `wfl_wl_proxy_marshal_constructor_versioned'; src/waffle/0a74eb2@@waffle-1@sha/wayland_wayland_display.c.o:(.bss+0x0): first defined here
collect2: error: ld returned 1 exit status
```
I had a look and didn't understand what was going on in the code.1.6.1 releasehttps://gitlab.freedesktop.org/mesa/waffle/-/issues/54Finish Waffle github migration2022-09-12T16:06:12ZEmil VelikovFinish Waffle github migrationSome migration topics:
* [X] Do we need a waffle group or sub-group? => **No**
* [ ] Migrate website to being hosted by freedesktop.org
* Preview branch: https://gitlab.freedesktop.org/jljusten/waffle/commits/website
* Webpage prev...Some migration topics:
* [X] Do we need a waffle group or sub-group? => **No**
* [ ] Migrate website to being hosted by freedesktop.org
* Preview branch: https://gitlab.freedesktop.org/jljusten/waffle/commits/website
* Webpage preview: https://jljusten.pages.freedesktop.org/waffle/
* [X] Do we need to migrate the arch package repo? => **No**
Ref: https://github.com/waffle-gl/waffle/issues/51<br>
Ref: freedesktop/freedesktop#821.6 Release TrackerJordan JustenJordan Justenhttps://gitlab.freedesktop.org/mesa/waffle/-/issues/10wflinfo improperly handles minor versions > 92019-02-05T21:42:16ZLina Versacewflinfo improperly handles minor versions > 9*Created by: jljusten*
wflinfo will treat a request for --version=1.40 as a request of --version=5.0
*Created by: jljusten*
wflinfo will treat a request for --version=1.40 as a request of --version=5.0
v1.4https://gitlab.freedesktop.org/mesa/waffle/-/issues/8Move website to http://waffle-gl.github.io2019-02-05T21:42:16ZLina VersaceMove website to http://waffle-gl.github.io*Created by: jljusten*
- ~~Make sure all links work~~
- ~~Update url in waffle source repo~~
- ~~Update url on github's project description~~
- Redirect old website
*Created by: jljusten*
- ~~Make sure all links work~~
- ~~Update url in waffle source repo~~
- ~~Update url on github's project description~~
- Redirect old website
v1.4Lina VersaceLina Versacehttps://gitlab.freedesktop.org/mesa/waffle/-/issues/15Fix LINK_INTERFACE_LIBRARIES warning from CMake2019-02-05T21:42:16ZLina VersaceFix LINK_INTERFACE_LIBRARIES warning from CMakeCMake output:
```
CMake Warning (dev) in src/waffle/CMakeLists.txt:
Policy CMP0022 is not set: INTERFACE_LINK_LIBRARIES defines the link
interface. Run "cmake --help-policy CMP0022" for policy details. Use the
cmake_policy comma...CMake output:
```
CMake Warning (dev) in src/waffle/CMakeLists.txt:
Policy CMP0022 is not set: INTERFACE_LINK_LIBRARIES defines the link
interface. Run "cmake --help-policy CMP0022" for policy details. Use the
cmake_policy command to set the policy and suppress this warning.
Target "waffle-1" has an INTERFACE_LINK_LIBRARIES property which differs
from its LINK_INTERFACE_LIBRARIES properties.
INTERFACE_LINK_LIBRARIES:
-lEGL;-lgbm;-lGL;-ludev;-L/home/chadv/proj/hh/default/out/profiles/debug/prefix/lib;-lwayland-client;-L/home/chadv/proj/hh/default/out/profiles/debug/prefix/lib;-lwayland-egl;-lwayland-client;-lX11-xcb;-lX11;-lxcb;dl;pthread
LINK_INTERFACE_LIBRARIES:
```
v1.4https://gitlab.freedesktop.org/mesa/waffle/-/issues/4wflinfo accepts core and compat profiles for GL 3.12019-04-11T11:51:38ZLina Versacewflinfo accepts core and compat profiles for GL 3.1For OpenGL 3.1, wflinfo should interpret the presence or lack of GL_ARB_compatibility as the context's profile.
- AC: `wflinfo --platform $p --api gl --profile none --version 3.1` succeeds if any OpenGL >= 3.1 context is available.
- AC:...For OpenGL 3.1, wflinfo should interpret the presence or lack of GL_ARB_compatibility as the context's profile.
- AC: `wflinfo --platform $p --api gl --profile none --version 3.1` succeeds if any OpenGL >= 3.1 context is available.
- AC: `wflinfo --plaform $p --api gl --proflie core --version 3.1` and `wflinfo --platform $p --api gl --profile core` succeed if GL 3.1 without GL_ARB_compatibility or GL >=3.2 Core Profile is available.
- AC: `wflinfo --plaform $p --api gl --proflie compat --version 3.1` and `wflinfo --platform $p --api gl --profile compat` succeed if GL 3.1 with GL_ARB_compatibility or GL >=3.2 Compatibility Profile is available.
v1.4Lina VersaceLina Versacehttps://gitlab.freedesktop.org/mesa/waffle/-/issues/3Retire git repos on Freedesktop2019-04-11T11:51:38ZLina VersaceRetire git repos on FreedesktopRetire git://people.freedesktop.org/~chadversary/waffle and waffle-web by:
1. Announce on the mailing list that the repos have moved to github. ~~But the website hasn't... yet.~~
2. Push commits to each repo that delete all files except ...Retire git://people.freedesktop.org/~chadversary/waffle and waffle-web by:
1. Announce on the mailing list that the repos have moved to github. ~~But the website hasn't... yet.~~
2. Push commits to each repo that delete all files except a README that directs people to the new repos.
v1.4Lina VersaceLina Versacehttps://gitlab.freedesktop.org/mesa/waffle/-/issues/2Document how to make Waffle releases2019-04-11T11:51:38ZLina VersaceDocument how to make Waffle releasesEach time I make a release, I follow some notes I maintain on my laptop. It's time for those notes to become public.
Add instructions to the docs directory on how to make a new Waffle release _before_ releasing 1.4.
Each time I make a release, I follow some notes I maintain on my laptop. It's time for those notes to become public.
Add instructions to the docs directory on how to make a new Waffle release _before_ releasing 1.4.
v1.4https://gitlab.freedesktop.org/mesa/waffle/-/issues/1wflinfo on GBM creates core context when compat requested2019-04-11T11:51:38ZLina Versacewflinfo on GBM creates core context when compat requestedOn Sat, Mar 01, 2014 at 09:05:07PM -0800, Jordan Justen wrote to waffle@freedesktop.org:
``` sh
$ wflinfo -p gbm -a gl --profile=compat -V 3.2
Waffle platform: gbm
Waffle api: gl
OpenGL vendor string: Intel Open Source Technology Center...On Sat, Mar 01, 2014 at 09:05:07PM -0800, Jordan Justen wrote to waffle@freedesktop.org:
``` sh
$ wflinfo -p gbm -a gl --profile=compat -V 3.2
Waffle platform: gbm
Waffle api: gl
OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) Haswell
OpenGL version string: 3.3 (Core Profile) Mesa 10.2.0-devel (git-c97763c)
OpenGL context flags: 0x0
```
This should fail to create a context, right? And, obviously, it
shouldn't create a core profile, right?!
v1.4Lina VersaceLina Versacehttps://gitlab.freedesktop.org/mesa/waffle/-/issues/118CI: clang-format occasionally miss-fires2023-10-29T18:28:32ZEmil VelikovCI: clang-format occasionally miss-firesIn some care cases, the clang-format lint stage will fail ... Even though the MR has zero code code-change commits.
Haven't looked into it - some random ideas:
- is it because the MR was originally targeting master, vs which there are ...In some care cases, the clang-format lint stage will fail ... Even though the MR has zero code code-change commits.
Haven't looked into it - some random ideas:
- is it because the MR was originally targeting master, vs which there are code changes
- the correct magic (CI) variable is not set, correctly(?)
For example:
- MR https://gitlab.freedesktop.org/mesa/waffle/-/merge_requests/138
- Failing pipeline https://gitlab.freedesktop.org/xexaxo/waffle/-/jobs/49670257https://gitlab.freedesktop.org/mesa/waffle/-/issues/116Make a 1.8.0 release2023-09-25T14:34:36ZMatt TurnerMake a 1.8.0 releaseI'd like to update waffle in ChromeOS, and to do that I need commit c0d6c008ed8d66fecfd0b3012b51035ca5da7f1a (landed in May 2022, ~16 months ago).
I see that we have a milestone for 1.8.0 here (https://gitlab.freedesktop.org/mesa/waffle...I'd like to update waffle in ChromeOS, and to do that I need commit c0d6c008ed8d66fecfd0b3012b51035ca5da7f1a (landed in May 2022, ~16 months ago).
I see that we have a milestone for 1.8.0 here (https://gitlab.freedesktop.org/mesa/waffle/-/milestones/10)
Three of the four remaining issues have been open for >2 years. Do you mind if I rename the milestone to 1.9.0 and push 1.8.0 out the door? It's been 2.5 years and 91 commits since 1.7.0 was released.Emil VelikovEmil Velikovhttps://gitlab.freedesktop.org/mesa/waffle/-/issues/115Build failure with Xcode 14.X / macOS Ventura2023-09-25T10:26:10ZMichka PopoffBuild failure with Xcode 14.X / macOS VenturaHello
I have encountered many build errors while building waffle 1.7.2 on macOS Ventura:
```
[ 97%] Built target wcore_attrib_list_unittest
[ 97%] Built target wcore_error_unittest
[ 97%] Built target wcore_config_attrs_unittest
In fil...Hello
I have encountered many build errors while building waffle 1.7.2 on macOS Ventura:
```
[ 97%] Built target wcore_attrib_list_unittest
[ 97%] Built target wcore_error_unittest
[ 97%] Built target wcore_config_attrs_unittest
In file included from /tmp/waffle-20230629-12928-1te5p17/waffle-1.7.2/examples/gl_basic.c:55:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSApplication.h:10:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSResponder.h:10:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:10:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.h:62:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PrintCore.h:26:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PDEPluginInterface.h:22:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/include/cups/ppd.h:24:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/include/cups/cups.h:27:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/include/cups/ipp.h:18:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/include/cups/http.h:39:
/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/include/netinet/ip.h:86:2: error: unknown type name 'u_int'
u_int ip_hl:4, /* header length */
^
/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/include/netinet/ip.h:90:2: error: unknown type name 'u_int'
u_int ip_v:4, /* version */
^
/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/include/netinet/ip.h:90:10: error: duplicate member 'ip_v'
u_int ip_v:4, /* version */
^
/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/include/netinet/ip.h:87:6: note: previous declaration is here
ip_v:4; /* version */
^
/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/include/netinet/ip.h:91:6: error: duplicate member 'ip_hl'
ip_hl:4; /* header length */
^
/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/include/netinet/ip.h:86:10: note: previous declaration is here
u_int ip_hl:4, /* header length */
^
/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/include/netinet/ip.h:94:2: error: unknown type name 'u_char'; did you mean 'char'?
u_char ip_tos; /* type of service */
^
/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/include/netinet/ip.h:95:2: error: unknown type name 'u_short'; did you mean 'n_short'?
u_short ip_len; /* total length */
^
/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/include/netinet/in_systm.h:84:20: note: 'n_short' declared here
typedef __uint16_t n_short; /* short as received from the net */
^
In file included from /tmp/waffle-20230629-12928-1te5p17/waffle-1.7.2/examples/gl_basic.c:55:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSApplication.h:10:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSResponder.h:10:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:10:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.h:62:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PrintCore.h:26:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PDEPluginInterface.h:22:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/include/cups/ppd.h:24:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/include/cups/cups.h:27:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/include/cups/ipp.h:18:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/include/cups/http.h:39:
/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/include/netinet/ip.h:96:2: error: unknown type name 'u_short'; did you mean 'n_short'?
u_short ip_id; /* identification */
^
/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/include/netinet/in_systm.h:84:20: note: 'n_short' declared here
typedef __uint16_t n_short; /* short as received from the net */
^
In file included from /tmp/waffle-20230629-12928-1te5p17/waffle-1.7.2/examples/gl_basic.c:55:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSApplication.h:10:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSResponder.h:10:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:10:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.h:62:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PrintCore.h:26:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PDEPluginInterface.h:22:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/include/cups/ppd.h:24:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/include/cups/cups.h:27:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/include/cups/ipp.h:18:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/include/cups/http.h:39:
/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/include/netinet/ip.h:97:2: error: unknown type name 'u_short'; did you mean 'n_short'?
u_short ip_off; /* fragment offset field */
^
/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/include/netinet/in_systm.h:84:20: note: 'n_short' declared here
typedef __uint16_t n_short; /* short as received from the net */
^
In file included from /tmp/waffle-20230629-12928-1te5p17/waffle-1.7.2/examples/gl_basic.c:55:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSApplication.h:10:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSResponder.h:10:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:10:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.h:62:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PrintCore.h:26:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PDEPluginInterface.h:22:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/include/cups/ppd.h:24:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/include/cups/cups.h:27:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/include/cups/ipp.h:18:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/include/cups/http.h:39:
/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/include/netinet/ip.h:102:2: error: unknown type name 'u_char'; did you mean 'char'?
u_char ip_ttl; /* time to live */
^
/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/include/netinet/ip.h:103:2: error: unknown type name 'u_char'; did you mean 'char'?
u_char ip_p; /* protocol */
^
/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/include/netinet/ip.h:104:2: error: unknown type name 'u_short'; did you mean 'n_short'?
u_short ip_sum; /* checksum */
^
/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/include/netinet/in_systm.h:84:20: note: 'n_short' declared here
typedef __uint16_t n_short; /* short as received from the net */
^
In file included from /tmp/waffle-20230629-12928-1te5p17/waffle-1.7.2/examples/gl_basic.c:55:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSApplication.h:10:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSResponder.h:10:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:10:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.h:62:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PrintCore.h:26:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/PrintCore.framework/Headers/PDEPluginInterface.h:22:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/include/cups/ppd.h:24:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/include/cups/cups.h:27:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/include/cups/ipp.h:18:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/include/cups/http.h:39:
/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/include/netinet/ip.h:189:2: error: unknown type name 'u_char'; did you mean 'char'?
u_char ipt_code; /* IPOPT_TS */
^
/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/include/netinet/ip.h:190:2: error: unknown type name 'u_char'; did you mean 'char'?
u_char ipt_len; /* size of structure (variable) */
^
/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/include/netinet/ip.h:191:2: error: unknown type name 'u_char'; did you mean 'char'?
u_char ipt_ptr; /* index of current entry */
^
/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/include/netinet/ip.h:193:2: error: unknown type name 'u_int'
u_int ipt_flg:4, /* flags, see below */
^
/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/include/netinet/ip.h:197:2: error: unknown type name 'u_int'
u_int ipt_oflw:4, /* overflow counter */
^
/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/include/netinet/ip.h:197:10: error: duplicate member 'ipt_oflw'
u_int ipt_oflw:4, /* overflow counter */
^
/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/include/netinet/ip.h:194:6: note: previous declaration is here
ipt_oflw:4; /* overflow counter */
^
/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/include/netinet/ip.h:198:6: error: duplicate member 'ipt_flg'
ipt_flg:4; /* flags, see below */
^
/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/include/netinet/ip.h:193:10: note: previous declaration is here
u_int ipt_flg:4, /* flags, see below */
^
18 errors generated.
make[2]: *** [examples/CMakeFiles/gl_basic.dir/gl_basic.c.o] Error 1
make[1]: *** [examples/CMakeFiles/gl_basic.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
```
I was able to fix this by passing "-D_DARWIN_C_SOURCE" as CFLAGS.
Could you please have a look. Maybe it's not the right fix, thus I am reporting the issue so you can investigate. Thanks
See https://github.com/Homebrew/homebrew-core/pull/135056 for referencehttps://gitlab.freedesktop.org/mesa/waffle/-/issues/861.7.2: test suite is failing2023-03-30T12:50:17ZTomasz Kłoczko1.7.2: test suite is failingI'm not sure am I executing correctly test suite.
<details>
```console
+ cd waffle-v1.7.2
+ xvfb-run -a /usr/bin/meson test -C x86_64-redhat-linux-gnu --num-processes 48 --print-errorlogs
ninja: no work to do.
ninja: Entering directory ...I'm not sure am I executing correctly test suite.
<details>
```console
+ cd waffle-v1.7.2
+ xvfb-run -a /usr/bin/meson test -C x86_64-redhat-linux-gnu --num-processes 48 --print-errorlogs
ninja: no work to do.
ninja: Entering directory `/home/tkloczko/rpmbuild/BUILD/waffle-v1.7.2/x86_64-redhat-linux-gnu'
ninja: no work to do.
1/8 waffle:core / wcore_attrib_list OK 0.05s
2/8 waffle:core / wcore_config_attrs OK 0.04s
3/8 waffle:core / wcore_error OK 0.04s
4/8 waffle:functional / gl_basic (surfaceless_egl) FAIL 0.06s exit status 62
>>> LD_LIBRARY_PATH=/home/tkloczko/rpmbuild/BUILD/waffle-v1.7.2/x86_64-redhat-linux-gnu/src/waffle MALLOC_PERTURB_=171 /home/tkloczko/rpmbuild/BUILD/waffle-v1.7.2/x86_64-redhat-linux-gnu/tests/functional/gl_basic_test --platform surfaceless_egl
――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
Listing only the last 100 lines from a long log.
[ LINE ] --- ../tests/functional/gl_basic_test.c:390: error: Failure!
Waffle error: 0x2 WAFFLE_ERROR_UNKNOWN: eglGetDisplay failed with error EGL_BAD_PARAMETER(0x300c)
[ ERROR ] --- 0
[ LINE ] --- ../tests/functional/gl_basic_test.c:390: error: Failure!
Waffle error: 0x2 WAFFLE_ERROR_UNKNOWN: eglGetDisplay failed with error EGL_BAD_PARAMETER(0x300c)
[ ERROR ] --- 0
[ LINE ] --- ../tests/functional/gl_basic_test.c:390: error: Failure!
Waffle error: 0x2 WAFFLE_ERROR_UNKNOWN: eglGetDisplay failed with error EGL_BAD_PARAMETER(0x300c)
[ ERROR ] --- 0
[ LINE ] --- ../tests/functional/gl_basic_test.c:390: error: Failure!
Waffle error: 0x2 WAFFLE_ERROR_UNKNOWN: eglGetDisplay failed with error EGL_BAD_PARAMETER(0x300c)
[ ERROR ] --- 0
[ LINE ] --- ../tests/functional/gl_basic_test.c:390: error: Failure!
Waffle error: 0x2 WAFFLE_ERROR_UNKNOWN: eglGetDisplay failed with error EGL_BAD_PARAMETER(0x300c)
[ ERROR ] --- 0
[ LINE ] --- ../tests/functional/gl_basic_test.c:390: error: Failure!
Waffle error: 0x2 WAFFLE_ERROR_UNKNOWN: eglGetDisplay failed with error EGL_BAD_PARAMETER(0x300c)
[ ERROR ] --- 0
[ LINE ] --- ../tests/functional/gl_basic_test.c:390: error: Failure!
Waffle error: 0x2 WAFFLE_ERROR_UNKNOWN: eglGetDisplay failed with error EGL_BAD_PARAMETER(0x300c)
[ ERROR ] --- 0
[ LINE ] --- ../tests/functional/gl_basic_test.c:390: error: Failure!
Waffle error: 0x2 WAFFLE_ERROR_UNKNOWN: eglGetDisplay failed with error EGL_BAD_PARAMETER(0x300c)
[ ERROR ] --- 0
[ LINE ] --- ../tests/functional/gl_basic_test.c:390: error: Failure!
Waffle error: 0x2 WAFFLE_ERROR_UNKNOWN: eglGetDisplay failed with error EGL_BAD_PARAMETER(0x300c)
[ ERROR ] --- 0
[ LINE ] --- ../tests/functional/gl_basic_test.c:390: error: Failure!
Waffle error: 0x2 WAFFLE_ERROR_UNKNOWN: eglGetDisplay failed with error EGL_BAD_PARAMETER(0x300c)
[ ERROR ] --- 0
[ LINE ] --- ../tests/functional/gl_basic_test.c:390: error: Failure!
Waffle error: 0x2 WAFFLE_ERROR_UNKNOWN: eglGetDisplay failed with error EGL_BAD_PARAMETER(0x300c)
[ ERROR ] --- 0
[ LINE ] --- ../tests/functional/gl_basic_test.c:390: error: Failure!
[ PASSED ] 0 test(s).
[ FAILED ] 62 test(s), listed below:
[ FAILED ] test_gl_basic_gl_rgb
[ FAILED ] test_gl_basic_gl_rgba
[ FAILED ] test_gl_basic_gl_fwdcompat
[ FAILED ] test_gl_basic_gl_debug
[ FAILED ] test_gl_basic_gl_robust
[ FAILED ] test_gl_basic_gl10
[ FAILED ] test_gl_basic_gl11
[ FAILED ] test_gl_basic_gl12
[ FAILED ] test_gl_basic_gl13
[ FAILED ] test_gl_basic_gl14
[ FAILED ] test_gl_basic_gl15
[ FAILED ] test_gl_basic_gl20
[ FAILED ] test_gl_basic_gl21
[ FAILED ] test_gl_basic_gl30
[ FAILED ] test_gl_basic_gl30_fwdcompat
[ FAILED ] test_gl_basic_gl31
[ FAILED ] test_gl_basic_gl31_fwdcompat
[ FAILED ] test_gl_basic_gl32_core
[ FAILED ] test_gl_basic_gl32_core_fwdcompat
[ FAILED ] test_gl_basic_gl32_core_debug
[ FAILED ] test_gl_basic_gl32_core_robust
[ FAILED ] test_gl_basic_gl33_core
[ FAILED ] test_gl_basic_gl40_core
[ FAILED ] test_gl_basic_gl41_core
[ FAILED ] test_gl_basic_gl42_core
[ FAILED ] test_gl_basic_gl43_core
[ FAILED ] test_gl_basic_gl44_core
[ FAILED ] test_gl_basic_gl45_core
[ FAILED ] test_gl_basic_gl46_core
[ FAILED ] test_gl_basic_gl32_compat
[ FAILED ] test_gl_basic_gl32_compat_fwdcompat
[ FAILED ] test_gl_basic_gl32_compat_debug
[ FAILED ] test_gl_basic_gl32_compat_robust
[ FAILED ] test_gl_basic_gl33_compat
[ FAILED ] test_gl_basic_gl40_compat
[ FAILED ] test_gl_basic_gl41_compat
[ FAILED ] test_gl_basic_gl42_compat
[ FAILED ] test_gl_basic_gl43_compat
[ FAILED ] test_gl_basic_gl44_compat
[ FAILED ] test_gl_basic_gl45_compat
[ FAILED ] test_gl_basic_gl46_compat
[ FAILED ] test_gl_basic_gles1_rgb
[ FAILED ] test_gl_basic_gles1_rgba
[ FAILED ] test_gl_basic_gles1_fwdcompat
[ FAILED ] test_gl_basic_gles1_robust
[ FAILED ] test_gl_basic_gles1_debug
[ FAILED ] test_gl_basic_gles10
[ FAILED ] test_gl_basic_gles11
[ FAILED ] test_gl_basic_gles2_rgb
[ FAILED ] test_gl_basic_gles2_rgba
[ FAILED ] test_gl_basic_gles2_fwdcompat
[ FAILED ] test_gl_basic_gles2_debug
[ FAILED ] test_gl_basic_gles2_robust
[ FAILED ] test_gl_basic_gles20
[ FAILED ] test_gl_basic_gles3_rgb
[ FAILED ] test_gl_basic_gles3_rgba
[ FAILED ] test_gl_basic_gles3_fwdcompat
[ FAILED ] test_gl_basic_gles3_debug
[ FAILED ] test_gl_basic_gles3_robust
[ FAILED ] test_gl_basic_gles30
[ FAILED ] test_gl_basic_gles31
[ FAILED ] test_gl_basic_gles32
62 FAILED TEST(S)
―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
5/8 waffle:functional / gl_basic (wayland) FAIL 0.09s exit status 62
>>> LD_LIBRARY_PATH=/home/tkloczko/rpmbuild/BUILD/waffle-v1.7.2/x86_64-redhat-linux-gnu/src/waffle MALLOC_PERTURB_=233 /home/tkloczko/rpmbuild/BUILD/waffle-v1.7.2/x86_64-redhat-linux-gnu/tests/functional/gl_basic_test --platform wayland
――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
Listing only the last 100 lines from a long log.
[ LINE ] --- ../tests/functional/gl_basic_test.c:390: error: Failure!
Waffle error: 0x2 WAFFLE_ERROR_UNKNOWN: wl_display_connect failed
[ ERROR ] --- 0
[ LINE ] --- ../tests/functional/gl_basic_test.c:390: error: Failure!
Waffle error: 0x2 WAFFLE_ERROR_UNKNOWN: wl_display_connect failed
[ ERROR ] --- 0
[ LINE ] --- ../tests/functional/gl_basic_test.c:390: error: Failure!
Waffle error: 0x2 WAFFLE_ERROR_UNKNOWN: wl_display_connect failed
[ ERROR ] --- 0
[ LINE ] --- ../tests/functional/gl_basic_test.c:390: error: Failure!
Waffle error: 0x2 WAFFLE_ERROR_UNKNOWN: wl_display_connect failed
[ ERROR ] --- 0
[ LINE ] --- ../tests/functional/gl_basic_test.c:390: error: Failure!
Waffle error: 0x2 WAFFLE_ERROR_UNKNOWN: wl_display_connect failed
[ ERROR ] --- 0
[ LINE ] --- ../tests/functional/gl_basic_test.c:390: error: Failure!
Waffle error: 0x2 WAFFLE_ERROR_UNKNOWN: wl_display_connect failed
[ ERROR ] --- 0
[ LINE ] --- ../tests/functional/gl_basic_test.c:390: error: Failure!
Waffle error: 0x2 WAFFLE_ERROR_UNKNOWN: wl_display_connect failed
[ ERROR ] --- 0
[ LINE ] --- ../tests/functional/gl_basic_test.c:390: error: Failure!
Waffle error: 0x2 WAFFLE_ERROR_UNKNOWN: wl_display_connect failed
[ ERROR ] --- 0
[ LINE ] --- ../tests/functional/gl_basic_test.c:390: error: Failure!
Waffle error: 0x2 WAFFLE_ERROR_UNKNOWN: wl_display_connect failed
[ ERROR ] --- 0
[ LINE ] --- ../tests/functional/gl_basic_test.c:390: error: Failure!
Waffle error: 0x2 WAFFLE_ERROR_UNKNOWN: wl_display_connect failed
[ ERROR ] --- 0
[ LINE ] --- ../tests/functional/gl_basic_test.c:390: error: Failure!
Waffle error: 0x2 WAFFLE_ERROR_UNKNOWN: wl_display_connect failed
[ ERROR ] --- 0
[ LINE ] --- ../tests/functional/gl_basic_test.c:390: error: Failure!
[ PASSED ] 0 test(s).
[ FAILED ] 62 test(s), listed below:
[ FAILED ] test_gl_basic_gl_rgb
[ FAILED ] test_gl_basic_gl_rgba
[ FAILED ] test_gl_basic_gl_fwdcompat
[ FAILED ] test_gl_basic_gl_debug
[ FAILED ] test_gl_basic_gl_robust
[ FAILED ] test_gl_basic_gl10
[ FAILED ] test_gl_basic_gl11
[ FAILED ] test_gl_basic_gl12
[ FAILED ] test_gl_basic_gl13
[ FAILED ] test_gl_basic_gl14
[ FAILED ] test_gl_basic_gl15
[ FAILED ] test_gl_basic_gl20
[ FAILED ] test_gl_basic_gl21
[ FAILED ] test_gl_basic_gl30
[ FAILED ] test_gl_basic_gl30_fwdcompat
[ FAILED ] test_gl_basic_gl31
[ FAILED ] test_gl_basic_gl31_fwdcompat
[ FAILED ] test_gl_basic_gl32_core
[ FAILED ] test_gl_basic_gl32_core_fwdcompat
[ FAILED ] test_gl_basic_gl32_core_debug
[ FAILED ] test_gl_basic_gl32_core_robust
[ FAILED ] test_gl_basic_gl33_core
[ FAILED ] test_gl_basic_gl40_core
[ FAILED ] test_gl_basic_gl41_core
[ FAILED ] test_gl_basic_gl42_core
[ FAILED ] test_gl_basic_gl43_core
[ FAILED ] test_gl_basic_gl44_core
[ FAILED ] test_gl_basic_gl45_core
[ FAILED ] test_gl_basic_gl46_core
[ FAILED ] test_gl_basic_gl32_compat
[ FAILED ] test_gl_basic_gl32_compat_fwdcompat
[ FAILED ] test_gl_basic_gl32_compat_debug
[ FAILED ] test_gl_basic_gl32_compat_robust
[ FAILED ] test_gl_basic_gl33_compat
[ FAILED ] test_gl_basic_gl40_compat
[ FAILED ] test_gl_basic_gl41_compat
[ FAILED ] test_gl_basic_gl42_compat
[ FAILED ] test_gl_basic_gl43_compat
[ FAILED ] test_gl_basic_gl44_compat
[ FAILED ] test_gl_basic_gl45_compat
[ FAILED ] test_gl_basic_gl46_compat
[ FAILED ] test_gl_basic_gles1_rgb
[ FAILED ] test_gl_basic_gles1_rgba
[ FAILED ] test_gl_basic_gles1_fwdcompat
[ FAILED ] test_gl_basic_gles1_robust
[ FAILED ] test_gl_basic_gles1_debug
[ FAILED ] test_gl_basic_gles10
[ FAILED ] test_gl_basic_gles11
[ FAILED ] test_gl_basic_gles2_rgb
[ FAILED ] test_gl_basic_gles2_rgba
[ FAILED ] test_gl_basic_gles2_fwdcompat
[ FAILED ] test_gl_basic_gles2_debug
[ FAILED ] test_gl_basic_gles2_robust
[ FAILED ] test_gl_basic_gles20
[ FAILED ] test_gl_basic_gles3_rgb
[ FAILED ] test_gl_basic_gles3_rgba
[ FAILED ] test_gl_basic_gles3_fwdcompat
[ FAILED ] test_gl_basic_gles3_debug
[ FAILED ] test_gl_basic_gles3_robust
[ FAILED ] test_gl_basic_gles30
[ FAILED ] test_gl_basic_gles31
[ FAILED ] test_gl_basic_gles32
62 FAILED TEST(S)
―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
6/8 waffle:functional / gl_basic (gbm) FAIL 0.17s exit status 62
>>> LD_LIBRARY_PATH=/home/tkloczko/rpmbuild/BUILD/waffle-v1.7.2/x86_64-redhat-linux-gnu/src/waffle MALLOC_PERTURB_=165 /home/tkloczko/rpmbuild/BUILD/waffle-v1.7.2/x86_64-redhat-linux-gnu/tests/functional/gl_basic_test --platform gbm
――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
Listing only the last 100 lines from a long log.
[ LINE ] --- ../tests/functional/gl_basic_test.c:390: error: Failure!
Waffle error: 0x2 WAFFLE_ERROR_UNKNOWN: open drm file for gbm failed
[ ERROR ] --- 0
[ LINE ] --- ../tests/functional/gl_basic_test.c:390: error: Failure!
Waffle error: 0x2 WAFFLE_ERROR_UNKNOWN: open drm file for gbm failed
[ ERROR ] --- 0
[ LINE ] --- ../tests/functional/gl_basic_test.c:390: error: Failure!
Waffle error: 0x2 WAFFLE_ERROR_UNKNOWN: open drm file for gbm failed
[ ERROR ] --- 0
[ LINE ] --- ../tests/functional/gl_basic_test.c:390: error: Failure!
Waffle error: 0x2 WAFFLE_ERROR_UNKNOWN: open drm file for gbm failed
[ ERROR ] --- 0
[ LINE ] --- ../tests/functional/gl_basic_test.c:390: error: Failure!
Waffle error: 0x2 WAFFLE_ERROR_UNKNOWN: open drm file for gbm failed
[ ERROR ] --- 0
[ LINE ] --- ../tests/functional/gl_basic_test.c:390: error: Failure!
Waffle error: 0x2 WAFFLE_ERROR_UNKNOWN: open drm file for gbm failed
[ ERROR ] --- 0
[ LINE ] --- ../tests/functional/gl_basic_test.c:390: error: Failure!
Waffle error: 0x2 WAFFLE_ERROR_UNKNOWN: open drm file for gbm failed
[ ERROR ] --- 0
[ LINE ] --- ../tests/functional/gl_basic_test.c:390: error: Failure!
Waffle error: 0x2 WAFFLE_ERROR_UNKNOWN: open drm file for gbm failed
[ ERROR ] --- 0
[ LINE ] --- ../tests/functional/gl_basic_test.c:390: error: Failure!
Waffle error: 0x2 WAFFLE_ERROR_UNKNOWN: open drm file for gbm failed
[ ERROR ] --- 0
[ LINE ] --- ../tests/functional/gl_basic_test.c:390: error: Failure!
Waffle error: 0x2 WAFFLE_ERROR_UNKNOWN: open drm file for gbm failed
[ ERROR ] --- 0
[ LINE ] --- ../tests/functional/gl_basic_test.c:390: error: Failure!
Waffle error: 0x2 WAFFLE_ERROR_UNKNOWN: open drm file for gbm failed
[ ERROR ] --- 0
[ LINE ] --- ../tests/functional/gl_basic_test.c:390: error: Failure!
[ PASSED ] 0 test(s).
[ FAILED ] 62 test(s), listed below:
[ FAILED ] test_gl_basic_gl_rgb
[ FAILED ] test_gl_basic_gl_rgba
[ FAILED ] test_gl_basic_gl_fwdcompat
[ FAILED ] test_gl_basic_gl_debug
[ FAILED ] test_gl_basic_gl_robust
[ FAILED ] test_gl_basic_gl10
[ FAILED ] test_gl_basic_gl11
[ FAILED ] test_gl_basic_gl12
[ FAILED ] test_gl_basic_gl13
[ FAILED ] test_gl_basic_gl14
[ FAILED ] test_gl_basic_gl15
[ FAILED ] test_gl_basic_gl20
[ FAILED ] test_gl_basic_gl21
[ FAILED ] test_gl_basic_gl30
[ FAILED ] test_gl_basic_gl30_fwdcompat
[ FAILED ] test_gl_basic_gl31
[ FAILED ] test_gl_basic_gl31_fwdcompat
[ FAILED ] test_gl_basic_gl32_core
[ FAILED ] test_gl_basic_gl32_core_fwdcompat
[ FAILED ] test_gl_basic_gl32_core_debug
[ FAILED ] test_gl_basic_gl32_core_robust
[ FAILED ] test_gl_basic_gl33_core
[ FAILED ] test_gl_basic_gl40_core
[ FAILED ] test_gl_basic_gl41_core
[ FAILED ] test_gl_basic_gl42_core
[ FAILED ] test_gl_basic_gl43_core
[ FAILED ] test_gl_basic_gl44_core
[ FAILED ] test_gl_basic_gl45_core
[ FAILED ] test_gl_basic_gl46_core
[ FAILED ] test_gl_basic_gl32_compat
[ FAILED ] test_gl_basic_gl32_compat_fwdcompat
[ FAILED ] test_gl_basic_gl32_compat_debug
[ FAILED ] test_gl_basic_gl32_compat_robust
[ FAILED ] test_gl_basic_gl33_compat
[ FAILED ] test_gl_basic_gl40_compat
[ FAILED ] test_gl_basic_gl41_compat
[ FAILED ] test_gl_basic_gl42_compat
[ FAILED ] test_gl_basic_gl43_compat
[ FAILED ] test_gl_basic_gl44_compat
[ FAILED ] test_gl_basic_gl45_compat
[ FAILED ] test_gl_basic_gl46_compat
[ FAILED ] test_gl_basic_gles1_rgb
[ FAILED ] test_gl_basic_gles1_rgba
[ FAILED ] test_gl_basic_gles1_fwdcompat
[ FAILED ] test_gl_basic_gles1_robust
[ FAILED ] test_gl_basic_gles1_debug
[ FAILED ] test_gl_basic_gles10
[ FAILED ] test_gl_basic_gles11
[ FAILED ] test_gl_basic_gles2_rgb
[ FAILED ] test_gl_basic_gles2_rgba
[ FAILED ] test_gl_basic_gles2_fwdcompat
[ FAILED ] test_gl_basic_gles2_debug
[ FAILED ] test_gl_basic_gles2_robust
[ FAILED ] test_gl_basic_gles20
[ FAILED ] test_gl_basic_gles3_rgb
[ FAILED ] test_gl_basic_gles3_rgba
[ FAILED ] test_gl_basic_gles3_fwdcompat
[ FAILED ] test_gl_basic_gles3_debug
[ FAILED ] test_gl_basic_gles3_robust
[ FAILED ] test_gl_basic_gles30
[ FAILED ] test_gl_basic_gles31
[ FAILED ] test_gl_basic_gles32
62 FAILED TEST(S)
―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
7/8 waffle:functional / gl_basic (glx) FAIL 2.29s exit status 62
>>> LD_LIBRARY_PATH=/home/tkloczko/rpmbuild/BUILD/waffle-v1.7.2/x86_64-redhat-linux-gnu/src/waffle MALLOC_PERTURB_=179 /home/tkloczko/rpmbuild/BUILD/waffle-v1.7.2/x86_64-redhat-linux-gnu/tests/functional/gl_basic_test --platform glx
――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
Listing only the last 100 lines from a long log.
[ LINE ] --- ../tests/functional/gl_basic_test.c:390: error: Failure!
Waffle error: 0x2 WAFFLE_ERROR_UNKNOWN: glXQueryExtensionsString failed
[ ERROR ] --- 0
[ LINE ] --- ../tests/functional/gl_basic_test.c:390: error: Failure!
Waffle error: 0x2 WAFFLE_ERROR_UNKNOWN: glXQueryExtensionsString failed
[ ERROR ] --- 0
[ LINE ] --- ../tests/functional/gl_basic_test.c:390: error: Failure!
Waffle error: 0x2 WAFFLE_ERROR_UNKNOWN: glXQueryExtensionsString failed
[ ERROR ] --- 0
[ LINE ] --- ../tests/functional/gl_basic_test.c:390: error: Failure!
Waffle error: 0x2 WAFFLE_ERROR_UNKNOWN: glXQueryExtensionsString failed
[ ERROR ] --- 0
[ LINE ] --- ../tests/functional/gl_basic_test.c:390: error: Failure!
Waffle error: 0x2 WAFFLE_ERROR_UNKNOWN: glXQueryExtensionsString failed
[ ERROR ] --- 0
[ LINE ] --- ../tests/functional/gl_basic_test.c:390: error: Failure!
Waffle error: 0x2 WAFFLE_ERROR_UNKNOWN: glXQueryExtensionsString failed
[ ERROR ] --- 0
[ LINE ] --- ../tests/functional/gl_basic_test.c:390: error: Failure!
Waffle error: 0x2 WAFFLE_ERROR_UNKNOWN: glXQueryExtensionsString failed
[ ERROR ] --- 0
[ LINE ] --- ../tests/functional/gl_basic_test.c:390: error: Failure!
Waffle error: 0x2 WAFFLE_ERROR_UNKNOWN: glXQueryExtensionsString failed
[ ERROR ] --- 0
[ LINE ] --- ../tests/functional/gl_basic_test.c:390: error: Failure!
Waffle error: 0x2 WAFFLE_ERROR_UNKNOWN: glXQueryExtensionsString failed
[ ERROR ] --- 0
[ LINE ] --- ../tests/functional/gl_basic_test.c:390: error: Failure!
Waffle error: 0x2 WAFFLE_ERROR_UNKNOWN: glXQueryExtensionsString failed
[ ERROR ] --- 0
[ LINE ] --- ../tests/functional/gl_basic_test.c:390: error: Failure!
Waffle error: 0x2 WAFFLE_ERROR_UNKNOWN: glXQueryExtensionsString failed
[ ERROR ] --- 0
[ LINE ] --- ../tests/functional/gl_basic_test.c:390: error: Failure!
[ PASSED ] 0 test(s).
[ FAILED ] 62 test(s), listed below:
[ FAILED ] test_gl_basic_gl_rgb
[ FAILED ] test_gl_basic_gl_rgba
[ FAILED ] test_gl_basic_gl_fwdcompat
[ FAILED ] test_gl_basic_gl_debug
[ FAILED ] test_gl_basic_gl_robust
[ FAILED ] test_gl_basic_gl10
[ FAILED ] test_gl_basic_gl11
[ FAILED ] test_gl_basic_gl12
[ FAILED ] test_gl_basic_gl13
[ FAILED ] test_gl_basic_gl14
[ FAILED ] test_gl_basic_gl15
[ FAILED ] test_gl_basic_gl20
[ FAILED ] test_gl_basic_gl21
[ FAILED ] test_gl_basic_gl30
[ FAILED ] test_gl_basic_gl30_fwdcompat
[ FAILED ] test_gl_basic_gl31
[ FAILED ] test_gl_basic_gl31_fwdcompat
[ FAILED ] test_gl_basic_gl32_core
[ FAILED ] test_gl_basic_gl32_core_fwdcompat
[ FAILED ] test_gl_basic_gl32_core_debug
[ FAILED ] test_gl_basic_gl32_core_robust
[ FAILED ] test_gl_basic_gl33_core
[ FAILED ] test_gl_basic_gl40_core
[ FAILED ] test_gl_basic_gl41_core
[ FAILED ] test_gl_basic_gl42_core
[ FAILED ] test_gl_basic_gl43_core
[ FAILED ] test_gl_basic_gl44_core
[ FAILED ] test_gl_basic_gl45_core
[ FAILED ] test_gl_basic_gl46_core
[ FAILED ] test_gl_basic_gl32_compat
[ FAILED ] test_gl_basic_gl32_compat_fwdcompat
[ FAILED ] test_gl_basic_gl32_compat_debug
[ FAILED ] test_gl_basic_gl32_compat_robust
[ FAILED ] test_gl_basic_gl33_compat
[ FAILED ] test_gl_basic_gl40_compat
[ FAILED ] test_gl_basic_gl41_compat
[ FAILED ] test_gl_basic_gl42_compat
[ FAILED ] test_gl_basic_gl43_compat
[ FAILED ] test_gl_basic_gl44_compat
[ FAILED ] test_gl_basic_gl45_compat
[ FAILED ] test_gl_basic_gl46_compat
[ FAILED ] test_gl_basic_gles1_rgb
[ FAILED ] test_gl_basic_gles1_rgba
[ FAILED ] test_gl_basic_gles1_fwdcompat
[ FAILED ] test_gl_basic_gles1_robust
[ FAILED ] test_gl_basic_gles1_debug
[ FAILED ] test_gl_basic_gles10
[ FAILED ] test_gl_basic_gles11
[ FAILED ] test_gl_basic_gles2_rgb
[ FAILED ] test_gl_basic_gles2_rgba
[ FAILED ] test_gl_basic_gles2_fwdcompat
[ FAILED ] test_gl_basic_gles2_debug
[ FAILED ] test_gl_basic_gles2_robust
[ FAILED ] test_gl_basic_gles20
[ FAILED ] test_gl_basic_gles3_rgb
[ FAILED ] test_gl_basic_gles3_rgba
[ FAILED ] test_gl_basic_gles3_fwdcompat
[ FAILED ] test_gl_basic_gles3_debug
[ FAILED ] test_gl_basic_gles3_robust
[ FAILED ] test_gl_basic_gles30
[ FAILED ] test_gl_basic_gles31
[ FAILED ] test_gl_basic_gles32
62 FAILED TEST(S)
―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
8/8 waffle:functional / gl_basic (x11_egl) FAIL 2.32s exit status 62
>>> LD_LIBRARY_PATH=/home/tkloczko/rpmbuild/BUILD/waffle-v1.7.2/x86_64-redhat-linux-gnu/src/waffle MALLOC_PERTURB_=25 /home/tkloczko/rpmbuild/BUILD/waffle-v1.7.2/x86_64-redhat-linux-gnu/tests/functional/gl_basic_test --platform x11_egl
――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
Listing only the last 100 lines from a long log.
[ LINE ] --- ../tests/functional/gl_basic_test.c:390: error: Failure!
Waffle error: 0x2 WAFFLE_ERROR_UNKNOWN: eglGetDisplay failed with error EGL_BAD_PARAMETER(0x300c)
[ ERROR ] --- 0
[ LINE ] --- ../tests/functional/gl_basic_test.c:390: error: Failure!
Waffle error: 0x2 WAFFLE_ERROR_UNKNOWN: eglGetDisplay failed with error EGL_BAD_PARAMETER(0x300c)
[ ERROR ] --- 0
[ LINE ] --- ../tests/functional/gl_basic_test.c:390: error: Failure!
Waffle error: 0x2 WAFFLE_ERROR_UNKNOWN: eglGetDisplay failed with error EGL_BAD_PARAMETER(0x300c)
[ ERROR ] --- 0
[ LINE ] --- ../tests/functional/gl_basic_test.c:390: error: Failure!
Waffle error: 0x2 WAFFLE_ERROR_UNKNOWN: eglGetDisplay failed with error EGL_BAD_PARAMETER(0x300c)
[ ERROR ] --- 0
[ LINE ] --- ../tests/functional/gl_basic_test.c:390: error: Failure!
Waffle error: 0x2 WAFFLE_ERROR_UNKNOWN: eglGetDisplay failed with error EGL_BAD_PARAMETER(0x300c)
[ ERROR ] --- 0
[ LINE ] --- ../tests/functional/gl_basic_test.c:390: error: Failure!
Waffle error: 0x2 WAFFLE_ERROR_UNKNOWN: eglGetDisplay failed with error EGL_BAD_PARAMETER(0x300c)
[ ERROR ] --- 0
[ LINE ] --- ../tests/functional/gl_basic_test.c:390: error: Failure!
Waffle error: 0x2 WAFFLE_ERROR_UNKNOWN: eglGetDisplay failed with error EGL_BAD_PARAMETER(0x300c)
[ ERROR ] --- 0
[ LINE ] --- ../tests/functional/gl_basic_test.c:390: error: Failure!
Waffle error: 0x2 WAFFLE_ERROR_UNKNOWN: eglGetDisplay failed with error EGL_BAD_PARAMETER(0x300c)
[ ERROR ] --- 0
[ LINE ] --- ../tests/functional/gl_basic_test.c:390: error: Failure!
Waffle error: 0x2 WAFFLE_ERROR_UNKNOWN: eglGetDisplay failed with error EGL_BAD_PARAMETER(0x300c)
[ ERROR ] --- 0
[ LINE ] --- ../tests/functional/gl_basic_test.c:390: error: Failure!
Waffle error: 0x2 WAFFLE_ERROR_UNKNOWN: eglGetDisplay failed with error EGL_BAD_PARAMETER(0x300c)
[ ERROR ] --- 0
[ LINE ] --- ../tests/functional/gl_basic_test.c:390: error: Failure!
Waffle error: 0x2 WAFFLE_ERROR_UNKNOWN: eglGetDisplay failed with error EGL_BAD_PARAMETER(0x300c)
[ ERROR ] --- 0
[ LINE ] --- ../tests/functional/gl_basic_test.c:390: error: Failure!
[ PASSED ] 0 test(s).
[ FAILED ] 62 test(s), listed below:
[ FAILED ] test_gl_basic_gl_rgb
[ FAILED ] test_gl_basic_gl_rgba
[ FAILED ] test_gl_basic_gl_fwdcompat
[ FAILED ] test_gl_basic_gl_debug
[ FAILED ] test_gl_basic_gl_robust
[ FAILED ] test_gl_basic_gl10
[ FAILED ] test_gl_basic_gl11
[ FAILED ] test_gl_basic_gl12
[ FAILED ] test_gl_basic_gl13
[ FAILED ] test_gl_basic_gl14
[ FAILED ] test_gl_basic_gl15
[ FAILED ] test_gl_basic_gl20
[ FAILED ] test_gl_basic_gl21
[ FAILED ] test_gl_basic_gl30
[ FAILED ] test_gl_basic_gl30_fwdcompat
[ FAILED ] test_gl_basic_gl31
[ FAILED ] test_gl_basic_gl31_fwdcompat
[ FAILED ] test_gl_basic_gl32_core
[ FAILED ] test_gl_basic_gl32_core_fwdcompat
[ FAILED ] test_gl_basic_gl32_core_debug
[ FAILED ] test_gl_basic_gl32_core_robust
[ FAILED ] test_gl_basic_gl33_core
[ FAILED ] test_gl_basic_gl40_core
[ FAILED ] test_gl_basic_gl41_core
[ FAILED ] test_gl_basic_gl42_core
[ FAILED ] test_gl_basic_gl43_core
[ FAILED ] test_gl_basic_gl44_core
[ FAILED ] test_gl_basic_gl45_core
[ FAILED ] test_gl_basic_gl46_core
[ FAILED ] test_gl_basic_gl32_compat
[ FAILED ] test_gl_basic_gl32_compat_fwdcompat
[ FAILED ] test_gl_basic_gl32_compat_debug
[ FAILED ] test_gl_basic_gl32_compat_robust
[ FAILED ] test_gl_basic_gl33_compat
[ FAILED ] test_gl_basic_gl40_compat
[ FAILED ] test_gl_basic_gl41_compat
[ FAILED ] test_gl_basic_gl42_compat
[ FAILED ] test_gl_basic_gl43_compat
[ FAILED ] test_gl_basic_gl44_compat
[ FAILED ] test_gl_basic_gl45_compat
[ FAILED ] test_gl_basic_gl46_compat
[ FAILED ] test_gl_basic_gles1_rgb
[ FAILED ] test_gl_basic_gles1_rgba
[ FAILED ] test_gl_basic_gles1_fwdcompat
[ FAILED ] test_gl_basic_gles1_robust
[ FAILED ] test_gl_basic_gles1_debug
[ FAILED ] test_gl_basic_gles10
[ FAILED ] test_gl_basic_gles11
[ FAILED ] test_gl_basic_gles2_rgb
[ FAILED ] test_gl_basic_gles2_rgba
[ FAILED ] test_gl_basic_gles2_fwdcompat
[ FAILED ] test_gl_basic_gles2_debug
[ FAILED ] test_gl_basic_gles2_robust
[ FAILED ] test_gl_basic_gles20
[ FAILED ] test_gl_basic_gles3_rgb
[ FAILED ] test_gl_basic_gles3_rgba
[ FAILED ] test_gl_basic_gles3_fwdcompat
[ FAILED ] test_gl_basic_gles3_debug
[ FAILED ] test_gl_basic_gles3_robust
[ FAILED ] test_gl_basic_gles30
[ FAILED ] test_gl_basic_gles31
[ FAILED ] test_gl_basic_gles32
62 FAILED TEST(S)
―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
Summary of Failures:
4/8 waffle:functional / gl_basic (surfaceless_egl) FAIL 0.06s exit status 62
5/8 waffle:functional / gl_basic (wayland) FAIL 0.09s exit status 62
6/8 waffle:functional / gl_basic (gbm) FAIL 0.17s exit status 62
7/8 waffle:functional / gl_basic (glx) FAIL 2.29s exit status 62
8/8 waffle:functional / gl_basic (x11_egl) FAIL 2.32s exit status 62
Ok: 3
Expected Fail: 0
Fail: 5
Unexpected Pass: 0
Skipped: 0
Timeout: 0
```
</details>
Meson output:
<details>
```console
+ /usr/bin/meson setup --buildtype=plain --prefix=/usr --libdir=/usr/lib64 --libexecdir=/usr/libexec --bindir=/usr/bin --sbindir=/usr/sbin --includedir=/usr/include --datadir=/usr/share --mandir=/usr/share/man --infodir=/usr/share/info --localedir=/usr/share/locale --sysconfdir=/etc --localstatedir=/var --sharedstatedir=/var/lib --wrap-mode=nodownload --auto-features=enabled . x86_64-redhat-linux-gnu -D build-tests=true -D build-htmldocs=false
The Meson build system
Version: 1.0.1
Source dir: /home/tkloczko/rpmbuild/BUILD/waffle-v1.7.2
Build dir: /home/tkloczko/rpmbuild/BUILD/waffle-v1.7.2/x86_64-redhat-linux-gnu
Build type: native build
Project name: waffle
Project version: 1.7.2
C compiler for the host machine: /usr/bin/gcc (gcc 13.0.1 "gcc (GCC) 13.0.1 20230221 (Red Hat 13.0.1-0)")
C linker for the host machine: /usr/bin/gcc ld.bfd 2.40-2
Host machine cpu family: x86_64
Host machine cpu: x86_64
Run-time dependency threads found: YES
Library dl found: YES
Found pkg-config: /usr/bin/pkg-config (1.9.4)
Run-time dependency gl found: YES 1.2
Run-time dependency x11-xcb found: YES 1.8.4
Run-time dependency egl found: YES 1.5
Dependency x11-xcb found: YES 1.8.4 (cached)
Dependency egl found: YES 1.5 (cached)
Run-time dependency gbm found: YES 23.0.0
Run-time dependency libudev found: YES 251
Dependency egl found: YES 1.5 (cached)
Dependency egl found: YES 1.5 (cached)
Run-time dependency wayland-client found: YES 1.21.91
Run-time dependency wayland-egl found: YES 18.1.0
Run-time dependency wayland-scanner found: YES 1.21.91
Program /usr/bin/wayland-scanner found: YES (/usr/bin/wayland-scanner)
Run-time dependency wayland-protocols found: YES 1.31
Found CMake: /usr/bin/cmake (3.25.2)
Run-time dependency bash-completion found: NO (tried pkgconfig and cmake)
Compiler for C supports arguments -Werror=implicit-function-declaration: YES
Compiler for C supports arguments -Wno-unused-parameter: YES
Compiler for C supports arguments -Werror=format: YES
Compiler for C supports arguments -Werror=format-security: YES
Compiler for C supports arguments -Werror=incompatible-pointer-types: YES
Compiler for C supports arguments -Werror=init-self: YES
Compiler for C supports arguments -Werror=int-conversion: YES
Compiler for C supports arguments -Werror=missing-declarations: YES
Compiler for C supports arguments -Werror=missing-prototypes: YES
Compiler for C supports arguments -Werror=pointer-arith: YES
Compiler for C supports arguments -Werror=undef: YES
Compiler for C supports arguments -Werror=vla: YES
Compiler for C supports arguments -Wsuggest-attribute=format: YES
Compiler for C supports arguments -Wwrite-strings: YES
Checking if "Thread Local Storage" compiles: YES
Checking if "TLS model "Initial Exec"" compiles: YES
Run-time dependency cmocka found: YES 1.1.5
Configuring waffle_version.h using configuration
Configuring waffle.def using configuration
Compiler for C supports arguments -Wno-initializer-overrides: NO
Compiler for C supports arguments -Wno-override-init: YES
First supported argument: -Wno-override-init
Build targets in project: 13
waffle 1.7.2
User defined options
auto_features : enabled
bindir : /usr/bin
buildtype : plain
datadir : /usr/share
includedir : /usr/include
infodir : /usr/share/info
libdir : /usr/lib64
libexecdir : /usr/libexec
localedir : /usr/share/locale
localstatedir : /var
mandir : /usr/share/man
prefix : /usr
sbindir : /usr/sbin
sharedstatedir: /var/lib
sysconfdir : /etc
wrap_mode : nodownload
build-htmldocs: false
build-tests : true
Found ninja-1.11.1 at /usr/bin/ninja
```
</details>