Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 170440 - emerge -pvuND world, rebuilds package even there is only one new useflag
Summary: emerge -pvuND world, rebuilds package even there is only one new useflag
Status: RESOLVED INVALID
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All Linux
: High normal
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-11 17:04 UTC by Bernd Bednarz
Modified: 2007-03-11 22:42 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 Bernd Bednarz 2007-03-11 17:04:19 UTC
after emerge --sync
emerge -pvuND world

...
[ebuild   R   ] sys-devel/gcc-3.4.6-r2  USE="fortran nls (-altivec) -bootstrap -boundschecking -build -d% -doc -gcj -gtk (-hardened) -ip28 -ip32r10k (-multilib) -multislot (-n32) (-n64) -nocxx -nopie -nossp -objc -test -vanilla" 27,699 kB
...

emerge wants to rebuild my gcc even there is only a new useflag "d" wich I don't use. there is no need to recompile.

Reproducible: Always




I add "d" into IUSE from my gcc package and it is ok for me.
Comment 1 solar (RETIRED) gentoo-dev 2007-03-11 17:13:45 UTC
that is expected behavior when using the -N flag. There are many reasons for 
it even if you never had said flag enabled.
Comment 2 Bernd Bednarz 2007-03-11 17:53:57 UTC
I understand why the packages has been rebuild on Bug #156527
But for this case there comes a new useflag and the portage know if I want to build it or not. So thatswhy emerge want to rebuild my gcc?
if I uses "-d" flag the gcc will be rebuilded too
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-03-11 18:19:04 UTC
NOT a bug, completely irrelevant whether there's one or zillion of new flags.
Comment 4 Bernd Bednarz 2007-03-11 18:36:57 UTC
I couldn't understand why I have to rebuild a package even if I changed something. 
I think it is waste of cpu.
Comment 5 Marius Mauch (RETIRED) gentoo-dev 2007-03-11 19:15:22 UTC
(In reply to comment #4)
> I couldn't understand why I have to rebuild a package even if I changed
> something. 

You don't "have to". The option is called --newuse, not --select-things-I-must-rebuild-ASAP
Comment 6 Zac Medico gentoo-dev 2007-03-11 22:42:07 UTC
(In reply to comment #4)
> I couldn't understand why I have to rebuild a package even if I changed
> something. 
> I think it is waste of cpu.

Here's a little hack that will prevent that flag from triggering --newuse:

mkdir -p /etc/portage/profile
echo d >> /etc/portage/profile/use.mask