Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 137994

Summary: emerge ignores use.defaults
Product: Portage Development Reporter: * <rfc469>
Component: CoreAssignee: Portage team <dev-portage>
Status: RESOLVED INVALID    
Severity: major CC: oleg.titov
Priority: High    
Version: 2.1   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description * 2006-06-25 18:17:22 UTC
Ever since "emerge world" upgraded portage to 2.1, emerge ignores my use.defaults, or the 2nd level of use flags.  My use.defaults is apparently located here:

/usr/portage/profiles/base/use.defaults

ufed still sees them, for example java:

&#9474; &#9474; [ ] java                   ( + ) Adds support for Java                   &#9618; &#9474;

But if I try to emerge anything that supports java, emerge says USE=-java.
Comment 1 solar (RETIRED) gentoo-dev 2006-06-25 18:29:03 UTC
You are correct. However this is expected behavior of portage-2.1 
Please see the announcment for it, look for the part about autouse being disabled.
Comment 2 Zac Medico gentoo-dev 2006-06-25 18:29:56 UTC
This change is intentional.  It's metioned in the ebuild's postinst einfo as well as the release notes.  You can also see this forum thread for reference:

http://forums.gentoo.org/viewtopic.php?p=3383522
Comment 3 * 2006-06-25 19:00:07 UTC
Thanks for the quick reply.  I must have missed that- I always pipe all output for  "emerge world" into a file, or it would quickly leave my konsole buffer...  I guess I'll need to start looking at that or grepping for certain words.
Comment 4 Zac Medico gentoo-dev 2006-06-25 19:07:53 UTC
(In reply to comment #3)
>  I guess I'll need to start looking at that or grepping for certain words.

You can use elog to aggregate all of the einfo messages (documented in /etc/make.conf.example).  The full build logs will automatically be saved if you set PORT_LOGDIR (documented in `man 5 make.conf`).
Comment 5 * 2006-06-25 19:18:00 UTC
(In reply to comment #4)
> (In reply to comment #3)
> >  I guess I'll need to start looking at that or grepping for certain words.
> 
> You can use elog to aggregate all of the einfo messages (documented in
> /etc/make.conf.example).  The full build logs will automatically be saved if
> you set PORT_LOGDIR (documented in `man 5 make.conf`).
> 

Excellent, thanks for the tip!  And the very speedy replies.
Comment 6 Zac Medico gentoo-dev 2006-06-29 19:15:57 UTC
*** Bug 138542 has been marked as a duplicate of this bug. ***