Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

raspberry pi build #100

Open
l27-0-0-l opened this issue Dec 1, 2019 · 1 comment
Open

raspberry pi build #100

l27-0-0-l opened this issue Dec 1, 2019 · 1 comment

Comments

@l27-0-0-l
Copy link

root@rpi4-1:/home/pi/GO/src/github.com/kubectl-trace# make
rm -f -R _output
rm -f -R dist
CGO_ENABLED=1 go build -ldflags '-X github.com/iovisor/kubectl-trace/pkg/version.buildTime=1574941576 -X github.com/iovisor/kubectl-trace/pkg/version.gitCommit=9251ebac23648762fc19a7213df2e117bd654f0f -X github.com/iovisor/kubectl-trace/pkg/cmd.ImageNameTag=quay.io/iovisor/kubectl-trace-bpftrace:9251ebac23648762fc19a7213df2e117bd654f0f -X github.com/iovisor/kubectl-trace/pkg/cmd.InitImageNameTag=quay.io/iovisor/kubectl-trace-init:9251ebac23648762fc19a7213df2e117bd654f0f' -o _output/bin/kubectl-trace ./cmd/kubectl-trace
# github.com/kubectl-trace/cmd/kubectl-trace
cmd/kubectl-trace/root.go:24:29: cannot use streams (type "github.com/kubectl-trace/vendor/k8s.io/cli-runtime/pkg/genericclioptions".IOStreams) as type "github.com/iovisor/kubectl-trace/vendor/k8s.io/cli-runtime/pkg/genericclioptions".IOStreams in argument to cmd.NewTraceCommand
make: *** [Makefile:35: _output/bin/kubectl-trace] Error 2
root@rpi4-1:/home/pi/GO/src/github.com/kubectl-trace#

when try to build with docker image on make image/build I got

...
Step 9/11 : RUN apt-get update && apt-get install -y bpftrace=${bpftraceversion} && rm -rf /var/lib/apt/lists/* && apt-get clean
---> Running in b5c140ed9829
Get:1 http://ports.ubuntu.com/ubuntu-ports eoan InRelease [255 kB]
Get:2 http://ports.ubuntu.com/ubuntu-ports eoan-updates InRelease [97.5 kB]
Get:3 http://ports.ubuntu.com/ubuntu-ports eoan-backports InRelease [88.8 kB]
Get:4 http://ports.ubuntu.com/ubuntu-ports eoan-security InRelease [97.5 kB]
Get:5 http://ports.ubuntu.com/ubuntu-ports eoan/restricted armhf Packages [10.5 kB]
Get:6 http://ports.ubuntu.com/ubuntu-ports eoan/multiverse armhf Packages [149 kB]
Get:7 http://ports.ubuntu.com/ubuntu-ports eoan/main armhf Packages [1229 kB]
Get:8 http://ports.ubuntu.com/ubuntu-ports eoan/universe armhf Packages [11.3 MB]
Reading package lists...
E: Release file for http://ports.ubuntu.com/ubuntu-ports/dists/eoan-updates/InRelease is not valid yet (invalid for another 3d 9h 38min 43s). Updates for this repository will not be applied.
E: Release file for http://ports.ubuntu.com/ubuntu-ports/dists/eoan-backports/InRelease is not valid yet (invalid for another 3d 9h 38min 53s). Updates for this repository will not be applied.
E: Release file for http://ports.ubuntu.com/ubuntu-ports/dists/eoan-security/InRelease is not valid yet (invalid for another 3d 9h 38min 36s). Updates for this repository will not be applied.
The command '/bin/sh -c apt-get update && apt-get install -y bpftrace=${bpftraceversion} && rm -rf /var/lib/apt/lists/* && apt-get clean' returned a non-zero code: 100
make: *** [Makefile:63: image/build] Error 100
root@rpi4-1:/home/pi/GO/src/github.com/kubectl-trace#

@dalehamel
Copy link
Member

this looks like a clock sync error @l27-0-0-l can you try syncing your clock?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants