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 hidden or 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% |
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 successful download by curl 7.41.0 on Mac OS X: