Open dhiaayachi opened 2 weeks ago
Thanks for reporting this! It appears that the issue stems from the use of getSendQueueLen
in sockio_unix.go
. This function is not available on FreeBSD.
To work around this issue, you can use the provided GNU-Makefile
to build temporal-server with the CGO_ENABLED=0
flag set, which disables CGO for the FreeBSD build. However, if you require features that rely on CGO, this workaround may not be suitable.
Would you like to know more about building Temporal on FreeBSD?
Thanks for reporting this. It looks like you're running into an issue with the getSendQueueLen
function being undefined in sockio_unix.go
. This function was introduced in tchannel-go v1.21.0. The version of tchannel-go that your Go version is using is v1.22.1.
To resolve this, you can try updating the tchannel-go dependency in your Go project. You can do this by running:
go get -u github.com/temporalio/tchannel-go@v1.21.0
If this doesn't work, please provide your Go version and the output of go mod graph
so I can help you further.
I am aware that FreeBSD is not officially supported to run temporal. Nevertheless, I was trying to build the latest version on FreeBSD 14.0-ALPHA4 amd64. Here is how far I got:
Install dependencies:
Get the repository:
Try to build it with the provided
GNU-Makefile
:Output:
It would be awesome if someone could have a look. Maybe it's easy to fix. If you need a VM, this vagrant box would suffice.