Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 885769 - net-dns/knot-3.2.1-r1 - libknot/.../eth.c: error: implicit declaration of function bpf_get_link_xdp_info [-Werror=implicit-functio
Summary: net-dns/knot-3.2.1-r1 - libknot/.../eth.c: error: implicit declaration of fun...
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:
: 911711 (view as bug list)
Depends on:
Blocks: c99-porting, clang-16-porting
  Show dependency tree
 
Reported: 2022-12-13 11:00 UTC by Toralf Förster
Modified: 2023-08-04 15:11 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.73 KB, text/plain)
2022-12-13 11:00 UTC, Toralf Förster
Details
emerge-history.txt.bz2 (emerge-history.txt.bz2,69.43 KB, application/x-bzip)
2022-12-13 11:00 UTC, Toralf Förster
Details
environment (environment,83.66 KB, text/plain)
2022-12-13 11:00 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,42.71 KB, application/x-bzip)
2022-12-13 11:00 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,15.32 KB, application/x-bzip)
2022-12-13 11:00 UTC, Toralf Förster
Details
net-dns:knot-3.2.1-r1:20221213-104532.log (net-dns:knot-3.2.1-r1:20221213-104532.log,82.53 KB, text/plain)
2022-12-13 11:00 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,26.41 KB, application/x-bzip)
2022-12-13 11:00 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 2022-12-13 11:00:12 UTC
libknot/xdp/eth.c: In function knot_eth_xdp_mode:
libknot/xdp/eth.c:217:30: error: storage size of info isnt known
  217 |         struct xdp_link_info info;
      |                              ^~~~
make[3]: *** [Makefile:5593: libknot/xdp/la-bpf-user.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
libknot/xdp/eth.c:218:19: error: implicit declaration of function bpf_get_link_xdp_info [-Werror=implicit-function-declaration]
  218 |         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_systemd-j4-20221210-210004

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

GNUMAKEFLAGS="$GNUMAKEFLAGS --jobserver-style=pipe"
gcc-config -l:
 [1] x86_64-pc-linux-gnu-12 *
clang/llvm (if any):
/usr/lib/llvm/15
15.0.6
Python 3.10.9
The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
  [1]   php8.2 *

  HEAD of ::gentoo
commit 5db9e294831c31ef205e7c58f8056e46b8ac9b6d
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Dec 13 09:46:50 2022 +0000

    2022-12-13 09:46:49 UTC

emerge -qpvO net-dns/knot
[ebuild  N    ] net-dns/knot-3.2.1-r1  USE="cookies dnsproxy doh libidn2 noudp onlinesign queryacl rrl stats synthrecord systemd utils whoami xdp -caps -dnstap -doc -fastparser -geoip -idn"
Comment 1 Toralf Förster gentoo-dev 2022-12-13 11:00:13 UTC
Created attachment 842437 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-12-13 11:00:14 UTC
Created attachment 842439 [details]
emerge-history.txt.bz2
Comment 3 Toralf Förster gentoo-dev 2022-12-13 11:00:15 UTC
Created attachment 842441 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-12-13 11:00:17 UTC
Created attachment 842443 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-12-13 11:00:18 UTC
Created attachment 842445 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-12-13 11:00:19 UTC
Created attachment 842447 [details]
net-dns:knot-3.2.1-r1:20221213-104532.log
Comment 7 Toralf Förster gentoo-dev 2022-12-13 11:00:20 UTC
Created attachment 842449 [details]
temp.tar.bz2
Comment 8 Agostino Sarubbo gentoo-dev 2023-08-04 15:11:38 UTC
*** Bug 911711 has been marked as a duplicate of this bug. ***