Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with make deps on osx #92

Open
damianoneill opened this issue Nov 8, 2018 · 1 comment
Open

Problem with make deps on osx #92

damianoneill opened this issue Nov 8, 2018 · 1 comment

Comments

@damianoneill
Copy link
Contributor

Following instructions in the README.

make deps

Results in

The name is too long, 440 chars total.
Trying to shorten...
New name is 599460c2-e70a-11e7-90ae-c937d65159d8?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20181108%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20181108T214242Z&X-Amz-Expires=300&X-Amz-Signature=76432ab9a88b45de8e2063a.
--2018-11-08 21:42:42--  https://github-production-release-asset-2e65be.s3.amazonaws.com/23357588/599460c2-e70a-11e7-90ae-c937d65159d8?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20181108%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20181108T214242Z&X-Amz-Expires=300&X-Amz-Signature=76432ab9a88b45de8e2063a4a62958bd72acefc8bab3473bc6c9f4289e321518&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Dprotoc-3.5.1-osx-x86_64.zip&response-content-type=application%2Foctet-stream
Resolving github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)... 54.231.114.82
Connecting to github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)|54.231.114.82|:443... connected.
HTTP request sent, awaiting response...
  HTTP/1.1 200 OK
  x-amz-id-2: xng8hEyCxbbIAyBpV+QqIfQ7Xgde7vDRhx318WD88KSKuheXZ3lMpI3avZR16hler7rRobbtoqs=
  x-amz-request-id: 2F2414A5E1D717E1
  Date: Thu, 08 Nov 2018 21:42:43 GMT
  Last-Modified: Fri, 22 Dec 2017 19:22:12 GMT
  ETag: "fd5b89e553adde566746e90714cadce2"
  Content-Disposition: attachment; filename=protoc-3.5.1-osx-x86_64.zip
  Accept-Ranges: bytes
  Content-Type: application/octet-stream
  Content-Length: 1868520
  Server: AmazonS3
Length: 1868520 (1.8M) [application/octet-stream]
Saving to: ‘599460c2-e70a-11e7-90ae-c937d65159d8?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20181108%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20181108T214242Z&X-Amz-Expires=300&X-Amz-Signature=76432ab9a88b45de8e2063a’

599460c2-e70a-11e7-90ae-c937d65159d8?X-Amz-Algor 100%[=======================================================================================================>]   1.78M   338KB/s    in 5.5s

2018-11-08 21:42:48 (333 KB/s) - ‘599460c2-e70a-11e7-90ae-c937d65159d8?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20181108%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20181108T214242Z&X-Amz-Expires=300&X-Amz-Signature=76432ab9a88b45de8e2063a’ saved [1868520/1868520]

unzip:  cannot find or open protoc-3.5.1-osx-x86_64.zip, protoc-3.5.1-osx-x86_64.zip.zip or protoc-3.5.1-osx-x86_64.zip.ZIP.
make: *** [deps] Error 9

Host details below:

ProductName:	Mac OS X
ProductVersion:	10.12.6
BuildVersion:	16G1618
@damianoneill
Copy link
Contributor Author

damianoneill commented Nov 8, 2018

wget in tools/dep.sh for protoc is redirecting through a number of urls then saving the file as a hash. For e.g.

599460c2-e70a-11e7-90ae-c937d65159d8?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20181108%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20181108T221919Z&X-Amz-Expires=300&X-Amz-Signature=f655cbe304bb6360ba7907d

Script then fails when it trys to unzip protoc-3.5.1-osx-x86_64.zip

Will need to use -O option

liggetm pushed a commit to liggetm/contrail that referenced this issue Nov 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant