Package: dwarves
Version: 1.23-2
Severity: important
Tags: ftbfs
X-Debbugs-Cc:
sudipm.m...@gmail.com
Usertags: libbpf1
Dear Maintainer,
dwarves FTBFS with libbpf 1.0.0 (available in experimental).
Hopefully this is the error from the build log:
In file included from /home/sudip/test/dwarves-1.23/btf_encoder.c:18:
/usr/include/bpf/btf.h: In function 'btf_enum64_value':
/usr/include/bpf/btf.h:496:25: error: invalid use of undefined type 'const struct btf_enum64'
496 | return ((__u64)e->val_hi32 << 32) | e->val_lo32;
| ^~
/usr/include/bpf/btf.h:496:46: error: invalid use of undefined type 'const struct btf_enum64'
496 | return ((__u64)e->val_hi32 << 32) | e->val_lo32;
| ^~
/home/sudip/test/dwarves-1.23/btf_encoder.c: In function 'btf__log_err':
/home/sudip/test/dwarves-1.23/btf_encoder.c:175:39: warning: implicit declaration of function 'btf__get_nr_types' [-Wimplicit-function-declaration]
175 | fprintf(stderr, "[%u] %s %s", btf__get_nr_types(btf) + 1,
| ^~~~~~~~~~~~~~~~~
/home/sudip/test/dwarves-1.23/btf_encoder.c: In function 'btf_encoder__encode':
/home/sudip/test/dwarves-1.23/btf_encoder.c:1049:13: error: too many arguments to function 'btf__dedup'
1049 | if (btf__dedup(encoder->btf, NULL, NULL)) {
| ^~~~~~~~~~
/usr/include/bpf/btf.h:232:16: note: declared here
232 | LIBBPF_API int btf__dedup(struct btf *btf, const struct btf_dedup_opts *opts);
| ^~~~~~~~~~
--
Regards
Sudip