Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 826606 - dev-util/bpftool-5.15.2 - cc1: all warnings being treated as errors
Summary: dev-util/bpftool-5.15.2 - cc1: all warnings being treated as errors
Status: RESOLVED OBSOLETE
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: werror
  Show dependency tree
 
Reported: 2021-11-22 16:36 UTC by Toralf Förster
Modified: 2022-06-11 06:05 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.05 KB, text/plain)
2021-11-22 16:36 UTC, Toralf Förster
Details
dev-util:bpftool-5.15.2:20211122-163115.log (dev-util:bpftool-5.15.2:20211122-163115.log,40.58 KB, text/plain)
2021-11-22 16:36 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,280.19 KB, text/plain)
2021-11-22 16:36 UTC, Toralf Förster
Details
environment (environment,110.66 KB, text/plain)
2021-11-22 16:36 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,33.24 KB, application/x-bzip)
2021-11-22 16:36 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-11-22 16:36:38 UTC
btf_dump.c: In function ‘btf_dump_struct_data’:
btf_dump.c:1919:16: error: ‘err’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
 1919 |         return err;
      |                ^~~
cc1: all warnings being treated as errors
make[2]: *** [/var/tmp/portage/dev-util/bpftool-5.15.2/work/linux-5.15/tools/build/Makefile.build:97: staticobjs/btf_dump.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [Makefile:158: staticobjs/libbpf-in.o] Error 2
make[1]: Leaving directory '/var/tmp/portage/dev-util/bpftool-5.15.2/work/linux-5.15/tools/lib/bpf'

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_systemd-j4_test_debug-20211117-210104

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-11.2.0 *
/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 Glorious Glasgow Haskell Compilation System, version 8.10.4
php cli:
  [1]   php7.3
  [2]   php7.4
  [3]   php8.0 *

  HEAD of ::gentoo
commit 92eb832d032bbd8f1a92c25132a64c8bb5902d6b
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Nov 22 15:51:42 2021 +0000

    2021-11-22 15:51:41 UTC

emerge -qpvO dev-util/bpftool
[ebuild     U ] dev-util/bpftool-5.15.2 [5.14.14] USE="caps"
Comment 1 Toralf Förster gentoo-dev 2021-11-22 16:36:39 UTC
Created attachment 755206 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-11-22 16:36:40 UTC
Created attachment 755210 [details]
dev-util:bpftool-5.15.2:20211122-163115.log
Comment 3 Toralf Förster gentoo-dev 2021-11-22 16:36:42 UTC
Created attachment 755214 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2021-11-22 16:36:45 UTC
Created attachment 755218 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2021-11-22 16:36:46 UTC
Created attachment 755222 [details]
etc.portage.tar.bz2
Comment 6 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-06-11 06:05:47 UTC
I don't see Werror in newer versions.