Created
April 26, 2015 00:50
-
-
Save scgilardi/c8fa945453c7956d15b6 to your computer and use it in GitHub Desktop.
make lib on ubuntu 14.04 curl can't download https://github.com/pixie-lang/external-deps/releases/download/1.0/Linux-x86_64.tar.bz2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
firefly-vm:~/src/pixie% make lib | |
echo https://github.com/pixie-lang/external-deps/releases/download/1.0/`uname -s`-`uname -m`.tar.bz2 | |
https://github.com/pixie-lang/external-deps/releases/download/1.0/Linux-x86_64.tar.bz2 | |
curl -L https://github.com/pixie-lang/external-deps/releases/download/1.0/`uname -s`-`uname -m`.tar.bz2 > /tmp/externals.tar.bz2 | |
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
100 398 0 398 0 0 70 0 --:--:-- 0:00:05 --:--:-- 95 | |
0 0 0 1435 0 0 126 0 --:--:-- 0:00:11 --:--:-- 457 | |
tar -jxf /tmp/externals.tar.bz2 --strip-components=2 | |
bzip2: (stdin) is not a bzip2 file. | |
tar: Child returned status 2 | |
tar: Error is not recoverable: exiting now | |
make: *** [lib] Error 2 | |
firefly-vm:~/src/pixie% cat /tmp/externals.tar.bz2 | |
<?xml version="1.0" encoding="UTF-8"?> | |
<Error><Code>SignatureDoesNotMatch</Code><Message>The request signature we calculated does not match the signature you provided. Check your key and signing method.</Message><AWSAccessKeyId>AKIAISTNZFOVBIJMK3TQ</AWSAccessKeyId><StringToSign>GET | |
application/json | |
1430009415 | |
/github-cloud/releases/31017675/4b0581e0-bb24-11e4-8e67-8932a1db6667.bz2?response-content-disposition=attachment; filename=Linux-x86_64.tar.bz2&response-content-type=application/octet-stream</StringToSign><SignatureProvided>rn0107mi3dY0vHdZYEjVSjOtBtc=</SignatureProvided><StringToSignBytes>47 45 54 0a 0a 61 70 70 6c 69 63 61 74 69 6f 6e 2f 6a 73 6f 6e 0a 31 34 33 30 30 30 39 34 31 35 0a 2f 67 69 74 68 75 62 2d 63 6c 6f 75 64 2f 72 65 6c 65 61 73 65 73 2f 33 31 30 31 37 36 37 35 2f 34 62 30 35 38 31 65 30 2d 62 62 32 34 2d 31 31 65 34 2d 38 65 36 37 2d 38 39 33 32 61 31 64 62 36 36 36 37 2e 62 7a 32 3f 72 65 73 70 6f 6e 73 65 2d 63 6f 6e 74 65 6e 74 2d 64 69 73 70 6f 73 69 74 69 6f 6e 3d 61 74 74 61 63 68 6d 65 6e 74 3b 20 66 69 6c 65 6e 61 6d 65 3d 4c 69 6e 75 78 2d 78 38 36 5f 36 34 2e 74 61 72 2e 62 7a 32 26 72 65 73 70 6f 6e 73 65 2d 63 6f 6e 74 65 6e 74 2d 74 79 70 65 3d 61 70 70 6c 69 63 61 74 69 6f 6e 2f 6f 63 74 65 74 2d 73 74 72 65 61 6d</StringToSignBytes><RequestId>13D57294F7FC7BCD</RequestId><HostId>wNKjjedrJqf/OR8dpNv/G43n9UdMIgZDpCPYIb0k74XTf9+/HZyw70jj1jD9I/kSCOBDsl9WhGw=</HostId></Error>% firefly-vm:~/src/pixie% curl -V | |
curl 7.35.0 (x86_64-pc-linux-gnu) libcurl/7.35.0 OpenSSL/1.0.1f zlib/1.2.8 libidn/1.28 librtmp/2.3 | |
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp smtp smtps telnet tftp | |
Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz TLS-SRP | |
firefly-vm:~/src/pixie% |
Here is more detail of the successful download by curl 7.41.0 on Mac OS X:
Script started on Mon Apr 27 08:25:16 2015
curl 7.41.0 (x86_64-apple-darwin14.0.0) libcurl/7.41.0 OpenSSL/1.0.2a zlib/1.2.8 libidn/1.29
Protocols: dict file ftp ftps gopher http https imap imaps pop3 pop3s rtsp smb smbs smtp smtps telnet tftp
Features: IDN IPv6 Largefile NTLM NTLM_WB SSL libz TLS-SRP UnixSockets
* Trying 192.30.252.131...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* Connected to github.com (192.30.252.131) port 443 (#0)
* successfully set certificate verify locations:
* CAfile: /opt/local/share/curl/curl-ca-bundle.crt
CApath: none
* TLSv1.2, TLS Unknown, Unknown (22):
} [5 bytes data]
* TLSv1.2, TLS handshake, Client hello (1):
} [512 bytes data]
* SSLv2, Unknown (22):
{ [5 bytes data]
* TLSv1.2, TLS handshake, Server hello (2):
{ [98 bytes data]
* SSLv2, Unknown (22):
{ [5 bytes data]
* TLSv1.2, TLS handshake, CERT (11):
{ [2731 bytes data]
* SSLv2, Unknown (22):
{ [5 bytes data]
* TLSv1.2, TLS handshake, Server key exchange (12):
{ [333 bytes data]
* SSLv2, Unknown (22):
{ [5 bytes data]
* TLSv1.2, TLS handshake, Server finished (14):
{ [4 bytes data]
* SSLv2, Unknown (22):
} [5 bytes data]
* TLSv1.2, TLS handshake, Client key exchange (16):
} [70 bytes data]
* SSLv2, Unknown (20):
} [5 bytes data]
* TLSv1.2, TLS change cipher, Client hello (1):
} [1 bytes data]
* SSLv2, Unknown (22):
} [5 bytes data]
* TLSv1.2, TLS handshake, Finished (20):
} [16 bytes data]
* SSLv2, Unknown (20):
{ [5 bytes data]
* TLSv1.2, TLS change cipher, Client hello (1):
{ [1 bytes data]
* SSLv2, Unknown (22):
{ [5 bytes data]
* TLSv1.2, TLS handshake, Finished (20):
{ [16 bytes data]
* SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
* Server certificate:
* subject: businessCategory=Private Organization; jurisdictionC=US; jurisdictionST=Delaware; serialNumber=5157550; street=548 4th Street; postalCode=94107; C=US; ST=California; L=San Francisco; O=GitHub, Inc.; CN=github.com
* start date: 2014-04-08 00:00:00 GMT
* expire date: 2016-04-12 12:00:00 GMT
* subjectAltName: github.com matched
* issuer: C=US; O=DigiCert Inc; OU=www.digicert.com; CN=DigiCert SHA2 Extended Validation Server CA
* SSL certificate verify ok.
* SSLv2, Unknown (23):
} [5 bytes data]
> GET /pixie-lang/external-deps/releases/download/1.0/Linux-x86_64.tar.bz2 HTTP/1.1
> User-Agent: curl/7.41.0
> Host: github.com
> Accept: */*
>
* SSLv2, Unknown (23):
{ [5 bytes data]
< HTTP/1.1 302 Found
< Server: GitHub.com
< Date: Mon, 27 Apr 2015 12:25:16 GMT
< Content-Type: text/html; charset=utf-8
< Transfer-Encoding: chunked
< Status: 302 Found
< Content-Security-Policy: default-src *; script-src assets-cdn.github.com collector-cdn.github.com; object-src assets-cdn.github.com; style-src 'self' 'unsafe-inline' 'unsafe-eval' assets-cdn.github.com; img-src 'self' data: assets-cdn.github.com identicons.github.com www.google-analytics.com collector.githubapp.com *.githubusercontent.com *.gravatar.com *.wp.com; media-src 'none'; frame-src 'self' render.githubusercontent.com gist.github.com www.youtube.com player.vimeo.com checkout.paypal.com; font-src assets-cdn.github.com; connect-src 'self' live.github.com wss://live.github.com uploads.github.com status.github.com api.github.com www.google-analytics.com github-cloud.s3.amazonaws.com
< Cache-Control: no-cache
< Vary: X-PJAX
< Location: https://s3.amazonaws.com/github-cloud/releases/31017675/4b0581e0-bb24-11e4-8e67-8932a1db6667.bz2?response-content-disposition=attachment%3B%20filename%3DLinux-x86_64.tar.bz2&response-content-type=application/octet-stream&AWSAccessKeyId=AKIAISTNZFOVBIJMK3TQ&Expires=1430137576&Signature=KQ7UmuJQ8Q%2Bz9iSIvgOFN3qI4Oc%3D
< X-UA-Compatible: IE=Edge,chrome=1
* SSLv2, Unknown (23):
{ [5 bytes data]
< Set-Cookie: logged_in=no; domain=.github.com; path=/; expires=Fri, 27-Apr-2035 12:25:16 GMT; secure; HttpOnly
< Set-Cookie: _gh_sess=eyJzZXNzaW9uX2lkIjoiNmRmNWNkMmU1NWVlZjAyZDVlNGM0OTE1NWIzYjExZWIiLCJzcHlfcmVwbyI6InBpeGllLWxhbmcvZXh0ZXJuYWwtZGVwcyIsInNweV9yZXBvX2F0IjoxNDMwMTM3NTE2fQ%3D%3D--57c529b75f8d5a1f7e29528b700332b4dc4eda51; path=/; secure; HttpOnly
< X-Request-Id: a2c3d47d789d824857833f982d6f5279
< X-Runtime: 0.011709
< X-GitHub-Request-Id: 4C189F34:5678:C2BCCF8:553E2AAC
< Strict-Transport-Security: max-age=31536000; includeSubdomains; preload
< X-Content-Type-Options: nosniff
< X-XSS-Protection: 1; mode=block
< X-Frame-Options: deny
< Vary: Accept-Encoding
< X-Served-By: bc4c952d089501afbfc8f7ff525da31c
<
* SSLv2, Unknown (23):
{ [5 bytes data]
* Ignoring the response-body
{ [412 bytes data]
100 400 0 400 0 0 1981 0 --:--:-- --:--:-- --:--:-- 2758
* Connection #0 to host github.com left intact
* Issue another request to this URL: 'https://s3.amazonaws.com/github-cloud/releases/31017675/4b0581e0-bb24-11e4-8e67-8932a1db6667.bz2?response-content-disposition=attachment%3B%20filename%3DLinux-x86_64.tar.bz2&response-content-type=application/octet-stream&AWSAccessKeyId=AKIAISTNZFOVBIJMK3TQ&Expires=1430137576&Signature=KQ7UmuJQ8Q%2Bz9iSIvgOFN3qI4Oc%3D'
* Trying 54.231.18.0...
* Connected to s3.amazonaws.com (54.231.18.0) port 443 (#1)
* successfully set certificate verify locations:
* CAfile: /opt/local/share/curl/curl-ca-bundle.crt
CApath: none
* TLSv1.2, TLS Unknown, Unknown (22):
} [5 bytes data]
* TLSv1.2, TLS handshake, Client hello (1):
} [512 bytes data]
* SSLv2, Unknown (22):
{ [5 bytes data]
* TLSv1.2, TLS handshake, Server hello (2):
{ [89 bytes data]
* SSLv2, Unknown (22):
{ [5 bytes data]
* TLSv1.2, TLS handshake, CERT (11):
{ [4067 bytes data]
* SSLv2, Unknown (22):
{ [5 bytes data]
* TLSv1.2, TLS handshake, Server key exchange (12):
{ [333 bytes data]
* SSLv2, Unknown (22):
{ [5 bytes data]
* TLSv1.2, TLS handshake, Server finished (14):
{ [4 bytes data]
* SSLv2, Unknown (22):
} [5 bytes data]
* TLSv1.2, TLS handshake, Client key exchange (16):
} [70 bytes data]
* SSLv2, Unknown (20):
} [5 bytes data]
* TLSv1.2, TLS change cipher, Client hello (1):
} [1 bytes data]
* SSLv2, Unknown (22):
} [5 bytes data]
* TLSv1.2, TLS handshake, Finished (20):
} [16 bytes data]
* SSLv2, Unknown (20):
{ [5 bytes data]
* TLSv1.2, TLS change cipher, Client hello (1):
{ [1 bytes data]
* SSLv2, Unknown (22):
{ [5 bytes data]
* TLSv1.2, TLS handshake, Finished (20):
{ [16 bytes data]
* SSL connection using TLSv1.2 / ECDHE-RSA-AES128-SHA
* Server certificate:
* subject: C=US; ST=Washington; L=Seattle; O=Amazon.com, Inc.; CN=s3.amazonaws.com
* start date: 2015-03-27 00:00:00 GMT
* expire date: 2015-10-27 23:59:59 GMT
* subjectAltName: s3.amazonaws.com matched
* issuer: C=US; O=VeriSign, Inc.; OU=VeriSign Trust Network; OU=Terms of use at https://www.verisign.com/rpa (c)10; CN=VeriSign Class 3 Secure Server CA - G3
* SSL certificate verify ok.
* SSLv2, Unknown (23):
} [5 bytes data]
> GET /github-cloud/releases/31017675/4b0581e0-bb24-11e4-8e67-8932a1db6667.bz2?response-content-disposition=attachment%3B%20filename%3DLinux-x86_64.tar.bz2&response-content-type=application/octet-stream&AWSAccessKeyId=AKIAISTNZFOVBIJMK3TQ&Expires=1430137576&Signature=KQ7UmuJQ8Q%2Bz9iSIvgOFN3qI4Oc%3D HTTP/1.1
> User-Agent: curl/7.41.0
> Host: s3.amazonaws.com
> Accept: */*
>
* SSLv2, Unknown (23):
{ [5 bytes data]
< HTTP/1.1 200 OK
< x-amz-id-2: UqzLi+55bwqtvA5RDVqCEzyVl9fvY3iYL05rNGXq7lVpDN6CY0h+Gn1XfRTMM/sPjbAluFfCOqo=
< x-amz-request-id: 149D4CCD04033635
< Date: Mon, 27 Apr 2015 12:25:17 GMT
< x-amz-meta-surrogate-key: repository-31017675 user-654621
< x-amz-meta-surrogate-control: max-age=31557600
< Cache-Control: max-age=31557600
< Content-Disposition: attachment; filename=Linux-x86_64.tar.bz2
< Last-Modified: Mon, 23 Feb 2015 13:22:09 GMT
< ETag: "f09d516d348ac7bce27fdafcbc3e96cf"
< Accept-Ranges: bytes
< Content-Type: application/octet-stream
< Content-Length: 529662
< Server: AmazonS3
<
* SSLv2, Unknown (23):
{ [5 bytes data]
* SSLv2, Unknown (23):
{ [5 bytes data]
* SSLv2, Unknown (23):
{ [5 bytes data]
* SSLv2, Unknown (23):
{ [5 bytes data]
* SSLv2, Unknown (23):
{ [5 bytes data]
8 517k 8 42806 0 0 86410 0 0:00:06 --:--:-- 0:00:06 86410* SSLv2, Unknown (23):
{ [5 bytes data]
* SSLv2, Unknown (23):
{ [5 bytes data]
* SSLv2, Unknown (23):
{ [5 bytes data]
* SSLv2, Unknown (23):
{ [5 bytes data]
* SSLv2, Unknown (23):
{ [5 bytes data]
* SSLv2, Unknown (23):
{ [5 bytes data]
* SSLv2, Unknown (23):
{ [5 bytes data]
* SSLv2, Unknown (23):
{ [5 bytes data]
* SSLv2, Unknown (23):
{ [5 bytes data]
* SSLv2, Unknown (23):
{ [5 bytes data]
* SSLv2, Unknown (23):
{ [5 bytes data]
* SSLv2, Unknown (23):
{ [5 bytes data]
* SSLv2, Unknown (23):
{ [5 bytes data]
* SSLv2, Unknown (23):
{ [5 bytes data]
* SSLv2, Unknown (23):
{ [5 bytes data]
* SSLv2, Unknown (23):
{ [5 bytes data]
* SSLv2, Unknown (23):
{ [5 bytes data]
* SSLv2, Unknown (23):
{ [5 bytes data]
* SSLv2, Unknown (23):
{ [5 bytes data]
* SSLv2, Unknown (23):
{ [5 bytes data]
* SSLv2, Unknown (23):
{ [5 bytes data]
* SSLv2, Unknown (23):
{ [5 bytes data]
* SSLv2, Unknown (23):
{ [5 bytes data]
* SSLv2, Unknown (23):
{ [5 bytes data]
* SSLv2, Unknown (23):
{ [5 bytes data]
* SSLv2, Unknown (23):
{ [5 bytes data]
* SSLv2, Unknown (23):
{ [5 bytes data]
* SSLv2, Unknown (23):
{ [5 bytes data]
* SSLv2, Unknown (23):
{ [5 bytes data]
* SSLv2, Unknown (23):
{ [5 bytes data]
* SSLv2, Unknown (23):
{ [5 bytes data]
* SSLv2, Unknown (23):
{ [5 bytes data]
* SSLv2, Unknown (23):
{ [5 bytes data]
* SSLv2, Unknown (23):
{ [5 bytes data]
* SSLv2, Unknown (23):
{ [5 bytes data]
* SSLv2, Unknown (23):
{ [5 bytes data]
* SSLv2, Unknown (23):
{ [5 bytes data]
* SSLv2, Unknown (23):
{ [5 bytes data]
* SSLv2, Unknown (23):
{ [5 bytes data]
* SSLv2, Unknown (23):
{ [5 bytes data]
* SSLv2, Unknown (23):
{ [5 bytes data]
* SSLv2, Unknown (23):
{ [5 bytes data]
* SSLv2, Unknown (23):
{ [5 bytes data]
* SSLv2, Unknown (23):
{ [5 bytes data]
* SSLv2, Unknown (23):
{ [5 bytes data]
* SSLv2, Unknown (23):
{ [5 bytes data]
* SSLv2, Unknown (23):
{ [5 bytes data]
* SSLv2, Unknown (23):
{ [5 bytes data]
* SSLv2, Unknown (23):
{ [5 bytes data]
* SSLv2, Unknown (23):
{ [5 bytes data]
* SSLv2, Unknown (23):
{ [5 bytes data]
* SSLv2, Unknown (23):
{ [5 bytes data]
* SSLv2, Unknown (23):
{ [5 bytes data]
* SSLv2, Unknown (23):
{ [5 bytes data]
* SSLv2, Unknown (23):
{ [5 bytes data]
* SSLv2, Unknown (23):
{ [5 bytes data]
* SSLv2, Unknown (23):
{ [5 bytes data]
* SSLv2, Unknown (23):
{ [5 bytes data]
100 517k 100 517k 0 0 553k 0 --:--:-- --:--:-- --:--:-- 1083k
* Connection #1 to host s3.amazonaws.com left intact
Script done on Mon Apr 27 08:25:17 2015
in the unsuccessful case, this is the contents of the downloaded file (saffron-vm:~% cat /tmp/foo):
<?xml version="1.0" encoding="UTF-8"?>
<Error><Code>SignatureDoesNotMatch</Code><Message>The request signature we calculated does not match the signature you provided. Check your key and signing method.</Message><AWSAccessKeyId>AKIAISTNZFOVBIJMK3TQ</AWSAccessKeyId><StringToSign>GET
application/json
1430150182
/github-cloud/releases/31017675/4b0581e0-bb24-11e4-8e67-8932a1db6667.bz2?response-content-disposition=attachment; filename=Linux-x86_64.tar.bz2&response-content-type=application/octet-stream</StringToSign><SignatureProvided>y357X+kcIkYuT5eScn7rKl1acxk=</SignatureProvided><StringToSignBytes>47 45 54 0a 0a 61 70 70 6c 69 63 61 74 69 6f 6e 2f 6a 73 6f 6e 0a 31 34 33 30 31 35 30 31 38 32 0a 2f 67 69 74 68 75 62 2d 63 6c 6f 75 64 2f 72 65 6c 65 61 73 65 73 2f 33 31 30 31 37 36 37 35 2f 34 62 30 35 38 31 65 30 2d 62 62 32 34 2d 31 31 65 34 2d 38 65 36 37 2d 38 39 33 32 61 31 64 62 36 36 36 37 2e 62 7a 32 3f 72 65 73 70 6f 6e 73 65 2d 63 6f 6e 74 65 6e 74 2d 64 69 73 70 6f 73 69 74 69 6f 6e 3d 61 74 74 61 63 68 6d 65 6e 74 3b 20 66 69 6c 65 6e 61 6d 65 3d 4c 69 6e 75 78 2d 78 38 36 5f 36 34 2e 74 61 72 2e 62 7a 32 26 72 65 73 70 6f 6e 73 65 2d 63 6f 6e 74 65 6e 74 2d 74 79 70 65 3d 61 70 70 6c 69 63 61 74 69 6f 6e 2f 6f 63 74 65 74 2d 73 74 72 65 61 6d</StringToSignBytes><RequestId>10E7EBD8E65927DE</RequestId><HostId>pBT7DxVYUvGQZKp7D8I74PM26rseep9kZYTebpZZF/dA4+rW5xBJxiAfc+bZae4J</HostId></Error>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Here is more detail of the unsuccessful download by curl 7.35.0 on ubuntu 14.04: