Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 127506

Summary: linux-mod.eclass should inherit eutils before linux-info
Product: Gentoo Linux Reporter: Petteri Räty (RETIRED) <betelgeuse>
Component: EclassesAssignee: John Mylchreest (RETIRED) <johnm>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Petteri Räty (RETIRED) gentoo-dev 2006-03-25 00:08:06 UTC
Index: linux-mod.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/linux-mod.eclass,v
retrieving revision 1.60
diff -u -b -B -r1.60 linux-mod.eclass
--- linux-mod.eclass    3 Mar 2006 21:04:58 -0000       1.60
+++ linux-mod.eclass    25 Mar 2006 08:04:29 -0000
@@ -79,7 +79,7 @@
 #                                              documents for $modulename


-inherit linux-info eutils
+inherit eutils linux-info
 EXPORT_FUNCTIONS pkg_setup pkg_postinst src_install src_compile pkg_postrm

 IUSE="" # don't put pcmcia here, rather in the ebuilds that actually support pcmcia

Without this the set_arch_to_kernel and set_arch_to_portage functions from eutils.eclass are used instead of the new ones in linux-info which results in the following messages:

 * PLEASE UPDATE TO YOUR PACKAGE TO USE linux-info.eclass
Comment 1 Petteri Räty (RETIRED) gentoo-dev 2006-03-25 09:06:13 UTC
Fixed this myself with johnm's permission.