Summary: | dev-util/perf-5.7-r1 : file collision with dev-util/trace-cmd-2.9.1 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Naohiro Aota <naota> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | amadio, dan, dlan, joost.ruis, pageexec, scott, timo, wolfram |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge-info.txt
dev-util:perf-5.7-r1:20200821-065952.log emerge-history.txt etc.portage.tbz2 logs.tbz2 |
Description
Toralf Förster
![]() Created attachment 655926 [details]
emerge-info.txt
Created attachment 655928 [details]
dev-util:perf-5.7-r1:20200821-065952.log
Created attachment 655930 [details]
emerge-history.txt
Created attachment 655932 [details]
etc.portage.tbz2
Created attachment 655934 [details]
logs.tbz2
I ran into this too and I wonder what is going on in this one. What package bundles what and where is the problem. To quickly answer this, doesn't happen with dev-util/trace-cmd-2.8.3::gentoo Same issue here: --8<-- * Detected file collision(s): * * /usr/lib64/traceevent/plugins/plugin_futex.so * /usr/lib64/traceevent/plugins/plugin_tlb.so * * Searching all installed packages for file collisions... * * Press Ctrl-C to Stop * * dev-util/trace-cmd-2.9.1:0::gentoo * /usr/lib64/traceevent/plugins/plugin_futex.so * /usr/lib64/traceevent/plugins/plugin_tlb.so * * Package 'dev-util/perf-5.9.9' NOT merged due to file collisions. If * necessary, refer to your elog messages for the whole content of the * above message. --8<-- Both trace-cmd and perf are part of the Linux kernel tree, so it seems that the colliding files is shared code between them from the kernel repository. Not sure what is the best way to fix this. One way may be to add libraries for each of them under a subdirectory, and another way would be to make one package depend on the other and not install the plugins in one of them. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d6af4f61aabf31b899bc7facb2e0f5b77ed0035 commit 2d6af4f61aabf31b899bc7facb2e0f5b77ed0035 Author: Guilherme Amadio <amadio@gentoo.org> AuthorDate: 2021-04-30 09:10:47 +0000 Commit: Guilherme Amadio <amadio@gentoo.org> CommitDate: 2021-04-30 09:10:47 +0000 dev-util/perf: fix file collision with trace-cmd, bug #738404 Closes: https://bugs.gentoo.org/738404 Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Guilherme Amadio <amadio@gentoo.org> dev-util/perf/perf-5.11.ebuild | 1 + dev-util/perf/perf-5.12.ebuild | 1 + dev-util/perf/perf-5.8.ebuild | 1 + 3 files changed, 3 insertions(+) To avoid potential problems with compatibility between the plugins, I just changed perf's plugin directory to <libdir>/perf/plugins. |