Bug 3259

Summary: Unable to build webkit (on arm).
Product: buildroot Reporter: noel.vellemans <noel.vellemans>
Component: OtherAssignee: Gustavo Zacarias <gustavo>
Status: RESOLVED FIXED    
Severity: blocker CC: buildroot
Priority: P5    
Version: unspecified   
Target Milestone: ---   
Hardware: Other   
OS: Linux   
Host: Target:
Build:
Attachments: Webkit - Error snippet.
Fixup icu-config

Description noel.vellemans@visionbms.com 2011-02-17 10:08:11 UTC
Created attachment 2971 [details]
Webkit - Error snippet.

version Git-buildroot (17/02/2011)

Webkit fails to build (for arm). 

undefined reference(s) to :

`u_charType_44' `u_strToUpper_44' `ucol_close_44' `ucol_getLocaleByType_44' `ucol_getAttribute_44' `ucol_open_44' `ucol_open_44'
`ucol_setAttribute_44'... etc...

I guess has something to do with icu.

Regards Noel
Comment 1 Bartłomiej Palmowski 2011-02-23 13:55:28 UTC
I confirm webkit fails for i586 also,

./.libs/libJavaScriptCore.a(libJavaScriptCore_la-Lexer.o): In function `JSC::isNonASCIIIdentStart(int)':
Lexer.cpp:(.text+0x15): undefined reference to `u_charType_44'

trying to build webkit 1.2.6 and 1.2.7
Comment 2 Bartłomiej Palmowski 2011-02-24 10:58:02 UTC
Quick workaround is passing --with-unicode-backend=glib to webkits configure.
Comment 3 Bartłomiej Palmowski 2011-02-24 10:59:22 UTC
and here is some more info on that option: https://bugs.webkit.org/show_bug.cgi?id=34247
Comment 4 Gustavo Zacarias 2011-02-24 13:09:26 UTC
Created attachment 3019 [details]
Fixup icu-config

After trying a build on a system that completely lacks icu i've found the issue.
icu-config checks for the library presence in exec_prefix, thus if the real system lacks it (checks at /usr/lib, default) it fails.
So we need to tweak exec_prefix too in icu-config to point to the staging dir.

Give this patch a try, works on my ubuntu netbook (which took it's sweet time to build).
Comment 5 noel.vellemans@visionbms.com 2011-02-24 15:25:45 UTC
CONFIRMATION: working !
Comment 6 Peter Korsgaard 2011-02-24 19:56:11 UTC
Committed, thanks