<?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>37763</bug_id>
          
          <creation_ts>2010-04-17 21:19:50 -0700</creation_ts>
          <short_desc>Compile Error in MathML-enabled build (r57788)</short_desc>
          <delta_ts>2010-04-21 20:47:43 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebCore Misc.</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.6</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>37765</dependson>
          <blocked>3251</blocked>
          <everconfirmed>0</everconfirmed>
          <reporter name="Jacques Distler">distler</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>alex</cc>
    
    <cc>commit-queue</cc>
    
    <cc>eric</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>213708</commentid>
    <comment_count>0</comment_count>
    <who name="Jacques Distler">distler</who>
    <bug_when>2010-04-17 21:19:50 -0700</bug_when>
    <thetext>Building the latest WebKit with the &apos;--mathml&apos; flag yields a compilation error. The file that fails to compile is &apos;RenderMathMLOperator.cpp&apos;:


src/WebKit/WebCore/mathml/RenderMathMLOperator.cpp: In member function &apos;virtual void WebCore::RenderMathMLOperator::updateFromElement()&apos;:
src/WebKit/WebCore/mathml/RenderMathMLOperator.cpp:196: error: no matching function for call to &apos;WebCore::StringImpl::create(WebCore::String)&apos;
src/WebKit/WebCore/platform/text/StringImpl.h:135: note: candidates are: static WTF::PassRefPtr&lt;WebCore::StringImpl&gt; WebCore::StringImpl::create(const UChar*, unsigned int)
src/WebKit/WebCore/platform/text/StringImpl.h:136: note:                 static WTF::PassRefPtr&lt;WebCore::StringImpl&gt; WebCore::StringImpl::create(const char*, unsigned int)
src/WebKit/WebCore/platform/text/StringImpl.h:137: note:                 static WTF::PassRefPtr&lt;WebCore::StringImpl&gt; WebCore::StringImpl::create(const char*)
src/WebKit/WebCore/platform/text/StringImpl.h:138: note:                 static WTF::PassRefPtr&lt;WebCore::StringImpl&gt; WebCore::StringImpl::create(const UChar*, unsigned int, WTF::PassRefPtr&lt;WTF::CrossThreadRefCounted&lt;WTF::OwnFastMallocPtr&lt;const short unsigned int&gt; &gt; &gt;)
PhaseScriptExecution &quot;Check For Inappropriate Files In Framework&quot; /Users/distler/src/WebkitBuild/WebCore.build/Release/WebCore.build/Script-5DF50887116F3077005202AB.sh</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>213711</commentid>
    <comment_count>1</comment_count>
    <who name="Jacques Distler">distler</who>
    <bug_when>2010-04-17 21:37:08 -0700</bug_when>
    <thetext>Related, presumably, to changes in Revision 57748.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>213759</commentid>
    <comment_count>2</comment_count>
      <attachid>53629</attachid>
    <who name="François Sausset">sausset</who>
    <bug_when>2010-04-18 08:09:30 -0700</bug_when>
    <thetext>Created attachment 53629
Proposed patch

Fix to match the &quot;StringImpl&quot; changes.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>214070</commentid>
    <comment_count>3</comment_count>
      <attachid>53629</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2010-04-19 09:59:00 -0700</bug_when>
    <thetext>Comment on attachment 53629
Proposed patch

Rejecting patch 53629 from commit-queue.

Unexpected failure when landing patch!  Please file a bug against webkit-patch.
Failed to run &quot;[&apos;WebKitTools/Scripts/webkit-patch&apos;, &apos;--status-host=webkit-commit-queue.appspot.com&apos;, &apos;land-attachment&apos;, &apos;--force-clean&apos;, &apos;--build&apos;, &apos;--test&apos;, &apos;--non-interactive&apos;, &apos;--ignore-builders&apos;, &apos;--build-style=both&apos;, &apos;--quiet&apos;, &apos;53629&apos;, &apos;--parent-command=commit-queue&apos;, &apos;--no-update&apos;]&quot; exit_code: 1
Last 500 characters of output:
&apos;, &apos;commit&apos;, &apos;--all&apos;, &apos;-F&apos;, &apos;-&apos;], input=message)
  File &quot;/Users/eseidel/Projects/CommitQueue/WebKitTools/Scripts/webkitpy/common/system/executive.py&quot;, line 85, in run_command
    return Executive().run_command(*args, **kwargs)
  File &quot;/Users/eseidel/Projects/CommitQueue/WebKitTools/Scripts/webkitpy/common/system/executive.py&quot;, line 186, in run_command
    string_to_communicate = str(input)
UnicodeEncodeError: &apos;ascii&apos; codec can&apos;t encode character u&apos;\xe7&apos; in position 16: ordinal not in range(128)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>214167</commentid>
    <comment_count>4</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2010-04-19 12:26:13 -0700</bug_when>
    <thetext>Sorry, you were bitten by bug 37765.  Hopefully I&apos;ll land that today and we&apos;ll re-queue this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>214896</commentid>
    <comment_count>5</comment_count>
      <attachid>53629</attachid>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2010-04-20 12:58:01 -0700</bug_when>
    <thetext>Comment on attachment 53629
Proposed patch

Sorry again for the trouble.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>215229</commentid>
    <comment_count>6</comment_count>
      <attachid>53629</attachid>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2010-04-21 03:49:08 -0700</bug_when>
    <thetext>Comment on attachment 53629
Proposed patch

The fix for bug 37765 was rolled out.  So this will fail to land.  Hopefully I&apos;ll reland the fix tomorrow at which point I&apos;ll cq+ this again.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>215530</commentid>
    <comment_count>7</comment_count>
      <attachid>53629</attachid>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2010-04-21 15:12:45 -0700</bug_when>
    <thetext>Comment on attachment 53629
Proposed patch

Fixed again.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>215674</commentid>
    <comment_count>8</comment_count>
      <attachid>53629</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2010-04-21 20:47:38 -0700</bug_when>
    <thetext>Comment on attachment 53629
Proposed patch

Clearing flags on attachment: 53629

Committed r58049: &lt;http://trac.webkit.org/changeset/58049&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>215675</commentid>
    <comment_count>9</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2010-04-21 20:47:43 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>53629</attachid>
            <date>2010-04-18 08:09:30 -0700</date>
            <delta_ts>2010-04-21 20:47:38 -0700</delta_ts>
            <desc>Proposed patch</desc>
            <filename>MathML_mo.patch</filename>
            <type>text/plain</type>
            <size>1484</size>
            <attacher name="François Sausset">sausset</attacher>
            
              <data encoding="base64">SW5kZXg6IFdlYkNvcmUvQ2hhbmdlTG9nCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIFdlYkNvcmUvQ2hhbmdlTG9n
CShyZXZpc2lvbiA1Nzc5NCkKKysrIFdlYkNvcmUvQ2hhbmdlTG9nCSh3b3JraW5nIGNvcHkpCkBA
IC0xLDMgKzEsMTMgQEAKKzIwMTAtMDQtMTggIEZyYW7Dp29pcyBTYXVzc2V0ICA8c2F1c3NldEBn
bWFpbC5jb20+CisKKyAgICAgICAgUmV2aWV3ZWQ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N0YXRpY19j
YXN0PEVsZW1lbnQqPihub2RlKCkpKQotICAgICAgICAgICAgICAgIHRleHQgPSBuZXcgKHJlbmRl
ckFyZW5hKCkpIFJlbmRlclRleHQobm9kZSgpLCBTdHJpbmdJbXBsOjpjcmVhdGUobW8tPnRleHRD
b250ZW50KCkpKTsKKyAgICAgICAgICAgICAgICB0ZXh0ID0gbmV3IChyZW5kZXJBcmVuYSgpKSBS
ZW5kZXJUZXh0KG5vZGUoKSwgU3RyaW5nSW1wbDo6Y3JlYXRlKG1vLT50ZXh0Q29udGVudCgpLmNo
YXJhY3RlcnMoKSwgbW8tPnRleHRDb250ZW50KCkubGVuZ3RoKCkpKTsKICAgICAgICAgLy8gSWYg
d2UgY2FuJ3QgZmlndXJlIG91dCB0aGUgdGV4dCwgbGVhdmUgaXQgYmxhbmsuCiAgICAgICAgIGlm
ICh0ZXh0KSB7CiAgICAgICAgICAgICB0ZXh0LT5zZXRTdHlsZShjb250YWluZXItPnN0eWxlKCkp
Owo=
</data>

          </attachment>
      

    </bug>

</bugzilla>