Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 499178 - dev-util/perf - SRC_URI should use KERNEL_URI from kernel-2.eclass (or allow .xz kernel tarballs)
Summary: dev-util/perf - SRC_URI should use KERNEL_URI from kernel-2.eclass (or allow ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Low normal
Assignee: Naohiro Aota
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-25 00:37 UTC by Denis Sokolovsky
Modified: 2014-02-07 07:52 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Denis Sokolovsky 2014-01-25 00:37:34 UTC
Probably dev-util/perf ebuild should resolve distribution file name to .xz archive, as it does by every kernel ebuild, instead of .bz2.

So, giving you have installed sys-kernel/gentoo-sources 3.12 and 3.13, you have in a distfiles:
$ ls -l /usr/portage/distfiles/linux-*
-rw-rw-r-- 1 portage portage 76384600 Nov  4 01:47 /usr/portage/distfiles/linux-3.12.tar.xz
-rw-rw-r-- 1 portage portage 77187032 Jan 20 04:59 /usr/portage/distfiles/linux-3.13.tar.xz

after installing dev-util/perf I got one more tarball:
$ ls -l /usr/portage/distfiles/linux-*
-rw-rw-r-- 1 portage portage 91111381 Nov  4 01:47 /usr/portage/distfiles/linux-3.12.tar.bz2
-rw-rw-r-- 1 portage portage 76384600 Nov  4 01:47 /usr/portage/distfiles/linux-3.12.tar.xz
-rw-rw-r-- 1 portage portage 77187032 Jan 20 04:59 /usr/portage/distfiles/linux-3.13.tar.xz
Comment 1 Denis Sokolovsky 2014-01-25 00:39:36 UTC
And is it possible to make dev-util/perf sloted? And do some wrapper to automatic choose version depending on running kernel?
Comment 2 SpanKY gentoo-dev 2014-02-07 07:45:08 UTC
(In reply to Denis Sokolovsky from comment #1)

perf should be backwards compatible so there should be no need for slots.  if it does break, then you should report the issue upstream so they can fix it.
Comment 3 SpanKY gentoo-dev 2014-02-07 07:52:54 UTC
perf-3.13.1 now uses tar.xz in SRC_URI