kubesec
kubesec copied to clipboard
do not support new mac OS version on 12.0.1(21A559)
@shyiko how can I resolve it ?
$ kubesec
fatal error: runtime: bsdthread_register error
runtime stack:
runtime.throw(0x156bf2a, 0x21)
/home/shyiko/Development/golang/go1.9.1.linux-amd64/src/runtime/panic.go:605 +0x95 fp=0x7ff7bfeff110 sp=0x7ff7bfeff0f0 pc=0x1029ad5
runtime.goenvs()
/home/shyiko/Development/golang/go1.9.1.linux-amd64/src/runtime/os_darwin.go:108 +0x83 fp=0x7ff7bfeff140 sp=0x7ff7bfeff110 pc=0x1027373
runtime.schedinit()
/home/shyiko/Development/golang/go1.9.1.linux-amd64/src/runtime/proc.go:482 +0xa1 fp=0x7ff7bfeff180 sp=0x7ff7bfeff140 pc=0x102c481
runtime.rt0_go(0x7ff7bfeff1b0, 0x1, 0x7ff7bfeff1b0, 0x1000000, 0x1, 0x7ff7bfeff3c8, 0x0, 0x7ff7bfeff3d0, 0x7ff7bfeff3e2, 0x7ff7bfeff3f6, ...)
/home/shyiko/Development/golang/go1.9.1.linux-amd64/src/runtime/asm_amd64.s:175 +0x1eb fp=0x7ff7bfeff188 sp=0x7ff7bfeff180 pc=0x1053d4b
Same issue for several people I know. Sounds a lot like this: https://github.com/golang/go/wiki/MacOS12BSDThreadRegisterIssue
Doesn't seem like install from brew working either: `2021-11-16 20:45:30 +0000
make build
fatal: not a git repository (or any of the parent directories): .git go build -ldflags "-X main.version=" go: cannot find main module, but found glide.lock in /private/tmp/kubesec-20211116-3072-1c013t1/kubesec-0.9.2/src/github.com/shyiko/kubesec to create a module there, run: go mod init make: *** [build] Error 1
If reporting this issue please do so at (not Homebrew/brew or Homebrew/core): https://github.com/shyiko/homebrew-kubesec/issues `
I am hitting this same error
@garrettm @jansonz @pp-network Here is my PR to fix this: https://github.com/shyiko/kubesec/pull/37
@shyiko Would it be possible to have a new build that works on MacOS 12+ built with willyguggenheim's changes?
I forked this repo to do maintenance update like security, Go version, Arm based Mac support. https://github.com/tk3fftk/kubesec