<?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>17517</bug_id>
          
          <creation_ts>2008-02-24 07:38:16 -0800</creation_ts>
          <short_desc>build failure at WebCore/xml/libWebKitGtk_la-XSLTUnicodeSort.lo</short_desc>
          <delta_ts>2008-02-29 22:10:07 -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>WebKitGTK</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Mac (PowerPC)</rep_platform>
          <op_sys>OS X 10.5</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>17415</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Randall Wood">alexandriasoftware</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>mrowe</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>71734</commentid>
    <comment_count>0</comment_count>
    <who name="Randall Wood">alexandriasoftware</who>
    <bug_when>2008-02-24 07:38:16 -0800</bug_when>
    <thetext>I am having a build failure using ICU from MacPorts (http://macports.org). The complete log of the build attempt is at http://homepage.mac.com/rhwood/webkit/r30549/install.log (3.4 MB)

This is the command that fails:

 /usr/bin/g++-4.0 -DHAVE_CONFIG_H -I. -I./JavaScriptCore -I./JavaScriptCore/ForwardingHeaders -I./JavaScriptCore/wtf -I./JavaScriptCore/kjs -I./DerivedSources -DBUILDING_GTK__=1 -DWTF_CHANGES -DXP_UNIX -DNDEBUG -DENABLE_ICONDATABASE=0 -I./JavaScriptCore/bindings -I./WebCore -I./WebCore/ForwardingHeaders -I./WebCore/platform -I./WebCore/platform/network -I./WebCore/platform/graphics -I./WebCore/platform/text -I./WebCore/loader -I./WebCore/loader/icon -I./WebCore/css -I./WebCore/dom -I./WebCore/page -I./WebCore/bridge -I./WebCore/editing -I./WebCore/history -I./WebCore/xml -I./WebCore/html -I./WebCore/bindings/js -I./WebCore/platform/image-decoders -I./WebCore/platform/image-decoders/bmp -I./WebCore/platform/image-decoders/gif -I./WebCore/platform/image-decoders/ico -I./WebCore/platform/image-decoders/jpeg -I./WebCore/platform/image-decoders/png -I./WebCore/platform/image-decoders/xbm -I./WebCore/plugins -I./WebCore/rendering -I./WebCore/bindings/js -DWTF_USE_CURL=1 -I./WebCore/platform/network/curl -DENABLE_CROSS_DOCUMENT_MESSAGING=1 -DENABLE_DATABASE=1 -I./WebCore/platform/sql -I./WebCore/storage -DENABLE_XPATH=1 -DENABLE_XSLT=1 -I./WebKit/gtk/webkit -DBUILDING_CAIRO__=1 -DBUILD_WEBKIT -I./WebCore/platform/gtk -I./WebCore/platform/graphics/gtk -I./WebCore/platform/graphics/cairo -I./WebCore/loader/gtk -I./WebCore/page/gtk -I./WebKit/gtk -I./WebKit/gtk/WebCoreSupport -I./WebKit/gtk/webkit -I/opt/local/include -I/opt/local/include -fno-strict-aliasing -fvisibility-inlines-hidden -fno-rtti -Wall -W -Wcast-align -Wchar-subscripts -Wreturn-type -Wformat -Wformat-security -Wno-format-y2k -Wundef -Wmissing-format-attribute -Wpointer-arith -Wwrite-strings -Wno-unused-parameter -fno-exceptions -fvisibility=hidden -D_REENTRANT -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -DXTHREADS -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pango-1.0 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include/libpng12 -I/usr/X11/include -I/opt/local/include/libxml2 -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include/libxml2 -O2 -MT WebCore/xml/libWebKitGtk_la-XSLTUnicodeSort.lo -MD -MP -MF WebCore/xml/.deps/libWebKitGtk_la-XSLTUnicodeSort.Tpo -c WebCore/xml/XSLTUnicodeSort.cpp  -fno-common -DPIC -o WebCore/xml/.libs/libWebKitGtk_la-XSLTUnicodeSort.o
In file included from ./JavaScriptCore/wtf/unicode/icu/UnicodeIcu.h:28,
                 from ./JavaScriptCore/wtf/unicode/Unicode.h:31,
                 from ./JavaScriptCore/wtf/unicode/utf8.h:29,
                 from /opt/local/include/unicode/utf.h:221,
                 from /opt/local/include/unicode/utypes.h:37,
                 from /opt/local/include/unicode/ucnv_err.h:86,
                 from /opt/local/include/unicode/ucnv.h:50,
                 from WebCore/xml/XSLTUnicodeSort.cpp:38:
/opt/local/include/unicode/uchar.h:2317:6: warning: &quot;UCONFIG_NO_NORMALIZATION&quot; is not defined
In file included from ./JavaScriptCore/wtf/unicode/icu/UnicodeIcu.h:29,
                 from ./JavaScriptCore/wtf/unicode/Unicode.h:31,
                 from ./JavaScriptCore/wtf/unicode/utf8.h:29,
                 from /opt/local/include/unicode/utf.h:221,
                 from /opt/local/include/unicode/utypes.h:37,
                 from /opt/local/include/unicode/ucnv_err.h:86,
                 from /opt/local/include/unicode/ucnv.h:50,
                 from WebCore/xml/XSLTUnicodeSort.cpp:38:
/opt/local/include/unicode/ustring.h:679:6: warning: &quot;UCONFIG_NO_CONVERSION&quot; is not defined
/opt/local/include/unicode/ustring.h:1092:6: warning: &quot;UCONFIG_NO_BREAK_ITERATION&quot; is not defined
/opt/local/include/unicode/ustring.h:1169:64: warning: &quot;UCONFIG_NO_CONVERSION&quot; is not defined
/opt/local/include/unicode/uchar.h:2293: error: expected initializer before &apos;UCharEnumTypeRange&apos;
/opt/local/include/unicode/uchar.h:2315: warning: &apos;u_enumCharTypes_3_8&apos; initialized and declared &apos;extern&apos;
/opt/local/include/unicode/uchar.h:2315: error: variable or field &apos;u_enumCharTypes_3_8&apos; declared void
/opt/local/include/unicode/uchar.h:2315: error: &apos;UCharEnumTypeRange&apos; was not declared in this scope
/opt/local/include/unicode/uchar.h:2315: error: &apos;enumRange&apos; was not declared in this scope
/opt/local/include/unicode/uchar.h:2315: error: expected primary-expression before &apos;const&apos;
/opt/local/include/unicode/uchar.h:2315: error: initializer expression list treated as compound expression
/opt/local/include/unicode/uchar.h:2404: error: &apos;UErrorCode&apos; has not been declared
/opt/local/include/unicode/uchar.h:2431: error: &apos;UErrorCode&apos; has not been declared
/opt/local/include/unicode/uchar.h:2456: error: &apos;UErrorCode&apos; has not been declared
/opt/local/include/unicode/uchar.h:2475: error: expected initializer before &apos;UEnumCharNamesFn&apos;
/opt/local/include/unicode/uchar.h:2504: error: &apos;UEnumCharNamesFn&apos; has not been declared
/opt/local/include/unicode/uchar.h:2507: error: &apos;UErrorCode&apos; has not been declared
/opt/local/include/unicode/uchar.h:2970: error: &apos;UVersionInfo&apos; has not been declared
/opt/local/include/unicode/uchar.h:2984: warning: &apos;u_getUnicodeVersion_3_8&apos; initialized and declared &apos;extern&apos;
/opt/local/include/unicode/uchar.h:2984: error: variable or field &apos;u_getUnicodeVersion_3_8&apos; declared void
/opt/local/include/unicode/uchar.h:2984: error: &apos;UVersionInfo&apos; was not declared in this scope
/opt/local/include/unicode/uchar.h:3008: error: &apos;UErrorCode&apos; has not been declared
/opt/local/include/unicode/uiter.h:32: error: expected constructor, destructor, or type conversion before &apos;class&apos;
/opt/local/include/unicode/uiter.h:38: error: expected constructor, destructor, or type conversion before &apos;extern&apos;
/opt/local/include/unicode/ustring.h:490: warning: &apos;u_strCompareIter_3_8&apos; initialized and declared &apos;extern&apos;
/opt/local/include/unicode/ustring.h:490: error: &apos;UCharIterator&apos; was not declared in this scope
/opt/local/include/unicode/ustring.h:490: error: &apos;iter1&apos; was not declared in this scope
/opt/local/include/unicode/ustring.h:490: error: &apos;UCharIterator&apos; was not declared in this scope
/opt/local/include/unicode/ustring.h:490: error: &apos;iter2&apos; was not declared in this scope
/opt/local/include/unicode/ustring.h:490: error: expected primary-expression before &apos;codePointOrder&apos;
/opt/local/include/unicode/ustring.h:490: error: initializer expression list treated as compound expression
/opt/local/include/unicode/ustring.h:546: error: &apos;UErrorCode&apos; has not been declared
/opt/local/include/unicode/ustring.h:1003: error: expected `)&apos; before &apos;*&apos; token
/opt/local/include/unicode/ustring.h:1035: warning: &apos;u_unescapeAt_3_8&apos; initialized and declared &apos;extern&apos;
/opt/local/include/unicode/ustring.h:1035: error: &apos;UNESCAPE_CHAR_AT&apos; was not declared in this scope
/opt/local/include/unicode/ustring.h:1036: error: expected primary-expression before &apos;*&apos; token
/opt/local/include/unicode/ustring.h:1036: error: &apos;offset&apos; was not declared in this scope
/opt/local/include/unicode/ustring.h:1037: error: expected primary-expression before &apos;length&apos;
/opt/local/include/unicode/ustring.h:1038: error: expected primary-expression before &apos;void&apos;
/opt/local/include/unicode/ustring.h:1038: error: initializer expression list treated as compound expression
/opt/local/include/unicode/ustring.h:1064: error: &apos;UErrorCode&apos; has not been declared
/opt/local/include/unicode/ustring.h:1090: error: &apos;UErrorCode&apos; has not been declared
/opt/local/include/unicode/ustring.h:1137: error: &apos;UErrorCode&apos; has not been declared
/opt/local/include/unicode/ustring.h:1167: error: &apos;UErrorCode&apos; has not been declared
/opt/local/include/unicode/ustring.h:1195: error: &apos;UErrorCode&apos; has not been declared
/opt/local/include/unicode/ustring.h:1221: error: &apos;UErrorCode&apos; has not been declared
/opt/local/include/unicode/ustring.h:1251: error: &apos;UErrorCode&apos; has not been declared
/opt/local/include/unicode/ustring.h:1280: error: &apos;UErrorCode&apos; has not been declared
/opt/local/include/unicode/ustring.h:1323: error: &apos;UErrorCode&apos; has not been declared
/opt/local/include/unicode/ustring.h:1367: error: &apos;UErrorCode&apos; has not been declared
/opt/local/include/unicode/ustring.h:1422: error: &apos;UErrorCode&apos; has not been declared
/opt/local/include/unicode/ustring.h:1449: error: &apos;UErrorCode&apos; has not been declared
/opt/local/include/unicode/ustring.h:1476: error: &apos;UErrorCode&apos; has not been declared
./JavaScriptCore/wtf/unicode/icu/UnicodeIcu.h: In function &apos;int WTF::Unicode::foldCase(UChar*, int, const UChar*, int, bool*)&apos;:
./JavaScriptCore/wtf/unicode/icu/UnicodeIcu.h:128: error: &apos;UErrorCode&apos; was not declared in this scope
./JavaScriptCore/wtf/unicode/icu/UnicodeIcu.h:128: error: expected `;&apos; before &apos;status&apos;
./JavaScriptCore/wtf/unicode/icu/UnicodeIcu.h:129: error: &apos;status&apos; was not declared in this scope
./JavaScriptCore/wtf/unicode/icu/UnicodeIcu.h:130: error: &apos;U_SUCCESS&apos; was not declared in this scope
./JavaScriptCore/wtf/unicode/icu/UnicodeIcu.h: In function &apos;int WTF::Unicode::toLower(UChar*, int, const UChar*, int, bool*)&apos;:
./JavaScriptCore/wtf/unicode/icu/UnicodeIcu.h:136: error: &apos;UErrorCode&apos; was not declared in this scope
./JavaScriptCore/wtf/unicode/icu/UnicodeIcu.h:136: error: expected `;&apos; before &apos;status&apos;
./JavaScriptCore/wtf/unicode/icu/UnicodeIcu.h:137: error: &apos;status&apos; was not declared in this scope
./JavaScriptCore/wtf/unicode/icu/UnicodeIcu.h:138: error: &apos;U_FAILURE&apos; was not declared in this scope
./JavaScriptCore/wtf/unicode/icu/UnicodeIcu.h: In function &apos;int WTF::Unicode::toUpper(UChar*, int, const UChar*, int, bool*)&apos;:
./JavaScriptCore/wtf/unicode/icu/UnicodeIcu.h:154: error: &apos;UErrorCode&apos; was not declared in this scope
./JavaScriptCore/wtf/unicode/icu/UnicodeIcu.h:154: error: expected `;&apos; before &apos;status&apos;
./JavaScriptCore/wtf/unicode/icu/UnicodeIcu.h:155: error: &apos;status&apos; was not declared in this scope
./JavaScriptCore/wtf/unicode/icu/UnicodeIcu.h:156: error: &apos;U_FAILURE&apos; was not declared in this scope
/opt/local/include/unicode/unorm.h: At global scope:
/opt/local/include/unicode/unorm.h:395: warning: &apos;unorm_next_3_8&apos; initialized and declared &apos;extern&apos;
/opt/local/include/unicode/unorm.h:395: error: &apos;UCharIterator&apos; was not declared in this scope
/opt/local/include/unicode/unorm.h:395: error: &apos;src&apos; was not declared in this scope
/opt/local/include/unicode/unorm.h:396: error: expected primary-expression before &apos;*&apos; token
/opt/local/include/unicode/unorm.h:396: error: &apos;dest&apos; was not declared in this scope
/opt/local/include/unicode/unorm.h:396: error: expected primary-expression before &apos;destCapacity&apos;
/opt/local/include/unicode/unorm.h:397: error: expected primary-expression before &apos;mode&apos;
/opt/local/include/unicode/unorm.h:397: error: expected primary-expression before &apos;options&apos;
/opt/local/include/unicode/unorm.h:398: error: expected primary-expression before &apos;doNormalize&apos;
/opt/local/include/unicode/unorm.h:398: error: expected primary-expression before &apos;*&apos; token
/opt/local/include/unicode/unorm.h:398: error: &apos;pNeededToNormalize&apos; was not declared in this scope
/opt/local/include/unicode/unorm.h:399: error: expected primary-expression before &apos;*&apos; token
/opt/local/include/unicode/unorm.h:399: error: &apos;pErrorCode&apos; was not declared in this scope
/opt/local/include/unicode/unorm.h:399: error: initializer expression list treated as compound expression
/opt/local/include/unicode/unorm.h:428: warning: &apos;unorm_previous_3_8&apos; initialized and declared &apos;extern&apos;
/opt/local/include/unicode/unorm.h:428: error: &apos;UCharIterator&apos; was not declared in this scope
/opt/local/include/unicode/unorm.h:428: error: &apos;src&apos; was not declared in this scope
/opt/local/include/unicode/unorm.h:429: error: expected primary-expression before &apos;*&apos; token
/opt/local/include/unicode/unorm.h:429: error: &apos;dest&apos; was not declared in this scope
/opt/local/include/unicode/unorm.h:429: error: expected primary-expression before &apos;destCapacity&apos;
/opt/local/include/unicode/unorm.h:430: error: expected primary-expression before &apos;mode&apos;
/opt/local/include/unicode/unorm.h:430: error: expected primary-expression before &apos;options&apos;
/opt/local/include/unicode/unorm.h:431: error: expected primary-expression before &apos;doNormalize&apos;
/opt/local/include/unicode/unorm.h:431: error: expected primary-expression before &apos;*&apos; token
/opt/local/include/unicode/unorm.h:431: error: &apos;pNeededToNormalize&apos; was not declared in this scope
/opt/local/include/unicode/unorm.h:432: error: expected primary-expression before &apos;*&apos; token
/opt/local/include/unicode/unorm.h:432: error: &apos;pErrorCode&apos; was not declared in this scope
/opt/local/include/unicode/unorm.h:432: error: initializer expression list treated as compound expression
/opt/local/include/unicode/ucol.h:471: error: &apos;UCharIterator&apos; has not been declared
/opt/local/include/unicode/ucol.h:472: error: &apos;UCharIterator&apos; has not been declared
/opt/local/include/unicode/ucol.h:725: error: &apos;UCharIterator&apos; has not been declared
make[1]: *** [WebCore/xml/libWebKitGtk_la-XSLTUnicodeSort.lo] Error 1
make: *** [all] Error 2</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>71788</commentid>
    <comment_count>1</comment_count>
    <who name="Mark Rowe (bdash)">mrowe</who>
    <bug_when>2008-02-24 14:02:29 -0800</bug_when>
    <thetext>These errors don&apos;t make sense to me.

/opt/local/include/unicode/uchar.h:2317:6: warning: &quot;UCONFIG_NO_NORMALIZATION&quot;

ICU&apos;s unicode/uchar.h includes unicode/utypes.h, which in turn includes unicode/uconfig.h.  uconfig.h then does:

#ifndef UCONFIG_NO_NORMALIZATION
#   define UCONFIG_NO_NORMALIZATION 0

Based on this I can&apos;t see how uchar.h would later complain that UCONFIG_NO_NORMALIZATION is not defined.  Perhaps it is finding a different uconfig.h for some reason?  Can you confirm that /opt/local/include/unicode/uconfig.h has the two lines I mentioned above, and perhaps also check to see if that version of uconfig.h is in fact being used?

The Gtk port builds fine for me on Mac OS X and I believe I&apos;m also using the ICU from MacPorts.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>71858</commentid>
    <comment_count>2</comment_count>
    <who name="Randall Wood">alexandriasoftware</who>
    <bug_when>2008-02-25 03:00:05 -0800</bug_when>
    <thetext>(In reply to comment #1)
&gt; These errors don&apos;t make sense to me.
&gt; 
&gt; /opt/local/include/unicode/uchar.h:2317:6: warning: &quot;UCONFIG_NO_NORMALIZATION&quot;
&gt; 
&gt; ICU&apos;s unicode/uchar.h includes unicode/utypes.h, which in turn includes
&gt; unicode/uconfig.h.  uconfig.h then does:
&gt; 
&gt; #ifndef UCONFIG_NO_NORMALIZATION
&gt; #   define UCONFIG_NO_NORMALIZATION 0
&gt; 
&gt; Based on this I can&apos;t see how uchar.h would later complain that
&gt; UCONFIG_NO_NORMALIZATION is not defined.  Perhaps it is finding a different
&gt; uconfig.h for some reason?  Can you confirm that
&gt; /opt/local/include/unicode/uconfig.h has the two lines I mentioned above, and
&gt; perhaps also check to see if that version of uconfig.h is in fact being used?

/opt/local/include/unicode/uconfig.h definitely has those lines in it.

&gt; The Gtk port builds fine for me on Mac OS X and I believe I&apos;m also using the
&gt; ICU from MacPorts.

I&apos;m attempting to write a portfile for MacPorts for webkit-gtk. Can you tell me how you&apos;re building it (what configure arguments are you passing?) so that I can try replicating that.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>71859</commentid>
    <comment_count>3</comment_count>
    <who name="Mark Rowe (bdash)">mrowe</who>
    <bug_when>2008-02-25 03:49:53 -0800</bug_when>
    <thetext>I didn&apos;t do anything special.  Running &quot;./autogen.sh &amp;&amp; make -j4&quot; builds fine for me on Mac OS X 10.5.2 with dependencies installed via MacPorts.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>72432</commentid>
    <comment_count>4</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2008-02-29 22:10:07 -0800</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of 17415 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>