<?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>121150</bug_id>
          
          <creation_ts>2013-09-11 03:20:55 -0700</creation_ts>
          <short_desc>autogen.sh: fix removal of autom4te.cache</short_desc>
          <delta_ts>2013-09-11 04:15:01 -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>Tools / Tests</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="Alberto Garcia">berto</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>cgarcia</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>927704</commentid>
    <comment_count>0</comment_count>
    <who name="Alberto Garcia">berto</who>
    <bug_when>2013-09-11 03:20:55 -0700</bug_when>
    <thetext>autom4te.cache doesn&apos;t harm other than taking a bit of space in the
hard drive. It can be safely removed anyway.

However at the moment we have

   rm -f $top_srcdir/autom4te.cache

which doesn&apos;t work since

  1) autom4te.cache is a directory
  2) $top_srcdir is not defined in autogen.sh

Best case, that&apos;s equivalent to rm -f /autom4te.cache, which does
nothing since that file doesn&apos;t exist.

Worst case, the user has $top_srcdir set to some value and funny
surprises happen.

Since we can guarantee that we&apos;re in the root directory of the WebKit
tree we can just run

  rm -rf autom4te.cache

And this should be run _after_ autoreconf since it&apos;s not needed by
anyone else.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>927705</commentid>
    <comment_count>1</comment_count>
      <attachid>211293</attachid>
    <who name="Alberto Garcia">berto</who>
    <bug_when>2013-09-11 03:24:20 -0700</bug_when>
    <thetext>Created attachment 211293
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>927708</commentid>
    <comment_count>2</comment_count>
      <attachid>211293</attachid>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2013-09-11 03:28:49 -0700</bug_when>
    <thetext>Comment on attachment 211293
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=211293&amp;action=review

Thanks!

&gt; ChangeLog:9
&gt; +        Fix incorrect removal of autom4te.cache and put it after the
&gt; +        autoreconf call.

Could you briefly explain here why it was wrong, the explanation in the bug summary is great.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>927718</commentid>
    <comment_count>3</comment_count>
    <who name="Alberto Garcia">berto</who>
    <bug_when>2013-09-11 04:15:01 -0700</bug_when>
    <thetext>Committed r155517: &lt;http://trac.webkit.org/changeset/155517&gt;</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>211293</attachid>
            <date>2013-09-11 03:24:20 -0700</date>
            <delta_ts>2013-09-11 03:28:49 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>121150.diff</filename>
            <type>text/plain</type>
            <size>1067</size>
            <attacher name="Alberto Garcia">berto</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL0NoYW5nZUxvZyBiL0NoYW5nZUxvZwppbmRleCAzMTE4ODUyLi40NzgyNTAy
IDEwMDY0NAotLS0gYS9DaGFuZ2VMb2cKKysrIGIvQ2hhbmdlTG9nCkBAIC0xLDUgKzEsMTcgQEAK
IDIwMTMtMDktMTEgIEFsYmVydG8gR2FyY2lhICA8YmVydG9AaWdhbGlhLmNvbT4KIAorICAgICA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pbnN0YWxs
IC1JIFNvdXJjZS9hdXRvdG9vbHMgJEFDTE9DQUxfRkxBR1N8fCBleGl0ICQ/CitybSAtcmYgYXV0
b200dGUuY2FjaGUKIAogY2QgIiRPUklHRElSIiB8fCBleGl0IDEKIAo=
</data>
<flag name="review"
          id="233362"
          type_id="1"
          status="+"
          setter="cgarcia"
    />
          </attachment>
      

    </bug>

</bugzilla>