Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 933841 - net-dns/knot-3.2.9 - libknot/.../eth.c: error: implicit declaration of function bpf_get_link_xdp_info [-Wimplicit-function-declaration]
Summary: net-dns/knot-3.2.9 - libknot/.../eth.c: error: implicit declaration of functi...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Pierre-Olivier Mercier
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2024-06-08 19:03 UTC by Toralf Förster
Modified: 2024-06-08 19:03 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,19.61 KB, text/plain)
2024-06-08 19:03 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,161.04 KB, text/plain)
2024-06-08 19:03 UTC, Toralf Förster
Details
environment (environment,86.82 KB, text/plain)
2024-06-08 19:03 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.14 KB, application/x-xz)
2024-06-08 19:03 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,24.32 KB, application/x-xz)
2024-06-08 19:03 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,13.52 KB, application/x-xz)
2024-06-08 19:03 UTC, Toralf Förster
Details
net-dns:knot-3.2.9:20240608-190039.log (net-dns:knot-3.2.9:20240608-190039.log,83.33 KB, text/plain)
2024-06-08 19:03 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,40.91 KB, application/x-xz)
2024-06-08 19:03 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,20.33 KB, application/x-xz)
2024-06-08 19:03 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2024-06-08 19:03:11 UTC
make[3]: *** Waiting for unfinished jobs....
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -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-3.2\" -fvisibility=hidden -I/usr/include/bpf/uapi -O2 -pipe -march=native -fno-diagnostics-color -Wall -Wshadow -Werror=format-security -Werror=implicit -Werror=attributes -Wstrict-prototypes -c libknot/xdp/tcp.c  -fPIC -DPIC -o libknot/xdp/.libs/la-tcp.o
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 [-Wimplicit-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_no_multilib_hardened_systemd-20240605-142708

  The attached etc.portage.tar.xz has all details.
  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-14 *
clang/llvm (if any):
clang version 18.1.7
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/18/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/18
18.1.7
Python 3.12.4
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-bin-1.78.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 17.0.11_p9 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.3_p9 [openjdk-bin-21]
3)	Eclipse Temurin JDK 8.412_p08 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17 
  [3]   openjdk-bin-21  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.2.8
php cli (if any):
go version go1.22.3 linux/amd64

  HEAD of ::gentoo
commit 5bba3db0433fa4d2693117daf33c29a4fa859e9b
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Jun 8 18:34:02 2024 +0000

    2024-06-08 18:34:01 UTC

emerge -qpvO net-dns/knot
[ebuild  N    ] net-dns/knot-3.2.9  USE="cookies dnsproxy doh fastparser geoip libidn2 noudp onlinesign queryacl rrl stats synthrecord systemd utils whoami xdp -caps -dnstap -doc -idn -quic"
Comment 1 Toralf Förster gentoo-dev 2024-06-08 19:03:12 UTC
Created attachment 895412 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-06-08 19:03:13 UTC
Created attachment 895413 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2024-06-08 19:03:15 UTC
Created attachment 895414 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-06-08 19:03:15 UTC
Created attachment 895415 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-06-08 19:03:17 UTC
Created attachment 895416 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-06-08 19:03:18 UTC
Created attachment 895417 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-06-08 19:03:21 UTC
Created attachment 895418 [details]
net-dns:knot-3.2.9:20240608-190039.log
Comment 8 Toralf Förster gentoo-dev 2024-06-08 19:03:23 UTC
Created attachment 895419 [details]
qlist-info.txt.xz
Comment 9 Toralf Förster gentoo-dev 2024-06-08 19:03:24 UTC
Created attachment 895420 [details]
temp.tar.xz