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

make install results in warning: 'SecKeychainCreate' is deprecated #538

Closed
rootulp opened this issue Jul 11, 2022 · 1 comment · Fixed by #548
Closed

make install results in warning: 'SecKeychainCreate' is deprecated #538

rootulp opened this issue Jul 11, 2022 · 1 comment · Fixed by #548
Assignees
Labels
bug Something isn't working chore

Comments

@rootulp
Copy link
Collaborator

rootulp commented Jul 11, 2022

I'm observing these warnings

$ make install
--> Ensure dependencies have not been modified
GO111MODULE=on go mod verify
all modules verified
--> Installing celestia-appd
# github.com/keybase/go-keychain
cgo-gcc-prolog:81:11: warning: 'SecKeychainCreate' is deprecated: first deprecated in macOS 12.0 - Custom keychain management is no longer supported [-Wdeprecated-declarations]
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecKeychain.h:301:10: note: 'SecKeychainCreate' has been explicitly marked deprecated here
cgo-gcc-prolog:139:11: warning: 'SecKeychainLock' is deprecated: first deprecated in macOS 12.0 - Custom keychain management is no longer supported [-Wdeprecated-declarations]
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecKeychain.h:357:10: note: 'SecKeychainLock' has been explicitly marked deprecated here
cgo-gcc-prolog:159:11: warning: 'SecKeychainOpen' is deprecated: first deprecated in macOS 12.0 - Custom keychain management is no longer supported [-Wdeprecated-declarations]
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecKeychain.h:287:10: note: 'SecKeychainOpen' has been explicitly marked deprecated here
cgo-gcc-prolog:183:11: warning: 'SecKeychainUnlock' is deprecated: first deprecated in macOS 12.0 - Custom keychain management is no longer supported [-Wdeprecated-declarations]
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecKeychain.h:347:10: note: 'SecKeychainUnlock' has been explicitly marked deprecated here
cgo-gcc-prolog:203:11: warning: 'SecTrustedApplicationCreateFromPath' is deprecated: first deprecated in macOS 10.15 - No longer supported [-Wdeprecated-declarations]
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecTrustedApplication.h:59:10: note: 'SecTrustedApplicationCreateFromPath' has been explicitly marked deprecated here

OS: macOS Monterey Version 12.4
Chip: Apple M1 Pro

I recall installing XCode Command Line Tools directly via xcode-select --install.

xcode-select --print-path
/Library/Developer/CommandLineTools

Originally posted by @rootulp in #375 (comment)

^ new issue b/c I couldn't re-open the previous one

@rootulp
Copy link
Collaborator Author

rootulp commented Jul 11, 2022

Relevant

  1. M1 Mac unable to make the Makefile ~ Deprecation of repos & modules for Mac M1 cosmos/cosmos-sdk#12131
  2. MacOS API deprecation warnings 99designs/keyring#107 apparently keyring v1.2.1 fixes these warnings but the keyring release notes make no such claim and there is no corresponding cosmos/keyring release yet.

If I upgrade to 99designs/keyring v1.2.1 directly and remove this line, I no longer observe these warnings on make install but celestia-appd doesn't appear to install still.

celestia-appd appears to install despite these warnings.

@rootulp rootulp closed this as not planned Won't fix, can't repro, duplicate, stale Jul 11, 2022
@rootulp rootulp reopened this Jul 14, 2022
@rootulp rootulp self-assigned this Jul 26, 2022
@rootulp rootulp added bug Something isn't working chore labels Jul 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working chore
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant