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

Deprecated function breaking SDK on macOS BigSur #10267

Closed
4 tasks
ZakAyesh opened this issue Sep 30, 2021 · 3 comments
Closed
4 tasks

Deprecated function breaking SDK on macOS BigSur #10267

ZakAyesh opened this issue Sep 30, 2021 · 3 comments

Comments

@ZakAyesh
Copy link

Summary of Bug

While attempting to install the Terra core software , the following error was thrown:

go install -mod=readonly -tags "netgo ledger" -ldflags '-X github.com/cosmos/cosmos-sdk/version.Name=terra -X github.com/cosmos/cosmos-sdk/version.AppName=terrad -X github.com/cosmos/cosmos-sdk/version.Version=0.5.5 -X github.com/cosmos/cosmos-sdk/version.Commit=d8e277626e74f9d6417dcd598574686882f0274c -X "github.com/cosmos/cosmos-sdk/version.BuildTags=netgo,ledger" -w -s' -trimpath ./cmd/terrad
# 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

It seems the SecTrustedApplication.h API was completely deprecated and the go-keychain software within the SDK relied on that. I am not the only one encountering this issue either:
keybase/go-keychain#72
https://github.com/terra-money/core/issues/556

Version

Commit=d8e277626e74f9d6417dcd59857468688

Steps to Reproduce

System:
OS: macOS Big Sur Version 11.6
Processor: Intel Core i7
GoLang Version: 1.16.8 darwin/amd64

git clone https://github.com/terra-money/core/
cd core
git checkout main
make install

For Admin Use

  • Not duplicate issue
  • Appropriate labels applied
  • Appropriate contributors tagged
  • Contributor assigned/self-assigned
@pdini
Copy link

pdini commented Nov 27, 2021

Just installed Monterey and updated Xcode. I am getting a similar error with the blog tutorial:

Cosmos SDK's version is: stargate - v0.44.0
🛠️ Building proto...
📦 Installing dependencies...
🛠️ Building the blockchain...
cannot build app:
error while running command go: # 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

@fxtrader-react
Copy link

I'm also having issues with this. was anyone able to find a solution?

@tac0turtle
Copy link
Member

hey thanks for the issue, we have an issue touching on this here #10818. We don't have a solution yet.

We are working towards a new keyring design in lens that may be the better place for such a thing to live.

I will close this issue in favour go #10818

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

4 participants