streamnative / pulsar-client-go

Apache Pulsar Go Client Library
https://pulsar.apache.org/
Apache License 2.0
1 stars 2 forks source link

ISSUE-626: github.com/keybase/go-keychain error with warning on MacOS 11.4 M1 #226

Open sijie opened 3 years ago

sijie commented 3 years ago

Original Issue: apache/pulsar-client-go#626


Expected behavior

Should not show this warning or error

Actual behavior

# github.com/keybase/go-keychain
cgo-gcc-prolog:203:11: warning: 'SecTrustedApplicationCreateFromPath' is deprecated: first deprecated in macOS 10.15 - No longer supported [-Wdeprecated-declarations]
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecTrustedApplication.h:59:10: note: 'SecTrustedApplicationCreateFromPath' has been explicitly marked deprecated here
/private/var/folders/x6/rhk7mhks3jd5q_2pbrtvmfs40000gn/T/GoLand/___

Show this warning about github.com/keybase/go-keychain which included in github.com/99designs/keyring And I don't know why the pulsar-client-go need this package? A production would deployed on linux need macOS keychain features? Could you guys consider remove this problem package once for all? (I have read the history issues about it and realized that this package always have older version problem)

Steps to reproduce

Just run client on MacOS M1

System configuration

Pulsar version: 2.7.2 MacOS BigSur 11.4 M1 go version go1.16.5 darwin/arm64