Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 726114 - gui-wm/sway-1.4-r2: PFNEGLQUERYWAYLANDBUFFERWL eglQueryWaylandBufferWL;
Summary: gui-wm/sway-1.4-r2: PFNEGLQUERYWAYLANDBUFFERWL eglQueryWaylandBufferWL;
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Aaron Bauman (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-29 17:38 UTC by Vasco Gervasi
Modified: 2020-06-27 20:58 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge.info,15.07 KB, text/plain)
2020-05-29 17:38 UTC, Vasco Gervasi
Details
build.log (build.log,40.99 KB, text/x-log)
2020-05-30 07:01 UTC, Vasco Gervasi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vasco Gervasi 2020-05-29 17:38:10 UTC
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
Comment 1 Vasco Gervasi 2020-05-29 17:38:42 UTC
Created attachment 642570 [details]
emerge --info
Comment 2 Jonas Stein gentoo-dev 2020-05-29 20:55:19 UTC
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.
Comment 3 Vasco Gervasi 2020-05-30 07:01:04 UTC
Created attachment 642618 [details]
build.log
Comment 4 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2020-05-30 18:06:25 UTC
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?
Comment 5 Vasco Gervasi 2020-05-30 19:02:31 UTC
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;
Comment 6 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2020-05-30 20:19:57 UTC
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
Comment 7 Vasco Gervasi 2020-05-30 20:41:43 UTC
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
Comment 8 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2020-05-30 21:01:39 UTC
I don't think mesa-9999 is going to work, it might work with wlroots/sway 9999 though
Comment 9 Vasco Gervasi 2020-05-31 07:41:20 UTC
Downgrading mesa to 20.1.0 make wlroots and sway build without any problem.

Thanks
Comment 10 James Le Cuirot gentoo-dev 2020-06-14 21:40:06 UTC
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.
Comment 11 Christian Widmer 2020-06-27 06:36:50 UTC
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.
Comment 12 Vasco Gervasi 2020-06-27 16:48:13 UTC
(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 :).
Comment 13 Larry the Git Cow gentoo-dev 2020-06-27 20:58:11 UTC
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(-)