Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 920814 - dev-util/bpftool-6.6.8 - cc1: all warnings being treated as errors
Summary: dev-util/bpftool-6.6.8 - cc1: all warnings being treated as errors
Status: RESOLVED DUPLICATE of bug 887981
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Jakov Smolić
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-12-27 15:19 UTC by Toralf Förster
Modified: 2024-01-06 01:15 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,16.32 KB, text/plain)
2023-12-27 15:19 UTC, Toralf Förster
Details
dev-util:bpftool-6.6.8:20231227-145437.log (dev-util:bpftool-6.6.8:20231227-145437.log,10.75 KB, text/plain)
2023-12-27 15:19 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,107.10 KB, text/plain)
2023-12-27 15:20 UTC, Toralf Förster
Details
environment (environment,117.05 KB, text/plain)
2023-12-27 15:20 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.13 KB, application/x-xz)
2023-12-27 15:20 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,21.62 KB, application/x-xz)
2023-12-27 15:20 UTC, Toralf Förster
Details
qlist-info.txt (qlist-info.txt,179.88 KB, text/plain)
2023-12-27 15:20 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 2023-12-27 15:19:57 UTC
   46 |         close(elf_fd->fd);
      |         ^~~~~~~~~~~~~~~~~
elf.c: In function elf_find_func_offset_from_file:
elf.c:260:23: note: elf_fd.fd was declared here
  260 |         struct elf_fd elf_fd;
      |                       ^~~~~~
cc1: all warnings being treated as errors
make[2]: *** [/var/tmp/portage/dev-util/bpftool-6.6.8/work/linux-6.6/tools/build/Makefile.build:97: /var/tmp/portage/dev-util/bpftool-6.6.8/work/linux-6.6/tools/bpf/bpftool/libbpf/staticobjs/elf.o] Error 1
make[2]: *** Waiting for unfinished jobs....

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1-20231226-081504

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 17.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/17/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/17
17.0.6
Python 3.11.7
Available Ruby profiles:
  [1]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.74.1 *
The Glorious Glasgow Haskell Compilation System, version 9.2.8
php cli (if any):
go version go1.21.5 linux/amd64

  HEAD of ::gentoo
commit b3aacc2b2fc1d0a381b92323a6a75f538b31156b
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Wed Dec 27 14:16:57 2023 +0000

    2023-12-27 14:16:56 UTC

emerge -qpvO dev-util/bpftool
[ebuild  N    ] dev-util/bpftool-6.6.8  USE="-caps"
Comment 1 Toralf Förster gentoo-dev 2023-12-27 15:19:58 UTC
Created attachment 880736 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-12-27 15:19:59 UTC
Created attachment 880737 [details]
dev-util:bpftool-6.6.8:20231227-145437.log
Comment 3 Toralf Förster gentoo-dev 2023-12-27 15:20:00 UTC
Created attachment 880738 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2023-12-27 15:20:02 UTC
Created attachment 880739 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2023-12-27 15:20:02 UTC
Created attachment 880740 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-12-27 15:20:03 UTC
Created attachment 880741 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-12-27 15:20:04 UTC
Created attachment 880742 [details]
qlist-info.txt
Comment 8 Jakov Smolić archtester gentoo-dev 2024-01-06 01:15:03 UTC

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