Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 166294 - machinemap dict in modules/generic_stage_target.py contains incorrect entries
Summary: machinemap dict in modules/generic_stage_target.py contains incorrect entries
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: Catalyst (show other bugs)
Hardware: PPC Linux
: High normal (vote)
Assignee: Gentoo Catalyst Developers
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2007-02-11 03:23 UTC by Lars Weiler (RETIRED)
Modified: 2007-03-20 17:17 UTC (History)
1 user (show)

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 Lars Weiler (RETIRED) gentoo-dev 2007-02-11 03:23:29 UTC
I use "subarch: ppc" but this is the error:

Can't find powerpc.py plugin in /usr/lib/catalyst/arch/
Invalid subarch: ppc

It worked with catalyst-2.0.1
Comment 1 Lars Weiler (RETIRED) gentoo-dev 2007-02-11 03:54:33 UTC
It seems that catalyst-2.0.2 does not like my "chost: powerpc-unknown-linux-gnu" in the spec-files.  I removed it and let the profile handle the correct CHOST-setting.  Let's hope that I get a 32-bit-compiler on that 64-bit-machine...

Thanks to agaffney for his patience :-)
Comment 2 Andrew Gaffney (RETIRED) gentoo-dev 2007-02-11 05:06:19 UTC
This actually appears to expose a problem in modules/generic_stage_target.py. It appears that the machinemap dict is supposed to map subarch options to the module under arch/ that they reside in. If this is true, there are a lot of duff entries:

                "powerpc" : "powerpc",
                "powerpc64" : "powerpc64",
                "parisc" : "parisc",
                "parisc64" : "parisc",

The value for these keys should be ppc, ppc64, hppa, and hppa, respectively.
Comment 3 Chris Gianelloni (RETIRED) gentoo-dev 2007-02-12 23:01:22 UTC
Well, I *think* that I have this one fixed in SVN.

Pylon: can you test the fix given by Andrew?  I'd prefer be sure this is fixed before rolling out 2.0.3 only to find it's still broken.
Comment 4 Chris Gianelloni (RETIRED) gentoo-dev 2007-03-20 17:17:22 UTC
This is fixed in 2.0.3 which should be hitting the tree shortly.