<?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>47895</bug_id>
          
          <creation_ts>2010-10-19 03:40:19 -0700</creation_ts>
          <short_desc>Building of WK2 APIs using Python fails on Scratchbox</short_desc>
          <delta_ts>2010-11-02 10:35:32 -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>Other</rep_platform>
          <op_sys>Linux</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="Christian Sejersen">christian.webkit</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>commit-queue</cc>
    
    <cc>dbates</cc>
    
    <cc>kenneth</cc>
    
    <cc>webkit.review.bot</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>296098</commentid>
    <comment_count>0</comment_count>
    <who name="Christian Sejersen">christian.webkit</who>
    <bug_when>2010-10-19 03:40:19 -0700</bug_when>
    <thetext>In Scratchbox the default Python version is 2.3 and it doesn&apos;t support most of the features in generate-messages-header.py and generate-message-receiver.py</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>296186</commentid>
    <comment_count>1</comment_count>
      <attachid>71170</attachid>
    <who name="Christian Sejersen">christian.webkit</who>
    <bug_when>2010-10-19 07:46:57 -0700</bug_when>
    <thetext>Created attachment 71170
Patch to force use of Python 2.6 in Scratchbox</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>296187</commentid>
    <comment_count>2</comment_count>
      <attachid>71170</attachid>
    <who name="Kenneth Rohde Christiansen">kenneth</who>
    <bug_when>2010-10-19 07:50:25 -0700</bug_when>
    <thetext>Comment on attachment 71170
Patch to force use of Python 2.6 in Scratchbox

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

&gt; WebKit2/DerivedSources.pro:32
&gt; +linux*:contains(QMAKE_HOST.arch, arm): {
&gt; +    PYTHON = python2.6
&gt; +} else {

Are you sure this doesn&apos;t break anything? Like if someone builds for ARM without using scratchbox?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>296199</commentid>
    <comment_count>3</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2010-10-19 08:10:10 -0700</bug_when>
    <thetext>The commit-queue encountered the following flaky tests while processing attachment 71170:

http/tests/security/xssAuditor/script-tag-with-source-entities.html
java/lc3/JSObject/ToObject-001.html

Please file bugs against the tests.  The author(s) of the test(s) have been CCed on this bug.  The commit-queue is continuing to process your patch.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>296209</commentid>
    <comment_count>4</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2010-10-19 08:31:15 -0700</bug_when>
    <thetext>The commit-queue encountered the following flaky tests while processing attachment 71170:

http/tests/appcache/404-manifest.html

Please file bugs against the tests.  The author(s) of the test(s) have been CCed on this bug.  The commit-queue is continuing to process your patch.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>296210</commentid>
    <comment_count>5</comment_count>
      <attachid>71170</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2010-10-19 08:32:02 -0700</bug_when>
    <thetext>Comment on attachment 71170
Patch to force use of Python 2.6 in Scratchbox

Clearing flags on attachment: 71170

Committed r70061: &lt;http://trac.webkit.org/changeset/70061&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>296211</commentid>
    <comment_count>6</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2010-10-19 08:32:08 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>296377</commentid>
    <comment_count>7</comment_count>
    <who name="Christian Sejersen">christian.webkit</who>
    <bug_when>2010-10-19 13:50:40 -0700</bug_when>
    <thetext>(In reply to comment #2)
&gt; (From update of attachment 71170 [details])
&gt; View in context: https://bugs.webkit.org/attachment.cgi?id=71170&amp;action=review
&gt; 
&gt; &gt; WebKit2/DerivedSources.pro:32
&gt; &gt; +linux*:contains(QMAKE_HOST.arch, arm): {
&gt; &gt; +    PYTHON = python2.6
&gt; &gt; +} else {
&gt; 
&gt; Are you sure this doesn&apos;t break anything? Like if someone builds for ARM without using scratchbox?

It certainly can break if there is no python2.6, so if there is a way to detect if it is Scratchbox, I can change it to use that.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>302678</commentid>
    <comment_count>8</comment_count>
      <attachid>72505</attachid>
    <who name="Christian Sejersen">christian.webkit</who>
    <bug_when>2010-11-01 07:51:54 -0700</bug_when>
    <thetext>Created attachment 72505
Proper fix for detecting scratchbox

The previous patch (71170) will break when building in Scratchbox for a non-ARM target.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>302679</commentid>
    <comment_count>9</comment_count>
    <who name="Kenneth Rohde Christiansen">kenneth</who>
    <bug_when>2010-11-01 07:53:41 -0700</bug_when>
    <thetext>reopening</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>302680</commentid>
    <comment_count>10</comment_count>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2010-11-01 07:54:46 -0700</bug_when>
    <thetext>Attachment 72505 did not pass style-queue:

Failed to run &quot;[&apos;WebKitTools/Scripts/check-webkit-style&apos;]&quot; exit_code: 1
WebKit2/ChangeLog:6:  Line contains tab character.  [whitespace/tab] [5]
WebKit2/ChangeLog:7:  Line contains tab character.  [whitespace/tab] [5]
Total errors found: 2 in 2 files


If any of these errors are false positives, please file a bug against check-webkit-style.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>302702</commentid>
    <comment_count>11</comment_count>
      <attachid>72507</attachid>
    <who name="Christian Sejersen">christian.webkit</who>
    <bug_when>2010-11-01 08:25:55 -0700</bug_when>
    <thetext>Created attachment 72507
Same as sb-python-2.patch but without tabs

Removed tabs from Changelog</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>302707</commentid>
    <comment_count>12</comment_count>
      <attachid>72507</attachid>
    <who name="Andreas Kling">kling</who>
    <bug_when>2010-11-01 08:36:10 -0700</bug_when>
    <thetext>Comment on attachment 72507
Same as sb-python-2.patch but without tabs

LGTM.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>303459</commentid>
    <comment_count>13</comment_count>
      <attachid>72507</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2010-11-02 10:35:26 -0700</bug_when>
    <thetext>Comment on attachment 72507
Same as sb-python-2.patch but without tabs

Clearing flags on attachment: 72507

Committed r71128: &lt;http://trac.webkit.org/changeset/71128&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>303460</commentid>
    <comment_count>14</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2010-11-02 10:35:32 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="1"
              ispatch="1"
              isprivate="0"
          >
            <attachid>71170</attachid>
            <date>2010-10-19 07:46:57 -0700</date>
            <delta_ts>2010-11-01 07:51:54 -0700</delta_ts>
            <desc>Patch to force use of Python 2.6 in Scratchbox</desc>
            <filename>sb-python.patch</filename>
            <type>text/plain</type>
            <size>1045</size>
            <attacher name="Christian Sejersen">christian.webkit</attacher>
            
              <data encoding="base64">SW5kZXg6IFdlYktpdDIvQ2hhbmdlTG9nCj09PT09PT09PT09PT09PT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RTUFLRV9IT1NULmFyY2gsIGFybSk6IHsKKyAgICBQWVRIT04gPSBweXRo
b24yLjYKK30gZWxzZSB7CisgICAgUFlUSE9OID0gcHl0aG9uCit9CisKKwogRElSUyA9IFwKICAg
ICAkJE9VVFBVVF9ESVIvaW5jbHVkZS9KYXZhU2NyaXB0Q29yZSBcCiAgICAgJCRPVVRQVVRfRElS
L2luY2x1ZGUvV2ViQ29yZSBcCg==
</data>

          </attachment>
          <attachment
              isobsolete="1"
              ispatch="1"
              isprivate="0"
          >
            <attachid>72505</attachid>
            <date>2010-11-01 07:51:54 -0700</date>
            <delta_ts>2010-11-01 08:25:55 -0700</delta_ts>
            <desc>Proper fix for detecting scratchbox</desc>
            <filename>sb-python-2.patch</filename>
            <type>text/plain</type>
            <size>1010</size>
            <attacher name="Christian Sejersen">christian.webkit</attacher>
            
              <data encoding="base64">SW5kZXg6IFdlYktpdDIvQ2hhbmdlTG9nCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIFdlYktpdDIvQ2hhbmdlTG9n
CShyZXZpc2lvbiA3MTAyNCkKKysrIFdlYktpdDIvQ2hhbmdlTG9nCSh3b3JraW5nIGNvcHkpCkBA
IC0xLDMgKzEsMTMgQEAKKzIwMTAtMTEtMDEgIENocmlzdGlhbiBTZWplcnNlbiAgPGNocmlzdGlh
bi53ZWJraXRAZ21haWwuY29tPgorCisgICAgICAgIFJldmlld2VkIGJ5IE5PQk9EWSAoT09QUyEp
LgorCisgICAgICAgIFRoZSBwcmV2aW91cyBwYXRjaCBvbmx5IHRvb2sgaW50byBhY2NvdW50IGFy
bSB0YXJnZXRzLiBUaGlzIG9uZQorCW5vdyBjaGVja3Mgd2hldGhlciB0aGUgYnVpbGQgaXMgZG9u
ZSBpbnNpZGUgU2NyYXRjaGJveC4KKwlodHRwczovL2J1Z3Mud2Via2l0Lm9yZy9zaG93X2J1Zy5j
Z2k/aWQ9NDc4OTUKKworICAgICAgICAqIERlcml2ZWRTb3VyY2VzLnBybzoKKwogMjAxMC0xMC0z
MSAgRGFyaW4gQWRsZXIgIDxkYXJpbkBhcHBsZS5jb20+CiAKICAgICAgICAgUmV2aWV3ZWQgYnkg
RGFuIEJlcm5zdGVpbi4KSW5kZXg6IFdlYktpdDIvRGVyaXZlZFNvdXJjZXMucHJvCj09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT0KLS0tIFdlYktpdDIvRGVyaXZlZFNvdXJjZXMucHJvCShyZXZpc2lvbiA3MTAxOSkKKysrIFdl
YktpdDIvRGVyaXZlZFNvdXJjZXMucHJvCSh3b3JraW5nIGNvcHkpCkBAIC0yNyw3ICsyNyw4IEBA
IHdpbjMyLW1zdmMqfHN5bWJpYW4gewogICAgIERPVUJMRV9FU0NBUEVEX1FVT1RFID0gIlxcXCci
CiB9CiAKLWxpbnV4Kjpjb250YWlucyhRTUFLRV9IT1NULmFyY2gsIGFybSk6IHsKK1NCT1hfQ0hF
Q0sgPSAkJChfU0JPWF9ESVIpCishaXNFbXB0eShTQk9YX0NIRUNLKSB7CiAgICAgUFlUSE9OID0g
cHl0aG9uMi42CiB9IGVsc2UgewogICAgIFBZVEhPTiA9IHB5dGhvbgo=
</data>
<flag name="review"
          id="62768"
          type_id="1"
          status="+"
          setter="kenneth"
    />
    <flag name="commit-queue"
          id="62769"
          type_id="3"
          status="+"
          setter="kenneth"
    />
          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>72507</attachid>
            <date>2010-11-01 08:25:55 -0700</date>
            <delta_ts>2010-11-02 10:35:26 -0700</delta_ts>
            <desc>Same as sb-python-2.patch but without tabs</desc>
            <filename>sb-python-3.patch</filename>
            <type>text/plain</type>
            <size>1024</size>
            <attacher name="Christian Sejersen">christian.webkit</attacher>
            
              <data encoding="base64">SW5kZXg6IFdlYktpdDIvQ2hhbmdlTG9nCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIFdlYktpdDIvQ2hhbmdlTG9n
CShyZXZpc2lvbiA3MTAyNCkKKysrIFdlYktpdDIvQ2hhbmdlTG9nCSh3b3JraW5nIGNvcHkpCkBA
IC0xLDMgKzEsMTMgQEAKKzIwMTAtMTEtMDEgIENocmlzdGlhbiBTZWplcnNlbiAgPGNocmlzdGlh
bi53ZWJraXRAZ21haWwuY29tPgorCisgICAgICAgIFJldmlld2VkIGJ5IE5PQk9EWSAoT09QUyEp
LgorCisgICAgICAgIFRoZSBwcmV2aW91cyBwYXRjaCBvbmx5IHRvb2sgaW50byBhY2NvdW50IGFy
bSB0YXJnZXRzLiBUaGlzIG9uZQorICAgICAgICBub3cgY2hlY2tzIHdoZXRoZXIgdGhlIGJ1aWxk
IGlzIGRvbmUgaW5zaWRlIFNjcmF0Y2hib3guCisgICAgICAgIGh0dHBzOi8vYnVncy53ZWJraXQu
b3JnL3Nob3dfYnVnLmNnaT9pZD00Nzg5NQorCisgICAgICAgICogRGVyaXZlZFNvdXJjZXMucHJv
OgorCiAyMDEwLTEwLTMxICBEYXJpbiBBZGxlciAgPGRhcmluQGFwcGxlLmNvbT4KIAogICAgICAg
ICBSZXZpZXdlZCBieSBEYW4gQmVybnN0ZWluLgpJbmRleDogV2ViS2l0Mi9EZXJpdmVkU291cmNl
cy5wcm8KPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PQotLS0gV2ViS2l0Mi9EZXJpdmVkU291cmNlcy5wcm8JKHJldmlzaW9u
IDcxMDE5KQorKysgV2ViS2l0Mi9EZXJpdmVkU291cmNlcy5wcm8JKHdvcmtpbmcgY29weSkKQEAg
LTI3LDcgKzI3LDggQEAgd2luMzItbXN2Yyp8c3ltYmlhbiB7CiAgICAgRE9VQkxFX0VTQ0FQRURf
UVVPVEUgPSAiXFxcJyIKIH0KIAotbGludXgqOmNvbnRhaW5zKFFNQUtFX0hPU1QuYXJjaCwgYXJt
KTogeworU0JPWF9DSEVDSyA9ICQkKF9TQk9YX0RJUikKKyFpc0VtcHR5KFNCT1hfQ0hFQ0spIHsK
ICAgICBQWVRIT04gPSBweXRob24yLjYKIH0gZWxzZSB7CiAgICAgUFlUSE9OID0gcHl0aG9uCg==
</data>

          </attachment>
      

    </bug>

</bugzilla>