WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
47377
[Qt] WebKit2 build scripts are buggy
https://bugs.webkit.org/show_bug.cgi?id=47377
Summary
[Qt] WebKit2 build scripts are buggy
Csaba Osztrogonác
Reported
2010-10-07 13:49:02 PDT
Created
attachment 70145
[details]
build log It is an incremental build problem revealed by
http://trac.webkit.org/changeset/69329
. Clean build solved the build break, build log attached.
Attachments
build log
(363.74 KB, text/plain)
2010-10-07 13:49 PDT
,
Csaba Osztrogonác
no flags
Details
proposed fix
(5.87 KB, patch)
2010-10-11 05:09 PDT
,
Csaba Osztrogonác
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Csaba Osztrogonác
Comment 1
2010-10-11 05:09:50 PDT
Created
attachment 70430
[details]
proposed fix
Csaba Osztrogonác
Comment 2
2010-10-11 05:32:14 PDT
My proposed patch will fix this build issue. But I have some questions. There are 7 generated message receivers in WebKit2/DerivedSources.make, but only 3 in DerivedSources.pro. Is there any reason why? I guess Qt port of WebKit2 doesn't use them now. Andras, could you confirm? Will we need them for the future development? If yes, I propose we should add them to the build system and refactor/simplify generator rules in DerivedSources.pro. It would be great if we have only two generator rules: one for headers and one for sources. Message receivers in DerivedSources.pro: WebPage WebPageProxy WebProcess Missing message receivers: [
r68170
] PluginProcess [
r68309
] PluginProcessProxy [
r68612
] PluginProxy [
r68445
] WebProcessConnection
Andreas Kling
Comment 3
2010-10-11 06:09:48 PDT
Comment on
attachment 70430
[details]
proposed fix LGTM
Csaba Osztrogonác
Comment 4
2010-10-11 06:19:23 PDT
Comment on
attachment 70430
[details]
proposed fix Clearing flags on attachment: 70430 Committed
r69488
: <
http://trac.webkit.org/changeset/69488
>
Csaba Osztrogonác
Comment 5
2010-10-11 06:19:34 PDT
All reviewed patches have been landed. Closing bug.
Andras Becsi
Comment 6
2010-10-11 10:34:25 PDT
(In reply to
comment #2
)
> My proposed patch will fix this build issue. > > But I have some questions. There are 7 generated message receivers > in WebKit2/DerivedSources.make, but only 3 in DerivedSources.pro. > Is there any reason why?
Yes, we currently do not support plugins in separate processes yet.
> > I guess Qt port of WebKit2 doesn't use them now. Andras, could you > confirm? Will we need them for the future development? If yes, I > propose we should add them to the build system and refactor/simplify > generator rules in DerivedSources.pro. It would be great if we have > only two generator rules: one for headers and one for sources.
I totally agree, we should refactor the code generation as soon as possible, to make it less copy-paste prone.
Sam Weinig
Comment 7
2010-10-11 11:25:56 PDT
It would be great if you could use the DerivedSource.make file instead of your own. I believe Qt uses DerivedSources.make in WebCore, is there a reason you can't here. It would make my life easier.
Balazs Kelemen
Comment 8
2010-10-11 17:10:11 PDT
(In reply to
comment #7
)
> It would be great if you could use the DerivedSource.make file instead of your own. I believe Qt uses DerivedSources.make in WebCore, is there a reason you can't here. It would make my life easier.
We cannot use DerivedSources.make because it is chinese for qmake. Qt uses only the .pri and .pro files. In WebCore we have a WebCore.pro and a DerivedSources.pro as well as in WebKit2. We do not expect from you to handle fancy things like generator scripts in our build system but I would like to ask you to inform us if you add such things to the build system so we can handle that. Unfortunately our time zone has about 8 hours difference to your's so I cannot promise we are on IRC all the time when it would be needed but if you add us to the cc list of such problematic patches or ping us on IRC when we are on then it would be very helpful. Here are the u-szeged guys who deals with the qtwebkit2 build:
ossy@webkit.org
- Ossy
abecsi@webkit.org
- bbandix
zoltan@webkit.org
- Zoltan
kbalazs@webkit.org
- kbalazs (me)
Csaba Osztrogonác
Comment 9
2010-10-12 05:57:35 PDT
(In reply to
comment #7
)
> It would be great if you could use the DerivedSource.make file instead of your own. I believe Qt uses DerivedSources.make in WebCore, is there a reason you can't here. It would make my life easier.
Unfortunately we can't use DerivedSources.make, because Qt is cross-platform, and we can't expect that GNU make is available. But we're going to simplify generator rules:
https://bugs.webkit.org/show_bug.cgi?id=47543
Kenneth Rohde Christiansen
Comment 10
2010-10-12 07:07:02 PDT
(In reply to
comment #8
)
> (In reply to
comment #7
) > > It would be great if you could use the DerivedSource.make file instead of your own. I believe Qt uses DerivedSources.make in WebCore, is there a reason you can't here. It would make my life easier. > > We cannot use DerivedSources.make because it is chinese for qmake.
It mut be possible to generate it from DerivedSource.make using a python script. Are you considering that?
Balazs Kelemen
Comment 11
2010-10-12 07:09:04 PDT
> It mut be possible to generate it from DerivedSource.make using a python script. Are you considering that?
No.
Kenneth Rohde Christiansen
Comment 12
2010-10-12 07:16:57 PDT
(In reply to
comment #11
)
> > It mut be possible to generate it from DerivedSource.make using a python script. Are you considering that? > > No.
I mean... :-) Do you have anything against such a solution? what are the pros/cons? Or are there things that makes this extremely complicated?
Balazs Kelemen
Comment 13
2010-10-12 07:23:20 PDT
(In reply to
comment #12
)
> (In reply to
comment #11
) > > > It mut be possible to generate it from DerivedSource.make using a python script. Are you considering that? > > > > No. > > I mean... :-) Do you have anything against such a solution? what are the pros/cons? Or are there things that makes this extremely complicated?
It does not makes sense to me to implementing a new meta-generator for that in python. I have no knowledge in python. If somebody feel himself enough brave to implement this, and the implementation is working properly then I am ok with that.
Kenneth Rohde Christiansen
Comment 14
2010-10-12 07:25:10 PDT
Ademar, maybe that is something interesting for you to do?
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