Gentoo Archives: gentoo-user

From: Allan Gottlieb <gottlieb@×××.edu>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] loop merging and unmerging oracle-jdk-bin-1.7.0
Date: Sat, 10 Sep 2011 16:07:41
Message-Id: yu9pqj88jq3.fsf@nyu.edu
In Reply to: Re: [gentoo-user] loop merging and unmerging oracle-jdk-bin-1.7.0 by Michael Schreckenbauer
1 On Sat, Sep 10 2011, Michael Schreckenbauer wrote:
2
3 > On Saturday, 10. September 2011 11:28:07 Allan Gottlieb wrote:
4 >> My daily update world caused the merging of oracle-jdk-bin-1.7.0
5 >> (after wonko explained how to handle a license question).
6 >>
7 >> But my next step is emerge --depclean --ask
8 >> This wanted to unmerge the above package and, if permitted to
9 >> do so, caused a subsequent update word to remerge it.
10 >>
11 >> I then wisely :-) refused the next --depclean's request to unmerge
12 >> it again. As far as I can tell this would be an infinite loop
13 >>
14 >> allan
15 >>
16 >> ajglap gottlieb # emerge --keep-going --update --newuse --with-bdeps=y world
17 >> These are the packages that would be merged, in reverse order:
18 >>
19 >> Calculating dependencies... done!
20 >> [nomerge ] dev-java/icedtea-6.1.10.3 USE="hs20 nsplugin nss webstart
21 >> xrender -cacao -debug -doc -examples -jamvm -javascript -nio2 -pulseaudio
22 >> -systemtap -zero" [nomerge ] dev-java/ant-nodeps-1.8.1
23 >> [ebuild NS ] virtual/jre-1.7.0 [1.6.0] 0 kB
24 >> [ebuild NS ] virtual/jdk-1.7.0 [1.6.0] 0 kB
25 >> [ebuild N f ] dev-java/oracle-jdk-bin-1.7.0 USE="X alsa -derby -doc
26 >> -examples -jce -nsplugin" 0 kB
27 >
28 > icedtea is Java6. It want's to upgrade the *virtual* to java7. To get the
29 > virtual satisfied portage installs the oracle jdk.
30 > To get rid of this, just mask >= virtual/jre-1.7.0 and >= virtual/jdk-1.7.0
31 > until icedtea comes with a java7 version. Or stick with the oracle-jdk and
32 > unmerge icedtea.
33
34 The java6 vs java7 is what I guessed was the cause (mentioned in a
35 previous msg). But there really is a loop currently (at least if I keep
36 both the oracle java7 and icedtea java6 sdk's installed). I let the loop
37 go on again and it does indeed merge/unmerge/merge/ etc when executing
38 emerge --update world
39 emerge --depclean
40 emerge --update world
41
42 etc
43
44 As you said
45 unmerging icedtea icedtea-web virtual/jdk-1.6.0 virtual/jre-1.6.0
46 restores sanity.
47
48 Thanks,
49 allan