<?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>113324</bug_id>
          
          <creation_ts>2013-03-26 10:40:02 -0700</creation_ts>
          <short_desc>Revision for the internal jhbuild is too old</short_desc>
          <delta_ts>2013-03-27 17:00:08 -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="Mario Sanchez Prada">mario</reporter>
          <assigned_to name="Mario Sanchez Prada">mario</assigned_to>
          <cc>d-r</cc>
    
    <cc>gustavo</cc>
    
    <cc>mrobinson</cc>
    
    <cc>webkit.review.bot</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>863818</commentid>
    <comment_count>0</comment_count>
    <who name="Mario Sanchez Prada">mario</who>
    <bug_when>2013-03-26 10:40:02 -0700</bug_when>
    <thetext>Today I found WebKitGTK is using a pretty old version of jhbuild for the internal libs, which has an important bug that makes the process to fail during the &quot;make install&quot; stage, in case it founds a symlink to a directory after moving it from the temporary place under _jhbuild/ to the final destination.

The problem comes from this part of the code in jhbuild (revision 1eedc423f75c605224b430579e4c303292199507). In file jhbuild/jhbuild/modtypes/__initi__.py:

    if os.path.isdir(src_path):
        if os.path.exists(dest_path):
            if not os.path.isdir(dest_path):
                os.unlink(dest_path)
                os.mkdir(dest_path)
        else:
            os.mkdir(dest_path)
        num_copied += self._process_install_files(installroot, src_path, prefix)
        os.rmdir(src_path)


That will fail if src_path is a symlink to a dir, since os.path.isdir() follows links, but os.rmdir() does not.

So I think we should update the minimum required revision to some point where that issue is fixed, and I suggest ddb8b4e64bede55212c7590e2104daff92b72ce0 for that, since it&apos;s properly fixed there.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>863828</commentid>
    <comment_count>1</comment_count>
      <attachid>195116</attachid>
    <who name="Mario Sanchez Prada">mario</who>
    <bug_when>2013-03-26 10:45:45 -0700</bug_when>
    <thetext>Created attachment 195116
Patch proposal

Here comes the patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>864289</commentid>
    <comment_count>2</comment_count>
    <who name="Dominik Röttsches (drott)">d-r</who>
    <bug_when>2013-03-27 01:27:07 -0700</bug_when>
    <thetext>Thanks, Mario.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>864363</commentid>
    <comment_count>3</comment_count>
      <attachid>195116</attachid>
    <who name="Mario Sanchez Prada">mario</who>
    <bug_when>2013-03-27 03:37:39 -0700</bug_when>
    <thetext>Comment on attachment 195116
Patch proposal

Thanks for the review. Setting cq+, since I&apos;m not able to push it myself, for some weird reason</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>864998</commentid>
    <comment_count>4</comment_count>
      <attachid>195116</attachid>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2013-03-27 17:00:03 -0700</bug_when>
    <thetext>Comment on attachment 195116
Patch proposal

Clearing flags on attachment: 195116

Committed r147023: &lt;http://trac.webkit.org/changeset/147023&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>864999</commentid>
    <comment_count>5</comment_count>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2013-03-27 17:00:08 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>195116</attachid>
            <date>2013-03-26 10:45:45 -0700</date>
            <delta_ts>2013-03-27 17:00:03 -0700</delta_ts>
            <desc>Patch proposal</desc>
            <filename>bug-113324-20130326174221.patch</filename>
            <type>text/plain</type>
            <size>1374</size>
            <attacher name="Mario Sanchez Prada">mario</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMTQ2Nzg1CmRpZmYgLS1naXQgYS9Ub29scy9DaGFuZ2VMb2cg
Yi9Ub29scy9DaGFuZ2VMb2cKaW5kZXggZTNiODM5YWZkZjhlNDM5ZWQzMWM4MjU0Y2QyZThiNDI4
N2M2NjdjYy4uOTc3M2ExMjJiNGZhZWNhYTRkOTIwNDQ2YmJkYjA1MjJhNWI2YjkzMyAxMDA2NDQK
LS0tIGEvVG9vbHMvQ2hhbmdlTG9nCisrKyBiL1Rvb2xzL0NoYW5nZUxvZwpAQCAtMSwzICsxLDE1
IEBACisyMDEzLTAzLTI2ICBNYXJpbyBTYW5jaGV6IFByYWRhICA8bWFyaW8ucHJhZGFAc2Ftc3Vu
Zy5jb20+CisKKyAgICAgICAgUmV2aXNpb24gZm9yIHRoZSBpbnRlcm5hbCBqaGJ1aWxkIGlzIHRv
byBvbGQKKyAgICAgICAgaHR0cHM6Ly9idWdzLndlYmtpdC5vcmcvc2hvd19idWcuY2dpP2lkPTEx
MzMyNAorCisgICAgICAgIFJldmlld2VkIGJ5IE5PQk9EWSAoT09QUyEpLgorCisgICAgICAgIFVw
ZGF0ZSB0aGUgbWluaW11bSByZXF1aXJlZCB2ZXJzaW9uIHRvIGEgcG9pbnQgd2hlcmUgamhidWls
ZCB3b24ndAorICAgICAgICBmYWlsIGluc3RhbGxpbmcgcGFja2FnZXMgd2hlbiB0cnlpbmcgdG8g
cmVtb3ZlIGEgc3ltbGluayB0byBhIGRpcmVjdG9yeS4KKworICAgICAgICAqIGpoYn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