Bug 184388

Summary: [WPE] xkbcommon: ERROR: failed to add default include path /home/mcatanzaro/Projects/WebKit/WebKitBuild/DependenciesWPE/Root/share/X11/xkb
Product: WebKit Reporter: Michael Catanzaro <mcatanzaro>
Component: WPE WebKitAssignee: Michael Catanzaro <mcatanzaro>
Status: RESOLVED FIXED    
Severity: Normal CC: aperez, bugs-noreply, clopez, commit-queue, ews-watchlist, mcatanzaro
Priority: P2    
Version: WebKit Nightly Build   
Hardware: PC   
OS: Linux   
Bug Depends on:    
Bug Blocks: 178894    
Attachments:
Description Flags
Patch
none
Patch none

Michael Catanzaro
Reported 2018-04-07 12:53:37 PDT
I'm trying to run dinghy in WPE's JHBuild environment, but WPEBackend-mesa is crashing on startup in libxkbcommon: xkbcommon: ERROR: failed to add default include path /home/mcatanzaro/Projects/WebKit/WebKitBuild/DependenciesWPE/Root/share/X11/xkb Problem is all the data files are missing. We need to either (a) add them to the jhbuild, or (b) remove xkbcommon. I kinda think (b) makes more sense, because nothing else in the jhbuild depends on it, and we can surely add it to install-dependencies instead. Right? But here's a patch for (a) anyway.
Attachments
Patch (1.90 KB, patch)
2018-04-07 12:56 PDT, Michael Catanzaro
no flags
Patch (3.53 KB, patch)
2018-04-12 16:25 PDT, Michael Catanzaro
no flags
Michael Catanzaro
Comment 1 2018-04-07 12:56:38 PDT
Michael Catanzaro
Comment 2 2018-04-12 16:05:11 PDT
Since nobody said anything, let's remove xkbcommon.
Michael Catanzaro
Comment 3 2018-04-12 16:25:10 PDT
Carlos Alberto Lopez Perez
Comment 4 2018-04-12 17:27:36 PDT
dyz seems to depend on this. dyz (master) $ git log -1 --oneline 74a368c Add wpebackend.lua to LUA_SRCS list. dyz (master) $ git grep -i xkbc src/Makefile:WLGLUE_CFLAGS := $(shell pkg-config egl glib-2.0 wayland-client wayland-egl glesv2 wpe xkbcommon --cflags) src/Makefile:WLGLUE_LDLIBS := $(shell pkg-config egl glib-2.0 wayland-client wayland-egl glesv2 wpe xkbcommon --libs) src/wlglue.cpp:#include <xkbcommon/xkbcommon.h> src/wlglue.cpp:#include <xkbcommon/xkbcommon-compose.h>
Michael Catanzaro
Comment 5 2018-04-13 08:53:53 PDT
That's why I added it to install-dependencies. I did test to verify that I can run dyz if and only if libxkbcommon is removed from the jhbuild environment. Adding xkeyboard-config also works, but there seems to be no reason to keep libxkbcommon there, so....
Carlos Alberto Lopez Perez
Comment 6 2018-04-13 09:00:56 PDT
Comment on attachment 337847 [details] Patch ok, let's try
WebKit Commit Bot
Comment 7 2018-04-13 09:29:13 PDT
Comment on attachment 337847 [details] Patch Clearing flags on attachment: 337847 Committed r230634: <https://trac.webkit.org/changeset/230634>
WebKit Commit Bot
Comment 8 2018-04-13 09:29:15 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.