Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 12035 - portage patch to implement use.mask and fix repoman ARCH? (cat/pkg) errors
Summary: portage patch to implement use.mask and fix repoman ARCH? (cat/pkg) errors
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: PPC Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2002-12-12 13:43 UTC by Jonathan Nall
Modified: 2011-10-30 22:20 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
portage.py patch to add use.mask support (use.mask.patch,1.33 KB, patch)
2002-12-12 13:44 UTC, Jonathan Nall
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Nall 2002-12-12 13:43:43 UTC
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.
Comment 1 Jonathan Nall 2002-12-12 13:44:41 UTC
Created attachment 6439 [details, diff]
portage.py patch to add use.mask support
Comment 2 Mark Guertin 2002-12-12 14:04:12 UTC
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).
Comment 3 Nicholas Jones (RETIRED) gentoo-dev 2003-01-28 20:47:03 UTC
Update your rsync/cvs repo and then apply this to 46-r9's portage.py
http://gentoo.twobit.net/portage/archmask.diff
Comment 4 Marius Mauch (RETIRED) gentoo-dev 2003-10-09 12:31:10 UTC
re-assigning to puggy as he is the main repoman guy now. 
Comment 5 Masatomo Nakano (RETIRED) gentoo-dev 2004-01-04 02:49:09 UTC
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*.
Comment 6 Masatomo Nakano (RETIRED) gentoo-dev 2004-02-10 05:14:24 UTC
Fixed in portage-2.0.50-r1