Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 2307 - emerge will ignore USE in some cases.
Summary: emerge will ignore USE in some cases.
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Daniel Robbins (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-05-01 08:21 UTC by Cal Evans
Modified: 2011-10-30 22:38 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 Cal Evans 2002-05-01 08:21:27 UTC
when EMERGing an ebuild that has a DEPENDS package that conflicts with a USE
variable. EMERGE needs to abort with a warning instead of installing the
unwanted package.

i.e. nmap
nmap requires gtk.  gtk requires X. My make.conf file has USE="-X". Therefore
emerge nmap should about and warn me that it will have to install unwanted
packages before it can install nmap. To override, I could export USE="X" to
resolve the conflict and then re-emerge.

*
* Cal Evans
* Journeyman Programmer
* Techno-Mage
* http://www.calevans.com
*
Comment 1 Seemant Kulleen (RETIRED) gentoo-dev 2002-05-01 08:24:09 UTC
Does your conf file also have "-gtk"?
Comment 2 Seemant Kulleen (RETIRED) gentoo-dev 2002-05-01 08:25:28 UTC
In fact, I know you don't have "-gtk" in your USE string in /etc/make.conf
Please read the USE variable HOWTO document at http://www.gentoo.org/use-howto.html

Comment 3 Cal Evans 2002-05-01 08:42:52 UTC
No, I did not. (Do now) (and I have read the USE document
at:http://www.gentoo.org/doc/use-howto.html)

This doesn't resolve the issue though. I have -X in my USE. emerge does (or at
least can) resolve dependencies before installing.  If a dependency has been
disabled by a USE variable, no matter how deep in the tree, the entire ebuild
should abort with a warning. (IMHO, etc.)

*
* Cal Evans
* Journeyman Programmer
* Techno-Mage
* http://www.calevans.com
*