Bug 149063 - [GTK] [Stable] Build failure at GLContextEGL.cpp on 2.8.5
Summary: [GTK] [Stable] Build failure at GLContextEGL.cpp on 2.8.5
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: Other
Hardware: Other Linux
: P2 Normal
Assignee: Carlos Alberto Lopez Perez
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-11 05:55 PDT by Carlos Alberto Lopez Perez
Modified: 2019-07-11 06:11 PDT (History)
4 users (show)

See Also:


Attachments
Patch (1.35 KB, patch)
2015-09-11 06:02 PDT, Carlos Alberto Lopez Perez
mario: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Carlos Alberto Lopez Perez 2015-09-11 05:55:36 PDT
While trying to build WebKitGTK+ 2.8.5 with Yocto/OpenEmbedded (With GLESv2) I get this error:

/home/clopez/cea/yocto/buildporter/tmp/work/cortexa15hf-vfp-neon-poky-linux-gnueabi/webkit2-gtk/2.8.5-r0/webkitgtk-2.8.5/Source/WebCore/platform/graphics/egl/GLContextEGL.cpp:194:91: error: 'DefaultRootWindow' was not declared in this scope
/home/clopez/cea/yocto/buildporter/tmp/work/cortexa15hf-vfp-neon-poky-linux-gnueabi/webkit2-gtk/2.8.5-r0/webkitgtk-2.8.5/Source/WebCore/platform/graphics/egl/GLContextEGL.cpp:194:105: error: 'XCreatePixmap' was not declared in this scope
/home/clopez/cea/yocto/buildporter/tmp/work/cortexa15hf-vfp-neon-poky-linux-gnueabi/webkit2-gtk/2.8.5-r0/webkitgtk-2.8.5/Source/WebCore/platform/graphics/egl/GLContextEGL.cpp:202:47: error: 'XFreePixmap' was not declared in this scope
/home/clopez/cea/yocto/buildporter/tmp/work/cortexa15hf-vfp-neon-poky-linux-gnueabi/webkit2-gtk/2.8.5-r0/webkitgtk-2.8.5/Source/WebCore/platform/graphics/egl/GLContextEGL.cpp:276:49: error: 'XFreePixmap' was not declared in this scope
make[2]: *** [Source/WebCore/CMakeFiles/WebCorePlatformGTK.dir/platform/graphics/egl/GLContextEGL.cpp.o] Error 1
make[1]: *** [Source/WebCore/CMakeFiles/WebCorePlatformGTK.dir/all] Error 2
Comment 1 Carlos Alberto Lopez Perez 2015-09-11 06:02:31 PDT
Created attachment 261004 [details]
Patch

Patch for stable (2.8.5).
Comment 2 WebKit Commit Bot 2015-09-11 06:04:55 PDT
Attachment 261004 [details] did not pass style-queue:


ERROR: Source/WebCore/platform/graphics/egl/GLContextEGL.cpp:44:  "X11/Xlib.h" already included at Source/WebCore/platform/graphics/egl/GLContextEGL.cpp:40  [build/include] [4]
Total errors found: 1 in 2 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 3 Carlos Alberto Lopez Perez 2015-09-11 06:09:03 PDT
(In reply to comment #2)
> Attachment 261004 [details] did not pass style-queue:
> 
> 
> ERROR: Source/WebCore/platform/graphics/egl/GLContextEGL.cpp:44: 
> "X11/Xlib.h" already included at
> Source/WebCore/platform/graphics/egl/GLContextEGL.cpp:40  [build/include] [4]
> Total errors found: 1 in 2 files
> 
> 
> If any of these errors are false positives, please file a bug against
> check-webkit-style.

This is checking against trunk, which already includes this change.
The patch is for the stable branch.
Ignore this warning.