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 on MacOS fails #449
Comments
What's the version of macos? |
Sorry, that would help - 11.4, Darwin 20.5.0. |
What's the version of LLVM? Please run $ sw_vers
ProductName: macOS
ProductVersion: 11.4
BuildVersion: 20F71
$ clang --version
Apple clang version 12.0.5 (clang-1205.0.22.9)
Target: x86_64-apple-darwin20.5.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
$ which -a clang
/usr/bin/clang |
Or you could try gopsutil v3.21.3 (may fix this issue), run following commands to upgrade gopsutil: $ pwd
~/go/src/github.com/juicedata/juicefs
$ go get github.com/shirou/gopsutil@v3.21.3
$ go get github.com/tklauser/go-sysconf
$ make -B Let us know if this method could solve your problem. |
@larrypl We already upgrade gopsutil to v3.21.3 and release JuiceFS v0.13.1, you could use this version to test. |
Upgrading gopsutil fixed the problem! It was likely the version of clang - it was MacPorts clang version 11.1.0.
Thanks! |
i also just hit this bug on latest main code make juicefs
sw_vers |
@gedw99 This is just a warning log and does not affect compiling JuiceFS on macOS. |
Error:
The text was updated successfully, but these errors were encountered: