-
Notifications
You must be signed in to change notification settings - Fork 212
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
No build links and can't build for MacOS #36
Comments
Thanks zezha for a very quick reply. followed your suggestion, and at the step of # github.com/Azure/azure-storage-azcopy/vendor/github.com/jiacfan/keychain
vendor/github.com/jiacfan/keychain/corefoundation_1.10.go:55:33: cannot use nil as type _Ctype_CFAllocatorRef in argument to _Cfunc_CFDataCreate
vendor/github.com/jiacfan/keychain/corefoundation_1.10.go:81: cannot use nil as type _Ctype_CFAllocatorRef in argument to func literal
vendor/github.com/jiacfan/keychain/corefoundation_1.10.go:118:41: cannot use nil as type _Ctype_CFAllocatorRef in argument to _Cfunc_CFStringCreateWithBytes
vendor/github.com/jiacfan/keychain/corefoundation_1.10.go:153:232: cannot use nil as type _Ctype_CFAllocatorRef in argument to func literal Thanks |
Hi @123dev, please verify that you have the latest code from our master branch. This should work. 😄 |
Our CI machine seems to be having the same errors as you, but I couldn't reproduce it locally yet. I'm investigating now. |
Hi, @123dev Thanks for reporting the issue! Are you using go 1.11? There is change in go which could lead the build failure mentioned in one of azcopy's dependency, we have fixed that issue and updated dependency in azcopy(dev branch). Now, dev branch can pass build successfully in my local machine with go 1.11, would you like to have a try? Please note to checkout dev branch's code, run Thanks, |
Hi jiacfan Indeed I'm using go 1.11 Quick question, this azcopy is not backward compatible with the original azcopy? And were thinking that this would just be a drop in replacement that supports copying to $web Thanks |
Hi @123dev, the new AzCopy(Version 10) is indeed NOT backward compatible with the current AzCopy(Version 8). However, the new tool is much simpler to use, to see examples, please use
The new version also works with SAS tokens only, so that it's much more secure and you don't have to expose your Storage Key. To easily generate an account or container token, please use Storage Explorer, and include the token in the URL that you provide to the copy command. Please let me know if you have any question. To see what commands are available, you can always view the help pages by |
Thank you zszha for the follow up and confirmation of not being backward compatible. I am able to create SAS and use azcopy to copy files including to $web This issue can be closed. |
@123dev Awesome! Please let us know if you encounter any other issue using the new tool. |
Hi zezha, Considering that this new version 10 is not backward compatible with the previous version 8, and encountered the following error. # runtime
C:\U\Go\src\runtime\lfstack_amd64.go:16:6: lfstackPack redeclared in this block
previous declaration at C:\U\Go\src\runtime\lfstack_64bit.go:33:45
C:\U\Go\src\runtime\lfstack_amd64.go:20:6: lfstackUnpack redeclared in this block
previous declaration at C:\U\Go\src\runtime\lfstack_64bit.go:37:33
C:\U\Go\src\runtime\map.go:64:2: bucketCntBits redeclared in this block
previous declaration at C:\U\Go\src\runtime\hashmap.go:62:18
C:\U\Go\src\runtime\map.go:65:2: bucketCnt redeclared in this block
previous declaration at C:\U\Go\src\runtime\hashmap.go:63:23
C:\U\Go\src\runtime\map.go:76:2: maxKeySize redeclared in this block
previous declaration at C:\U\Go\src\runtime\hashmap.go:72:17
C:\U\Go\src\runtime\map.go:77:2: maxValueSize redeclared in this block
previous declaration at C:\U\Go\src\runtime\hashmap.go:73:17
C:\U\Go\src\runtime\map.go:82:2: dataOffset redeclared in this block
previous declaration at C:\U\Go\src\runtime\hashmap.go:81:4
C:\U\Go\src\runtime\map.go:91:2: empty redeclared in this block
previous declaration at C:\U\Go\src\runtime\hashmap.go:87:19
C:\U\Go\src\runtime\map.go:92:2: evacuatedEmpty redeclared in this block
previous declaration at C:\U\Go\src\runtime\hashmap.go:88:19
C:\U\Go\src\runtime\map.go:93:2: evacuatedX redeclared in this block
previous declaration at C:\U\Go\src\runtime\hashmap.go:89:19
C:\U\Go\src\runtime\map.go:93:2: too many errors Steps I took. Also I would like to know is if azcopy binary is self contained or it has go dependencies? Thanks |
Hi @123dev, it looks like your Go environment has some problem, please follow the instructions here to verify that Go was installed properly. To build AzCopy, you could CD into the directory of
And yes, the AzCopy binary is self-contained: you can copy the binary to another computer and execute it just like that. I apologize for the inconvenience. We should have the download links ready very soon. Thanks! |
Thanks zezha for all the assistance, Thanks |
Hi @123dev, it's great to hear that you got it working! Please let us know if you have any feedback on the tool. We are actively working on it to improve the user experience! |
Sure zezha, One thing I came across is that wherever I issue the command azcopy there are two log files in that directory. Any way to suppress the logging? or at least control where they are output and what name? So far it's working great on windows and Mac Thanks |
Hi @123dev, thanks for the feedbacks! We have fixed the log file location issue on the dev branch, we'll publish it soon! In the future, the log files will be placed under a folder called |
Awesome, thanks |
@zezha-msft Thank you guys so much for this! |
Hi
I first reported this here
MicrosoftDocs/azure-docs#13735 (comment)
And am now moving it to this repo as it is more appropriate.
The readme suggests that there should be links for 3 downloads
But there are no links, so I attempted to build on MacOS myself.
Having no experience with GO, I installed Go and added one by one the respective dependencies
until I encountered the following error.
I can't find github.com/jiacfan/keychain to add that dependency.
Please kindly either provide links for builds or advise on a proper building steps.
Many thanks in advance
The text was updated successfully, but these errors were encountered: