Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 846938 - net-libs/xdp-tools-1.2.3 - config.gEiBFK/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.gEiBFK/libbpftest.c: error: bpf_set_link_xd...
Status: RESOLVED FIXED
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:
: 828026 833308 847787 848480 849323 (view as bug list)
Depends on:
Blocks: werror
  Show dependency tree
 
Reported: 2022-05-22 09:22 UTC by Toralf Förster
Modified: 2022-06-11 05:36 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,19.48 KB, text/plain)
2022-05-22 09:22 UTC, Toralf Förster
Details
emerge-history.txt.bz2 (emerge-history.txt.bz2,88.71 KB, application/x-bzip)
2022-05-22 09:22 UTC, Toralf Förster
Details
environment (environment,25.18 KB, text/plain)
2022-05-22 09:22 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,31.30 KB, application/x-bzip)
2022-05-22 09:22 UTC, Toralf Förster
Details
net-libs:xdp-tools-1.2.3:20220521-222447.log (net-libs:xdp-tools-1.2.3:20220521-222447.log,2.81 KB, text/plain)
2022-05-22 09:22 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,9.07 KB, application/x-bzip)
2022-05-22 09:22 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-22 09:22:47 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.gEiBFK/libbpftest.c: In function main’:
config.gEiBFK/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-20220517-010104

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10.3.1
 [2] x86_64-pc-linux-gnu-12.1.0 *
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-bin-1.60.0
  [2]   rust-1.60.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.15_p10 [openjdk-bin-11]
2)	Eclipse Temurin JDK 17.0.3_p7 [openjdk-bin-17]
3)	Eclipse Temurin JRE 11.0.15_p10 [openjdk-jre-bin-11]
4)	Eclipse Temurin JRE 17.0.3_p7 [openjdk-jre-bin-17]
*)	Eclipse Temurin JRE 8.332_p09 [openjdk-jre-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-11 
  [2]   openjdk-bin-17 
  [3]   openjdk-jre-bin-8  system-vm
  [4]   openjdk-jre-bin-11 
  [5]   openjdk-jre-bin-17 

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

  HEAD of ::gentoo
commit d031166542ff56237b6db14da337c9cd6edffb76
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat May 21 21:17:58 2022 +0000

    2022-05-21 21:17:57 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-22 09:22:48 UTC
Created attachment 779909 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-05-22 09:22:49 UTC
Created attachment 779912 [details]
emerge-history.txt.bz2
Comment 3 Toralf Förster gentoo-dev 2022-05-22 09:22:50 UTC
Created attachment 779915 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-05-22 09:22:51 UTC
Created attachment 779918 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-05-22 09:22:52 UTC
Created attachment 779921 [details]
net-libs:xdp-tools-1.2.3:20220521-222447.log
Comment 6 Toralf Förster gentoo-dev 2022-05-22 09:22:53 UTC
Created attachment 779924 [details]
temp.tar.bz2
Comment 7 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-05-28 07:23:50 UTC
*** Bug 847787 has been marked as a duplicate of this bug. ***
Comment 8 Toralf Förster gentoo-dev 2022-05-30 08:43:54 UTC
*** Bug 848480 has been marked as a duplicate of this bug. ***
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-06-02 09:46:09 UTC
*** Bug 828026 has been marked as a duplicate of this bug. ***
Comment 10 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-06-02 09:46:24 UTC
*** Bug 833308 has been marked as a duplicate of this bug. ***
Comment 11 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-06-02 09:46:40 UTC
*** Bug 849323 has been marked as a duplicate of this bug. ***
Comment 12 Larry the Git Cow gentoo-dev 2022-06-11 05:36:09 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=81f78148645a266219e9a3e72663f7473e0de6c6

commit 81f78148645a266219e9a3e72663f7473e0de6c6
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-06-11 05:34:14 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-06-11 05:36:03 +0000

    net-libs/xdp-tools: drop Werror
    
    Closes: https://bugs.gentoo.org/846938
    Closes: https://bugs.gentoo.org/831339
    Signed-off-by: Sam James <sam@gentoo.org>

 .../files/xdp-tools-1.2.3-no-werror.patch          | 73 ++++++++++++++++++++++
 net-libs/xdp-tools/xdp-tools-1.2.3.ebuild          |  4 ++
 2 files changed, 77 insertions(+)