This repository was archived by the owner on May 12, 2021. It is now read-only.
Description Description of problem
Build and install of Kata runtime fails
Expected result
Successfully built the Kata runtime
Actual result
runtime]# make && sudo -E PATH=$PATH make install
CLEAN clean
GENERATE cli/config-generated.go
CONFIG data/kata-collect-data.sh
kata-runtime - version 1.2.0 (commit ed6f715ae6d46171c170c98909656539005766e3)
• architecture:
Host: x86_64
golang: amd64
Build: amd64
• golang:
go version go1.8.3 linux/amd64
• Summary:
destination install path (DESTDIR) : /
binary installation path (BINDIR) : /usr/local/bin
binaries to install :
- /usr/local/bin/kata-runtime
- /usr/local/bin/data/kata-collect-data.sh
config to install (CONFIG) : cli/config/configuration.toml
install path (CONFIG_PATH) : /usr/share/defaults/kata-containers/configuration.toml
alternate config path (SYSCONFIG) : /etc/kata-containers/configuration.toml
hypervisor path (QEMUPATH) : /usr/bin/qemu-lite-system-x86_64
assets path (PKGDATADIR) : /usr/share/kata-containers
proxy+shim path (PKGLIBEXECDIR) : /usr/libexec/kata-containers
BUILD /home/nitesh/TST/kata/src/github.com/kata-containers/runtime/kata-runtime
# github.com/kata-containers/runtime/virtcontainers
../virtcontainers/agent.go:94: cannot use kataAgent literal (type *kataAgent) as type agent in return argument:
*kataAgent does not implement agent (wrong type for init method)
have init("github.com/kata-containers/runtime/vendor/golang.org/x/net/context".Context, *Sandbox, interface {}) error
want init("context".Context, *Sandbox, interface {}) error
make: *** [Makefile:331: /home/nitesh/TST/kata/src/github.com/kata-containers/runtime/kata-runtime] Error
Reactions are currently unavailable