Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 542686 - dev-util/fatrace-0.9: version bump
Summary: dev-util/fatrace-0.9: version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Michael Weber (RETIRED)
URL: https://launchpad.net/fatrace
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-09 12:29 UTC by Jorge Nerin
Modified: 2015-03-09 15:45 UTC (History)
1 user (show)

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


Attachments
fatrace-0.9.ebuild (fatrace-0.9.ebuild,839 bytes, text/plain)
2015-03-09 12:32 UTC, Jorge Nerin
Details
fatrace-0.9.ebuild (fatrace-0.9.ebuild,836 bytes, text/plain)
2015-03-09 12:59 UTC, Jorge Nerin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jorge Nerin 2015-03-09 12:29:49 UTC
For me fatrace-0.5 build always failed with:
 * No Python implementation selected for the build. Please set
 * the PYTHON_SINGLE_TARGET variable in your make.conf to one
 * of the following values:
 * 
 * python3_3 python3_4

 * ERROR: dev-util/fatrace-0.5::gentoo failed (setup phase):
 *   No supported Python implementation in PYTHON_SINGLE_TARGET/PYTHON_TARGETS.

Even having -powertop so no python required (see also bug #482848), so I modified the 0.5 ebuild in order to get the 0.9 version and make in install on my system. Hopefully I have done the correct changes which have been mainly inheriting python-r1 instead of python-single-r1, adding a REQUIRED_USE as per https://wiki.gentoo.org/wiki/Project:Python/python-r1#REQUIRED_USE and modifying DEPEND="${RDEPEND}".

Reproducible: Always
Comment 1 Jorge Nerin 2015-03-09 12:32:43 UTC
Created attachment 398518 [details]
fatrace-0.9.ebuild

diff -u /usr/portage/dev-util/fatrace/fatrace-0.5.ebuild fatrace-0.9.ebuild

--- /usr/portage/dev-util/fatrace/fatrace-0.5.ebuild    2014-11-28 14:31:09.000000000 +0100
+++ fatrace-0.9.ebuild  2015-03-09 13:24:07.724538168 +0100
@@ -6,7 +6,7 @@
 
 PYTHON_COMPAT=( python{3_2,3_3,3_4} )
 
-inherit linux-info python-single-r1 toolchain-funcs
+inherit linux-info python-r1 toolchain-funcs
 
 DESCRIPTION="report file access events from all running processes"
 HOMEPAGE="https://launchpad.net/fatrace"
@@ -18,7 +18,9 @@
 IUSE="powertop"
 
 RDEPEND="powertop? ( ${PYTHON_DEPS} )"
-DEPEND=""
+DEPEND="${RDEPEND}"
+REQUIRED_USE="|| powertop? ( ${PYTHON_REQUIRED_USE} )"
+
 
 CONFIG_CHECK="~FANOTIFY"
Comment 2 Jorge Nerin 2015-03-09 12:59:43 UTC
Created attachment 398520 [details]
fatrace-0.9.ebuild

Sorry about the spam, I sent the wrong version with a syntax error, this is the correct ebuild and the correct patch against the 0.5 version.

diff -u /usr/portage/dev-util/fatrace/fatrace-0.5.ebuild fatrace-0.9.ebuild 
--- /usr/portage/dev-util/fatrace/fatrace-0.5.ebuild    2014-11-28 14:31:09.000000000 +0100
+++ fatrace-0.9.ebuild  2015-03-09 13:39:11.293673908 +0100
@@ -6,7 +6,7 @@
 
 PYTHON_COMPAT=( python{3_2,3_3,3_4} )
 
-inherit linux-info python-single-r1 toolchain-funcs
+inherit linux-info python-r1 toolchain-funcs
 
 DESCRIPTION="report file access events from all running processes"
 HOMEPAGE="https://launchpad.net/fatrace"
@@ -18,7 +18,9 @@
 IUSE="powertop"
 
 RDEPEND="powertop? ( ${PYTHON_DEPS} )"
-DEPEND=""
+DEPEND="${RDEPEND}"
+REQUIRED_USE="powertop? ( ${PYTHON_REQUIRED_USE} )"
+
 
 CONFIG_CHECK="~FANOTIFY"
Comment 3 Patrice Clement gentoo-dev 2015-03-09 15:37:05 UTC
@Michael: it's already in :)

+*fatrace-0.9 (09 Mar 2015)
+
+  09 Mar 2015; Patrice Clement <monsieurp@gentoo.org> +fatrace-0.9.ebuild:
+  Version bump courtesy of Jorge Nerin <nerin@gmail.com>. Fix bug 542686.

Thanks Jorge!
Comment 4 Jorge Nerin 2015-03-09 15:45:29 UTC
Ok, thank you, just one minor nitpick, my email is jnerin :)