Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 407771 - [progress] emerge of sys-libs/libcap-ng-0.6.6 fails without python useflag
Summary: [progress] emerge of sys-libs/libcap-ng-0.6.6 fails without python useflag
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-11 09:23 UTC by Shubhadeep Chaudhuri
Modified: 2012-03-11 23:42 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 Shubhadeep Chaudhuri 2012-03-11 09:23:57 UTC
emerge fails with error message python_pkg_setup() not called.

>>> Preparing source in /var/tmp/portage/sys-libs/libcap-ng-0.6.6/work/libcap-ng-0.6.6 ...
 * ERROR: sys-libs/libcap-ng-0.6.6 failed (prepare phase):
 *   python_pkg_setup() not called
 * 
 * Call stack:
 *     ebuild.sh, line   85:  Called src_prepare
 *   environment, line 5774:  Called python_clean_py-compile_files
 *   environment, line 3530:  Called _python_check_python_pkg_setup_execution
 *   environment, line  710:  Called die
 * The specific snippet of code:
 *           die "python_pkg_setup() not called";
 * 
 * If you need support, post the output of 'emerge --info =sys-libs/libcap-ng-0.6.6',
 * the complete build log and the output of 'emerge -pqv =sys-libs/libcap-ng-0.6.6'.
 * This ebuild used the following eclasses from overlays:
 *   /var/lib/layman/progress/eclass/python.eclass
 * This ebuild is from an overlay named 'progress': '/var/lib/layman/progress/'
 * The complete build log is located at '/var/log/portage/sys-libs:libcap-ng-0.6.6:20120311-092025.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-libs/libcap-ng-0.6.6/temp/environment'.
 * S: '/var/tmp/portage/sys-libs/libcap-ng-0.6.6/work/libcap-ng-0.6.6'

In the ebuild, python_pkg_setup is only called if python useflag is set.

pkg_setup() {
	use python && python_pkg_setup
}
Comment 1 Arfrever Frehtes Taifersar Arahesis 2012-03-11 22:02:27 UTC
Fixed in r1906.