HavocFramework / Havoc

The Havoc Framework.
GNU General Public License v3.0
6.37k stars 903 forks source link

[Teamserver-Client--Bug]: #363

Open 10cks opened 12 months ago

10cks commented 12 months ago

Contact Details

No response

What happened?

Build server error

when I use: make ts-build, error happened.

# Havoc/pkg/webhook
pkg/webhook/webhook.go:32:45: undefined: any
pkg/webhook/webhook.go:40:25: undefined: any
pkg/webhook/webhook.go:120:25: undefined: io.ReadAll
note: module requires Go 1.18
# golang.org/x/sys/unix
../../../go/pkg/mod/golang.org/x/sys@v0.10.0/unix/mremap.go:33:10: undefined: unsafe.Slice
../../../go/pkg/mod/golang.org/x/sys@v0.10.0/unix/syscall.go:83:16: undefined: unsafe.Slice
../../../go/pkg/mod/golang.org/x/sys@v0.10.0/unix/syscall_linux.go:1018:20: undefined: unsafe.Slice
../../../go/pkg/mod/golang.org/x/sys@v0.10.0/unix/syscall_linux.go:2316:9: undefined: unsafe.Slice
../../../go/pkg/mod/golang.org/x/sys@v0.10.0/unix/syscall_unix.go:118:7: undefined: unsafe.Slice
../../../go/pkg/mod/golang.org/x/sys@v0.10.0/unix/sysvshm_unix.go:33:7: undefined: unsafe.Slice
note: module requires Go 1.17
make: *** [makefile:12: ts-build] Error 2
ubuntu@ubuntu:~/Desktop/Havoc$ go version
go version devel go1.18-7058c2cb41 Tue Jan 10 13:50:39 2023 -0500 linux/amd64

I try to use go 1.20, this also happened.

Did You Do a Pull First?

Latest (You performed a pull first)

Did You Try With the Dev Branch?

No (You only tried the main branch...)

Relevant log output

No response

Did You Read Over Your Issue First?

Kano-2525-a commented 4 months ago

Contact Details

No response

What happened?

Build server error

when I use: make ts-build, error happened.

# Havoc/pkg/webhook
pkg/webhook/webhook.go:32:45: undefined: any
pkg/webhook/webhook.go:40:25: undefined: any
pkg/webhook/webhook.go:120:25: undefined: io.ReadAll
note: module requires Go 1.18
# golang.org/x/sys/unix
../../../go/pkg/mod/golang.org/x/sys@v0.10.0/unix/mremap.go:33:10: undefined: unsafe.Slice
../../../go/pkg/mod/golang.org/x/sys@v0.10.0/unix/syscall.go:83:16: undefined: unsafe.Slice
../../../go/pkg/mod/golang.org/x/sys@v0.10.0/unix/syscall_linux.go:1018:20: undefined: unsafe.Slice
../../../go/pkg/mod/golang.org/x/sys@v0.10.0/unix/syscall_linux.go:2316:9: undefined: unsafe.Slice
../../../go/pkg/mod/golang.org/x/sys@v0.10.0/unix/syscall_unix.go:118:7: undefined: unsafe.Slice
../../../go/pkg/mod/golang.org/x/sys@v0.10.0/unix/sysvshm_unix.go:33:7: undefined: unsafe.Slice
note: module requires Go 1.17
make: *** [makefile:12: ts-build] Error 2
ubuntu@ubuntu:~/Desktop/Havoc$ go version
go version devel go1.18-7058c2cb41 Tue Jan 10 13:50:39 2023 -0500 linux/amd64

I try to use go 1.20, this also happened.

Did You Do a Pull First?

Latest (You performed a pull first)

Did You Try With the Dev Branch?

No (You only tried the main branch...)

Relevant log output

No response

Did You Read Over Your Issue First?

  • [x] I declare I made an effort and provided the necessary information for replication of the issue.

There is an issue with your Go version and you need to use version 1.18 or later