Index: arch/sparc.py =================================================================== --- arch/sparc.py (revision 1199) +++ arch/sparc.py (working copy) @@ -8,10 +8,10 @@ def __init__(self,myspec): builder.generic.__init__(self,myspec) self.settings["mainarch"]="sparc" - if self.settings["hostarch"]=="sparc64": - if not os.path.exists("/bin/sparc32"): - raise CatalystError,"required /bin/sparc32 executable not found (\"emerge sparc-utils\" to fix.)" - self.settings["CHROOT"]="/bin/sparc32 chroot" + if self.settings["buildarch"]=="sparc64": + if not os.path.exists("/bin/linux32"): + raise CatalystError,"required /bin/linux32 executable not found (\"emerge setarch\" to fix.)" + self.settings["CHROOT"]="linux32 chroot" else: self.settings["CHROOT"]="chroot"