Open HQuest opened 1 year ago
root@darkstar:/tmp/dovecot-xaps-daemon# go build -o xapsd go: downloading github.com/sirupsen/logrus v0.0.0-20180129181852-768a92a02685 go: downloading github.com/st3fan/dovecot-xaps-daemon v0.0.0-20190315235014-af50c8175e09 go: downloading golang.org/x/crypto v0.0.0-20180127211104-1875d0a70c90 go: downloading golang.org/x/sys v0.0.0-20180126165840-ff2a66f350ce go: downloading github.com/go-redis/redis v6.15.2+incompatible go: downloading github.com/timehop/apns v0.0.0-20160922055839-7dfe710e494f
/root/go/pkg/mod/golang.org/x/sys@v0.0.0-20180126165840-ff2a66f350ce/unix/syscall_linux.go:20:1: error: redefinition of ‘SyscallNoError’ 20 | func SyscallNoError(trap, a1, a2, a3 uintptr) (r1, r2 uintptr) | ^ /root/go/pkg/mod/golang.org/x/sys@v0.0.0-20180126165840-ff2a66f350ce/unix/gccgo.go:20:1: note: previous definition of ‘SyscallNoError’ was here 20 | func SyscallNoError(trap, a1, a2, a3 uintptr) (r1, r2 uintptr) { | ^ /root/go/pkg/mod/golang.org/x/sys@v0.0.0-20180126165840-ff2a66f350ce/unix/syscall_linux.go:24:1: error: redefinition of ‘RawSyscallNoError’ 24 | func RawSyscallNoError(trap, a1, a2, a3 uintptr) (r1, r2 uintptr) | ^ /root/go/pkg/mod/golang.org/x/sys@v0.0.0-20180126165840-ff2a66f350ce/unix/gccgo.go:48:1: note: previous definition of ‘RawSyscallNoError’ was here 48 | func RawSyscallNoError(trap, a1, a2, a3 uintptr) (r1, r2 uintptr) { | ^
Reported on golang under https://github.com/golang/go/issues/18312. Fixed in a newer version of golang.org/x/sys.
root@darkstar:/tmp/dovecot-xaps-daemon# go build -o xapsd go: downloading github.com/sirupsen/logrus v0.0.0-20180129181852-768a92a02685 go: downloading github.com/st3fan/dovecot-xaps-daemon v0.0.0-20190315235014-af50c8175e09 go: downloading golang.org/x/crypto v0.0.0-20180127211104-1875d0a70c90 go: downloading golang.org/x/sys v0.0.0-20180126165840-ff2a66f350ce go: downloading github.com/go-redis/redis v6.15.2+incompatible go: downloading github.com/timehop/apns v0.0.0-20160922055839-7dfe710e494f
golang.org/x/sys/unix
/root/go/pkg/mod/golang.org/x/sys@v0.0.0-20180126165840-ff2a66f350ce/unix/syscall_linux.go:20:1: error: redefinition of ‘SyscallNoError’ 20 | func SyscallNoError(trap, a1, a2, a3 uintptr) (r1, r2 uintptr) | ^ /root/go/pkg/mod/golang.org/x/sys@v0.0.0-20180126165840-ff2a66f350ce/unix/gccgo.go:20:1: note: previous definition of ‘SyscallNoError’ was here 20 | func SyscallNoError(trap, a1, a2, a3 uintptr) (r1, r2 uintptr) { | ^ /root/go/pkg/mod/golang.org/x/sys@v0.0.0-20180126165840-ff2a66f350ce/unix/syscall_linux.go:24:1: error: redefinition of ‘RawSyscallNoError’ 24 | func RawSyscallNoError(trap, a1, a2, a3 uintptr) (r1, r2 uintptr) | ^ /root/go/pkg/mod/golang.org/x/sys@v0.0.0-20180126165840-ff2a66f350ce/unix/gccgo.go:48:1: note: previous definition of ‘RawSyscallNoError’ was here 48 | func RawSyscallNoError(trap, a1, a2, a3 uintptr) (r1, r2 uintptr) { | ^
Reported on golang under https://github.com/golang/go/issues/18312. Fixed in a newer version of golang.org/x/sys.