Summary: | net-dns/knot-3.2.9 - libknot/.../eth.c: error: implicit declaration of function bpf_get_link_xdp_info [-Werror=implicit-function-declaration] | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Pierre-Olivier Mercier <nemunaire> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | eschwartz, nicolas.parlant, proxy-maint |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | needs bump | ||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 870412, 941869 | ||
Attachments: |
emerge-info.txt
emerge-history.txt.bz2 environment etc.portage.tar.bz2 logs.tar.bz2 net-dns:knot-3.2.1-r1:20221213-104532.log temp.tar.bz2 emerge-info.txt emerge-history.txt environment etc.clang.tar.xz etc.portage.tar.xz logs.tar.xz net-dns:knot-3.2.9:20231011-104303.log temp.tar.xz |
Description
Toralf Förster
![]() Created attachment 842437 [details]
emerge-info.txt
Created attachment 842439 [details]
emerge-history.txt.bz2
Created attachment 842441 [details]
environment
Created attachment 842443 [details]
etc.portage.tar.bz2
Created attachment 842445 [details]
logs.tar.bz2
Created attachment 842447 [details]
net-dns:knot-3.2.1-r1:20221213-104532.log
Created attachment 842449 [details]
temp.tar.bz2
*** Bug 911711 has been marked as a duplicate of this bug. *** Can we please close this. net-dns/knot-3.2.9 seems to build fine on musl clang, also net-dns/knot-3.2.1-r1 is no longer in tree. (In reply to listout from comment #9) > Can we please close this. net-dns/knot-3.2.9 seems to build fine on musl > clang, also net-dns/knot-3.2.1-r1 is no longer in tree. the tinderbox reproduced this with net-dns/knot-3.2.9 appeared recently at the tinderbox image 23.0_desktop_plasma_systemd-20231010-081424 too long lines were shrinked: libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../src/contrib/libngtcp2 -I../src/contrib/libngtcp2/ngtcp2/lib -include ../src/config.h -DCONFIG_DIR=\"/etc/knot\" -DSTORAGE_DIR=\"/var/lib/knot\" -DRUN_DIR=\"/var/run/knot\" -DMODULE_DIR=\"\" -DMODULE_INSTDIR=\"/usr/lib64/knot/modules libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../src/contrib/libngtcp2 -I../src/contrib/libngtcp2/ngtcp2/lib -include ../src/config.h -DCONFIG_DIR=\"/etc/knot\" -DSTORAGE_DIR=\"/var/lib/knot\" -DRUN_DIR=\"/var/run/knot\" -DMODULE_DIR=\"\" -DMODULE_INSTDIR=\"/usr/lib64/knot/modules libknot/xdp/eth.c: In function knot_eth_xdp_mode: libknot/xdp/eth.c:296:30: error: storage size of info isnt known 296 | struct xdp_link_info info; | ^~~~ libknot/xdp/eth.c:297:19: error: implicit declaration of function bpf_get_link_xdp_info [-Werror=implicit-function-declaration] 297 | int ret = bpf_get_link_xdp_info(if_index, &info, sizeof(info), 0); | ^~~~~~~~~~~~~~~~~~~~~ ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 23.0_desktop_plasma_systemd-20231010-081424 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-13 * clang/llvm (if any): clang version 17.0.2 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/17/bin Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg /usr/lib/llvm/17 17.0.2 Python 3.11.6 Available Ruby profiles: [1] ruby31 (with Rubygems) * Available Rust versions: [1] rust-bin-1.73.0 * The following VMs are available for generation-2: *) Eclipse Temurin JDK 17.0.8.1_p1 [openjdk-bin-17] Available Java Virtual Machines: [1] openjdk-bin-17 system-vm php cli (if any): go version go1.21.1 linux/amd64 HEAD of ::gentoo commit ea2798c0423554f3c0544b8da23341d10baea2c0 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Wed Oct 11 09:31:57 2023 +0000 2023-10-11 09:31:57 UTC emerge -qpvO net-dns/knot [ebuild N ] net-dns/knot-3.2.9 USE="caps dnsproxy dnstap doh geoip libidn2 queryacl quic rrl stats synthrecord systemd xdp -cookies -doc -fastparser -idn -noudp -onlinesign -utils -whoami" Created attachment 873051 [details]
emerge-info.txt
Created attachment 873052 [details]
emerge-history.txt
Created attachment 873053 [details]
environment
Created attachment 873054 [details]
etc.clang.tar.xz
Created attachment 873055 [details]
etc.portage.tar.xz
Created attachment 873056 [details]
logs.tar.xz
Created attachment 873057 [details]
net-dns:knot-3.2.9:20231011-104303.log
Created attachment 873058 [details]
temp.tar.xz
*** Bug 914967 has been marked as a duplicate of this bug. *** *** Bug 933841 has been marked as a duplicate of this bug. *** Can we please close this bug ? Solved with revbump 3.2.9-r1 : https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b24fd280bd655b4188af62ec2acdba61e665440b From net-dns:knot-3.2.9:20231011-104303.log : > checking for libxdp... no > > xdp/bpf-user.c -fPIC -DPIC -o libknot/xdp/.libs/la-bpf-user.o > In file included from libknot/xdp/bpf-user.c:27: > ./libknot/xdp/bpf-user.h:31:11: fatal error: bpf/xsk.h: No such file or > directory > 31 | #include <bpf/xsk.h> > | ^~~~~~~~~~~ |