* Package: net-libs/xdp-tools-1.2.3 * Repository: gentoo * Maintainer: zx2c4@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux tools userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking xdp-tools-1.2.3.tar.gz to /var/tmp/portage/net-libs/xdp-tools-1.2.3/work >>> Source unpacked in /var/tmp/portage/net-libs/xdp-tools-1.2.3/work >>> Preparing source in /var/tmp/portage/net-libs/xdp-tools-1.2.3/work/xdp-tools-1.2.3 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/net-libs/xdp-tools-1.2.3/work/xdp-tools-1.2.3 ... ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 Found clang binary 'clang' with version 14 (from 'clang version 14.0.3') using emacs: GNU Emacs 28.1 libbpf support: FORCE_SYSTEM_LIBBPF is set, but no usable libbpf found on system error: config.gEiBFK/libbpftest.c: In function ‘main’: config.gEiBFK/libbpftest.c:12:5: error: ‘bpf_set_link_xdp_fd_opts’ is deprecated: libbpf v0.8+: use bpf_xdp_attach() instead [-Werror=deprecated-declarations] 12 | (void) bpf_set_link_xdp_fd_opts(0, 0, 0, &xlopts); | ^ In file included from config.gEiBFK/libbpftest.c:1: /usr/include/bpf/libbpf.h:1166:16: note: declared here 1166 | LIBBPF_API int bpf_set_link_xdp_fd_opts(int ifindex, int fd, __u32 flags, | ^~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors * ERROR: net-libs/xdp-tools-1.2.3::gentoo failed (configure phase): * econf failed * * Call stack: * ebuild.sh, line 127: Called src_configure * environment, line 568: Called default * phase-functions.sh, line 858: Called default_src_configure * phase-functions.sh, line 893: Called __eapi2_src_configure * phase-helpers.sh, line 828: Called econf * phase-helpers.sh, line 711: Called __helpers_die 'econf failed' * isolated-functions.sh, line 112: Called die * The specific snippet of code: * die "$@" * * If you need support, post the output of `emerge --info '=net-libs/xdp-tools-1.2.3::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-libs/xdp-tools-1.2.3::gentoo'`. * The complete build log is located at '/var/log/portage/net-libs:xdp-tools-1.2.3:20220521-222447.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-libs/xdp-tools-1.2.3/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-libs/xdp-tools-1.2.3/temp/environment'. * Working directory: '/var/tmp/portage/net-libs/xdp-tools-1.2.3/work/xdp-tools-1.2.3' * S: '/var/tmp/portage/net-libs/xdp-tools-1.2.3/work/xdp-tools-1.2.3'