Description
I tried to execute a make check under mac OS X but i had error 1 output :
../../../../../../../usr/local/Cellar/go/1.12.6/libexec/src/syscall/zsyscall_darwin_amd64.go:1183:6:warning: unused variable or constant Readlink redeclared in this block (varcheck)
../../../../../../../usr/local/Cellar/go/1.12.6/libexec/src/syscall/zsyscall_darwin_amd64.go:1287:186:warning: unused variable or constanttoo few arguments in call to syscall6 (varcheck)
../../../../../../../usr/local/Cellar/go/1.12.6/libexec/src/syscall/zsyscall_darwin_amd64.go:1759:196:warning: unused variable or constanttoo few arguments in call to syscall6 (varcheck)
../../../../../../../usr/local/Cellar/go/1.12.6/libexec/src/syscall/zsyscall_darwin_amd64.go:1808:134:warning: unused variable or constanttoo few arguments in call to syscall6 (varcheck)
../../../../../../../usr/local/Cellar/go/1.12.6/libexec/src/syscall/zsyscall_darwin_amd64.go:1857:149:warning: unused variable or constanttoo few arguments in call to syscall6 (varcheck)
../../../../../../../usr/local/Cellar/go/1.12.6/libexec/src/syscall/zsyscall_darwin_amd64.go:1871:6:warning: unused variable or constant Gettimeofday redeclared in this block (varcheck)
../../../../../../../usr/local/Cellar/go/1.12.6/libexec/src/syscall/zsyscall_darwin_amd64.go:1948:152:warning: unused variable or constanttoo few arguments in call to syscall6 (varcheck)
../../../../../../../usr/local/Cellar/go/1.12.6/libexec/src/syscall/zsysnum_darwin_amd64.go:59:2:warning: unused variable or constant SYS_EXECVE redeclared in this block (varcheck)
../../../../../../../usr/local/Cellar/go/1.12.6/libexec/src/syscall/zsysnum_darwin_amd64.go:77:2:warning: unused variable or constant SYS_FCNTL redeclared in this block (varcheck)
make: *** [check] Error 1
Steps to reproduce the issue:
- brew install go
- make check
Describe the results you received:
In mac OS X system ( --version go1.12.x) gometalinter will check in the GOROOT which is /usr/local/Cellar/go/1.12.x/libexec/ by default in mac OS
Describe the results you expected:
make check with exit 0
Output of containerd --version:
containerd github.com/containerd/containerd v1.2.0-718-gabc152d1 abc152d14c950a64deb833b597082b68eaf5ea06
Any other relevant information:
using the following configuration seems to help gometalinter.json:
{ "Exclude": ["/usr/local/Cellar/go"] }
{
Description
I tried to execute a make check under mac OS X but i had error 1 output :
Steps to reproduce the issue:
Describe the results you received:
In mac OS X system ( --version go1.12.x) gometalinter will check in the GOROOT which is /usr/local/Cellar/go/1.12.x/libexec/ by default in mac OS
Describe the results you expected:
make check with exit 0
Output of
containerd --version:Any other relevant information:
using the following configuration seems to help gometalinter.json:
{ "Exclude": ["/usr/local/Cellar/go"] }{