RESOLVED FIXED Bug 58333
[GTK] arguments passed to build-jsc are not taken into account
https://bugs.webkit.org/show_bug.cgi?id=58333
Summary [GTK] arguments passed to build-jsc are not taken into account
thouraya
Reported 2011-04-12 09:13:41 PDT
Hello, Arguments passed to build-jsc and build-webkit scripts are not taken into account. I will submit a patch to fix the problem. Regards, Thouraya.
Attachments
Fix arguments issue (1.95 KB, patch)
2011-04-12 09:18 PDT, thouraya
no flags
Fix arguments issue (1.90 KB, patch)
2011-04-12 09:50 PDT, thouraya
no flags
Fix arguments issue (1.42 KB, patch)
2011-04-13 04:07 PDT, thouraya
no flags
thouraya
Comment 1 2011-04-12 09:18:59 PDT
Created attachment 89214 [details] Fix arguments issue
thouraya
Comment 2 2011-04-12 09:50:33 PDT
Created attachment 89218 [details] Fix arguments issue
Eric Seidel (no email)
Comment 3 2011-04-12 10:50:27 PDT
Comment on attachment 89218 [details] Fix arguments issue I'm rubber-stamping this on the assumption that this is the way teh gtk folks want build-webkit to work for them.
WebKit Commit Bot
Comment 4 2011-04-12 12:24:49 PDT
Comment on attachment 89218 [details] Fix arguments issue Clearing flags on attachment: 89218 Committed r83621: <http://trac.webkit.org/changeset/83621>
WebKit Commit Bot
Comment 5 2011-04-12 12:24:53 PDT
All reviewed patches have been landed. Closing bug.
Philippe Normand
Comment 6 2011-04-12 13:12:06 PDT
Comment on attachment 89218 [details] Fix arguments issue View in context: https://bugs.webkit.org/attachment.cgi?id=89218&action=review > Tools/Scripts/build-webkit:577 > + push(@options, @ARGV); I come a bit late as this landed. But I don't think that specific change is needed. What options exactly do you want to pass? For instance build-webkit --gtk --with-gtk=3.0 --video calls configure --with-gtk=3.0 --enable-video already. Without that patch.
Philippe Normand
Comment 7 2011-04-12 14:06:59 PDT
(In reply to comment #6) > (From update of attachment 89218 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=89218&action=review > > > Tools/Scripts/build-webkit:577 > > + push(@options, @ARGV); > > I come a bit late as this landed. But I don't think that specific change is needed. What options exactly do you want to pass? > For instance build-webkit --gtk --with-gtk=3.0 --video calls configure --with-gtk=3.0 --enable-video already. Without that patch. And indeed... http://build.webkit.org/builders/GTK%20Linux%2064-bit%20Debug/builds/21388/steps/jscore-test/logs/stdio configure: error: unrecognized option: `--gtk' Try `../../configure --help' for more information Please roll out.
Philippe Normand
Comment 8 2011-04-12 14:43:18 PDT
thouraya
Comment 9 2011-04-13 03:00:35 PDT
Hello, using build-jsc as it is and running: Tools/Scripts/build-jsc --gtk --host="${target_arch}" I get the error below : checking whether we are cross compiling... configure: error: in `/home/team/work/Webkit-tot-dev/WebKitBuild/Release': configure: error: cannot run C compiled programs. If you meant to cross compile, use `--host'. using build-webkit as it is and running: Tools/Scripts/build-webkit --gtk --host="${target_arch}" --disable-geolocation geolocation is not disabled and I got a link error due to missed library geloc Regards, Thouraya.
Philippe Normand
Comment 10 2011-04-13 03:09:20 PDT
(In reply to comment #9) > Hello, > > using build-jsc as it is and running: Tools/Scripts/build-jsc --gtk --host="${target_arch}" > > I get the error below : > > checking whether we are cross compiling... configure: error: in `/home/team/work/Webkit-tot-dev/WebKitBuild/Release': > configure: error: cannot run C compiled programs. > If you meant to cross compile, use `--host'. > Maybe your build-jsc change made sense, not sure. > > > using build-webkit as it is and running: Tools/Scripts/build-webkit --gtk --host="${target_arch}" --disable-geolocation > > geolocation is not disabled and I got a link error due to missed library geloc > build-webkit --help --[no-]geolocation Toggle Geolocation support (default: 1)
Philippe Normand
Comment 11 2011-04-13 03:14:59 PDT
Comment on attachment 89218 [details] Fix arguments issue View in context: https://bugs.webkit.org/attachment.cgi?id=89218&action=review > Tools/Scripts/build-jsc:71 > + $result = buildGtkProject("JavaScriptCore", 0, @ARGV); Probably should remove --gtk from that args first, like Qt does just below. checkForArgumentAndRemoveFromARGV("--gtk");
thouraya
Comment 12 2011-04-13 03:59:29 PDT
renamed the bug
thouraya
Comment 13 2011-04-13 04:07:44 PDT
Created attachment 89362 [details] Fix arguments issue
thouraya
Comment 14 2011-04-13 04:09:35 PDT
Hello, (In reply to comment #11) > (From update of attachment 89218 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=89218&action=review > > > Tools/Scripts/build-jsc:71 > > + $result = buildGtkProject("JavaScriptCore", 0, @ARGV); > > Probably should remove --gtk from that args first, like Qt does just below. > > checkForArgumentAndRemoveFromARGV("--gtk"); Added it. Thank you, Regards, Thouraya.
Philippe Normand
Comment 15 2011-04-13 05:56:18 PDT
(In reply to comment #14) > Hello, > > (In reply to comment #11) > > (From update of attachment 89218 [details] [details]) > > View in context: https://bugs.webkit.org/attachment.cgi?id=89218&action=review > > > > > Tools/Scripts/build-jsc:71 > > > + $result = buildGtkProject("JavaScriptCore", 0, @ARGV); > > > > Probably should remove --gtk from that args first, like Qt does just below. > > > > checkForArgumentAndRemoveFromARGV("--gtk"); > > I assume you tested this with a clean/full build? That change looks good. Having a --help option in build-jsc would be nice too but i guess this could be part of another patch.
Eric Seidel (no email)
Comment 16 2011-06-18 20:00:30 PDT
Comment on attachment 89362 [details] Fix arguments issue What are we going to do here? How does this patch move forward?
Martin Robinson
Comment 17 2011-06-19 16:24:17 PDT
(In reply to comment #16) > (From update of attachment 89362 [details]) > What are we going to do here? How does this patch move forward? It would be nice if thouraya could confirm that he tested a full build. If he's moved on, this patch is probably safe to cq.
WebKit Review Bot
Comment 18 2011-11-03 10:41:56 PDT
Comment on attachment 89362 [details] Fix arguments issue Clearing flags on attachment: 89362 Committed r99216: <http://trac.webkit.org/changeset/99216>
WebKit Review Bot
Comment 19 2011-11-03 10:42:01 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.