Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 545134 - dev-util/perf: automagic dep on sys-process/numactl, deprecated dep on dev-libs/newt, with USE=-demangle it still links with libbfd-*.so
Summary: dev-util/perf: automagic dep on sys-process/numactl, deprecated dep on dev-li...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Naohiro Aota
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-31 10:53 UTC by om3i
Modified: 2020-11-19 15:06 UTC (History)
4 users (show)

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


Attachments
perf_build.log (dev-util:perf-3.15.5:20150331-105721.log,583.24 KB, text/plain)
2015-03-31 11:06 UTC, om3i
Details
emerge --info (emerge_info,3.73 KB, text/plain)
2015-04-02 15:58 UTC, om3i
Details

Note You need to log in before you can comment on or make changes to this bug.
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.