Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 562250 - dev-util/perf should depend on sys-libs/binutils-libs
Summary: dev-util/perf should depend on sys-libs/binutils-libs
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Yixun Lan
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2015-10-04 18:02 UTC by Bigos
Modified: 2018-04-24 14:09 UTC (History)
3 users (show)

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


Attachments
depend on binutils-libs (0001-dev-util-perf-4.4.4-fix-demangle.patch,2.50 KB, patch)
2016-03-26 20:26 UTC, Lucian Poston
Details | Diff
depend on binutils-libs (v2) (0001-dev-util-perf-4.4.4-fix-demangle.patch,2.50 KB, patch)
2016-03-26 20:38 UTC, Lucian Poston
Details | Diff
depend on binutils-libs (0001-dev-util-perf-4.4.4-fix-demangle.patch,2.49 KB, patch)
2016-03-26 20:41 UTC, Lucian Poston
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Bigos 2015-10-04 18:02:44 UTC
dev-util/perf currently depends on sys-devel/binutils. It should depend on sys-libs/binutils-libs instead since it uses the libbfd library.

Reproducible: Always
Comment 1 Lucian Poston 2016-03-26 20:26:27 UTC
Created attachment 429070 [details, diff]
depend on binutils-libs
Comment 2 Lucian Poston 2016-03-26 20:28:46 UTC
Should add PATCH to Keywords field. I don't have permission to do so, for some reason.
Comment 3 Lucian Poston 2016-03-26 20:32:10 UTC
Also, should rev bump ebuild. Demangling won't work until perf is recompiled with binutils-lib installed and available to link against at build time.
Comment 4 Lucian Poston 2016-03-26 20:38:50 UTC
Created attachment 429072 [details, diff]
depend on binutils-libs (v2)
Comment 5 Lucian Poston 2016-03-26 20:41:11 UTC
Created attachment 429074 [details, diff]
depend on binutils-libs

Uploading correct patch file this time... (hopefully)
Comment 6 Thomas Deutschmann (RETIRED) gentoo-dev 2017-03-08 12:19:21 UTC
I hit this today:

> >>> No outdated packages were found on your system.
> 
>  * Regenerating GNU info directory index...
>  * Processed 128 info files.
> 
> !!! existing preserved libs:
> >>> package: sys-libs/binutils-libs-2.28
>  *  - /usr/lib64/libbfd-2.27.so
>  *      used by /usr/bin/perf (dev-util/perf-4.9.13)
>  *      used by /usr/bin/trace (dev-util/perf-4.9.13)
Comment 7 Jonas Stein gentoo-dev 2018-02-02 18:11:34 UTC
@naota, @dlan this ticket was assigned to you. Was that correct? 
There is already a patch suggested, but I could not see any response. Do you still maintain this package?
Comment 8 Yixun Lan archtester gentoo-dev 2018-04-24 14:09:59 UTC
already fixed, thanks

commit ccf5bffd903d653336bfd0e57f9dd003868a5c52
Author: Jason A. Donenfeld <zx2c4@gentoo.org>
Date:   Fri Jun 2 02:16:44 2017 +0200

    dev-util/perf: fix dep on libbfd