Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 4221 - portage 2.0.7 doesnt care about the USE flags for a package when it was emerged.
Summary: portage 2.0.7 doesnt care about the USE flags for a package when it was emer...
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Daniel Robbins (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-06-26 22:56 UTC by Spider (RETIRED)
Modified: 2011-10-30 22:20 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 Spider (RETIRED) gentoo-dev 2002-06-26 22:56:20 UTC
I emerge gnomeicu and xchat with USE="-gnome" because I dont want gnome
integration in those packages, (collision with dependencies and other reasons) 

now the new portage code wants to "fix" my broken dependencies since I dont have
the same USE flags when I normally emerge things:

here's an example :


# emerge -pu world
These are the packages that I would merge, in order.

Calculating world dependencies ...done!
[ebuild  N   ] media-video/avifile-0.7.7.20020523 to /
[blocks B    ] gnome-base/gnome-session
[blocks B    ] x11-terms/gnome-terminal
[ebuild  N   ] gnome-base/gnome-core-1.4.0.8 to /
[ebuild  N   ] media-libs/libdv-0.9.5-r1 to /
[ebuild  N   ] x11-libs/gtkmm-1.3.15 to /
[ebuild    U ] dev-libs/libsigc++-1.0.4-r2 to /
[ebuild  N   ] x11-libs/gtkmm-1.2.9-r2 to /

# export USE="-gnome"
# emerge -pu world

These are the packages that I would merge, in order.

Calculating world dependencies ...done!
[ebuild  N   ] media-video/avifile-0.7.7.20020523 to /
[ebuild  N   ] media-libs/libdv-0.9.5-r1 to /
[ebuild  N   ] x11-libs/gtkmm-1.3.15 to /
[ebuild    U ] dev-libs/libsigc++-1.0.4-r2 to /
[ebuild  N   ] x11-libs/gtkmm-1.2.9-r2 to /





A quick check shows that xmms, xchat and gnomeicu have  USE dependencies on
gnome-core


cat /var/db/pkg/net-im/gnomeicu-0.98.2-r2/USE  |grep gnome -
cat /var/db/pkg/net-irc/xchat-1.8.9/USE  |grep gnome -
cat /var/db/pkg/media-sound/xmms-1.2.7-r8/USE  |grep gnome -
Comment 1 Spider (RETIRED) gentoo-dev 2002-06-26 22:59:57 UTC
a quick grep more shows that the avifile NEW install is also from "xmms" and not
having "avi" 

The "libdv"  is from mplayer, I compiled it with USE="-dvd" 
Comment 2 Daniel Robbins (RETIRED) gentoo-dev 2002-06-27 10:27:24 UTC
This is actually normal behavior, but I admit it's a problem.  The problem is
that we fully recalc deps in order to determine if child packages need
upgrading, but we use the current USE variables when we do that.
Comment 3 Daniel Robbins (RETIRED) gentoo-dev 2002-06-27 23:12:43 UTC
I disabled this in 2.0.8 until we have a nice way to store custom USE settings
so that we don't auto-add stuff back that people don't want.