<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>23086</bug_id>
          
          <creation_ts>2009-01-02 21:50:50 -0800</creation_ts>
          <short_desc>REGRESSION(r39540/r39541):  Windows build fails due to ICU errors</short_desc>
          <delta_ts>2009-01-04 21:41:41 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebKit Misc.</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows XP</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>Regression</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Brent Fulgham">bfulgham</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ap</cc>
    
    <cc>aroben</cc>
    
    <cc>darin</cc>
    
    <cc>dev+webkit</cc>
    
    <cc>mrowe</cc>
    
    <cc>sfalken</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>104215</commentid>
    <comment_count>0</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2009-01-02 21:50:50 -0800</bug_when>
    <thetext>Windows builds now fail with the following errors:

4&gt;TextIterator.cpp
4&gt;..\editing\TextIterator.cpp(1193) : error C3861: &apos;usearch_open_3_6&apos;: identifier not found
4&gt;..\editing\TextIterator.cpp(1236) : error C3861: &apos;usearch_getCollator_3_6&apos;: identifier not found
4&gt;..\editing\TextIterator.cpp(1238) : error C2065: &apos;UCollationStrength&apos; : undeclared identifier
4&gt;..\editing\TextIterator.cpp(1238) : error C2146: syntax error : missing &apos;;&apos; before identifier &apos;strength&apos;
4&gt;..\editing\TextIterator.cpp(1238) : error C2065: &apos;strength&apos; : undeclared identifier
4&gt;..\editing\TextIterator.cpp(1238) : error C2065: &apos;UCOL_TERTIARY&apos; : undeclared identifier
4&gt;..\editing\TextIterator.cpp(1238) : error C2065: &apos;UCOL_PRIMARY&apos; : undeclared identifier
4&gt;..\editing\TextIterator.cpp(1239) : error C3861: &apos;ucol_getStrength_3_6&apos;: identifier not found
4&gt;..\editing\TextIterator.cpp(1240) : error C3861: &apos;ucol_setStrength_3_6&apos;: identifier not found
4&gt;..\editing\TextIterator.cpp(1241) : error C3861: &apos;usearch_reset_3_6&apos;: identifier not found
4&gt;..\editing\TextIterator.cpp(1245) : error C3861: &apos;usearch_setPattern_3_6&apos;: identifier not found
4&gt;..\editing\TextIterator.cpp(1291) : error C3861: &apos;usearch_setText_3_6&apos;: identifier not found
4&gt;..\editing\TextIterator.cpp(1294) : error C3861: &apos;usearch_first_3_6&apos;: identifier not found
4&gt;..\editing\TextIterator.cpp(1297) : error C2065: &apos;USEARCH_DONE&apos; : undeclared identifier
4&gt;..\editing\TextIterator.cpp(1315) : error C3861: &apos;usearch_getMatchedLength_3_6&apos;: identifier not found

The link libraries provided in the &apos;update-webkit&apos; download do not seem to export these symbols.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>104216</commentid>
    <comment_count>1</comment_count>
    <who name="Mark Rowe (bdash)">mrowe</who>
    <bug_when>2009-01-02 22:30:23 -0800</bug_when>
    <thetext>I think the problem here is that WebKitAuxiliaryLibrary.zip contains out of date headers and link libraries for ICU.  The headers have UCONFIG_NO_COLLATION defaulting to 1, which I believe matches the version of ICU that shipped with Safari 3.0.  The version of ICU that shipped with Safari 3.2 (and perhaps even Safari 3.1) has UCONFIG_NO_COLLATION defaulting to 0 (that is, it has collation support).  We just need to get the appropriate versions of the ICU headers and link libraries into WebKitAuxiliaryLibrary.zip.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>104217</commentid>
    <comment_count>2</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2009-01-02 22:45:13 -0800</bug_when>
    <thetext>(In reply to comment #1)
&gt; I think the problem here is that WebKitAuxiliaryLibrary.zip contains out of
&gt; date headers and link libraries for ICU. 

I can confirm that changing the setting of UCONFIG_NO_COLLATION to 0 does allow TextIterator.cpp to compile without errors or warnings.

Of course, the overall link still fails due to missing symbols.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>104254</commentid>
    <comment_count>3</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2009-01-03 16:48:54 -0800</bug_when>
    <thetext>WORKAROUND: For any Windows users, until Apple corrects the libraries distributed with update-webkit, you can grab the two Windows link libraries you will need from here:

http://idisk.mac.com/bfulgham-Public/icu_36_libs.zip.

1. Please the two files (icuuc.lib, icuin.lib) in %WEBKITLIBRARIES%/win/lib.
2. Please note that you will also need to change the header file &quot;include/unicode/uconfig.h&quot;:

change the line:
#define UCONFIG_NO_COLLATION 1

to:
#define UCONFIG_NO_COLLATION 0</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>104397</commentid>
    <comment_count>4</comment_count>
    <who name="Darin Adler">darin</who>
    <bug_when>2009-01-04 21:41:41 -0800</bug_when>
    <thetext>http://trac.webkit.org/changeset/39594

Since this is a build fix I checked it in without waiting for review. Please let me know if this doesn&apos;t work.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>