blackbox
blackbox copied to clipboard
(Go version) building Windows binaries fails
Building Linux binaries succeeds, but building Windows binaries fails due to some issue with gnupg:
2020/11/17 14:49:32 Building blackbox.exe
# github.com/StackExchange/blackbox/v2/pkg/crypters/gnupg
Error: ../../../go/pkg/mod/github.com/!stack!exchange/blackbox/[email protected]/pkg/crypters/gnupg/gnupg.go:69:14: undefined: syscall.Umask
Error: ../../../go/pkg/mod/github.com/!stack!exchange/blackbox/[email protected]/pkg/crypters/gnupg/gnupg.go:71:2: undefined: syscall.Umask
Error: ../../../go/pkg/mod/github.com/!stack!exchange/blackbox/[email protected]/pkg/crypters/gnupg/gnupg.go:121:14: undefined: syscall.Umask
Error: ../../../go/pkg/mod/github.com/!stack!exchange/blackbox/[email protected]/pkg/crypters/gnupg/gnupg.go:124:2: undefined: syscall.Umask
2020/11/17 14:49:39 exit status 2
@tlimoncelli any idea?
Merge in these changes to fix Windows build: https://github.com/StackExchange/blackbox/pull/321