<?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>82216</bug_id>
          
          <creation_ts>2012-03-26 08:52:42 -0700</creation_ts>
          <short_desc>[GTK] jhbuild wrongly tricked into clean-up</short_desc>
          <delta_ts>2012-03-28 01:23:06 -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>WebKitGTK</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></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Philippe Normand">pnormand</reporter>
          <assigned_to name="Philippe Normand">pnormand</assigned_to>
          <cc>gustavo</cc>
    
    <cc>kbolisetty</cc>
    
    <cc>mrahaman</cc>
    
    <cc>mrobinson</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>587794</commentid>
    <comment_count>0</comment_count>
    <who name="Philippe Normand">pnormand</who>
    <bug_when>2012-03-26 08:52:42 -0700</bug_when>
    <thetext>Patch http://trac.webkit.org/changeset/111929 badly broke setups where the build directory is the git branch name, at least.

Here my build directory is /home/phil/gst/jhbuild/build/WebKit/WebKitBuild/branchName/Release

jhbuild clean is triggered... and fails:


/bin/sh /home/phil/gst/jhbuild/build/WebKit/WebKitBuild/Dependencies/Root/share/jhbuild/triggers/glib.trigger
*** the following modules were not built *** [16/16]
fonts
Cleaning jhbuild modules failed! at /home/phil/gst/jhbuild/build/WebKit/Tools/Scripts/webkitdirs.pm line 1951.

It seems the jhbuild.modules md5sum test always fails in that setup. Also, I don&apos;t think storing the jhbuildrc.md5sum and jhbuild.modules.md5sum in the build directory is a very good idea... Why not storing it in Dependencies or in Tools/ somewhere and ignore it from the VCS POV?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>587806</commentid>
    <comment_count>1</comment_count>
      <attachid>133825</attachid>
    <who name="Philippe Normand">pnormand</who>
    <bug_when>2012-03-26 09:09:28 -0700</bug_when>
    <thetext>Created attachment 133825
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>587808</commentid>
    <comment_count>2</comment_count>
    <who name="Philippe Normand">pnormand</who>
    <bug_when>2012-03-26 09:11:15 -0700</bug_when>
    <thetext>Someone should also check the fonts cleaning error but not me, I spent too much time doing perl today.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>588647</commentid>
    <comment_count>3</comment_count>
    <who name="Mustafizur Rahaman( :rahaman)">mrahaman</who>
    <bug_when>2012-03-27 01:34:37 -0700</bug_when>
    <thetext>Today I got an weird build issue while building webkit-gtk &amp; I am using 112046.

I got my release build working, but then when I am building webkit for debug option, I see that all my dependent packages e.g. glib, cairo, gtk+ are being compiled again, which I think it should not do.

I talked to philn-tp in #webkit-gtk &amp; I am suggested this bug might be the reason for the issue, so sharing my observation. Can someone please look into this?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>588848</commentid>
    <comment_count>4</comment_count>
    <who name="Martin Robinson">mrobinson</who>
    <bug_when>2012-03-27 07:01:35 -0700</bug_when>
    <thetext>(In reply to comment #3)
&gt; Today I got an weird build issue while building webkit-gtk &amp; I am using 112046.
&gt; 
&gt; I got my release build working, but then when I am building webkit for debug option, I see that all my dependent packages e.g. glib, cairo, gtk+ are being compiled again, which I think it should not do.
&gt; 
&gt; I talked to philn-tp in #webkit-gtk &amp; I am suggested this bug might be the reason for the issue, so sharing my observation. Can someone please look into this?

Did you update your checkout between builds? Do packages rebuild every time you build?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>588940</commentid>
    <comment_count>5</comment_count>
    <who name="Mustafizur Rahaman( :rahaman)">mrahaman</who>
    <bug_when>2012-03-27 08:41:13 -0700</bug_when>
    <thetext>(In reply to comment #4)
&gt; (In reply to comment #3)
&gt; &gt; Today I got an weird build issue while building webkit-gtk &amp; I am using 112046.
&gt; &gt; 
&gt; &gt; I got my release build working, but then when I am building webkit for debug option, I see that all my dependent packages e.g. glib, cairo, gtk+ are being compiled again, which I think it should not do.
&gt; &gt; 
&gt; &gt; I talked to philn-tp in #webkit-gtk &amp; I am suggested this bug might be the reason for the issue, so sharing my observation. Can someone please look into this?
&gt; 
&gt; Did you update your checkout between builds? Do packages rebuild every time you build?

I did not update the packages in between. I first build release build &amp; then when I was building debug build, still I saw the packages being built. I did not try to build the release/debug build after that..</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>589047</commentid>
    <comment_count>6</comment_count>
      <attachid>133825</attachid>
    <who name="Gustavo Noronha (kov)">gustavo</who>
    <bug_when>2012-03-27 10:57:37 -0700</bug_when>
    <thetext>Comment on attachment 133825
Patch

Makes sense, thanks Philippe! The only worry I have is that autogen might not be run in some cases it should, when building more than one build type, but that&apos;s easily fixable by a human and not a problem on bots =)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>589737</commentid>
    <comment_count>7</comment_count>
    <who name="Philippe Normand">pnormand</who>
    <bug_when>2012-03-28 01:23:06 -0700</bug_when>
    <thetext>Committed r112372: &lt;http://trac.webkit.org/changeset/112372&gt;</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>133825</attachid>
            <date>2012-03-26 09:09:28 -0700</date>
            <delta_ts>2012-03-27 10:57:37 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-82216-20120326180952.patch</filename>
            <type>text/plain</type>
            <size>3216</size>
            <attacher name="Philippe Normand">pnormand</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMTEyMDY5CmRpZmYgLS1naXQgYS9Ub29scy9DaGFuZ2VMb2cg
Yi9Ub29scy9DaGFuZ2VMb2cKaW5kZXggZmYxZDVhZDIyZDQxNjFiY2U2ZDIyNTU0NjUyMTRiMzEx
MWZmM2I5Mi4uZDUxMTBmODAzZDNmNTkzMTZjYjI3MzUzNDYzM2ZhNDM5NDA0YmM0ZCAxMDA2NDQK
LS0tIGEvVG9vbHMvQ2hhbmdlTG9nCisrKyBiL1Rvb2xzL0NoYW5nZUxvZwpAQCAtMSwzICsxLDE5
IEBACisyMDEyLTAzLTI2ICBQaGlsaXBwZSBOb3JtYW5kICA8cG5vcm1hbmRAaWdhbGlhLmNvbT4K
KworICAgICAgICBbR1RLXSBqaGJ1aWxkIHdyb25nbHkgdHJpY2tlZCBpbnRvIGNsZWFuLXVwCisg
ICAgICAgIGh0dHBzOi8vYnVncy53ZWJraXQub3JnL3Nob3dfYnVnLmNnaT9pZD04MjIxNgorCisg
ICAgICAgIFJldmlld2VkIGJ5IE5PQk9EWSAoT09QUyEpLgorCisgICAgICAgIFNhdmUgamhidWls
ZHtyYywubW9kdWxlc30ubWQ1c3VtIGluIERlcGVuZGVuY2llcyBpbnN0ZWFkIG9mIHRoZQorICAg
ICAgICBidWlsZCB0cmVlLiBBbHNvIHdoZW4gY2hlY2tpbmcgaWYgdGhlIGpoYnVpbGQgY29uZmln
dXJhdGlvbgorICAgICAgICBjaGFuZ2VkIHVzZSBhYnNvbHV0ZSBtZDVzdW0gcGF0aHMuCisKKyAg
ICAgICAgKiBTY3JpcHRzL3dlYmtpdGRpcnMucG06CisgICAgICAgIChydW5BdXRvZ2VuRm9yQXV0
b3Rvb2xzUHJvamVjdElmTmVjZXNzYXJ5KToKKyAgICAgICAgKGpoYnVpbGRDb25maWd1cmF0aW9u
Q2hhbmdlZCk6CisgICAgICAgIChidWlsZEF1dG90b29sc1Byb2plY3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
aGVuIGJ1aWxkIGZpbGVzIGNoYW5nZS4K
</data>
<flag name="review"
          id="137924"
          type_id="1"
          status="+"
          setter="gustavo"
    />
          </attachment>
      

    </bug>

</bugzilla>