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

install failed because of libbpf #16

Open
fntlnz opened this issue Dec 21, 2023 · 0 comments
Open

install failed because of libbpf #16

fntlnz opened this issue Dec 21, 2023 · 0 comments

Comments

@fntlnz
Copy link
Collaborator

fntlnz commented Dec 21, 2023

I can't build traffico-cni because of a compilation issue with libbpf, opening it here to track.

+ /usr/bin/xmake -y -b traffico-cni
checking for platform ... linux
checking for architecture ... x86_64
updating repositories .. ok
  => download https://github.com/bats-core/bats-core/archive/refs/tags/v1.7.0.tar.gz .. ok
Installed Bats to /tmp/.xmake/packages/b/bats/v1.7.0/ccbbe97a924a460eb1cc8066487eb7d3/bin/bats
  => install bats v1.7.0 .. ok
  => download https://github.com/xmake-mirror/libelf/releases/download/0.8.13/libelf-0.8.13.tar.gz .. ok
  => download https://acme.com/software/mini_httpd/mini_httpd-1.30.tar.gz .. ok
mini_httpd/1.30 26Oct2018
  => install mini_httpd 1.30 .. ok
  => install libelf 0.8.13 .. ok
  => download https://github.com/libbpf/libbpf/archive/v0.8.0.tar.gz .. ok
  => install libbpf v0.8.0 .. failed

[  4%]: cache compiling.release src/btf.c
[  4%]: cache compiling.release src/libbpf.c
[  4%]: cache compiling.release src/ringbuf.c
[  4%]: cache compiling.release src/linker.c
[  4%]: cache compiling.release src/nlattr.c
[  4%]: cache compiling.release src/netlink.c
[  4%]: cache compiling.release src/relo_core.c
[  4%]: cache compiling.release src/libbpf_probes.c
[  4%]: cache compiling.release src/usdt.c
[  4%]: cache compiling.release src/xsk.c
[  4%]: cache compiling.release src/str_error.c
[  4%]: cache compiling.release src/libbpf_errno.c
[  4%]: cache compiling.release src/gen_loader.c
[  4%]: cache compiling.release src/hashmap.c
[  4%]: cache compiling.release src/bpf_prog_linfo.c
[  4%]: cache compiling.release src/bpf.c
[  4%]: cache compiling.release src/strset.c
if you want to get more verbose errors, please see:
  -> /tmp/.xmake/cache/packages/2312/l/libbpf/v0.8.0/installdir.failed/logs/install.txt
  => download https://mirror.bjtu.edu.cn/kernel/linux/kernel/v5.x/linux-5.16.9.tar.xz .. failed


  => download https://mirrors.edge.kernel.org/pub/linux/kernel/v5.x/linux-5.16.9.tar.xz .. ok
  => install linux-headers 5.16.9 .. ok
error: install failed!
make: *** [Makefile:148: _output/cni-plugins/traffico] Error 255
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

1 participant