Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 828026 - net-libs/xdp-tools-1.2.0 libxdp.c:1010:17: error: ‘btf__get_from_id’ is deprecated: libbpf v0.6+: use btf__load_from_kernel_by_id instead [-Werror=deprecated-declarations]
Summary: net-libs/xdp-tools-1.2.0 libxdp.c:1010:17: error: ‘btf__get_from_id’ is depre...
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: 2021-12-02 16:55 UTC by Toralf Förster
Modified: 2022-06-02 09:46 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,17.90 KB, text/plain)
2021-12-02 16:55 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,411.22 KB, text/plain)
2021-12-02 16:55 UTC, Toralf Förster
Details
environment (environment,23.33 KB, text/plain)
2021-12-02 16:55 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,17.28 KB, application/x-bzip)
2021-12-02 16:55 UTC, Toralf Förster
Details
net-libs:xdp-tools-1.2.0:20211202-123921.log (net-libs:xdp-tools-1.2.0:20211202-123921.log,15.75 KB, text/plain)
2021-12-02 16:55 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,9.80 KB, application/x-bzip)
2021-12-02 16: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 2021-12-02 16:55:44 UTC
too long lines were shrinked:

/usr/include/bpf/btf.h:124:16: note: declared here
  124 | LIBBPF_API int btf__get_from_id(__u32 id, struct btf **btf);
      |                ^~~~~~~~~~~~~~~~
gcc -pipe -march=native -fno-diagnostics-color -O2 -I/usr/include/bpf/uapi -std=gnu11 -Wextra -Werror -DBPF_DIR_MNT=\"/sys/fs/bpf\" -DBPF_OBJECT_PATH=\"/usr/lib/bpf\" -DMAX_DISPATCHER_ACTIONS=10 -DTOOLS_VERSION=\""1.2.0"\" -DLIBBPF_VERSION=\"0.6.0\" -DHAVE_LIBBPF_PERF_BUFFER__CONSUME -DLIBBPF_DYNAMI
cc1: all warnings being treated as errors
clang -S \
    -target bpf \
    -D __BPF_TRACING__ \
    -Wno-visibility -DBPF_DIR_MNT=\"/sys/fs/bpf\" -DBPF_OBJECT_PATH=\"/usr/lib/bpf\" -DMAX_DISPATCHER_ACTIONS=10 -DTOOLS_VERSION=\""1.2.0"\" -DLIBBPF_VERSION=\"0.6.0\" -DHAVE_LIBBPF_PERF_BUFFER__CONSUME -DLIBBPF_DYNAMIC -DHAVE_SECURE_GETENV -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I../../header

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_hardened-j4-20211127-222420

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-11.2.1 *
clang version 13.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/13/bin
/usr/lib/llvm/13
13.0.0
Python 3.9.9
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby27 (with Rubygems)
  [3]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.56.1
  [2]   rust-1.56.1 *
The following VMs are available for generation-2:
1)	IcedTea JDK 3.16.0 [icedtea-bin-8]
*)	AdoptOpenJDK 8.312_p07 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8 
  [2]   openjdk-bin-8  system-vm

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

  HEAD of ::gentoo
commit d20963623c66ef906c65e926789626e4c6a91312
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu Dec 2 11:51:38 2021 +0000

    2021-12-02 11:51:37 UTC

emerge -qpvO net-libs/xdp-tools
[ebuild  N    ] net-libs/xdp-tools-1.2.0  USE="doc tools"
Comment 1 Toralf Förster gentoo-dev 2021-12-02 16:55:45 UTC
Created attachment 757211 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-12-02 16:55:47 UTC
Created attachment 757212 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-12-02 16:55:48 UTC
Created attachment 757213 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-12-02 16:55:50 UTC
Created attachment 757214 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-12-02 16:55:51 UTC
Created attachment 757215 [details]
net-libs:xdp-tools-1.2.0:20211202-123921.log
Comment 6 Toralf Förster gentoo-dev 2021-12-02 16:55:52 UTC
Created attachment 757216 [details]
temp.tar.bz2
Comment 7 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-06-02 09:46:09 UTC

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