Bug 134102 - [EFL] WebKit isn't buildable with cmake 2.8.7 after r169785
Summary: [EFL] WebKit isn't buildable with cmake 2.8.7 after r169785
Status: RESOLVED DUPLICATE of bug 135382
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks: 125479
  Show dependency treegraph
 
Reported: 2014-06-20 03:00 PDT by Csaba Osztrogonác
Modified: 2014-07-29 22:27 PDT (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Csaba Osztrogonác 2014-06-20 03:00:48 PDT
https://trac.webkit.org/changeset/169785 bumped the EFL version
from 1.7 to 1.9 and it seems there are some magic in the new
EFL what can't be handled by Ubuntu 12.04's stock cmake.

build log:
-----------
[ 67%] In file included from /home/ossy/WebKit/Source/WebCore/platform/efl/RenderThemeEfl.h:38:0,
                 from /home/ossy/WebKit/Source/WebCore/platform/efl/ScrollbarEfl.cpp:32:
/home/ossy/WebKit/Source/WTF/wtf/efl/UniquePtrEfl.h:33:23: fatal error: Ecore_IMF.h: No such file or directory
 #include <Ecore_IMF.h>
                       ^
compilation terminated.


But the root of the problem is in cmake, because it didn't find libraries, include paths.
I got these lines related to EFL in my build log:
...
-- Found eo: /home/ossy/WebKit/WebKitBuild/Dependencies/Root/lib/libeo.so 
-- Found Eina: /home/ossy/WebKit/WebKitBuild/Dependencies/Root/include/eina-1;/home/ossy/WebKit/WebKitBuild/Dependencies/Root/include/eina-1/e
ina (found version ".")
-- Found Evas: /home/ossy/WebKit/WebKitBuild/Dependencies/Root/include/evas-1;/home/ossy/WebKit/WebKitBuild/Dependencies/Root/include/evas-1 (
found version ".")
-- Found Ecore: /home/ossy/WebKit/WebKitBuild/Dependencies/Root/include/ecore-1;/home/ossy/WebKit/WebKitBuild/Dependencies/Root/include/ecore-
1 (found version ".")
-- Found Edje: /home/ossy/WebKit/WebKitBuild/Dependencies/Root/include/edje-1;/home/ossy/WebKit/WebKitBuild/Dependencies/Root/include/edje-1 (
found version ".")
-- Found Eet: /home/ossy/WebKit/WebKitBuild/Dependencies/Root/include/eet-1 (found version ".")
-- Found Eeze: /home/ossy/WebKit/WebKitBuild/Dependencies/Root/include/eeze-1 (found version ".")
-- Found Efreet: /home/ossy/WebKit/WebKitBuild/Dependencies/Root/include/efreet-1 (found version ".")
...
-- Found eldbus: /home/ossy/WebKit/WebKitBuild/Dependencies/Root/lib/libeldbus.so 
-- Found Elementary: /home/ossy/WebKit/WebKitBuild/Dependencies/Root/include/elementary-1 
-- Found ethumb: /home/ossy/WebKit/WebKitBuild/Dependencies/Root/lib/libethumb.so 
-- Found ethumb_client: /home/ossy/WebKit/WebKitBuild/Dependencies/Root/lib/libethumb_client.so 



After updated my cmake to 2.8.11.2 (stock cmake on Ubuntu 13.10) from here 
https://launchpad.net/~kalakris/+archive/cmake, everything works fine:
-- Found eo: /home/ossy/WebKit/WebKitBuild/Dependencies/Root/lib/libeo.so  
-- Found eina: /home/ossy/WebKit/WebKitBuild/Dependencies/Root/lib/libeina.so  
-- Found evas: /home/ossy/WebKit/WebKitBuild/Dependencies/Root/lib/libevas.so  
-- Found ecore: /home/ossy/WebKit/WebKitBuild/Dependencies/Root/lib/libecore.so  
-- Found ecore_evas: /home/ossy/WebKit/WebKitBuild/Dependencies/Root/lib/libecore_evas.so  
-- Found ecore_file: /home/ossy/WebKit/WebKitBuild/Dependencies/Root/lib/libecore_file.so  
-- Found ecore_input: /home/ossy/WebKit/WebKitBuild/Dependencies/Root/lib/libecore_input.so  
-- Found ecore_imf: /home/ossy/WebKit/WebKitBuild/Dependencies/Root/lib/libecore_imf.so  
-- Found ecore_imf_evas: /home/ossy/WebKit/WebKitBuild/Dependencies/Root/lib/libecore_imf_evas.so  
-- Found ecore_x: /home/ossy/WebKit/WebKitBuild/Dependencies/Root/lib/libecore_x.so  
-- Found edje: /home/ossy/WebKit/WebKitBuild/Dependencies/Root/lib/libedje.so  
-- Found eet: /home/ossy/WebKit/WebKitBuild/Dependencies/Root/lib/libeet.so  
-- Found eeze: /home/ossy/WebKit/WebKitBuild/Dependencies/Root/lib/libeeze.so  
-- Found efreet: /home/ossy/WebKit/WebKitBuild/Dependencies/Root/lib/libefreet.so  
...
-- Found eldbus: /home/ossy/WebKit/WebKitBuild/Dependencies/Root/lib/libeldbus.so  
-- Found elementary: /home/ossy/WebKit/WebKitBuild/Dependencies/Root/lib/libelementary.so  
-- Found ethumb: /home/ossy/WebKit/WebKitBuild/Dependencies/Root/lib/libethumb.so  
-- Found ethumb_client: /home/ossy/WebKit/WebKitBuild/Dependencies/Root/lib/libethumb_client.so  
...

If EFL 1.9 really needs newer cmake and it isn't a bug in EFL's cmake system, sholdn't
we bump the minimal cmake version for build-webkit? A clear error message would be
much more better than the build fail I got.
Comment 1 Csaba Osztrogonác 2014-07-29 22:27:00 PDT

*** This bug has been marked as a duplicate of bug 135382 ***