Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 847787 - net-libs/xdp-tools-1.2.3 - config.pV9UYm/libbpftest.c: error: bpf_set_link_xdp_fd_opts is deprecated: libbpf v0.8+: use bpf_xdp_at
Summary: net-libs/xdp-tools-1.2.3 - config.pV9UYm/libbpftest.c: error: bpf_set_link_xd...
Status: RESOLVED DUPLICATE of bug 846938
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Jason A. Donenfeld
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-05-27 08:55 UTC by Toralf Förster
Modified: 2022-05-28 07:23 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,18.13 KB, text/plain)
2022-05-27 08:55 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,97.88 KB, text/plain)
2022-05-27 08:55 UTC, Toralf Förster
Details
environment (environment,23.93 KB, text/plain)
2022-05-27 08:55 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,11.38 KB, application/x-bzip)
2022-05-27 08:55 UTC, Toralf Förster
Details
net-libs:xdp-tools-1.2.3:20220526-205912.log (net-libs:xdp-tools-1.2.3:20220526-205912.log,2.81 KB, text/plain)
2022-05-27 08:55 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,8.69 KB, application/x-bzip)
2022-05-27 08:55 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-05-27 08:55:07 UTC
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.pV9UYm/libbpftest.c: In function main’:
config.pV9UYm/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);
      |     ^

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no_multilib-j4-20220526-050010

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12.1.1 *
clang/llvm (if any):
clang version 14.0.3
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/14/bin
/usr/lib/llvm/14
14.0.3
Python 3.9.13
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-1.61.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 17.0.3_p7 [openjdk-bin-17]
2)	Eclipse Temurin JDK 8.332_p09 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.4
php cli:

  HEAD of ::gentoo
commit 834c24e5f3ad6d68cd44948d12169625c373fc99
Merge: 751f722cc28b 86050840cdca
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu May 26 20:47:51 2022 +0000

    Merge updates from master

emerge -qpvO net-libs/xdp-tools
[ebuild  N    ] net-libs/xdp-tools-1.2.3  USE="tools"
Comment 1 Toralf Förster gentoo-dev 2022-05-27 08:55:08 UTC
Created attachment 780995 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-05-27 08:55:10 UTC
Created attachment 780998 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-05-27 08:55:11 UTC
Created attachment 781001 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-05-27 08:55:12 UTC
Created attachment 781004 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-05-27 08:55:13 UTC
Created attachment 781007 [details]
net-libs:xdp-tools-1.2.3:20220526-205912.log
Comment 6 Toralf Förster gentoo-dev 2022-05-27 08:55:14 UTC
Created attachment 781010 [details]
temp.tar.bz2
Comment 7 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-05-28 07:23:50 UTC

*** This bug has been marked as a duplicate of bug 846938 ***