<?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>10832</bug_id>
          
          <creation_ts>2006-09-13 05:12:37 -0700</creation_ts>
          <short_desc>Webkit WebCore build fails on Windows.</short_desc>
          <delta_ts>2006-09-13 11:08:30 -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>WebCore Misc.</component>
          <version>420+</version>
          <rep_platform>PC</rep_platform>
          <op_sys>OS X 10.4</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>Regression</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>10833</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Karthik Kumar">karthikkumar</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>aroben</cc>
    
    <cc>fishd</cc>
    
    <cc>mrowe</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>55380</commentid>
    <comment_count>0</comment_count>
    <who name="Karthik Kumar">karthikkumar</who>
    <bug_when>2006-09-13 05:12:37 -0700</bug_when>
    <thetext>Apparently in {$WebKit}/WebCore/bindings/scripts/CodeGenerator.pm, Line 211:

 $thisDir = &quot;$ENV{SOURCE_ROOT}/$directory&quot;;

breaks. The only real way to fix it is to change it to:

 $thisDir = &quot;/cygdrive/c/Webkit/WebCore/$directory&quot;;

 (or some other absolute path)

or change the cygwin config (.bashrc) and set the variable.

Setting too many messy environmental variables is also hard. 

Suggestions: 

1. Please make the script get the current directory and scan in it.
2. Use basename of the target idl file to be scanned and scan in it.
3. Re-document the build procedure.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>55381</commentid>
    <comment_count>1</comment_count>
    <who name="Mark Rowe (bdash)">mrowe</who>
    <bug_when>2006-09-13 05:15:34 -0700</bug_when>
    <thetext>This is also broken on the Windows build slave.  SOURCE_ROOT appears to be automagically set from Xcode, so it is not available on Windows without the user manually setting it.  IMO the path should be derived from the absolute path to the script being executed (similar to point 2 in Karthik&apos;s comment).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>55383</commentid>
    <comment_count>2</comment_count>
    <who name="Mark Rowe (bdash)">mrowe</who>
    <bug_when>2006-09-13 05:18:02 -0700</bug_when>
    <thetext>The use of SOURCE_ROOT was introduced in r16342 (http://trac.webkit.org/projects/webkit/changeset/16342).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>55413</commentid>
    <comment_count>3</comment_count>
    <who name="Adam Roben (:aroben)">aroben</who>
    <bug_when>2006-09-13 10:18:05 -0700</bug_when>
    <thetext>Why not just set SOURCE_ROOT in build-generated-files.sh?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>55419</commentid>
    <comment_count>4</comment_count>
      <attachid>10537</attachid>
    <who name="Darin Fisher (:fishd, Google)">fishd</who>
    <bug_when>2006-09-13 10:57:45 -0700</bug_when>
    <thetext>Created attachment 10537
patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>55421</commentid>
    <comment_count>5</comment_count>
      <attachid>10537</attachid>
    <who name="Adam Roben (:aroben)">aroben</who>
    <bug_when>2006-09-13 10:59:29 -0700</bug_when>
    <thetext>Comment on attachment 10537
patch

r=me</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>55424</commentid>
    <comment_count>6</comment_count>
      <attachid>10537</attachid>
    <who name="Adam Roben (:aroben)">aroben</who>
    <bug_when>2006-09-13 11:08:23 -0700</bug_when>
    <thetext>Comment on attachment 10537
patch

Landed as r16345.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>10537</attachid>
            <date>2006-09-13 10:57:45 -0700</date>
            <delta_ts>2006-09-13 10:59:29 -0700</delta_ts>
            <desc>patch</desc>
            <filename>win-fix.diff</filename>
            <type>text/plain</type>
            <size>535</size>
            <attacher name="Darin Fisher (:fishd, Google)">fishd</attacher>
            
              <data encoding="base64">SW5kZXg6IGJ1aWxkLWdlbmVyYXRlZC1maWxlcy5zaAo9PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBidWlsZC1nZW5l
cmF0ZWQtZmlsZXMuc2gJKHJldmlzaW9uIDE2MzQ0KQorKysgYnVpbGQtZ2VuZXJhdGVkLWZpbGVz
LnNoCSh3b3JraW5nIGNvcHkpCkBAIC0xMiw2ICsxMiw5IEBACiBTUkNST09UPWBjeWdwYXRoIC11
ICIkU1JDUk9PVCJgCiBleHBvcnQgU1JDUk9PVAogCisjIFhjb2RlIGFsc28gZGVmaW5lcyB0aGlz
IHZhcmlhYmxlLgorZXhwb3J0IFNPVVJDRV9ST09UPSIkU1JDUk9PVCIKKwogIyBGSVhNRTogRXZl
bnR1YWxseSB3aW4zMiBtaWdodCB3aXNoIHRvIGdlbmVyYXRlIHRvIHRoZSBEZWJ1Zy9SZWxlYXNl
IG91dHB1dCBkaXJlY3Rvcmllcy4KIGV4cG9ydCBCVUlMVF9QUk9EVUNUU19ESVI9IiRTUkNST09U
IgogZXhwb3J0IENSRUFURV9IQVNIX1RBQkxFPSIkU1JDUk9PVC8uLi9KYXZhU2NyaXB0Q29yZS9r
anMvY3JlYXRlX2hhc2hfdGFibGUiCg==
</data>
<flag name="review"
          id="3407"
          type_id="1"
          status="+"
          setter="aroben"
    />
          </attachment>
      

    </bug>

</bugzilla>