afbjorklund / buildroot4kubernetes

Minimal linux distribution for running kubernetes ("boot2kubeadm")
https://kutter-os.github.io
23 stars 5 forks source link

Error building cni-plugins #16

Closed jibanes closed 2 years ago

jibanes commented 2 years ago
cni-plugins-0.8.7.tar.gz: OK (sha256: de9fa170b4b6d38f6ff5287b313ddaf3c31f70bccb10e971ad59adadae22dd74)
>>> cni-plugins 0.8.7 Extracting
gzip -d -c /home/xxx/backups/k/buildroot/buildroot/dl/cni-plugins/cni-plugins-0.8.7.tar.gz | tar --strip-components=1 -C /home/xxx/backups/k/buildroot/buildroot/output/build/cni-plugins-0.8.7   -xf -
>>> cni-plugins 0.8.7 Patching
>>> cni-plugins 0.8.7 Configuring
>>> cni-plugins 0.8.7 Building
(cd /home/xxx/backups/k/buildroot/buildroot/output/build/cni-plugins-0.8.7;  GO111MODULE=on ./build_linux.sh -ldflags '-extldflags -static -X github.com/containernetworking/plugins/pkg/utils/buildversion.BuildVersion=v0.8.7')
Building plugins
  bandwidth
/usr/local/go/src/net/dnsclient.go:11:2: cannot find package "." in:
        /home/xxx/backups/k/buildroot/buildroot/output/build/cni-plugins-0.8.7/vendor/golang.org/x/net/dns/dnsmessage
make[1]: *** [package/pkg-generic.mk:251: /home/xxx/backups/k/buildroot/buildroot/output/build/cni-plugins-0.8.7/.stamp_built] Error 1
make[1]: Leaving directory '/home/xxx/backups/k/buildroot/buildroot'
make: *** [makefile:46: output/disk.img] Error 2
jibanes commented 2 years ago

...I had an old go-1.11 laying around...