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

updated gopsutil to fix mac deprication #16062

Closed
skabashnyuk opened this issue Jun 20, 2022 · 0 comments · Fixed by #16321
Closed

updated gopsutil to fix mac deprication #16062

skabashnyuk opened this issue Jun 20, 2022 · 0 comments · Fixed by #16321
Labels
dependencies Pull requests that update a dependency file

Comments

@skabashnyuk
Copy link

Is your feature request related to a problem? Please describe.
When building go based project on macOS 12 with hashicorp/vault dependency.

GoPsUtil
 github.com/shirou/gopsutil/host
smc_darwin.c:75:41: warning: 'kIOMasterPortDefault' is deprecated: first deprecated in macOS 12.0 [-Wdeprecated-declarations]
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h:123:19: note: 'kIOMasterPortDefault' has been explicitly marked deprecated here

Describe the solution you'd like
Upgrade github.com/shirou/gopsutil/host dependency

vault/go.mod

Line 166 in 7e44557

github.com/shirou/gopsutil v3.21.5+incompatible

Fixed by shirou/gopsutil#1191, updating package to v3 as recommended by shirou/gopsutil#1164

Describe alternatives you've considered
n/a
Explain any additional use-cases
n/a
Additional context

shirou/gopsutil#1191
shirou/gopsutil#1164

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants