Source: bpfcc
Version: 0.22.0+ds-2
Severity: important
Tags: ftbfs
X-Debbugs-Cc: [email protected]

Dear Maintainer,

bpfcc is failing to build with the latest release of libbpf.

Reported error:
In file included from /<<PKGBUILDDIR>>/src/cc/bcc_libbpf_inc.h:5,
                 from 
/<<PKGBUILDDIR>>/src/cc/frontends/clang/b_frontend_action.cc:37:
/usr/include/bpf/btf.h: In function ‘bool btf_is_mod(const btf_type*)’:
/usr/include/bpf/btf.h:463:24: error: ‘BTF_KIND_TYPE_TAG’ was not declared in 
this scope; did you mean ‘BTF_KIND_TYPEDEF’?
  463 |                kind == BTF_KIND_TYPE_TAG;
      |                        ^~~~~~~~~~~~~~~~~
      |                        BTF_KIND_TYPEDEF
/usr/include/bpf/btf.h: In function ‘bool btf_is_decl_tag(const btf_type*)’:
/usr/include/bpf/btf.h:493:31: error: ‘BTF_KIND_DECL_TAG’ was not declared in 
this scope; did you mean ‘BTF_KIND_FLOAT’?
  493 |         return btf_kind(t) == BTF_KIND_DECL_TAG;
      |                               ^~~~~~~~~~~~~~~~~
      |                               BTF_KIND_FLOAT
/usr/include/bpf/btf.h: In function ‘bool btf_is_type_tag(const btf_type*)’:
/usr/include/bpf/btf.h:498:31: error: ‘BTF_KIND_TYPE_TAG’ was not declared in 
this scope; did you mean ‘BTF_KIND_TYPEDEF’?
  498 |         return btf_kind(t) == BTF_KIND_TYPE_TAG;
      |                               ^~~~~~~~~~~~~~~~~
      |                               BTF_KIND_TYPEDEF


I have uploaded libbpf to experimental for now.


--
Regards
Sudip

Reply via email to