Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 127506 - linux-mod.eclass should inherit eutils before linux-info
Summary: linux-mod.eclass should inherit eutils before linux-info
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: John Mylchreest (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-25 00:08 UTC by Petteri Räty (RETIRED)
Modified: 2006-03-25 09: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 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.