Bug 134547

Summary: update-webkitgtk-libs script fails by unsatisfied dependencies
Product: WebKit Reporter: oandarilho01
Component: Tools / TestsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: berto, cgarcia, commit-queue, mrobinson
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: Windows 7   
Attachments:
Description Flags
Complete Mesa configuration/compilation output
none
Patch none

Description oandarilho01 2014-07-02 08:02:20 PDT
Created attachment 234263 [details]
Complete Mesa configuration/compilation output

Webkit GTK is not compiling. Following the instructions in http://trac.webkit.org/wiki/BuildingGtk (after fulfill the procedure indicated in http://www.webkit.org/building/tools.html and http://www.webkit.org/building/checkout.html) the second pass:

2.    Download and build all jhbuild modules:

    $ Tools/Scripts/update-webkitgtk-libs


Fails when compiling Mesa (item 28 of 29):

(...)
checking for PTHREAD_PRIO_INHERIT... no
configure: Shared GLAPI should not used with Xlib-GLX, disabling
checking for LIBDRM... no
checking for LIBUDEV... no
checking for XLIBGL... yes
checking for mincore... no
checking for XCB_DRI2... no
configure: error: Package requirements (x11-xcb xcb-dri2 >= 1.8 xcb-xfixes) were not met:

No package 'xcb-dri2' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
(...)

I've attached the complete Mesa configuration/compilation output. Let me know whether the full update-webkitgtk-libs output is necessary.
Comment 1 Martin Robinson 2014-07-06 19:19:57 PDT
(In reply to comment #0)

> checking for PTHREAD_PRIO_INHERIT... no
> configure: Shared GLAPI should not used with Xlib-GLX, disabling
> checking for LIBDRM... no
> checking for LIBUDEV... no
> checking for XLIBGL... yes
> checking for mincore... no
> checking for XCB_DRI2... no
> configure: error: Package requirements (x11-xcb xcb-dri2 >= 1.8 xcb-xfixes) were not met:


We need to ensure that we are only compiling the software rasterizer, if we aren't already.
Comment 2 Alberto Garcia 2014-07-07 04:39:48 PDT
(In reply to comment #1)
> We need to ensure that we are only compiling the software rasterizer, if we aren't already.

Yeah, we are using:

--enable-xlib-glx --disable-dri --with-gallium-drivers=swrast --enable-introspection
Comment 3 Alberto Garcia 2014-07-07 04:43:08 PDT
Created attachment 234487 [details]
Patch
Comment 4 WebKit Commit Bot 2014-07-07 11:19:23 PDT
Comment on attachment 234487 [details]
Patch

Clearing flags on attachment: 234487

Committed r170848: <http://trac.webkit.org/changeset/170848>
Comment 5 WebKit Commit Bot 2014-07-07 11:19:26 PDT
All reviewed patches have been landed.  Closing bug.