<?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>34637</bug_id>
          
          <creation_ts>2010-02-05 02:02:52 -0800</creation_ts>
          <short_desc>update-webkit-auxiliary-libs does not like a space in the path to the WebKit folder</short_desc>
          <delta_ts>2010-02-08 02:48:29 -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>PC</rep_platform>
          <op_sys>Windows 7</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>0</everconfirmed>
          <reporter name="Leith Bade">leith</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>commit-queue</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>188117</commentid>
    <comment_count>0</comment_count>
    <who name="Leith Bade">leith</who>
    <bug_when>2010-02-05 02:02:52 -0800</bug_when>
    <thetext>I have just downloaded a fresh tar of the source code. After extracting I executed update-webkit from cygwin.

The result was a spew of error messages like these:
cp: cannot create regular file `/home/Leith\nBade/WebKit/WebKitLibraries/win/lib/libxslt.lib&apos;: No such file or directory
cp: cannot create regular file `/home/Leith\nBade/WebKit/WebKitLibraries/win/lib/pthreadVC2.lib&apos;: No such file or directory
cp: cannot create regular file `/home/Leith\nBade/WebKit/WebKitLibraries/win/lib/SQLite3.lib&apos;: No such file or directory
mv: cannot move `/tmp/webkitlibsFSMnc5X/WebKitAuxiliaryLibrary.headers&apos; to `/home/Leith\nBade/WebKit/WebKitLibraries/win&apos;: No such file or directory
Couldn&apos;t move WebKitAuxiliaryLibrary.headers to /home/Leith
Bade/WebKit/WebKitLibraries/win.
The WebKitAuxiliaryLibrary has been sucessfully installed in
 /home/Leith
Bade/WebKit/WebKitLibraries/win

It would appear update-webkit-auxiliary-libs some how screws up the path to the WebKit folder &quot;/home/Leith Bade/WebKit&quot; and replaces that space in &quot;Leith Bade&quot; with &quot;Leith/nBade&quot; (newline).

Also the other bug worth mentioning here is that the message &quot;The WebKitAuxiliaryLibrary has been sucessfully installed in&quot; is clearly misleading as it does not check if the unzip works.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>188128</commentid>
    <comment_count>1</comment_count>
    <who name="Leith Bade">leith</who>
    <bug_when>2010-02-05 02:55:36 -0800</bug_when>
    <thetext>It would appear that both environment variables WEBKITOUTPUTDIR and WEBKITLIBRARIESDIR are set incorrectly.

WEBKITOUTPUTDIR was C:\home\cygwin\Leith which does not exist (&quot;C:\home\cygwin\Leith Bade&quot; does).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>188131</commentid>
    <comment_count>2</comment_count>
    <who name="Leith Bade">leith</who>
    <bug_when>2010-02-05 03:00:16 -0800</bug_when>
    <thetext>Don&apos;t suppose this is related to the change for #31228 ?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>188480</commentid>
    <comment_count>3</comment_count>
    <who name="Leith Bade">leith</who>
    <bug_when>2010-02-06 16:28:58 -0800</bug_when>
    <thetext>I have traced it down to whatever sets the WEBKITLIBRARIESDIR environment variable in the registry. It seems to replace the space with a newline wen it sets the reg key.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>188481</commentid>
    <comment_count>4</comment_count>
    <who name="Leith Bade">leith</who>
    <bug_when>2010-02-06 16:37:25 -0800</bug_when>
    <thetext>OK it seems putting quotes around $WEBKITLIBRARIESDIR fixes the problem.

eg cygpath -u &quot;$WEBKITLIBRARIESDIR&quot;

otherwise cygpath treats the space as seperating two different paths to convert hence why it puts each respective path on a new line in it&apos;s output.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>188482</commentid>
    <comment_count>5</comment_count>
      <attachid>48301</attachid>
    <who name="Leith Bade">leith</who>
    <bug_when>2010-02-06 16:59:53 -0800</bug_when>
    <thetext>Created attachment 48301
Proposed patch.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>188483</commentid>
    <comment_count>6</comment_count>
    <who name="Leith Bade">leith</who>
    <bug_when>2010-02-06 17:02:14 -0800</bug_when>
    <thetext>I forgot to put a fix in for the &quot;The
WebKitAuxiliaryLibrary has been sucessfully installed in&quot; bug. This might need to go under a different bug #?

(I am not familiar enough with Perl to confidently make that change)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>188485</commentid>
    <comment_count>7</comment_count>
    <who name="Leith Bade">leith</who>
    <bug_when>2010-02-06 19:08:39 -0800</bug_when>
    <thetext>Also in order to support Visual Studio, there needs to be a trailing &apos;\&apos; in the environment variable.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>188518</commentid>
    <comment_count>8</comment_count>
      <attachid>48301</attachid>
    <who name="Darin Adler">darin</who>
    <bug_when>2010-02-07 14:59:50 -0800</bug_when>
    <thetext>Comment on attachment 48301
Proposed patch.

Now we can handle paths with spaces, but not ones with single quotes. A step in the right direction, I guess.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>188528</commentid>
    <comment_count>9</comment_count>
    <who name="Leith Bade">leith</who>
    <bug_when>2010-02-07 17:04:12 -0800</bug_when>
    <thetext>(In reply to comment #8)
&gt; (From update of attachment 48301 [details])
&gt; Now we can handle paths with spaces, but not ones with single quotes. A step in
&gt; the right direction, I guess.

Yeah I suppose some people might have a `&apos;` in their user name. Ag. &quot;Leith&apos;s Computer&quot; or something like that.

Double quotes could fix this... As `&quot;` is an illegal filename char in Windows.

I note that in webkitdirs.pm there is an inconsistent use of cygpath.

Some use `&apos;`, some use `&quot;` and some even do no quotes at all...

Should the entire file be cleaned up to use only `&quot;`?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>188596</commentid>
    <comment_count>10</comment_count>
      <attachid>48301</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2010-02-08 02:48:23 -0800</bug_when>
    <thetext>Comment on attachment 48301
Proposed patch.

Clearing flags on attachment: 48301

Committed r54477: &lt;http://trac.webkit.org/changeset/54477&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>188597</commentid>
    <comment_count>11</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2010-02-08 02:48:29 -0800</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>48301</attachid>
            <date>2010-02-06 16:59:53 -0800</date>
            <delta_ts>2010-02-08 02:48:23 -0800</delta_ts>
            <desc>Proposed patch.</desc>
            <filename>patch-34637.txt</filename>
            <type>text/plain</type>
            <size>1248</size>
            <attacher name="Leith Bade">leith</attacher>
            
              <data encoding="base64">SW5kZXg6IFdlYktpdFRvb2xzL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBXZWJLaXRUb29scy9D
aGFuZ2VMb2cJKHJldmlzaW9uIDU0NDY2KQorKysgV2ViS2l0VG9vbHMvQ2hhbmdlTG9nCSh3b3Jr
aW5nIGNvcHkpCkBAIC0xLDMgKzEsMTQgQEAKKzIwMTAtMDItMDYgIExlaXRoIEJhZGUgIDxsZWl0
aEBsZWl0aGFsd2VhcG9uLmdlZWsubno+CisKKyAgICAgICAgUmV2aWV3ZWQgYnkgTk9CT0RZIChP
T1BTISkuCisKKyAgICAgICAgRml4ZXM6IGh0dHBzOi8vYnVncy53ZWJraXQub3JnL3Nob3dfYnVn
LmNnaT9pZD0zNDYzNworICAgICAgICBDb3JyZWN0cyB0aGUgbmV3bGluZSBpbnNlcnRlZCBpbnRv
IFdlYktpdE91dHB1dERpciwgYW5kIFdlYktpdExpYnJhcmllc0RpciBXaW5kb3dzCisgICAgICAg
IGVudmlyb25lbW50IHZhcmlhYmxlcyB3aGVuIHRoZXJlIGlzIGEgc3BhY2UgaW4gdGhlIHVzZXIn
cyAvaG9tZSBwYXRoLgorCisgICAgICAgICogU2NyaXB0cy93ZWJraXRkaXJzLnBtOgorICAgICAg
ICAgLSBBZGRlZCBtaXNzaW5nIHF1b3RlcyBhcm91bmQgJHNvdXJjZURpciBpbiBhcmd1bWVudCBs
aXN0IG9mIGN5Z3BhdGggaW4gZGV0ZXJtaW5lV2luZG93c1NvdXJjZURpcigpLgorCiAyMDEwLTAy
LTA1ICBBbGV4ZXkgUHJvc2t1cnlha292ICA8YXBAYXBwbGUuY29tPgogCiAgICAgICAgIFJldmll
d2VkIGJ5IE9saXZlciBIdW50LgpJbmRleDogV2ViS2l0VG9vbHMvU2NyaXB0cy93ZWJraXRkaXJz
LnBtCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT0KLS0tIFdlYktpdFRvb2xzL1NjcmlwdHMvd2Via2l0ZGlycy5wbQkocmV2
aXNpb24gNTQ0NjYpCisrKyBXZWJLaXRUb29scy9TY3JpcHRzL3dlYmtpdGRpcnMucG0JKHdvcmtp
bmcgY29weSkKQEAgLTExMDcsNyArMTEwNyw3IEBAIHN1YiBkZXRlcm1pbmVXaW5kb3dzU291cmNl
RGlyKCkKIHsKICAgICByZXR1cm4gaWYgJHdpbmRvd3NTb3VyY2VEaXI7CiAgICAgbXkgJHNvdXJj
ZURpciA9IHNvdXJjZURpcigpOwotICAgIGNob21wKCR3aW5kb3dzU291cmNlRGlyID0gYGN5Z3Bh
dGggLXcgJHNvdXJjZURpcmApOworICAgIGNob21wKCR3aW5kb3dzU291cmNlRGlyID0gYGN5Z3Bh
dGggLXcgJyRzb3VyY2VEaXInYCk7CiB9CiAKIHN1YiB3aW5kb3dzU291cmNlRGlyKCkK
</data>

          </attachment>
      

    </bug>

</bugzilla>