Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 909763 - dev-util/perf-6.4 - /.../ld: cannot find -ltcmalloc: No such file or directory
Summary: dev-util/perf-6.4 - /.../ld: cannot find -ltcmalloc: No such file or directory
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Guilherme Amadio
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-07-06 09:44 UTC by Toralf Förster
Modified: 2023-07-06 15:49 UTC (History)
4 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.29 KB, text/plain)
2023-07-06 09:44 UTC, Toralf Förster
Details
dev-util:perf-6.4:20230706-090758.log (dev-util:perf-6.4:20230706-090758.log,40.54 KB, text/plain)
2023-07-06 09:44 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,88.10 KB, text/plain)
2023-07-06 09:44 UTC, Toralf Förster
Details
environment (environment,132.28 KB, text/plain)
2023-07-06 09:44 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,784 bytes, application/x-xz)
2023-07-06 09:44 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,29.06 KB, application/x-xz)
2023-07-06 09:44 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,240 bytes, application/x-xz)
2023-07-06 09:44 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-07-06 09:44:51 UTC
too long lines were shrinked:

flex -o util/expr-flex.c \
	--header-file=util/expr-flex.h  util/expr.l
make[3]: Leaving directory '/var/tmp/portage/dev-util/perf-6.4/work/linux-6.4/tools/perf'
make[2]: Leaving directory '/var/tmp/portage/dev-util/perf-6.4/work/linux-6.4/tools/perf'
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -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-6.4/work/linux-6.4/tools/perf/libapi/libapi.a /var/tmp/portage/dev-util/perf-6.4/work/linux-6.4/tools/perf/libperf/libperf.a /var/tmp/portage/dev-util/perf-6.4/work/linux-6.4/tools/perf/libsubcmd/libsubcmd.a /va
/usr/libexec/gcc/x86_64-pc-linux-gnu/ld: cannot find -ltcmalloc: No such file or directory
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile.perf:678: perf] Error 1

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_desktop_systemd-20230705-115004

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 16.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/16/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/16
16.0.6
Python 3.11.4
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-1.69.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 17.0.7_p7 [openjdk-bin-17]
2)	Eclipse Temurin JDK 8.372_p07 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17  system-vm

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

  HEAD of ::gentoo
commit cb6aad8f0d48dce1ff3427ddab1ebe1c48ed01fc
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu Jul 6 08:47:00 2023 +0000

    2023-07-06 08:46:59 UTC

emerge -qpvO dev-util/perf
[ebuild  N    ] dev-util/perf-6.4  USE="caps crypt doc perl zstd -audit -babeltrace -bpf -clang -debug -gtk -java -libpfm -libtraceevent -libtracefs -lzma -numa -python -slang -systemtap -tcmalloc -unwind" PYTHON_TARGETS="python3_11 -python3_10 -python3_12"
Comment 1 Toralf Förster gentoo-dev 2023-07-06 09:44:52 UTC
Created attachment 865195 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-07-06 09:44:53 UTC
Created attachment 865196 [details]
dev-util:perf-6.4:20230706-090758.log
Comment 3 Toralf Förster gentoo-dev 2023-07-06 09:44:54 UTC
Created attachment 865197 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2023-07-06 09:44:56 UTC
Created attachment 865198 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2023-07-06 09:44:56 UTC
Created attachment 865199 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-07-06 09:44:57 UTC
Created attachment 865200 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-07-06 09:44:58 UTC
Created attachment 865201 [details]
logs.tar.xz
Comment 8 Larry the Git Cow gentoo-dev 2023-07-06 15:49:32 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e9665af1138d666e33b2be0ddb73d1e460016d3b

commit e9665af1138d666e33b2be0ddb73d1e460016d3b
Author:     Guilherme Amadio <amadio@gentoo.org>
AuthorDate: 2023-07-06 15:42:50 +0000
Commit:     Guilherme Amadio <amadio@gentoo.org>
CommitDate: 2023-07-06 15:49:20 +0000

    dev-util/perf: build fixes for USE=-libtraceevent and USE=-tcmalloc
    
    Most NO_FOO tests use "ifndef NO_FOO", but NO_LIBTRACEEVENT in particular
    uses "ifneq ($(NO_LIBTRACEEVENT),1)", so puse didn't work for it. Same
    for TCMALLOC, the test is ifneq "($(TCMALLOC),)" so a plain usex fails
    to disable it as it sets TCMALLOC=no.
    
    Closes: https://bugs.gentoo.org/909770
    Closes: https://bugs.gentoo.org/909763
    Closes: https://bugs.gentoo.org/909764
    Closes: https://bugs.gentoo.org/909756
    
    Signed-off-by: Guilherme Amadio <amadio@gentoo.org>

 dev-util/perf/{perf-6.4.ebuild => perf-6.4-r1.ebuild} | 19 +++++++++++--------
 1 file changed, 11 insertions(+), 8 deletions(-)