Bug 115225 - [EFL] Build break using jhbuild on ubuntu 13.04
Summary: [EFL] Build break using jhbuild on ubuntu 13.04
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit EFL (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Ryuan Choi
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-25 22:55 PDT by Ryuan Choi
Modified: 2013-06-18 18:59 PDT (History)
9 users (show)

See Also:


Attachments
Patch (1.59 KB, patch)
2013-04-25 23:01 PDT, Ryuan Choi
no flags Details | Formatted Diff | Diff
Rebased for green bot (1.58 KB, patch)
2013-04-26 00:37 PDT, Ryuan Choi
no flags Details | Formatted Diff | Diff
rebased (1.62 KB, patch)
2013-04-26 16:25 PDT, Ryuan Choi
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ryuan Choi 2013-04-25 22:55:35 PDT
In ubuntu 13.04, libxml is upgraded to 2.9.0 but jhbuild/efl depends on 2.8.0
So xslt on ubuntu 13.04 complains like below

/usr/lib/x86_64-linux-gnu/libxslt.so.1: undefined reference to `xmlBufContent@LIBXML2_2.9.0'
/usr/lib/x86_64-linux-gnu/libxslt.so.1: undefined reference to `xmlBufUse@LIBXML2_2.9.0'
Comment 1 Ryuan Choi 2013-04-25 23:01:05 PDT
Created attachment 199787 [details]
Patch
Comment 2 Chris Dumez 2013-04-25 23:03:02 PDT
Comment on attachment 199787 [details]
Patch

LGTM.
Comment 3 Gyuyoung Kim 2013-04-25 23:09:32 PDT
Comment on attachment 199787 [details]
Patch

Great !! Is there no problem on older distribution ? If there is no problem after this patch, I will upgrade buildbot and ews maintained by me to 13.04.
Comment 4 EFL EWS Bot 2013-04-25 23:36:51 PDT
Comment on attachment 199787 [details]
Patch

Attachment 199787 [details] did not pass efl-wk2-ews (efl-wk2):
Output: http://webkit-queues.appspot.com/results/171363
Comment 5 Ryuan Choi 2013-04-26 00:37:34 PDT
Created attachment 199792 [details]
Rebased for green bot
Comment 6 EFL EWS Bot 2013-04-26 00:57:59 PDT
Comment on attachment 199792 [details]
Rebased for green bot

Attachment 199792 [details] did not pass efl-wk2-ews (efl-wk2):
Output: http://webkit-queues.appspot.com/results/133388
Comment 7 Gyuyoung Kim 2013-04-26 08:43:44 PDT
Ryuan, could you please upload again ? Problem is fixed on efl-wk2 ews.
Comment 8 Ryuan Choi 2013-04-26 16:25:31 PDT
Created attachment 199871 [details]
rebased
Comment 9 WebKit Commit Bot 2013-04-26 21:40:08 PDT
Comment on attachment 199871 [details]
rebased

Clearing flags on attachment: 199871

Committed r149231: <http://trac.webkit.org/changeset/149231>
Comment 10 WebKit Commit Bot 2013-04-26 21:40:12 PDT
All reviewed patches have been landed.  Closing bug.
Comment 11 Chris Dumez 2013-05-20 11:10:51 PDT
I still cannot build on Ubuntu 13.04:
Linking C executable ../../bin/EWebLauncher
[ 83%] Built target ewkTestUtils
Scanning dependencies of target test_ewk_view
Scanning dependencies of target test_ewk_contextmenu
[ 83%] [ 83%] [ 83%] Scanning dependencies of target test_ewk_setting
Building CXX object Source/WebKit/CMakeFiles/test_ewk_view.dir/efl/tests/test_runner.cpp.o
Building CXX object Source/WebKit/CMakeFiles/test_ewk_view.dir/efl/tests/test_ewk_view.cpp.o
Scanning dependencies of target test_ewk_frame
Building CXX object Source/WebKit/CMakeFiles/test_ewk_contextmenu.dir/efl/tests/test_ewk_contextmenu.cpp.o
[ 83%] [ 83%] Building CXX object Source/WebKit/CMakeFiles/test_ewk_frame.dir/efl/tests/test_ewk_frame.cpp.o
Building CXX object Source/WebKit/CMakeFiles/test_ewk_setting.dir/efl/tests/test_ewk_setting.cpp.o
[ 83%] Built target DumpRenderTree
[ 83%] Building CXX object Source/WebKit/CMakeFiles/test_ewk_frame.dir/efl/tests/test_runner.cpp.o
/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/libxslt.so: error: undefined reference to 'fmod'
/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/libxslt.so: error: undefined reference to 'floor'
/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/libxslt.so: error: undefined reference to 'pow'
collect2: error: ld returned 1 exit status
make[2]: *** [bin/EWebLauncher] Error 1
make[1]: *** [Tools/EWebLauncher/CMakeFiles/EWebLauncher.dir/all] Error 2
Comment 12 Halton Huo 2013-06-17 22:40:37 PDT
Same link error as comment #11
Comment 13 Gyuyoung Kim 2013-06-17 22:59:01 PDT
(In reply to comment #12)
> Same link error as comment #11

Did you try to build after git clean -dfx ?
Comment 14 Chris Dumez 2013-06-17 23:08:35 PDT
(In reply to comment #11)
> I still cannot build on Ubuntu 13.04:
> Linking C executable ../../bin/EWebLauncher
> [ 83%] Built target ewkTestUtils
> Scanning dependencies of target test_ewk_view
> Scanning dependencies of target test_ewk_contextmenu
> [ 83%] [ 83%] [ 83%] Scanning dependencies of target test_ewk_setting
> Building CXX object Source/WebKit/CMakeFiles/test_ewk_view.dir/efl/tests/test_runner.cpp.o
> Building CXX object Source/WebKit/CMakeFiles/test_ewk_view.dir/efl/tests/test_ewk_view.cpp.o
> Scanning dependencies of target test_ewk_frame
> Building CXX object Source/WebKit/CMakeFiles/test_ewk_contextmenu.dir/efl/tests/test_ewk_contextmenu.cpp.o
> [ 83%] [ 83%] Building CXX object Source/WebKit/CMakeFiles/test_ewk_frame.dir/efl/tests/test_ewk_frame.cpp.o
> Building CXX object Source/WebKit/CMakeFiles/test_ewk_setting.dir/efl/tests/test_ewk_setting.cpp.o
> [ 83%] Built target DumpRenderTree
> [ 83%] Building CXX object Source/WebKit/CMakeFiles/test_ewk_frame.dir/efl/tests/test_runner.cpp.o
> /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/libxslt.so: error: undefined reference to 'fmod'
> /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/libxslt.so: error: undefined reference to 'floor'
> /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/libxslt.so: error: undefined reference to 'pow'
> collect2: error: ld returned 1 exit status
> make[2]: *** [bin/EWebLauncher] Error 1
> make[1]: *** [Tools/EWebLauncher/CMakeFiles/EWebLauncher.dir/all] Error 2

BTW, the issue went away on my machine but I dont remember how :(
Comment 15 Gyuyoung Kim 2013-06-17 23:12:10 PDT
(In reply to comment #14)
Source/WebKit/CMakeFiles/test_ewk_frame.dir/efl/tests/test_runner.cpp.o
> > /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/libxslt.so: error: undefined reference to 'fmod'
> > /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/libxslt.so: error: undefined reference to 'floor'
> > /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/libxslt.so: error: undefined reference to 'pow'
> > collect2: error: ld returned 1 exit status
> > make[2]: *** [bin/EWebLauncher] Error 1
> > make[1]: *** [Tools/EWebLauncher/CMakeFiles/EWebLauncher.dir/all] Error 2
> 
> BTW, the issue went away on my machine but I dont remember how :(

This issue was fixed by this patch. So, if you build from scratch, this issue should go away.
Comment 16 Kangil Han 2013-06-17 23:37:26 PDT
FWIW, scratch build worked on me. :)
Comment 17 Ryuan Choi 2013-06-17 23:56:59 PDT
(In reply to comment #14)
> (In reply to comment #11)
> > I still cannot build on Ubuntu 13.04:
> > Linking C executable ../../bin/EWebLauncher
> > [ 83%] Built target ewkTestUtils
> > Scanning dependencies of target test_ewk_view
> > Scanning dependencies of target test_ewk_contextmenu
> > [ 83%] [ 83%] [ 83%] Scanning dependencies of target test_ewk_setting
> > Building CXX object Source/WebKit/CMakeFiles/test_ewk_view.dir/efl/tests/test_runner.cpp.o
> > Building CXX object Source/WebKit/CMakeFiles/test_ewk_view.dir/efl/tests/test_ewk_view.cpp.o
> > Scanning dependencies of target test_ewk_frame
> > Building CXX object Source/WebKit/CMakeFiles/test_ewk_contextmenu.dir/efl/tests/test_ewk_contextmenu.cpp.o
> > [ 83%] [ 83%] Building CXX object Source/WebKit/CMakeFiles/test_ewk_frame.dir/efl/tests/test_ewk_frame.cpp.o
> > Building CXX object Source/WebKit/CMakeFiles/test_ewk_setting.dir/efl/tests/test_ewk_setting.cpp.o
> > [ 83%] Built target DumpRenderTree
> > [ 83%] Building CXX object Source/WebKit/CMakeFiles/test_ewk_frame.dir/efl/tests/test_runner.cpp.o
> > /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/libxslt.so: error: undefined reference to 'fmod'
> > /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/libxslt.so: error: undefined reference to 'floor'
> > /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/libxslt.so: error: undefined reference to 'pow'
> > collect2: error: ld returned 1 exit status
> > make[2]: *** [bin/EWebLauncher] Error 1
> > make[1]: *** [Tools/EWebLauncher/CMakeFiles/EWebLauncher.dir/all] Error 2
> 
> BTW, the issue went away on my machine but I dont remember how :(

Didn't you land r150376 for it ? :)
Comment 18 Chris Dumez 2013-06-18 00:08:44 PDT
(In reply to comment #17)
> (In reply to comment #14)
> > (In reply to comment #11)
> > > I still cannot build on Ubuntu 13.04:
> > > Linking C executable ../../bin/EWebLauncher
> > > [ 83%] Built target ewkTestUtils
> > > Scanning dependencies of target test_ewk_view
> > > Scanning dependencies of target test_ewk_contextmenu
> > > [ 83%] [ 83%] [ 83%] Scanning dependencies of target test_ewk_setting
> > > Building CXX object Source/WebKit/CMakeFiles/test_ewk_view.dir/efl/tests/test_runner.cpp.o
> > > Building CXX object Source/WebKit/CMakeFiles/test_ewk_view.dir/efl/tests/test_ewk_view.cpp.o
> > > Scanning dependencies of target test_ewk_frame
> > > Building CXX object Source/WebKit/CMakeFiles/test_ewk_contextmenu.dir/efl/tests/test_ewk_contextmenu.cpp.o
> > > [ 83%] [ 83%] Building CXX object Source/WebKit/CMakeFiles/test_ewk_frame.dir/efl/tests/test_ewk_frame.cpp.o
> > > Building CXX object Source/WebKit/CMakeFiles/test_ewk_setting.dir/efl/tests/test_ewk_setting.cpp.o
> > > [ 83%] Built target DumpRenderTree
> > > [ 83%] Building CXX object Source/WebKit/CMakeFiles/test_ewk_frame.dir/efl/tests/test_runner.cpp.o
> > > /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/libxslt.so: error: undefined reference to 'fmod'
> > > /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/libxslt.so: error: undefined reference to 'floor'
> > > /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/libxslt.so: error: undefined reference to 'pow'
> > > collect2: error: ld returned 1 exit status
> > > make[2]: *** [bin/EWebLauncher] Error 1
> > > make[1]: *** [Tools/EWebLauncher/CMakeFiles/EWebLauncher.dir/all] Error 2
> > 
> > BTW, the issue went away on my machine but I dont remember how :(
> 
> Didn't you land r150376 for it ? :)

Gosh, you have a better memory than me :P
Right, this was my quick fix for it.
Comment 19 Halton Huo 2013-06-18 18:59:25 PDT
(In reply to comment #17)
> Didn't you land r150376 for it ? :)

cherry-pick r150376 do fix my linking issue. 

I'm stay on a old webkit but on 13.04, by picking up r138422, r149238 and r150376 do fixing my issues.