Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 290778 - kde4-base.eclass has incorrect inherit from cmake_utils
Summary: kde4-base.eclass has incorrect inherit from cmake_utils
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: High major
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-27 17:07 UTC by Eugene Shalygin
Modified: 2009-10-27 18:06 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 Eugene Shalygin 2009-10-27 17:07:25 UTC
compilation of any kde4 package results in errors caused by not inherited cmake_utils eclass. For example:
/tmp/portage/kde-base/kdelibs-4.3.2-r3/temp/environment: line 3320: cmake-utils_use_build: command not found
/tmp/portage/kde-base/kdelibs-4.3.2-r3/temp/environment: line 3320: cmake-utils_use_has: command not found
/tmp/portage/kde-base/kdelibs-4.3.2-r3/temp/environment: line 3320: cmake-utils_use_has: command not found
/tmp/portage/kde-base/kdelibs-4.3.2-r3/temp/environment: line 3320: cmake-utils_use_has: command not found
/tmp/portage/kde-base/kdelibs-4.3.2-r3/temp/environment: line 3320: cmake-utils_use_has: command not found
/tmp/portage/kde-base/kdelibs-4.3.2-r3/temp/environment: line 3320: cmake-utils_use_has: command not found
/tmp/portage/kde-base/kdelibs-4.3.2-r3/temp/environment: line 3320: cmake-utils_use_with: command not found
/tmp/portage/kde-base/kdelibs-4.3.2-r3/temp/environment: line 3320: cmake-utils_use_with: command not found
/tmp/portage/kde-base/kdelibs-4.3.2-r3/temp/environment: line 3320: cmake-utils_use_with: command not found
/tmp/portage/kde-base/kdelibs-4.3.2-r3/temp/environment: line 3320: cmake-utils_use_with: command not found
/tmp/portage/kde-base/kdelibs-4.3.2-r3/temp/environment: line 3320: cmake-utils_use_with: command not found
/tmp/portage/kde-base/kdelibs-4.3.2-r3/temp/environment: line 3320: cmake-utils_use_with: command not found
/tmp/portage/kde-base/kdelibs-4.3.2-r3/temp/environment: line 3320: cmake-utils_use_with: command not found
/tmp/portage/kde-base/kdelibs-4.3.2-r3/temp/environment: line 3320: cmake-utils_use_with: command not found
/tmp/portage/kde-base/kdelibs-4.3.2-r3/temp/environment: line 3320: cmake-utils_use_with: command not found
/tmp/portage/kde-base/kdelibs-4.3.2-r3/temp/environment: line 3320: cmake-utils_use_with: command not found
/tmp/portage/kde-base/kdelibs-4.3.2-r3/temp/environment: line 3320: cmake-utils_use_with: command not found
/tmp/portage/kde-base/kdelibs-4.3.2-r3/temp/environment: line 3320: cmake-utils_use_with: command not found
/tmp/portage/kde-base/kdelibs-4.3.2-r3/temp/environment: line 3320: cmake-utils_use_with: command not found
/tmp/portage/kde-base/kdelibs-4.3.2-r3/temp/environment: line 3320: cmake-utils_use_with: command not found
/tmp/portage/kde-base/kdelibs-4.3.2-r3/temp/environment: line 2481: append-cppflags: command not found
/tmp/portage/kde-base/kdelibs-4.3.2-r3/temp/environment: line 2501: cmake-utils_src_configure: command not found
and so on

Reproducible: Always

Steps to Reproduce:
1. emerge --sync
2. emerge -1O kdelibs:4.3

Actual Results:  
emerge fails


Patch for eclass from kde-testing overlay

diff --git a/eclass/kde4-base.eclass b/eclass/kde4-base.eclass
index 7f17fff..dea6fd5 100644
--- a/eclass/kde4-base.eclass
+++ b/eclass/kde4-base.eclass
@@ -35,7 +35,7 @@ if [[ ${BUILD_TYPE} = live ]]; then
        subversion_eclass="subversion"
 fi

-inherit base ${cmake_utils} eutils ${subversion_eclass}
+inherit base ${buildsystem_eclass} eutils ${subversion_eclass}

 EXPORT_FUNCTIONS pkg_setup src_unpack src_prepare  ${export_fns} pkg_postinst pkg_postrm