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

Bug 216328

Summary: sys-apps/portage-2.1.5_rc1: emerge --newuse world does not consider changes in make.conf
Product: Portage Development Reporter: Michael Janik <mail>
Component: Core - Interface (emerge)Assignee: Portage team <dev-portage>
Status: RESOLVED FIXED    
Severity: normal CC: chris
Priority: High Keywords: InVCS, REGRESSION
Version: 2.1   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 216231    
Attachments: emerge --info
fix newuse logic

Description Michael Janik 2008-04-05 14:00:12 UTC
After adding "-arts" as a global useflag in my make.conf, a emerge --newuse world does not remove arts from all packages. sys-apps/portage-2.1.4.4 still does.

Reproducible: Always

Steps to Reproduce:
1. Change make.conf useflags
2. emerge --newuse world
Comment 1 Michael Janik 2008-04-05 14:05:39 UTC
Created attachment 148731 [details]
emerge --info
Comment 2 Chris Smith 2008-04-05 17:13:43 UTC
Same here on both x86 and x86_64. Newuse is borked with "system" and "world".
Comment 3 Zac Medico gentoo-dev 2008-04-05 18:08:16 UTC
Created attachment 148761 [details, diff]
fix newuse logic

If this patch is saved as /tmp/newuse.patch, then it can be applied as follows:

patch /usr/lib/portage/bin/emerge /tmp/newuse.patch
Comment 4 Zac Medico gentoo-dev 2008-04-05 21:17:26 UTC
This is fixed in 2.1.5_rc2 which is in the tree now but it will be awhile before it reaches the rsync mirrors.