Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 847964

Summary: dev-util/perf-5.15-r1 - /.../ld: .../libbpf.a(libbpf-in.o): undefined reference to symbol gzclose
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Naohiro Aota <naota>
Status: RESOLVED DUPLICATE    
Severity: normal CC: amadio, asolokha, dlan, zlogene
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
dev-util:perf-5.15-r1:20220528-185454.log.bz2
emerge-history.txt
environment
etc.portage.tar.bz2

Description Toralf Förster gentoo-dev 2022-05-28 19:16:54 UTC
too long lines were shrinked:

   x86_64-pc-linux-gnu-ld -r -o perf-in.o  builtin-bench.o builtin-annotate.o builtin-config.o builtin-diff.o builtin-evlist.o builtin-ftrace.o builtin-help.o builtin-sched.o builtin-buildid-list.o builtin-buildid-cache.o builtin-kallsyms.o builtin-list.o builtin-record.o builtin-report.o builtin-st
make[2]: Leaving directory '/var/tmp/portage/dev-util/perf-5.15-r1/work/linux-5.15/tools/perf'
x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wstrict-prototypes -W
	perf-in.o pmu-events/pmu-events-in.o -Wl,--whole-archive /var/tmp/portage/dev-util/perf-5.15-r1/work/linux-5.15/tools/lib/api/libapi.a /var/tmp/portage/dev-util/perf-5.15-r1/work/linux-5.15/tools/lib/subcmd/libsubcmd.a /var/tmp/portage/dev-util/perf-5.15-r1/work/linux-5.15/tools/lib/perf/libperf.a 
/usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/dev-util/perf-5.15-r1/work/linux-5.15/tools/lib/bpf/libbpf.a(libbpf-in.o): undefined reference to symbol 'gzclose'
/usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/../../../../x86_64-pc-linux-gnu/bin/ld: /lib64/libz.so.1: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status

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

  This is an stable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_systemd-j4_stable-20220528-120004

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-11.2.1 *
clang/llvm (if any):
/usr/lib/llvm/13
13.0.1
Python 3.9.12
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby27 (with Rubygems) *
php cli:

  HEAD of ::gentoo
commit 76ae7e1b369ca6052cb1f4c381cbc5890eaf341c
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat May 28 17:53:31 2022 +0000

    2022-05-28 17:53:30 UTC

emerge -qpvO dev-util/perf
[ebuild  N    ] dev-util/perf-5.15-r1  USE="audit crypt doc unwind -babeltrace -clang -debug -gtk -java -libpfm -lzma -numa -perl -python -slang -systemtap -zlib -zstd" PYTHON_TARGETS="python3_9 -python3_8 -python3_10"
Comment 1 Toralf Förster gentoo-dev 2022-05-28 19:16:55 UTC
Created attachment 781289 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-05-28 19:16:56 UTC
Created attachment 781292 [details]
dev-util:perf-5.15-r1:20220528-185454.log.bz2
Comment 3 Toralf Förster gentoo-dev 2022-05-28 19:16:57 UTC
Created attachment 781295 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-05-28 19:16:59 UTC
Created attachment 781298 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-05-28 19:17:00 UTC
Created attachment 781301 [details]
etc.portage.tar.bz2
Comment 6 Matt Turner gentoo-dev 2023-06-28 02:56:19 UTC

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