Title: [166932] trunk/Tools
Revision
166932
Author
bfulg...@apple.com
Date
2014-04-08 09:47:12 -0700 (Tue, 08 Apr 2014)

Log Message

Unreviewed gardening: Prevent users from attempting
to build with known invalid cURL.

* Scripts/webkitdirs.pm:
(checkInstalledTools): Block build attempts with bad
Cygwin tool set.

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (166931 => 166932)


--- trunk/Tools/ChangeLog	2014-04-08 16:40:04 UTC (rev 166931)
+++ trunk/Tools/ChangeLog	2014-04-08 16:47:12 UTC (rev 166932)
@@ -1,3 +1,12 @@
+2014-04-08  Brent Fulgham  <bfulg...@apple.com>
+
+        Unreviewed gardening: Prevent users from attempting
+        to build with known invalid cURL.
+
+        * Scripts/webkitdirs.pm:
+        (checkInstalledTools): Block build attempts with bad
+        Cygwin tool set.
+
 2014-04-07  Geoffrey Garen  <gga...@apple.com>
 
         Build bmalloc on Mac

Modified: trunk/Tools/Scripts/webkitdirs.pm (166931 => 166932)


--- trunk/Tools/Scripts/webkitdirs.pm	2014-04-08 16:40:04 UTC (rev 166931)
+++ trunk/Tools/Scripts/webkitdirs.pm	2014-04-08 16:47:12 UTC (rev 166932)
@@ -1419,6 +1419,16 @@
     die "You must have Python installed to build WebKit.\n" if ($?);
     die "Python 2.7.3 is not compatible with the WebKit build. Please downgrade to Python 2.6.8.\n" if ($pythonVer =~ /2\.7\.3/);
 
+    # cURL 7.34.0 has a bug that prevents authentication with opensource.apple.com (and other things using SSL3).
+    my $curlVer = `curl --version | grep "curl"`;
+    chomp($curlVer);
+    if (!$? and $curlVer =~ /libcurl\/7\.33\.0/) {
+        print "cURL version 7.34.0 has a bug that prevents authentication with SSL v2 or v3.\n";
+        print "cURL 7.33.0 is known to work. The cURL projects is preparing an update to\n";
+        print "correct this problem.\n\n";
+        die "Please install a working cURL and try again.\n";
+    }
+
     # MathML requires fonts that do not ship with Windows (at least through Windows 8). Warn the user if they are missing
     my @fonts = qw(STIXGeneral-Regular MathJax_Main-Regular);
     my @missing = ();
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to