Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 930338 - dev-util/bpftop-0.2.3 - usdt.c: error: call to undeclared function gelf_getnote; ISO C99 and later do not support implicit function declarations [-Wim
Summary: dev-util/bpftop-0.2.3 - usdt.c: error: call to undeclared function gelf_getno...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Patrick McLean
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2024-04-20 15:42 UTC by Toralf Förster
Modified: 2024-05-10 16:47 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,19.52 KB, text/plain)
2024-04-20 15:42 UTC, Toralf Förster
Details
dev-util:bpftop-0.2.3:20240420-153400.log (dev-util:bpftop-0.2.3:20240420-153400.log,76.76 KB, text/plain)
2024-04-20 15:42 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,86.51 KB, text/plain)
2024-04-20 15:42 UTC, Toralf Förster
Details
environment (environment,125.03 KB, text/plain)
2024-04-20 15:42 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.20 KB, application/x-xz)
2024-04-20 15:42 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,18.11 KB, application/x-xz)
2024-04-20 15:42 UTC, Toralf Förster
Details
qlist-info.txt (qlist-info.txt,156.46 KB, text/plain)
2024-04-20 15:42 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,26.70 KB, application/x-xz)
2024-04-20 15:42 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 2024-04-20 15:42:27 UTC
    589 |         GElf_Nhdr nhdr;
        |                   ^~~~
        |                   ehdr
  usdt.c:588:12: note: 'ehdr' declared here
    588 |         GElf_Ehdr ehdr;
        |                   ^
  usdt.c:621:16: error: call to undeclared function 'gelf_getnote'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    621 |         while ((off = gelf_getnote(data, off, &nhdr, &name_off, &desc_off)) > 0) {
        |                       ^

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_llvm-20240418-200202

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-14 *
clang/llvm (if any):
clang version 18.1.4+libcxx
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/18/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/18
18.1.4+libcxx
Python 3.11.9
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-bin-1.77.1 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 21.0.2_p13 [openjdk-bin-21]
2)	Eclipse Temurin JDK 8.402_p06 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-21  system-vm

php cli (if any):
go version go1.22.2 linux/amd64

  HEAD of ::gentoo
commit d7d96a40d87bb88e0b436562509e35458b3caf5f
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Apr 20 14:49:09 2024 +0000

    2024-04-20 14:49:08 UTC

emerge -qpvO dev-util/bpftop
[ebuild  N    ] dev-util/bpftop-0.2.3  USE="-debug"
Comment 1 Toralf Förster gentoo-dev 2024-04-20 15:42:28 UTC
Created attachment 891187 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-04-20 15:42:29 UTC
Created attachment 891188 [details]
dev-util:bpftop-0.2.3:20240420-153400.log
Comment 3 Toralf Förster gentoo-dev 2024-04-20 15:42:30 UTC
Created attachment 891189 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2024-04-20 15:42:32 UTC
Created attachment 891190 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2024-04-20 15:42:32 UTC
Created attachment 891191 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-04-20 15:42:33 UTC
Created attachment 891192 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-04-20 15:42:35 UTC
Created attachment 891193 [details]
qlist-info.txt
Comment 8 Toralf Förster gentoo-dev 2024-04-20 15:42:36 UTC
Created attachment 891194 [details]
temp.tar.xz
Comment 9 NHO 2024-05-10 16:47:04 UTC
Duplicate of https://bugs.gentoo.org/929254