Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 137994 - emerge ignores use.defaults
Summary: emerge ignores use.defaults
Status: RESOLVED INVALID
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
: 138542 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-06-25 18:17 UTC by *
Modified: 2006-06-29 19:15 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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:

│ │ [ ] java                   ( + ) Adds support for Java                   ▒ │

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. ***