build-libcurl-windows icon indicating copy to clipboard operation
build-libcurl-windows copied to clipboard

running build.bat fails on curl download

Open bsenftner opened this issue 7 years ago • 3 comments

Just git cloned, on a Win10 system with Visual Studio Community 2015, executing from a VS2015 native tools command prompt, as administrator. After downloading curl.zip build.bat fails to open the file as an archive. The curl.zip file size is zero bytes, btw.

Here's the output:

build.bat
Using Visual Studio 2015
Setting up environment
Get download url...
**** Retrieving:http://curl.haxx.se/download.html ****
**** Processing: http://curl.haxx.se/download.html ****
Downloading latest curl...
--15:11:49--  http://curl.haxx.se/download/curl-7.54.0.zip
           => `curl.zip'
Resolving curl.haxx.se... done.
Connecting to curl.haxx.se[151.101.26.49]:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://curl.haxx.se/download/curl-7.54.0.zip [following]
--15:11:49--  https://curl.haxx.se/download/curl-7.54.0.zip
           => `curl.zip'
Connecting to curl.haxx.se[151.101.26.49]:443... connected.

Unable to establish SSL connection.

Unable to establish SSL connection.


Processing archive: curl.zip

Error: Can not open file as archive

There is more output after this, but it relates to files not being found that should have been in the zip.

bsenftner avatar May 10 '17 22:05 bsenftner

This is also happening on the appveyor build.

https://github.com/blackrosezy/build-libcurl-windows/pull/17

ghost avatar May 21 '17 04:05 ghost

It's worse than that, the current code has badly formatted statements which actually wouldn't work anyway.

g1xb17 avatar Jan 01 '18 17:01 g1xb17

absolutely not work

AngelTs avatar Jan 19 '18 09:01 AngelTs