[Webkit-unassigned] [Bug 146740] [GTK] Build race with -DENABLE_WAYLAND_TARGET=ON

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jul 8 15:50:23 PDT 2015


https://bugs.webkit.org/show_bug.cgi?id=146740

--- Comment #2 from Michael Catanzaro <mcatanzaro at igalia.com> ---
In the generated build.ninja file, I see:

#############################################
# Order-only phony target for WebCorePlatformGTK

build cmake_order_depends_target_WebCorePlatformGTK: phony || lib/libbmalloc.a lib/libWTFGTK.a lib/libjavascriptcoregtk-4.0.so lib/libWebCoreGTK.a DerivedSources/WebCore/WebKitGtkWaylandClientProtocol.c

Which looks sane. But I also see:

# Custom command for DerivedSources/WebCore/WebKitGtkWaylandClientProtocol.c

build DerivedSources/WebCore/WebKitGtkWaylandClientProtocol.c: CUSTOM_COMMAND ../../Source/WebCore/platform/graphics/wayland/WebKitGtkWaylandClientProtocol.xml || lib/libWTFGTK.a lib/libWebCoreGTK.a lib/libbmalloc.a lib/libjavascriptcoregtk-4.0.so
  COMMAND = cd /home/mcatanzaro/WebKit/WebKitBuild/GNOME/Source/WebCore && wayland-scanner server-header < /home/mcatanzaro/WebKit/Source/WebCore/platform/graphics/wayland/WebKitGtkWaylandClientProtocol.xml > /home/mcatanzaro/WebKit/WebKitBuild/GNOME/DerivedSources/WebCore/WebKitGtkWaylandServerProtocol.h && wayland-scanner client-header < /home/mcatanzaro/WebKit/Source/WebCore/platform/graphics/wayland/WebKitGtkWaylandClientProtocol.xml > /home/mcatanzaro/WebKit/WebKitBuild/GNOME/DerivedSources/WebCore/WebKitGtkWaylandClientProtocol.h && wayland-scanner code < /home/mcatanzaro/WebKit/Source/WebCore/platform/graphics/wayland/WebKitGtkWaylandClientProtocol.xml > /home/mcatanzaro/WebKit/WebKitBuild/GNOME/DerivedSources/WebCore/WebKitGtkWaylandClientProtocol.c
  DESC = Generating ../../DerivedSources/WebCore/WebKitGtkWaylandClientProtocol.c

Which I guess means DerivedSources/WebCore/WebKitGtkWaylandClientProtocol.c somehow has a bogus dependency on lib/libWebCoreGTK.a. I confirmed this by running 'ninja -t browse libWebCoreGTK.a' in my build directory, which showed libWebCoreGTK.a depends on lib/libWebCoreGTK.a depends on DerivedSources/WebCore/WebKitGtkWaylandClientProtocol.c depends on lib/libWebCoreGTK.a. So if I am reading this right, that is a cyclic dependency; the question is, why does it exist?


DerivedSources/WebCore/WebKitGtkWaylandClientProtocol.c
target is built using rule CUSTOM_COMMAND of

../../Source/WebCore/platform/graphics/wayland/WebKitGtkWaylandClientProtocol.xml
lib/libWTFGTK.a (order-only)
lib/libWebCoreGTK.a (order-only)
lib/libbmalloc.a (order-only)
lib/libjavascriptcoregtk-4.0.so (order-only)
dependent edges build:

Source/WebCore/CMakeFiles/WebCorePlatformGTK.dir/__/__/DerivedSources/WebCore/WebKitGtkWaylandClientProtocol.c.o
cmake_order_depends_target_WebCorePlatformGTK

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150708/4b646b5f/attachment.html>


More information about the webkit-unassigned mailing list