Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 909770 - dev-util/perf-6.4 - emake failed
Summary: dev-util/perf-6.4 - emake failed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Guilherme Amadio
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-07-06 13:51 UTC by Toralf Förster
Modified: 2023-07-06 15:49 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.08 KB, text/plain)
2023-07-06 13:51 UTC, Toralf Förster
Details
dev-util:perf-6.4:20230706-122429.log (dev-util:perf-6.4:20230706-122429.log,4.93 KB, text/plain)
2023-07-06 13:51 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,20.25 KB, text/plain)
2023-07-06 13:51 UTC, Toralf Förster
Details
environment (environment,131.68 KB, text/plain)
2023-07-06 13:51 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,21.73 KB, application/x-xz)
2023-07-06 13:51 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 13:51:38 UTC
Makefile.config:846: Python support disabled by user
Makefile.config:1152: libpfm4 not found, disables libpfm4 support. Please install libpfm4-dev
Makefile.config:1170: *** ERROR: libtraceevent is missing. Please install libtraceevent-dev/libtraceevent-devel or build with NO_LIBTRACEEVENT=1.  Stop.
make[1]: Leaving directory '/var/tmp/portage/dev-util/perf-6.4/work/linux-6.4/tools/perf'
make: *** [Makefile.perf:235: sub-make] Error 2
 * ERROR: dev-util/perf-6.4::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=dev-util/perf-6.4::gentoo'`,

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_no_multilib_systemd-20230706-073509

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
Python 3.11.4
php cli (if any):

  HEAD of ::gentoo
commit 37782a8b2f9d8db300c2d95e219c781c7c741e9b
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu Jul 6 11:46:59 2023 +0000

    2023-07-06 11:46:58 UTC

emerge -qpvO dev-util/perf
[ebuild  N    ] dev-util/perf-6.4  USE="audit caps doc lzma perl tcmalloc zstd -babeltrace -bpf -clang -crypt -debug -gtk -java -libpfm -libtraceevent -libtracefs -numa -python -slang -systemtap -unwind" PYTHON_TARGETS="python3_11 -python3_10 -python3_12"
Comment 1 Toralf Förster gentoo-dev 2023-07-06 13:51:39 UTC
Created attachment 865205 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-07-06 13:51:40 UTC
Created attachment 865206 [details]
dev-util:perf-6.4:20230706-122429.log
Comment 3 Toralf Förster gentoo-dev 2023-07-06 13:51:41 UTC
Created attachment 865207 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2023-07-06 13:51:42 UTC
Created attachment 865208 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2023-07-06 13:51:43 UTC
Created attachment 865209 [details]
etc.portage.tar.xz
Comment 6 Larry the Git Cow gentoo-dev 2023-07-06 15:49:35 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(-)