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 }
Fixed in r1906.