Hi, I am trying to update sway from 1.4-r1 to 1.4-r2, but I get this error: In file included from /usr/include/wlr/backend.h:14, from ../sway-1.4/include/sway/server.h:5, from ../sway-1.4/include/sway/input/input-manager.h:7, from ../sway-1.4/sway/config.c:18: /usr/include/wlr/render/egl.h:54:3: error: unknown type name ‘PFNEGLQUERYWAYLANDBUFFERWL’ 54 | PFNEGLQUERYWAYLANDBUFFERWL eglQueryWaylandBufferWL; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wlr/render/egl.h:55:3: error: unknown type name ‘PFNEGLBINDWAYLANDDISPLAYWL’ 55 | PFNEGLBINDWAYLANDDISPLAYWL eglBindWaylandDisplayWL; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/wlr/render/egl.h:56:3: error: unknown type name ‘PFNEGLUNBINDWAYLANDDISPLAYWL’ 56 | PFNEGLUNBINDWAYLANDDISPLAYWL eglUnbindWaylandDisplayWL; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ninja: build stopped: subcommand failed. Reproducible: Always Steps to Reproduce: 1. emerge -1 sway 2. 3. Actual Results: Error Expected Results: build
Created attachment 642570 [details] emerge --info
Thank you for the report. We need to have all information at hand before ticket assignment. That is why I ask you to * attach the logs and * paste the emerge info as described on https://wiki.gentoo.org/wiki/Attach_the_logs_to_the_bug_ticket Please reopen this ticket (Status:UNCONFIRMED) afterwards.
Created attachment 642618 [details] build.log
the only change that was done in r2 was adding the following line to dependencies, which you don't seem to have enabled (wallpapers) + wallpapers? ( x11-libs/gdk-pixbuf:2[jpeg] ) I'm not sure why you have this error, have you changed wlroots recently?
I have just tried to rebuild wlroots and got the same error: FAILED: wlroots@sha/render_gles2_shaders.c.o x86_64-pc-linux-gnu-gcc -Iwlroots@sha -I. -I../wlroots-0.10.1 -Iinclude -I../wlroots-0.10.1/include -Iprotocol -I../wlroots-0.10.1/protocol -I/usr/include/libdrm -I/usr/include/pixman-1 -fdiagnostics-color=always-pipe -D_FILE_OFFSET_BITS=64 -std=c11 -DWLR_USE_UNSTABLE -Wundef -Wlogical-op -Wmissing-include-dirs -Wold-style-definition -Wpointer-arith -Winit-self -Wstrict-prototypes -Wimplicit-fallthrough=2 -Wendif-labels -Wstrict-aliasing=2 -Woverflow -Wmissing-prototypes -Wno-missing-braces -Wno-missing-field-initializers -Wno-unused-parameter -fmacro-prefix-map=../wlroots-0.10.1/= -DLIBINPUT_MAJOR=1 -DLIBINPUT_MINOR=15 -DLIBINPUT_PATCH=5 -march=native -O2 -fPIC -MD -MQ 'wlroots@sha/render_gles2_shaders.c.o' -MF 'wlroots@sha/render_gles2_shaders.c.o.d' -o 'wlroots@sha/render_gles2_shaders.c.o' -c ../wlroots-0.10.1/render/gles2/shaders.c In file included from ../wlroots-0.10.1/include/wlr/backend.h:14, from ../wlroots-0.10.1/include/render/gles2.h:9, from ../wlroots-0.10.1/render/gles2/shaders.c:2: ../wlroots-0.10.1/include/wlr/render/egl.h:54:3: error: unknown type name ‘PFNEGLQUERYWAYLANDBUFFERWL’ 54 | PFNEGLQUERYWAYLANDBUFFERWL eglQueryWaylandBufferWL; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../wlroots-0.10.1/include/wlr/render/egl.h:55:3: error: unknown type name ‘PFNEGLBINDWAYLANDDISPLAYWL’ 55 | PFNEGLBINDWAYLANDDISPLAYWL eglBindWaylandDisplayWL; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../wlroots-0.10.1/include/wlr/render/egl.h:56:3: error: unknown type name ‘PFNEGLUNBINDWAYLANDDISPLAYWL’ 56 | PFNEGLUNBINDWAYLANDDISPLAYWL eglUnbindWaylandDisplayWL;
you update mesa? those seem to me related there. the following are the use flags I'm using with mesa- X classic dri3 egl gallium gbm gles2 libglvnd llvm vaapi vulkan wayland and here's what wlroots says it needs from mesa... egl gles2 gbm sway says it needs just gles2 from mesa
I am using mesa-9999: [ebuild R *] media-libs/mesa-9999::gentoo USE="X classic dri3 egl gallium gbm gles2 libglvnd llvm vaapi wayland zstd -d3d9 -debug -gles1 -lm-sensors -opencl -osmesa (-selinux) -test -unwind -valgrind -vdpau-vulkan -vulkan-overlay -xa -xvmc" VIDEO_CARDS="i965 intel nouveau (-freedreno) -i915 -iris (-lima) (-panfrost) -r100 -r200 -r300 -r600 -radeon -radeonsi (-vc4) -virgl (-vivante) -vmware" 0 KiB I have tried to rebuild it now, but I get the same error with wlroots. Thanks
I don't think mesa-9999 is going to work, it might work with wlroots/sway 9999 though
Downgrading mesa to 20.1.0 make wlroots and sway build without any problem. Thanks
Just an FYI, I hit a similar problem myself and eventually worked out that mesa-9999 currently needs libglvnd-9999 for some EGL stuff. This issue will probably wash out in the next libglvnd release.
I just wanted to chime in to say that after emerging libglvnd-1.3.2, wlroots and sway indeed build fine against mesa-9999 again.
(In reply to Christian Widmer from comment #11) > I just wanted to chime in to say that after emerging libglvnd-1.3.2, wlroots > and sway indeed build fine against mesa-9999 again. Thanks for the information :).
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d0c7af6dc6baa3fdf30756b005f929af155531a commit 6d0c7af6dc6baa3fdf30756b005f929af155531a Author: Matthew Thode <prometheanfire@gentoo.org> AuthorDate: 2020-06-27 20:57:47 +0000 Commit: Matthew Thode <prometheanfire@gentoo.org> CommitDate: 2020-06-27 20:58:06 +0000 gui-wm/sway: 1.5-rc1 bump Closes: https://bugs.gentoo.org/726114 Package-Manager: Portage-2.3.99, Repoman-2.3.23 Signed-off-by: Matthew Thode <prometheanfire@gentoo.org> gui-wm/sway/Manifest | 1 + gui-wm/sway/sway-1.5_rc1.ebuild | 117 ++++++++++++++++++++++++++++++++++++++++ gui-wm/sway/sway-9999.ebuild | 2 +- 3 files changed, 119 insertions(+), 1 deletion(-)