<?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>74687</bug_id>
          
          <creation_ts>2011-12-15 22:47:55 -0800</creation_ts>
          <short_desc>[Qt] Incremental build problem revealed by r102981</short_desc>
          <delta_ts>2012-01-24 05:28:28 -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>Tools / Tests</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>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>76528</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Csaba Osztrogonác">ossy</reporter>
          <assigned_to name="Ádám Kallai">kadam</assigned_to>
          <cc>abarth</cc>
    
    <cc>eric</cc>
    
    <cc>ossy</cc>
    
    <cc>rniwa</cc>
    
    <cc>vestbo</cc>
    
    <cc>webkit.review.bot</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>522552</commentid>
    <comment_count>0</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2011-12-15 22:47:55 -0800</bug_when>
    <thetext>This change http://trac.webkit.org/changeset/102981/trunk/Source/WebCore/mathml/mathattrs.in
caused a build fail on the Qt bot, because the necessarry generated file wasn&apos;t
regenerated. It must be a bug in the Qt build system. I&apos;ll check it.

Thanks for you kicked the bot with touching a file. ;)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>540510</commentid>
    <comment_count>1</comment_count>
      <attachid>123550</attachid>
    <who name="Ádám Kallai">kadam</who>
    <bug_when>2012-01-23 06:31:41 -0800</bug_when>
    <thetext>Created attachment 123550
proposed patch

It is necessary to set mathattrs.in dependency for generating MathMLNames.cpp file. I added depend this file /Source/WebCore/DerivedSources.pri.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>540520</commentid>
    <comment_count>2</comment_count>
      <attachid>123550</attachid>
    <who name="Tor Arne Vestbø">vestbo</who>
    <bug_when>2012-01-23 06:52:18 -0800</bug_when>
    <thetext>Comment on attachment 123550
proposed patch

While the fix is correct it unfortunately doesn&apos;t solve the general problem, for exxample is $$PWD/mathml/mathtags.in still left out of depends. And there&apos;s a bunch of other generators that have the same problem.

The better approach I think would be to add code in default_post.prf that walks every argument of commands and checks if it&apos;s a file that exists, and if so, adds it to depends. That should ideally fix it for all of these cases.

Feel free to have a stab at it, or assign the bug to me and I&apos;ll have a look. Thanks!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>541235</commentid>
    <comment_count>3</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2012-01-24 04:05:51 -0800</bug_when>
    <thetext>(In reply to comment #2)
&gt; (From update of attachment 123550 [details])
&gt; While the fix is correct it unfortunately doesn&apos;t solve the general problem, for exxample is $$PWD/mathml/mathtags.in still left out of depends. And there&apos;s a bunch of other generators that have the same problem.

The correct is absolutely correct for this bug. And $$PWD/mathml/mathtags.in isn&apos;t missing from the dependency list, because MATHML_NAMES is $$PWD/mathml/mathtags.in which is the input of this generator.

&gt; The better approach I think would be to add code in default_post.prf that walks every argument of commands and checks if it&apos;s a file that exists, and if so, adds it to depends. That should ideally fix it for all of these cases.

&gt; Feel free to have a stab at it, or assign the bug to me and I&apos;ll have a look. Thanks!

The idea is good, but I&apos;m not sure if it works always. Let&apos;s try it.

But I don&apos;t think if we shouldn&apos;t land this trivial, necssarry and correct fix because maybe we can do a general fix sometimes in the future. I filed a new bug report for this future development: https://bugs.webkit.org/show_bug.cgi?id=76902</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>541236</commentid>
    <comment_count>4</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2012-01-24 04:07:12 -0800</bug_when>
    <thetext>(In reply to comment #3)

&gt; The correct is absolutely correct for this bug. And $$PWD/mathml/mathtags.in isn&apos;t missing from the dependency list, because MATHML_NAMES is $$PWD/mathml/mathtags.in which is the input of this generator.

I should have reread my comment. :) s/The correct/The fix/g</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>541237</commentid>
    <comment_count>5</comment_count>
      <attachid>123550</attachid>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2012-01-24 04:08:57 -0800</bug_when>
    <thetext>Comment on attachment 123550
proposed patch

r=me to decrease the number of possible incremental build bugs in the future.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>541265</commentid>
    <comment_count>6</comment_count>
      <attachid>123550</attachid>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2012-01-24 05:28:19 -0800</bug_when>
    <thetext>Comment on attachment 123550
proposed patch

Clearing flags on attachment: 123550

Committed r105731: &lt;http://trac.webkit.org/changeset/105731&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>541266</commentid>
    <comment_count>7</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2012-01-24 05:28:28 -0800</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>123550</attachid>
            <date>2012-01-23 06:31:41 -0800</date>
            <delta_ts>2012-01-24 05:28:19 -0800</delta_ts>
            <desc>proposed patch</desc>
            <filename>incremental.patch</filename>
            <type>text/plain</type>
            <size>1443</size>
            <attacher name="Ádám Kallai">kadam</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL1NvdXJjZS9XZ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