Bug 91667 - Use native (non-cygwin) binaries for perl, gperf, and bison in Chromium
Summary: Use native (non-cygwin) binaries for perl, gperf, and bison in Chromium
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Scott Graham
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-18 14:11 PDT by Scott Graham
Modified: 2012-07-24 11:32 PDT (History)
6 users (show)

See Also:


Attachments
Patch (9.58 KB, patch)
2012-07-18 14:15 PDT, Scott Graham
no flags Details | Formatted Diff | Diff
Patch (9.61 KB, patch)
2012-07-19 09:00 PDT, Scott Graham
no flags Details | Formatted Diff | Diff
Patch (11.31 KB, patch)
2012-07-20 15:04 PDT, Scott Graham
no flags Details | Formatted Diff | Diff
Patch (9.81 KB, patch)
2012-07-23 14:43 PDT, Scott Graham
no flags Details | Formatted Diff | Diff
Patch (10.29 KB, patch)
2012-07-24 11:05 PDT, Scott Graham
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Scott Graham 2012-07-18 14:11:46 PDT
Use native (non-cygwin) binaries for perl, gperf, and bison in Chromium
Comment 1 Scott Graham 2012-07-18 14:15:16 PDT
Created attachment 153084 [details]
Patch
Comment 2 Kentaro Hara 2012-07-18 23:20:29 PDT
Comment on attachment 153084 [details]
Patch

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

Thanks for the great speed-up.

> Source/WebCore/make-hash-tools.pl:35
>      my $colorDataGperf             = $ARGV[0];
> +    my $customGperf                = $ARGV[1];
> +    shift;
>      shift;

Nit: You can write like this:

    my $colorDataGperf = shift;
    my $customGperf = shift;
Comment 3 Scott Graham 2012-07-19 09:00:24 PDT
Created attachment 153273 [details]
Patch
Comment 4 Scott Graham 2012-07-19 09:00:48 PDT
Comment on attachment 153273 [details]
Patch

Done, thanks.
Comment 5 Kentaro Hara 2012-07-19 09:03:20 PDT
Comment on attachment 153273 [details]
Patch

OK
Comment 6 WebKit Review Bot 2012-07-19 09:56:47 PDT
Comment on attachment 153273 [details]
Patch

Clearing flags on attachment: 153273

Committed r123117: <http://trac.webkit.org/changeset/123117>
Comment 7 WebKit Review Bot 2012-07-19 09:56:52 PDT
All reviewed patches have been landed.  Closing bug.
Comment 8 Tony Chang 2012-07-19 11:07:30 PDT
The Windows build appears to be hanging on the canary bots.  I suspect this change, but I'm not sure.  I'll try to repro on a local win machine.
Comment 10 Scott Graham 2012-07-19 11:14:28 PDT
(In reply to comment #9)
> http://build.chromium.org/p/chromium.webkit/waterfall?builder=Webkit+Win+Builder&builder=Webkit+Win+Builder+%28dbg%29&builder=Win+Builder&builder=Win7+Perf&reload=none
> 
> Something between r123112 and r123118.

Must be this, perhaps a missing dependency causing a missing DLL dialog. Could you revert? (I'm not a committer)
Comment 11 Tony Chang 2012-07-19 11:15:43 PDT
Actually, I'm going to roll out because this breaks build-webkit --chromium.  We haven't added perl, bison, or gperf to the Source/WebKit/chromium/DEPS.
Comment 12 Tony Chang 2012-07-19 11:16:52 PDT
Reverted r123117 for reason:

Breaks chromium-win compile.

Committed r123124: <http://trac.webkit.org/changeset/123124>
Comment 13 Scott Graham 2012-07-20 15:04:03 PDT
Created attachment 153607 [details]
Patch
Comment 14 Scott Graham 2012-07-20 15:32:32 PDT
Added entries to chromium/DEPS. I think they're right, but I haven't been able to get update-webkit/build-webkit to work on my Windows machine (unrelated this patch) so I'm not 100% sure.
Comment 15 Tony Chang 2012-07-20 16:11:54 PDT
(In reply to comment #14)
> Added entries to chromium/DEPS. I think they're right, but I haven't been able to get update-webkit/build-webkit to work on my Windows machine (unrelated this patch) so I'm not 100% sure.

Did you make any other changes since the last change?  The previous failures I linked too weren't related to the DEPS problem-- they were on the canary bots which use a chromium checkout.
Comment 16 Scott Graham 2012-07-20 16:29:58 PDT
(In reply to comment #15)
> (In reply to comment #14)
> > Added entries to chromium/DEPS. I think they're right, but I haven't been able to get update-webkit/build-webkit to work on my Windows machine (unrelated this patch) so I'm not 100% sure.
> 
> Did you make any other changes since the last change?  The previous failures I linked too weren't related to the DEPS problem-- they were on the canary bots which use a chromium checkout.

Oh, shoot, I see. No, I didn't change anything else. I'll try to reproduce that failure.
Comment 17 Tony Chang 2012-07-20 16:34:00 PDT
I'll go ahead and land the DEPS change for you.  It should be safe and maybe make it easier to isolate the failure.
Comment 18 Tony Chang 2012-07-20 16:40:14 PDT
DEPS change:
http://trac.webkit.org/changeset/123274
Comment 19 Scott Graham 2012-07-20 17:22:42 PDT
(In reply to comment #17)
> I'll go ahead and land the DEPS change for you.  It should be safe and maybe make it easier to isolate the failure.

thanks!
Comment 20 Scott Graham 2012-07-23 14:43:19 PDT
Created attachment 153864 [details]
Patch
Comment 21 Tony Chang 2012-07-23 14:52:13 PDT
Comment on attachment 153864 [details]
Patch

Clearing flags on attachment: 153864

Committed r123387: <http://trac.webkit.org/changeset/123387>
Comment 22 Tony Chang 2012-07-23 14:52:17 PDT
All reviewed patches have been landed.  Closing bug.
Comment 23 Tony Chang 2012-07-23 14:52:44 PDT
I landed the patch manually so we can watch it on the bots.
Comment 24 Scott Graham 2012-07-23 15:18:27 PDT
(In reply to comment #23)
> I landed the patch manually so we can watch it on the bots.

Sigh, apparently something else broke. Could I get you to revert yet again? My apologies for all the noise.
Comment 25 WebKit Review Bot 2012-07-23 15:22:02 PDT
Re-opened since this is blocked by 92036
Comment 26 Tony Chang 2012-07-23 15:25:01 PDT
(In reply to comment #24)
> (In reply to comment #23)
> > I landed the patch manually so we can watch it on the bots.
> 
> Sigh, apparently something else broke. Could I get you to revert yet again? My apologies for all the noise.

Reverting in https://bugs.webkit.org/show_bug.cgi?id=92036

FWIW, you should be able to run these on the chromium try bots if you're having problems running it locally:
http://www.chromium.org/developers/testing/try-server-usage#TOC-My-patch-is-in-WebKit-only
Comment 27 Tony Chang 2012-07-23 15:26:02 PDT
mid-air collision
Comment 28 Scott Graham 2012-07-24 11:05:56 PDT
Created attachment 154108 [details]
Patch
Comment 29 Tony Chang 2012-07-24 11:23:01 PDT
Comment on attachment 154108 [details]
Patch

Actually, I want to land by hand.
Comment 30 Tony Chang 2012-07-24 11:23:55 PDT
Comment on attachment 154108 [details]
Patch

Clearing flags on attachment: 154108

Committed r123496: <http://trac.webkit.org/changeset/123496>
Comment 31 Tony Chang 2012-07-24 11:24:00 PDT
All reviewed patches have been landed.  Closing bug.
Comment 32 Scott Graham 2012-07-24 11:32:52 PDT
Previous attempts were failing due to IDE exiting silently when building a file with \'s in #line directives. Totally bizarre, see http://build.chromium.org/p/tryserver.chromium/builders/win_layout/builds/630
"SIGKILL failed to kill process" in compile step. Reproduced/debugged locally.

Current try here: http://build.chromium.org/p/tryserver.chromium/builders/win_layout/builds/636 which succeeded compile (but will probably fail later on unrelated stuff).