<?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>51598</bug_id>
          
          <creation_ts>2010-12-24 12:07:45 -0800</creation_ts>
          <short_desc>[Qt] [WK2] WebKit 2 does not build on mac, missing reference to RetainPtr</short_desc>
          <delta_ts>2010-12-26 03:50:57 -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>New Bugs</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>Qt, QtTriaged</keywords>
          <priority>P2</priority>
          <bug_severity>Major</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>43505</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Benjamin Poulain">benjamin</reporter>
          <assigned_to name="Benjamin Poulain">benjamin</assigned_to>
          <cc>commit-queue</cc>
    
    <cc>mitz</cc>
    
    <cc>ossy</cc>
    
    <cc>webkit-ews</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>326710</commentid>
    <comment_count>0</comment_count>
    <who name="Benjamin Poulain">benjamin</who>
    <bug_when>2010-12-24 12:07:45 -0800</bug_when>
    <thetext>WebKit 2 does not build on Mac with default options. The problem comes from the following code:


static String formatLocalizedString(const String&amp; format, ...)
{
#if PLATFORM(CF)
    va_list arguments;
    va_start(arguments, format);
    RetainPtr&lt;CFStringRef&gt; formatCFString(AdoptCF, format.createCFString());
    RetainPtr&lt;CFStringRef&gt; result(AdoptCF, CFStringCreateWithFormatAndArguments(0, 0, formatCFString.get(), arguments));
    va_end(arguments);
    return result.get();
#else
    notImplemented();
    return format;
#endif
}

It uses RetainPtr(), but does not include the header file. This break has been introduced by 43505.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>326711</commentid>
    <comment_count>1</comment_count>
      <attachid>77425</attachid>
    <who name="Benjamin Poulain">benjamin</who>
    <bug_when>2010-12-24 12:12:51 -0800</bug_when>
    <thetext>Created attachment 77425
Patch

I apologize not to push that directly. I do not have my tools here so I figured it would be easier to use the commit queue.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>326717</commentid>
    <comment_count>2</comment_count>
    <who name="Early Warning System Bot">webkit-ews</who>
    <bug_when>2010-12-24 12:26:52 -0800</bug_when>
    <thetext>Attachment 77425 did not build on qt:
Build output: http://queues.webkit.org/results/7205164</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>326731</commentid>
    <comment_count>3</comment_count>
      <attachid>77425</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2010-12-24 12:55:45 -0800</bug_when>
    <thetext>Comment on attachment 77425
Patch

Clearing flags on attachment: 77425

Committed r74650: &lt;http://trac.webkit.org/changeset/74650&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>326732</commentid>
    <comment_count>4</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2010-12-24 12:55:50 -0800</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>326740</commentid>
    <comment_count>5</comment_count>
    <who name="">mitz</who>
    <bug_when>2010-12-24 13:21:34 -0800</bug_when>
    <thetext>I don’t think this works.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>326746</commentid>
    <comment_count>6</comment_count>
    <who name="Benjamin Poulain">benjamin</who>
    <bug_when>2010-12-24 13:55:34 -0800</bug_when>
    <thetext>(In reply to comment #5)
&gt; I don’t think this works.

Why?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>326752</commentid>
    <comment_count>7</comment_count>
    <who name="">mitz</who>
    <bug_when>2010-12-24 14:24:28 -0800</bug_when>
    <thetext>(In reply to comment #6)
&gt; (In reply to comment #5)
&gt; &gt; I don’t think this works.
&gt; 
&gt; Why?

Breaking Qt Linux &lt;http://build.webkit.org/builders/Qt%20Linux%20Release/builds/25687/steps/compile-webkit/logs/stdio&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>326753</commentid>
    <comment_count>8</comment_count>
    <who name="">mitz</who>
    <bug_when>2010-12-24 14:25:26 -0800</bug_when>
    <thetext>(In reply to comment #7)
&gt; (In reply to comment #6)
&gt; &gt; (In reply to comment #5)
&gt; &gt; &gt; I don’t think this works.
&gt; &gt; 
&gt; &gt; Why?
&gt; 
&gt; Breaking Qt Linux &lt;http://build.webkit.org/builders/Qt%20Linux%20Release/builds/25687/steps/compile-webkit/logs/stdio&gt;

Fixed by Simon in &lt;http://trac.webkit.org/projects/webkit/changeset/74654&gt;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>326758</commentid>
    <comment_count>9</comment_count>
    <who name="Benjamin Poulain">benjamin</who>
    <bug_when>2010-12-24 15:09:17 -0800</bug_when>
    <thetext>(In reply to comment #8)
&gt; &gt; &gt; Why?
&gt; &gt; 
&gt; &gt; Breaking Qt Linux &lt;http://build.webkit.org/builders/Qt%20Linux%20Release/builds/25687/steps/compile-webkit/logs/stdio&gt;
&gt; 
&gt; Fixed by Simon in &lt;http://trac.webkit.org/projects/webkit/changeset/74654&gt;.

Thanks Mitz and Simon for fixing the build on Linux.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>326873</commentid>
    <comment_count>10</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2010-12-26 03:50:57 -0800</bug_when>
    <thetext>(In reply to comment #9)
&gt; &gt; Fixed by Simon in &lt;http://trac.webkit.org/projects/webkit/changeset/74654&gt;.
&gt; 
&gt; Thanks Mitz and Simon for fixing the build on Linux.

You could have avoided this breakage if you had taken the comment of Qt-EWS seriously.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>77425</attachid>
            <date>2010-12-24 12:12:51 -0800</date>
            <delta_ts>2010-12-24 12:55:44 -0800</delta_ts>
            <desc>Patch</desc>
            <filename>51598.patch</filename>
            <type>text/plain</type>
            <size>1072</size>
            <attacher name="Benjamin Poulain">benjamin</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL1dlYktpdDIvQ2hhbmdlTG9nIGIvV2ViS2l0Mi9DaGFuZ2VMb2cKaW5kZXgg
NWE2ZjliNy4uYzA3YmE1NCAxMDA2NDQKLS0tIGEvV2ViS2l0Mi9DaGFuZ2VMb2cKKysrIGIvV2Vi
S2l0Mi9DaGFuZ2VMb2cKQEAgLTEsMyArMSwxNCBAQAorMjAxMC0xMi0yNCAgQmVuamFtaW4gUG91
bGFpbiAgPGlraXBvdUBnbWFpbC5jb20+CisKKyAgICAgICAgUmV2aWV3ZWQgYnkgTk9CT0RZIChP
T1BTISkuCisKKyAgICAgICAgW1F0XSBbV0syXSBXZWJLaXQgMiBkb2VzIG5vdCBidWlsZCBvbiBt
YWMsIG1pc3NpbmcgcmVmZXJlbmNlIHRvIFJldGFpblB0cgorICAgICAgICBodHRwczovL2J1Z3Mu
d2Via2l0Lm9yZy9zaG93X2J1Zy5jZ2k/aWQ9NTE1OTgKKworICAgICAgICBGaXggdGhlIGJ1aWxk
LCBhZGQgdGhlIG1pc3NpbmcgaGVhZGVyLgorCisgICAgICAgICogV2ViUHJvY2Vzcy9XZWJDb3Jl
U3VwcG9ydC9XZWJQbGF0Zm9ybVN0cmF0ZWdpZXMuY3BwOgorCiAyMDEwLTEyLTIzICBEYW4gQmVy
bnN0ZWluICA8bWl0ekBhcHBsZS5jb20+CiAKICAgICAgICAgUmV2aWV3ZWQgYnkgU2FtIFdlaW5p
Zy4KZGlmZiAtLWd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