WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
47895
Building of WK2 APIs using Python fails on Scratchbox
https://bugs.webkit.org/show_bug.cgi?id=47895
Summary
Building of WK2 APIs using Python fails on Scratchbox
Christian Sejersen
Reported
2010-10-19 03:40:19 PDT
In Scratchbox the default Python version is 2.3 and it doesn't support most of the features in generate-messages-header.py and generate-message-receiver.py
Attachments
Patch to force use of Python 2.6 in Scratchbox
(1.02 KB, patch)
2010-10-19 07:46 PDT
,
Christian Sejersen
no flags
Details
Formatted Diff
Diff
Proper fix for detecting scratchbox
(1010 bytes, patch)
2010-11-01 07:51 PDT
,
Christian Sejersen
kenneth
: review+
kenneth
: commit-queue+
Details
Formatted Diff
Diff
Same as sb-python-2.patch but without tabs
(1.00 KB, patch)
2010-11-01 08:25 PDT
,
Christian Sejersen
no flags
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Christian Sejersen
Comment 1
2010-10-19 07:46:57 PDT
Created
attachment 71170
[details]
Patch to force use of Python 2.6 in Scratchbox
Kenneth Rohde Christiansen
Comment 2
2010-10-19 07:50:25 PDT
Comment on
attachment 71170
[details]
Patch to force use of Python 2.6 in Scratchbox View in context:
https://bugs.webkit.org/attachment.cgi?id=71170&action=review
> WebKit2/DerivedSources.pro:32 > +linux*:contains(QMAKE_HOST.arch, arm): { > + PYTHON = python2.6 > +} else {
Are you sure this doesn't break anything? Like if someone builds for ARM without using scratchbox?
WebKit Commit Bot
Comment 3
2010-10-19 08:10:10 PDT
The commit-queue encountered the following flaky tests while processing
attachment 71170
[details]
: 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.
WebKit Commit Bot
Comment 4
2010-10-19 08:31:15 PDT
The commit-queue encountered the following flaky tests while processing
attachment 71170
[details]
: 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.
WebKit Commit Bot
Comment 5
2010-10-19 08:32:02 PDT
Comment on
attachment 71170
[details]
Patch to force use of Python 2.6 in Scratchbox Clearing flags on attachment: 71170 Committed
r70061
: <
http://trac.webkit.org/changeset/70061
>
WebKit Commit Bot
Comment 6
2010-10-19 08:32:08 PDT
All reviewed patches have been landed. Closing bug.
Christian Sejersen
Comment 7
2010-10-19 13:50:40 PDT
(In reply to
comment #2
)
> (From update of
attachment 71170
[details]
) > View in context:
https://bugs.webkit.org/attachment.cgi?id=71170&action=review
> > > WebKit2/DerivedSources.pro:32 > > +linux*:contains(QMAKE_HOST.arch, arm): { > > + PYTHON = python2.6 > > +} else { > > Are you sure this doesn'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.
Christian Sejersen
Comment 8
2010-11-01 07:51:54 PDT
Created
attachment 72505
[details]
Proper fix for detecting scratchbox The previous patch (71170) will break when building in Scratchbox for a non-ARM target.
Kenneth Rohde Christiansen
Comment 9
2010-11-01 07:53:41 PDT
reopening
WebKit Review Bot
Comment 10
2010-11-01 07:54:46 PDT
Attachment 72505
[details]
did not pass style-queue: Failed to run "['WebKitTools/Scripts/check-webkit-style']" 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.
Christian Sejersen
Comment 11
2010-11-01 08:25:55 PDT
Created
attachment 72507
[details]
Same as sb-python-2.patch but without tabs Removed tabs from Changelog
Andreas Kling
Comment 12
2010-11-01 08:36:10 PDT
Comment on
attachment 72507
[details]
Same as sb-python-2.patch but without tabs LGTM.
WebKit Commit Bot
Comment 13
2010-11-02 10:35:26 PDT
Comment on
attachment 72507
[details]
Same as sb-python-2.patch but without tabs Clearing flags on attachment: 72507 Committed
r71128
: <
http://trac.webkit.org/changeset/71128
>
WebKit Commit Bot
Comment 14
2010-11-02 10:35:32 PDT
All reviewed patches have been landed. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug