First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 12035
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Portage team <dev-portage@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Jonathan Nall <nall@themountaingoats.net>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
use.mask.patch portage.py patch to add use.mask support patch Jonathan Nall 2002-12-12 13:44 0000 1.33 KB Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 12035 depends on: Show dependency tree
Bug 12035 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2002-12-12 13:43 0000
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 From Jonathan Nall 2002-12-12 13:44:41 0000 -------
Created an attachment (id=6439) [edit]
portage.py patch to add use.mask support

------- Comment #2 From Mark Guertin 2002-12-12 14:04:12 0000 -------
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 From Nicholas Jones (RETIRED) 2003-01-28 20:47:03 0000 -------
Update your rsync/cvs repo and then apply this to 46-r9's portage.py
http://gentoo.twobit.net/portage/archmask.diff

------- Comment #4 From Marius Mauch (RETIRED) 2003-10-09 12:31:10 0000 -------
re-assigning to puggy as he is the main repoman guy now. 

------- Comment #5 From Masatomo Nakano (RETIRED) 2004-01-04 02:49:09 0000 -------
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 From Masatomo Nakano (RETIRED) 2004-02-10 05:14:24 0000 -------
Fixed in portage-2.0.50-r1

First Last Prev Next    No search results available      Search page      Enter new bug