Bug#1018916: xdp-tools: FTBFS with libbpf 1.0.0

2022-09-06 Thread Luca Boccassi
On Tue, 6 Sept 2022 at 10:36, Sudip Mukherjee
 wrote:
>
> Hi,
>
> As discussed at
> https://github.com/libbpf/libbpf/issues/562#issuecomment-1237392994
> v1.2.7 of xdp-tools should fix the build problem.

We should hold back for a while, it is evident that libbpf is not in a
stable state and ready for production if they had to break API
compatibility like this. It would be better to ship Bookworm with the
current version, and postpone ABI breakages to Trixie, so that we can
be sure there are no longer going to be API incompatible changes.

Kind regards,
Luca Boccassi



Bug#1018916: xdp-tools: FTBFS with libbpf 1.0.0

2022-09-06 Thread Sudip Mukherjee
Hi,

As discussed at
https://github.com/libbpf/libbpf/issues/562#issuecomment-1237392994
v1.2.7 of xdp-tools should fix the build problem.


-- 
Regards
Sudip



Bug#1018916: xdp-tools: FTBFS with libbpf 1.0.0

2022-09-01 Thread Sudip Mukherjee
Package: xdp-tools
Version: 1.2.6-2
Severity: important
Tags: ftbfs
X-Debbugs-Cc: sudipm.mukher...@gmail.com
Usertags: libbpf1

Dear Maintainer,

xdp-tools FTBFS with libbpf 1.0.0 (available in experimental).
This is the first error from the build log:

   dh_auto_configure
./configure --build=x86_64-linux-gnu --prefix=/usr 
--includedir=\${prefix}/include --mandir=\${prefix}/share/man 
--infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var 
--disable-option-checking --disable-silent-rules 
--libdir=\${prefix}/lib/x86_64-linux-gnu --runstatedir=/run 
--disable-maintainer-mode --disable-dependency-tracking
Found clang binary 'clang' with version 14 (from 'Debian clang version 
14.0.6-2')
libbpf support: FORCE_SYSTEM_LIBBPF is set, but no usable libbpf found on system
error: In file included from config.TN0geB/libbpftest.c:3:
/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;
  |  ^~
dh_auto_configure: error: ./configure --build=x86_64-linux-gnu --prefix=/usr 
--includedir=\${prefix}/include --mandir=\${prefix}/share/man 
--infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var 
--disable-option-checking --disable-silent-rules 
--libdir=\${prefix}/lib/x86_64-linux-gnu --runstatedir=/run 
--disable-maintainer-mode --disable-dependency-tracking returned exit code 1


-- 
Regards
Sudip