i'm attaching a patch to 1) cause portage to read in profiledir/use.mask (if it exists). this file holds 1 USE flag per line, where each USE flag is one that should not be used in this profile (presumably these are ARCH-dependent). portage will then ignore these flags. this is useful for repoman checks among other things. 2) fix the problem where if i run repoman on a non-x86 ARCH and an ebuild has a line like: x86? ( dev-lang/nasm ) repoman craps out because it tries to use every possible flag. it doesn't make sense to use x86 on a ppc machine (since as in the above example, dev-lang/nasm ebuilds are keyworded -ppc) these are against CVS version 1.247 of portage.py i hope they're helpful. nall.
Created attachment 6439 [details, diff] portage.py patch to add use.mask support
great to see this stuff nall :) drobbins and I talked bout the repoman issues and i think he was going to fix it when he had time, not sure if he did it yet or not, but now he won't have to if he didn't tackle it already use.mask support will be _very_ helpful for non-x86 arches, there are around 8-9 x86 only USE flags right now, some are no big deal as they don't cause borkage, others completely break builds if ppc people try and use them (like avi for example which provides x86 binary libraries).
Update your rsync/cvs repo and then apply this to 46-r9's portage.py http://gentoo.twobit.net/portage/archmask.diff
re-assigning to puggy as he is the main repoman guy now.
I didn't know this bug, so I didn't use this patch. But I'm sure I fixed this bug already in .50_pre*.
Fixed in portage-2.0.50-r1