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

Bug 545134

Summary: dev-util/perf: automagic dep on sys-process/numactl, deprecated dep on dev-libs/newt, with USE=-demangle it still links with libbfd-*.so
Product: Gentoo Linux Reporter: om3i <r9ku1q>
Component: Current packagesAssignee: Naohiro Aota <naota>
Status: RESOLVED FIXED    
Severity: normal CC: dev-zero, dlan, jstein, r9ku1q
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: perf_build.log
emerge --info

Description om3i 2015-03-31 10:53:40 UTC
Automagic dep on sys-process/numactl

Deprecated dep on dev-libs/newt, there is no newt usage in sources, only slang.
>/usr/src/linux/tools/perf/Makefile.perf
># Define NO_NEWT if you do not want TUI support. (deprecated)

With USE=-demangle it still links with libbfd-*.so

Strange dep on sys-process/time.

Also, it would be nice to update to 3.19.

Reproducible: Always
Comment 1 om3i 2015-03-31 11:06:39 UTC
Created attachment 400264 [details]
perf_build.log

Also it builds and installs man pages with USE=-doc.
Comment 2 Andrew Savchenko gentoo-dev 2015-04-02 13:33:48 UTC
1. Please upload your emerge --info.
2. For 3.19 update see bug 544990.
3. USE="doc" is not intended to control man pages, it is intended for extra documentation, like manuals HTML APIs, howtos and so on. Man pages are always installed if available.
Comment 3 om3i 2015-04-02 15:58:32 UTC
Created attachment 400410 [details]
emerge --info

>USE="doc" is not intended to control man pages
I'm not suggesting anything, this ebuild is written in such way already, ie:
>if use doc ; then
>...
>   doman Documentation/*.1
>fi
Comment 4 Tiziano Müller (RETIRED) gentoo-dev 2016-04-17 17:42:12 UTC
... and to complete the list of weird dependency issues:

Despite having USE="-slang -unwind", I get:

Auto-detecting system features:
[...]
...                      libslang: [ on  ]
...                     libunwind: [ on  ]
...            libdw-dwarf-unwind: [ on  ]
[...]

USE="-python" on the other hand is respected.
Comment 5 Guilherme Amadio gentoo-dev 2020-11-19 15:06:57 UTC
Fixed in newer versions of perf already. The dependency on dev-libs/newt is gone, and the dependency on sys-process/numactl is there.