Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 848480 - net-libs/xdp-tools-1.2.3 - config.b2h1hW/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.b2h1hW/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: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-05-30 08:43 UTC by Toralf Förster
Modified: 2022-05-30 08:43 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,18.56 KB, text/plain)
2022-05-30 08:43 UTC, Toralf Förster
Details
emerge-history.txt.bz2 (emerge-history.txt.bz2,77.83 KB, application/x-bzip)
2022-05-30 08:43 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-30 08:43:33 UTC
Found clang binary 'clang' with version 14 (from 'clang version 14.0.4')
using emacs: GNU Emacs 28.1
libbpf support: FORCE_SYSTEM_LIBBPF is set, but no usable libbpf found on system
error: config.b2h1hW/libbpftest.c: In function main’:
config.b2h1hW/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_hardened-j4-20220526-120005

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.3.1
 [2] x86_64-pc-linux-gnu-12.1.1 *
clang/llvm (if any):
clang version 14.0.4
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/14/bin
/usr/lib/llvm/14
14.0.4
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:
1)	Eclipse Temurin JDK 11.0.15_p10 [openjdk-bin-11]
*)	Eclipse Temurin JDK 17.0.3_p7 [openjdk-bin-17]
3)	Eclipse Temurin JDK 8.332_p09 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.4
php cli:
  [1]   php8.1 *

  HEAD of ::gentoo
commit 043db5ec27972e4e323d6e35b710026dff708916
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon May 30 00:18:28 2022 +0000

    2022-05-30 00:18:28 UTC

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-30 08:43:34 UTC
Created attachment 781424 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-05-30 08:43:36 UTC
Created attachment 781427 [details]
emerge-history.txt.bz2
Comment 3 Toralf Förster gentoo-dev 2022-05-30 08:43:54 UTC

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