Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 828033 - dev-util/bcc-0.23.0 - error: ‘BTF_KIND_TYPE_TAG’ undeclared
Summary: dev-util/bcc-0.23.0 - error: ‘BTF_KIND_TYPE_TAG’ undeclared
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Zac Medico
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-12-02 21:24 UTC by Bogdan
Modified: 2021-12-02 22:08 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,17.51 KB, text/x-log)
2021-12-02 21:25 UTC, Bogdan
Details
emerge --info dev-util/bcc (emerge.info,12.01 KB, text/plain)
2021-12-02 21:26 UTC, Bogdan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bogdan 2021-12-02 21:24:41 UTC
> In file included from /tmp/portage/dev-util/bcc-0.23.0/work/bcc-0.23.0/src/cc/bcc_libbpf_inc.h:5,                                                                                                                                            
>                  from /tmp/portage/dev-util/bcc-0.23.0/work/bcc-0.23.0/src/cc/libbpf.c:57:                                                                                                                                                   
> /usr/include/bpf/btf.h: In function ‘btf_is_mod’:                                                                                                                                                                                            
> /usr/include/bpf/btf.h:463:17: error: ‘BTF_KIND_TYPE_TAG’ undeclared (first use in this function); did you mean ‘BTF_KIND_TYPEDEF’?                                                                                                          
>   463 |         kind == BTF_KIND_TYPE_TAG;                                                                                                                                                                                                   
>       |                 ^~~~~~~~~~~~~~~~~                                                                                                                                                                                                    
>       |                 BTF_KIND_TYPEDEF                                                                                                                                                                                                     
> /usr/include/bpf/btf.h:463:17: note: each undeclared identifier is reported only once for each function it appears in                                                                                                                        
> /usr/include/bpf/btf.h: In function ‘btf_is_decl_tag’:                                                                                                                                                                                       
> /usr/include/bpf/btf.h:493:24: error: ‘BTF_KIND_DECL_TAG’ undeclared (first use in this function); 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 ‘btf_is_type_tag’:                                                                                                                                                                                       
> /usr/include/bpf/btf.h:498:24: error: ‘BTF_KIND_TYPE_TAG’ undeclared (first use in this function); did you mean ‘BTF_KIND_TYPEDEF’?                                                                                                          
>   498 |  return btf_kind(t) == BTF_KIND_TYPE_TAG;
>       |                        ^~~~~~~~~~~~~~~~~
>       |                        BTF_KIND_TYPEDEF
Comment 1 Bogdan 2021-12-02 21:25:50 UTC
Created attachment 757224 [details]
build.log
Comment 2 Bogdan 2021-12-02 21:26:58 UTC
Created attachment 757225 [details]
emerge --info dev-util/bcc
Comment 3 Patrick McLean gentoo-dev 2021-12-02 22:08:58 UTC
Fixed in dev-util/bcc-0.23.0-r1 via https://gitweb.gentoo.org/repo/gentoo.git/commit/dev-util/bcc?id=57bbc9e24ea07e0d6da06e9c591da6222427f4a8