Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/index.php/Reporting_Bug_Guidelines

Do NOT report bugs when a package is just outdated, or it is in Unsupported. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#64367 - [wpebackend-fdo] fails to compile from source

Attached to Project: Arch Linux
Opened by Hussam Al-Tayeb (hussam) - Sunday, 03 November 2019, 12:27 GMT
Last edited by Jan Alexander Steffens (heftig) - Saturday, 23 November 2019, 17:47 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan Alexander Steffens (heftig)
Laurent Carlier (lordheavy)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

[ 68%] Building CXX object CMakeFiles/WPEBackend-fdo.dir/src/ws.cpp.o
/home/hussam/cache/tmp/wpebackend-fdo/trunk/src/wpebackend-fdo-1.4.0/src/ws.cpp:76:8: error: ‘PFNEGLQUERYWAYLANDBUFFERWL’ does not name a type
76 | static PFNEGLQUERYWAYLANDBUFFERWL s_eglQueryWaylandBufferWL;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/hussam/cache/tmp/wpebackend-fdo/trunk/src/wpebackend-fdo-1.4.0/src/ws.cpp: In member function ‘bool WS::Instance::initialize(EGLDisplay)’:
/home/hussam/cache/tmp/wpebackend-fdo/trunk/src/wpebackend-fdo-1.4.0/src/ws.cpp:350:9: error: ‘s_eglQueryWaylandBufferWL’ was not declared in this scope
350 | s_eglQueryWaylandBufferWL = reinterpret_cast<PFNEGLQUERYWAYLANDBUFFERWL>(eglGetProcAddress("eglQueryWaylandBufferWL"));
| ^~~~~~~~~~~~~~~~~~~~~~~~~
/home/hussam/cache/tmp/wpebackend-fdo/trunk/src/wpebackend-fdo-1.4.0/src/ws.cpp:350:54: error: ‘PFNEGLQUERYWAYLANDBUFFERWL’ does not name a type
350 | s_eglQueryWaylandBufferWL = reinterpret_cast<PFNEGLQUERYWAYLANDBUFFERWL>(eglGetProcAddress("eglQueryWaylandBufferWL"));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/hussam/cache/tmp/wpebackend-fdo/trunk/src/wpebackend-fdo-1.4.0/src/ws.cpp:353:40: error: ‘s_eglQueryWaylandBufferWL’ was not declared in this scope
353 | if (!s_eglBindWaylandDisplayWL || !s_eglQueryWaylandBufferWL)
| ^~~~~~~~~~~~~~~~~~~~~~~~~
/home/hussam/cache/tmp/wpebackend-fdo/trunk/src/wpebackend-fdo-1.4.0/src/ws.cpp: In member function ‘void WS::Instance::queryBufferSize(wl_resource*, uint32_t*, uint32_t*)’:
/home/hussam/cache/tmp/wpebackend-fdo/trunk/src/wpebackend-fdo-1.4.0/src/ws.cpp:488:9: error: ‘s_eglQueryWaylandBufferWL’ was not declared in this scope
488 | s_eglQueryWaylandBufferWL(m_eglDisplay, bufferResource, EGL_WIDTH, &w);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
/home/hussam/cache/tmp/wpebackend-fdo/trunk/src/wpebackend-fdo-1.4.0/src/ws.cpp:494:9: error: ‘s_eglQueryWaylandBufferWL’ was not declared in this scope
494 | s_eglQueryWaylandBufferWL(m_eglDisplay, bufferResource, EGL_HEIGHT, &h);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
make[2]: *** [CMakeFiles/WPEBackend-fdo.dir/build.make:192: CMakeFiles/WPEBackend-fdo.dir/src/ws.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:132: CMakeFiles/WPEBackend-fdo.dir/all] Error 2
make: *** [Makefile:130: all] Error 2
This task depends upon

Closed by  Jan Alexander Steffens (heftig)
Saturday, 23 November 2019, 17:47 GMT
Reason for closing:  Fixed
Additional comments about closing:  wpebackend-fdo 1.4.0-2
Comment by Laurent Carlier (lordheavy) - Monday, 04 November 2019, 09:28 GMT
just some missing #include <eglmesaext.h>
Comment by Laurent Carlier (lordheavy) - Monday, 04 November 2019, 09:30 GMT
BTW egl-wayland fail to build too ....
Comment by Hussam Al-Tayeb (hussam) - Monday, 04 November 2019, 09:59 GMT
I already tried adding that for PFNEGLQUERYWAYLANDBUFFERWL.
/usr/include/EGL/eglmesaext.h:57:9: error: typedef ‘EGLBoolean’ is initialized (use decltype instead)
Comment by Darek (blablo) - Friday, 08 November 2019, 23:35 GMT
mesa 'eglext.h' contains:

#include <EGL/eglmesaext.h>
#include <EGL/eglextchromium.h>

libglvnd 'eglext.h' does't contain this.

egl-wayland (wayland-eglsurface.c) missing '#include <EGL/eglmesaext.h>'
Comment by Hussam Al-Tayeb (hussam) - Thursday, 14 November 2019, 17:14 GMT
Does libglvnd need modifications for this or wpebackend-fdo?
I am surprised egl-wayland doesn't compile as it is also written by NVIDIA if I remember correctly.
Comment by Darek (blablo) - Thursday, 14 November 2019, 22:34 GMT
@hussam wpebackend-fdo needs a patch.

Loading...