On Sat, 2010-01-30 at 03:32 +0100, Frank Steinmetzger wrote:
> Hi there,
> 
> a while ago, I emerged virtual/jdk, and prior to it sun-jdk
> in order to direct manually what the virtual shall pull in.
> 
> But now, virtual/jdk wants to install dev-java/icedtea as well:
> 
> ,--[ emerge -tpuvD world ] ----
> | Calculating dependencies... done!
> | [nomerge      ] media-tv/tvbrowser-2.7.4  USE="-doc -source -themes"
> | [nomerge      ]  dev-java/skinlf-6.7  USE="-examples -source"
> | [nomerge      ]   dev-java/xalan-2.7.1  USE="-doc -source"
> | [nomerge      ]    virtual/jdk-1.6.0
> | [ebuild  N    ]     dev-java/icedtea6-bin-1.6.2  USE="X alsa nsplugin -doc 
> -examples -source" 35,393 kB
> `------------------------------
> 
> Even though I understand from the virtual’s ebuild
> that it needs one and only one of those:
> 
> RDEPEND="|| (
>               amd64? ( dev-java/icedtea6-bin )
>               x86? ( dev-java/icedtea6-bin )
>               amd64? ( =dev-java/sun-jdk-1.6.0* )
>               x86? ( =dev-java/sun-jdk-1.6.0* )
>               =dev-java/ibm-jdk-bin-1.6.0*
>               =dev-java/hp-jdk-bin-1.6.0*
>               =dev-java/diablo-jdk-1.6.0*
>               =dev-java/soylatte-jdk-bin-1.0*
>               =dev-java/apple-jdk-bin-1.6.0*
>               =dev-java/winjdk-bin-1.6.0*
>       )"
> 
> Am I getting something wrong here? Why is it pulling in icedtea?
> I’m on x86 BTW.

from my understanding of the "any of many" RDEPEND="|| ..." syntax, it
should do what you expect and not pull in icedtea.

However I remember that sun-jdk requires a license acceptance which has
changed recently, so maybe sun-jdk is now masked on your system, hence
the need for something else.

What is the complete emerge output?  Look for any masked or license
restricted packages.  I added this to /etc/portage/package.license:
dev-java/sun-jdk dlj-1.1

HTH,

-- 
Iain Buchanan <iaindb at netspace dot net dot au>

What does "it" mean in the sentence "What time is it?"?


Reply via email to