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

Bug 184983

Summary: emerge --newuse - re-emerge triggered on USE_EXPAND_HIDDEN stuff changes without any visible reason
Product: Portage Development Reporter: trefoil <gentoo>
Component: Core - Interface (emerge)Assignee: Portage team <dev-portage>
Status: RESOLVED FIXED    
Severity: normal CC: jakub
Priority: High Keywords: InVCS
Version: 2.1   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 181949    
Attachments: portage-2.1.3_rc8 patch to prevent flags from being hidden when appropriate

Description trefoil 2007-07-11 18:47:57 UTC
I've never experienced this before. Portage wants to re-emerge installed packages that have no different use flags and are not updates. Even when I allow it to emerge these packages, and re-run emerge --update world --deep -av --newuse, it wants to emerge them again. I believe this started happening since 2.1.2.9, and it persists after several syncs. Please send help.

localhost ~ # emerge --update world --deep -av --newuse

These are the packages that would be merged, in order:

Calculating world dependencies... done!
[ebuild   R   ] sys-devel/gettext-0.16.1  USE="nls -doc -emacs -nocxx" 0 kB 
[ebuild   R   ] sys-apps/sed-4.1.5  USE="nls -static" 0 kB 
[ebuild   R   ] dev-util/subversion-1.4.4-r2  USE="berkdb nls perl python -apache2 -bash-completion -emacs -java -nowebdav -ruby" 0 kB 
[ebuild   R   ] sys-apps/dbus-1.0.2-r2  USE="X -debug -doc (-selinux)" 0 kB 
[ebuild   R   ] app-text/ghostscript-esp-8.15.3  USE="X cups gtk xml -cjk -threads" 0 kB 

Total: 5 packages (5 reinstalls), Size of downloads: 0 kB


Reproducible: Always

Steps to Reproduce:
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-07-11 18:49:40 UTC

*** This bug has been marked as a duplicate of bug 161980 ***
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-07-11 19:03:07 UTC
Reopen.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-07-11 19:03:49 UTC
As noted on the other bug - find a solution that doesn't confuse the hell out of users,
Comment 4 Zac Medico gentoo-dev 2007-07-11 19:22:21 UTC
I think I'll fix the USE_EXPAND_HIDDEN hidden code so that these flags aren't hidden when a package is being reinstalled due to one of these flags.
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2007-07-11 19:27:52 UTC
I'd still say that re-emerging packages on this kind of IUSE changes is not useful, but the above solution is still much better than the current state of things. :)
Comment 6 Zac Medico gentoo-dev 2007-07-11 20:53:48 UTC
FWIW, the current workaround to see the flags is this:

USE_EXPAND_HIDDEN="-*" emerge <args>
Comment 7 Zac Medico gentoo-dev 2007-07-12 00:16:02 UTC
Created attachment 124602 [details, diff]
portage-2.1.3_rc8 patch to prevent flags from being hidden when appropriate

This is fixed in svn r7238.
Comment 8 trefoil 2007-07-15 02:05:41 UTC
Thank you both for your help. Portage is the one of the few areas of Gentoo where I feel like I'm being treated with respect wrt bug reports. :)
Comment 9 Zac Medico gentoo-dev 2007-07-22 22:54:51 UTC
This has been released in 2.1.3_rc9.