Thanks for the reply.

When I execute make, I see the following:

../../go-workspace/pkg/mod/github.com/opencontainers/runc@v0.0.0-20170926091510-0351df1c5a66/libcontainer/utils/utils_unix.go:39:62: undefined: unix.SOCK_CLOEXEC
# github.com/kata-containers/runtime/pkg/signals
../../go-workspace/pkg/mod/github.com/kata-containers/runtime@v0.0.0-20191122173334-fea166d8ebb8/pkg/signals/signals.go:35:2: undefined: syscall.SIGSTKFLT
# github.com/containerd/cgroups
../../go-workspace/pkg/mod/github.com/containerd/cgroups@v0.0.0-20190717030353-c4b9ac5c7601/memory.go:179:33: undefined: unix.SYS_EVENTFD2
../../go-workspace/pkg/mod/github.com/containerd/cgroups@v0.0.0-20190717030353-c4b9ac5c7601/memory.go:179:55: undefined: unix.EFD_CLOEXEC
make: *** [/Users/yute/t-k-runtime/kata-runtime] Error 2

I use MacOS. From what I saw from web search, the build is not supported on MacOS.

If someone managed to install on Mac, please let me know.

On Fri, Nov 22, 2019 at 10:03 AM Hunt, James O <james.o.hunt@intel.com> wrote:
Hi Ted,

Welcome to the list. Have you followed the instructions in the Developer Guide [1]? If that doesn't work, please raise a GitHub issue with more details of your environment.

Cheers,

James


Le ven. 22 nov. 2019 à 17:55, Ted Yu <yuzhihong@gmail.com> a écrit :
Hi,
When I import kata-container runtime to Goland, there were unrecognized imports. e.g.
opentracing "github.com/opentracing/opentracing-go"
"github.com/pkg/errors"
"github.com/sirupsen/logrus"
I have enabled Go Modules preference.
If someone uses Goland for development, please share your setup.
Thanks
_______________________________________________
kata-dev mailing list
kata-dev@lists.katacontainers.io
http://lists.katacontainers.io/cgi-bin/mailman/listinfo/kata-dev


--
James
---
Open Source Technology Center
Intel Corporation (UK) Ltd. - Co. Reg. #1134945 - Pipers Way, Swindon SN3 1RJ.