Gentoo Archives: gentoo-user

From: Iain Buchanan <iaindb@××××××××××××.au>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Question about RDEPEND
Date: Sun, 31 Jan 2010 00:03:07
Message-Id: 1264831996.6646.63.camel@localhost
In Reply to: [gentoo-user] Question about RDEPEND by Frank Steinmetzger
1 On Sat, 2010-01-30 at 03:32 +0100, Frank Steinmetzger wrote:
2 > Hi there,
3 >
4 > a while ago, I emerged virtual/jdk, and prior to it sun-jdk
5 > in order to direct manually what the virtual shall pull in.
6 >
7 > But now, virtual/jdk wants to install dev-java/icedtea as well:
8 >
9 > ,--[ emerge -tpuvD world ] ----
10 > | Calculating dependencies... done!
11 > | [nomerge ] media-tv/tvbrowser-2.7.4 USE="-doc -source -themes"
12 > | [nomerge ] dev-java/skinlf-6.7 USE="-examples -source"
13 > | [nomerge ] dev-java/xalan-2.7.1 USE="-doc -source"
14 > | [nomerge ] virtual/jdk-1.6.0
15 > | [ebuild N ] dev-java/icedtea6-bin-1.6.2 USE="X alsa nsplugin -doc -examples -source" 35,393 kB
16 > `------------------------------
17 >
18 > Even though I understand from the virtual’s ebuild
19 > that it needs one and only one of those:
20 >
21 > RDEPEND="|| (
22 > amd64? ( dev-java/icedtea6-bin )
23 > x86? ( dev-java/icedtea6-bin )
24 > amd64? ( =dev-java/sun-jdk-1.6.0* )
25 > x86? ( =dev-java/sun-jdk-1.6.0* )
26 > =dev-java/ibm-jdk-bin-1.6.0*
27 > =dev-java/hp-jdk-bin-1.6.0*
28 > =dev-java/diablo-jdk-1.6.0*
29 > =dev-java/soylatte-jdk-bin-1.0*
30 > =dev-java/apple-jdk-bin-1.6.0*
31 > =dev-java/winjdk-bin-1.6.0*
32 > )"
33 >
34 > Am I getting something wrong here? Why is it pulling in icedtea?
35 > I’m on x86 BTW.
36
37 from my understanding of the "any of many" RDEPEND="|| ..." syntax, it
38 should do what you expect and not pull in icedtea.
39
40 However I remember that sun-jdk requires a license acceptance which has
41 changed recently, so maybe sun-jdk is now masked on your system, hence
42 the need for something else.
43
44 What is the complete emerge output? Look for any masked or license
45 restricted packages. I added this to /etc/portage/package.license:
46 dev-java/sun-jdk dlj-1.1
47
48 HTH,
49
50 --
51 Iain Buchanan <iaindb at netspace dot net dot au>
52
53 What does "it" mean in the sentence "What time is it?"?

Replies

Subject Author
Re: [gentoo-user] Question about RDEPEND Frank Steinmetzger <Warp_7@×××.de>
Re: [gentoo-user] Question about RDEPEND Peter Humphrey <peter@××××××××××××××.org>