[Webkit-unassigned] [Bug 144902] New: [GTK][CMake] Make install fails when using ninja and configure is regenerated

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon May 11 23:31:33 PDT 2015


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

            Bug ID: 144902
           Summary: [GTK][CMake] Make install fails when using ninja and
                    configure is regenerated
    Classification: Unclassified
           Product: WebKit
           Version: 528+ (Nightly build)
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Keywords: Gtk
          Severity: Normal
          Priority: P2
         Component: WebKit Gtk
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: cgarcia at igalia.com
                CC: mario at webkit.org, mcatanzaro at igalia.com,
                    mrobinson at webkit.org

[6/6] Install the project...
FAILED: cd WebKitBuild/Release && /usr/bin/cmake -P cmake_install.cmake
-- Install configuration: "Release"
-- Installing: /home/cgarcia/gnome/lib64/pkgconfig/javascriptcoregtk-3.0.pc
-- Installing: /home/cgarcia/gnome/include/webkitgtk-3.0/JavaScriptCore/JavaScript.h
-- Installing: /home/cgarcia/gnome/include/webkitgtk-3.0/JavaScriptCore/JSBase.h
-- Installing: /home/cgarcia/gnome/include/webkitgtk-3.0/JavaScriptCore/JSContextRef.h
-- Installing: /home/cgarcia/gnome/include/webkitgtk-3.0/JavaScriptCore/JSObjectRef.h
-- Installing: /home/cgarcia/gnome/include/webkitgtk-3.0/JavaScriptCore/JSStringRef.h
-- Installing: /home/cgarcia/gnome/include/webkitgtk-3.0/JavaScriptCore/JSValueRef.h
-- Installing: /home/cgarcia/gnome/include/webkitgtk-3.0/JavaScriptCore/WebKitAvailability.h
-- Installing: /home/cgarcia/gnome/share/gir-1.0/JavaScriptCore-3.0.gir
-- Installing: /home/cgarcia/gnome/lib64/girepository-1.0/JavaScriptCore-3.0.typelib
CMake Error at Source/JavaScriptCore/cmake_install.cmake:92 (FILE):
  file INSTALL cannot find
  "WebKitBuild/Release/Source/JavaScriptCore/CMakeFiles/CMakeRelink.dir/libjavascriptcoregtk-3.0.so.0.16.2".
Call Stack (most recent call first):
  Source/cmake_install.cmake:38 (INCLUDE)
  cmake_install.cmake:37 (INCLUDE)


ninja: build stopped: subcommand failed.
[reply] [-] Comment 21

I'm not even sure this is a WebKit bug, I think it's something related with the ninja generator of CMake, but I'm not sure either if it happens when not using ninja, though. What I've noticed is that it always works after a clean build, and also after incremental builds unless any of the incremental builds changes something in cmake and the configure is run again. 
The problem seems to be that the cmake_install.cmake files are re-generated differently, as if the project was built without the RPATH support and install needed to re-link binaries before copying them. But the project is built with RPATH support, and install should not relink, but just remove the RPATH from the binaries before copying them.

-- 
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/20150512/6c9a0fab/attachment-0001.html>


More information about the webkit-unassigned mailing list