Bug 143040

Summary: Migrate update-webkit for Windows to not require Cygwin
Product: WebKit Reporter: Myles C. Maxfield <mmaxfield>
Component: New BugsAssignee: Myles C. Maxfield <mmaxfield>
Status: RESOLVED FIXED    
Severity: Normal CC: bfulgham, commit-queue, dbates, ossy
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 143086    
Bug Blocks:    
Attachments:
Description Flags
Patch
none
Patch bfulgham: review+, bfulgham: commit-queue-

Myles C. Maxfield
Reported 2015-03-24 22:48:02 PDT
Migrate update-webkit-dependency to raw Perl
Attachments
Patch (3.75 KB, patch)
2015-03-24 22:49 PDT, Myles C. Maxfield
no flags
Patch (6.58 KB, patch)
2015-03-25 11:08 PDT, Myles C. Maxfield
bfulgham: review+
bfulgham: commit-queue-
Myles C. Maxfield
Comment 1 2015-03-24 22:49:22 PDT
Myles C. Maxfield
Comment 2 2015-03-24 23:13:13 PDT
Comment on attachment 249386 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=249386&action=review > Tools/Scripts/update-webkit-dependency:131 > +#$result = system "unzip", "-q", "-d", $tmpAbsDir, "$tmpAbsDir/$zipFile"; Whoops
Myles C. Maxfield
Comment 3 2015-03-25 11:08:58 PDT
Brent Fulgham
Comment 4 2015-03-25 12:03:58 PDT
The updated Perl code no longer works under Cygwin. I know the goal is to get rid of Cygwin, but we can't land anything that will break the build system. I'm debugging this now to see why it doesn't work (it seems like it should be fine). It might just be a missing Perl dependency.
Brent Fulgham
Comment 5 2015-03-25 12:36:17 PDT
It looks like making sure the Cygwin install has the Perl SSL stuff installed, and then doing: cpan LWP::Protocol::https is sufficient to get things working.
Brent Fulgham
Comment 6 2015-03-25 12:39:00 PDT
Comment on attachment 249415 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=249415&action=review > Tools/Scripts/update-webkit-dependency:98 > print STDERR "Please ensure that $libsURL is reachable.\n"; Please add an error message indicating that Perl LWP::Simple may be missing https support.
Myles C. Maxfield
Comment 7 2015-03-25 15:47:26 PDT
Csaba Osztrogonác
Comment 8 2015-03-26 01:11:12 PDT
(In reply to comment #7) > Committed r181977: <http://trac.webkit.org/changeset/181977> It broke the WinCairo bot, see bug143086 for details.
Myles C. Maxfield
Comment 9 2015-04-07 23:18:13 PDT
Comment on attachment 249415 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=249415&action=review Overall comments > Tools/Scripts/webkitdirs.pm:1529 > + my $ret = system "setx", $variable, $variablesToSet{$variable}; This almost certainly does not do what I expected.
Note You need to log in before you can comment on or make changes to this bug.