[kata-dev] importing kata-container runtime to Goland

Ted Yu yuzhihong at gmail.com
Fri Nov 22 18:17:50 UTC 2019


Thanks for the reply.

When I execute make, I see the following:

../../go-workspace/pkg/mod/
github.com/opencontainers/runc at 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 at 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 at v0.0.0-20190717030353-c4b9ac5c7601/memory.go:179:33:
undefined: unix.SYS_EVENTFD2
../../go-workspace/pkg/mod/
github.com/containerd/cgroups at 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 at 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
>
> [1] -
> https://github.com/kata-containers/documentation/blob/master/Developer-Guide.md#build-and-install-the-kata-containers-runtime
>
> Le ven. 22 nov. 2019 à 17:55, Ted Yu <yuzhihong at 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 at lists.katacontainers.io
>> http://lists.katacontainers.io/cgi-bin/mailman/listinfo/kata-dev
>>
>
>
> --
> James
> ---
> https://katacontainers.io/ | https://github.com/kata-containers
> <https://github.com/clearcontainers>
> Open Source Technology Center
> Intel Corporation (UK) Ltd. - Co. Reg. #1134945 - Pipers Way, Swindon SN3
> 1RJ.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.katacontainers.io/pipermail/kata-dev/attachments/20191122/8f4ce794/attachment-0001.html>


More information about the kata-dev mailing list