-
Notifications
You must be signed in to change notification settings - Fork 345
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
Go build fails to compile #407
Comments
I also tried with newer version of go key-chain [v0.0.0-20201121013009-976c83ec27a6], and it resolved the original issue. But I had another issue.
It looks similar to 99designs/keyring#64. |
@yukshimizu can you check with master branch? There is a change that might fix this: #404 |
Thanks @merlimat. I tried it, but the result was same.
#404 looks it is for MacOS Catalina, but my environment is Mojave. |
@yukshimizu Will updating the dependency of |
Thanks @wolfstudy. I updated the following two dependencies of
|
I'm not sure if this problem is related to the local environment. It can be successfully built locally. Can you help to try the following solutions? https://github.com/keybase/go-keychain/issues/47#issuecomment-533809337 |
let me give it a try now, had to catch some sleep --- Didn't work still |
I have a workaround, add the following line in
|
This results in same as original issue.
|
github.com/apache/pulsar-client-go v0.3.0
github.com/apache/pulsar-client-go/oauth2 v0.0.0-20201202064457-9fe66edefe0d // indirect
github.com/keybase/go-keychain v0.0.0-20201121013009-976c83ec27a6 // indirect $ go version
go version go1.15.2 darwin/amd64 It's working for me now. Maybe try the following? P.S: It'll upgrade all the dependencies $ go get -u ./... && go mod verify && go mod tidy |
Thanks @bnkamalesh, but it still didn't work well. It looks highly depending on MacOS version... Which MacOS version are you using now? |
I updated xcode to 11.3.1, which is the newest version for macos 10.14 and tried it. But, the result was the same. I may need to update macos to BigSur, but am hesitative about it :-< |
I'm not sure the exact reason, but it works after rebooting mac! |
Problem
I'm tying to build the code, which just import "github.com/apache/pulsar-client-go/pulsar", and output is below.
It may be caused by referring github.com/keybase/[email protected]/macos_1.10.go because that is not latest one.
Environment
os: macOS Mojave 10.14.6
go: go1.15.3 darwin/amd64
pulsar-client-go: 0.3.0
The text was updated successfully, but these errors were encountered: