<?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>114793</bug_id>
          
          <creation_ts>2013-04-18 01:25:37 -0700</creation_ts>
          <short_desc>REGRESSION(r148639): It broke Qt Mountain Lion Release</short_desc>
          <delta_ts>2013-04-18 10:49:45 -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>New Bugs</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>Qt</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>114577</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Zoltan Arvai">zarvai</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>commit-queue</cc>
    
    <cc>ggaren</cc>
    
    <cc>kadam</cc>
    
    <cc>mark.lam</cc>
    
    <cc>ossy</cc>
    
    <cc>zeno</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>877737</commentid>
    <comment_count>0</comment_count>
    <who name="Zoltan Arvai">zarvai</who>
    <bug_when>2013-04-18 01:25:37 -0700</bug_when>
    <thetext>/Users/admin/work/WebKit-BuildSlave/qt-mountainlion-release/build/Source/WTF/wtf/CurrentTime.cpp:339:5: error: unknown type name &apos;mach_msg_type_number_t&apos;
    mach_msg_type_number_t infoCount = THREAD_BASIC_INFO_COUNT;
    ^
/Users/admin/work/WebKit-BuildSlave/qt-mountainlion-release/build/Source/WTF/wtf/CurrentTime.cpp:339:40: error: use of undeclared identifier &apos;THREAD_BASIC_INFO_COUNT&apos;
    mach_msg_type_number_t infoCount = THREAD_BASIC_INFO_COUNT;
                                       ^
/Users/admin/work/WebKit-BuildSlave/qt-mountainlion-release/build/Source/WTF/wtf/CurrentTime.cpp:340:5: error: unknown type name &apos;thread_basic_info_data_t&apos;
    thread_basic_info_data_t info;
    ^
/Users/admin/work/WebKit-BuildSlave/qt-mountainlion-release/build/Source/WTF/wtf/CurrentTime.cpp:343:30: error: use of undeclared identifier &apos;mach_thread_self&apos;; did you mean &apos;pthread_self&apos;?
    mach_port_t threadPort = mach_thread_self();
                             ^~~~~~~~~~~~~~~~
                             pthread_self
/usr/include/pthread.h:349:11: note: &apos;pthread_self&apos; declared here
pthread_t pthread_self(void);
          ^
/Users/admin/work/WebKit-BuildSlave/qt-mountainlion-release/build/Source/WTF/wtf/CurrentTime.cpp:343:17: error: cannot initialize a variable of type &apos;mach_port_t&apos; (aka &apos;unsigned int&apos;) with an rvalue of type &apos;pthread_t&apos; (aka &apos;_opaque_pthread_t *&apos;)
    mach_port_t threadPort = mach_thread_self();
                ^            ~~~~~~~~~~~~~~~~~~
/Users/admin/work/WebKit-BuildSlave/qt-mountainlion-release/build/Source/WTF/wtf/CurrentTime.cpp:345:26: error: use of undeclared identifier &apos;mach_task_self&apos;
    mach_port_deallocate(mach_task_self(), threadPort);
                         ^
6 errors generated.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>877741</commentid>
    <comment_count>1</comment_count>
    <who name="Zoltan Arvai">zarvai</who>
    <bug_when>2013-04-18 01:30:23 -0700</bug_when>
    <thetext>Maybe in
http://trac.webkit.org/changeset/148639/trunk/Source/WTF/wtf/CurrentTime.cpp

 #if PLATFORM(MAC) 
 #include &lt;mach/mach.h&gt; 
should be 
 #if OS(DARWIN)
 ...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>877813</commentid>
    <comment_count>2</comment_count>
      <attachid>198719</attachid>
    <who name="Zoltan Arvai">zarvai</who>
    <bug_when>2013-04-18 04:25:26 -0700</bug_when>
    <thetext>Created attachment 198719
Speculative fix.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>877947</commentid>
    <comment_count>3</comment_count>
      <attachid>198719</attachid>
    <who name="Mark Lam">mark.lam</who>
    <bug_when>2013-04-18 09:55:59 -0700</bug_when>
    <thetext>Comment on attachment 198719
Speculative fix.

LGTM, but need someone else to r+.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>877970</commentid>
    <comment_count>4</comment_count>
      <attachid>198719</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2013-04-18 10:49:42 -0700</bug_when>
    <thetext>Comment on attachment 198719
Speculative fix.

Clearing flags on attachment: 198719

Committed r148684: &lt;http://trac.webkit.org/changeset/148684&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>877971</commentid>
    <comment_count>5</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2013-04-18 10:49:45 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>198719</attachid>
            <date>2013-04-18 04:25:26 -0700</date>
            <delta_ts>2013-04-18 10:49:42 -0700</delta_ts>
            <desc>Speculative fix.</desc>
            <filename>fix.patch</filename>
            <type>text/plain</type>
            <size>879</size>
            <attacher name="Zoltan Arvai">zarvai</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL1NvdXJjZS9XVEYvQ2hhbmdlTG9nIGIvU291cmNlL1dURi9DaGFuZ2VMb2cK
aW5kZXggOTFjMTIwNi4uNGZiMjg0ZSAxMDA2NDQKLS0tIGEvU291cmNlL1dURi9DaGFuZ2VMb2cK
KysrIGIvU291cmNlL1dURi9DaGFuZ2VMb2cKQEAgLTEsMyArMSwxMiBAQAorMjAxMy0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