Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 914967 - net-dns/knot-3.2.9 - libknot/.../eth.c: error: implicit declaration of function bpf_get_link_xdp_info [-Werror=implicit-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:
 
Reported: 2023-09-30 08:26 UTC by Toralf Förster
Modified: 2023-09-30 08:26 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.02 KB, text/plain)
2023-09-30 08:26 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,54.92 KB, text/plain)
2023-09-30 08:26 UTC, Toralf Förster
Details
environment (environment,82.20 KB, text/plain)
2023-09-30 08:26 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.07 KB, application/x-xz)
2023-09-30 08:26 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,20.47 KB, application/x-xz)
2023-09-30 08:26 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,13.57 KB, application/x-xz)
2023-09-30 08:26 UTC, Toralf Förster
Details
net-dns:knot-3.2.9:20230930-080257.log (net-dns:knot-3.2.9:20230930-080257.log,142.42 KB, text/plain)
2023-09-30 08:26 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,26.00 KB, application/x-xz)
2023-09-30 08:26 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 2023-09-30 08:26:20 UTC
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: 17.1_no_multilib_hardened-20230929-064004

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 17.0.1
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.1
Python 3.11.5
Available Rust versions:
  [1]   rust-bin-1.72.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 17.0.8.1_p1 [openjdk-bin-17]
2)	Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17  system-vm

php cli (if any):
go version go1.21.1 linux/amd64

  HEAD of ::gentoo
commit 1de370e78f01907e2fb0bfacab8c38f1cf69b86f
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Sep 30 07:31:36 2023 +0000

    2023-09-30 07:31:36 UTC

emerge -qpvO net-dns/knot
[ebuild  N    ] net-dns/knot-3.2.9  USE="dnsproxy dnstap doh geoip noudp onlinesign queryacl quic rrl stats synthrecord utils xdp -caps -cookies -doc -fastparser -idn -libidn2 -systemd -whoami"
Comment 1 Toralf Förster gentoo-dev 2023-09-30 08:26:21 UTC
Created attachment 871823 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-09-30 08:26:22 UTC
Created attachment 871824 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2023-09-30 08:26:23 UTC
Created attachment 871825 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-09-30 08:26:24 UTC
Created attachment 871826 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2023-09-30 08:26:25 UTC
Created attachment 871827 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-09-30 08:26:25 UTC
Created attachment 871828 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-09-30 08:26:27 UTC
Created attachment 871829 [details]
net-dns:knot-3.2.9:20230930-080257.log
Comment 8 Toralf Förster gentoo-dev 2023-09-30 08:26:28 UTC
Created attachment 871830 [details]
temp.tar.xz