Gentoo Archives: gentoo-user

From: Allan Gottlieb <gottlieb@×××.edu>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] confusing emerge output
Date: Wed, 23 Apr 2008 12:35:17
Message-Id: yu9skxcagwd.fsf@nyu.edu
In Reply to: Re: [gentoo-user] confusing emerge output by Alan McKinnon
1 At Wed, 23 Apr 2008 09:33:05 +0200 Alan McKinnon <alan.mckinnon@×××××.com> wrote:
2
3 > On Wednesday 23 April 2008, Allan Gottlieb wrote:
4 >> # emerge --verbose --ask --deep --update --newuse --tree world
5 >>
6 >> gives just a few packages with dev-java/rhino the last one (first to
7 >> be merged).
8 >>
9 >> But
10 >>
11 >> # emerge --oneshot --ask rhino
12 >>
13 >> Gives a bunch of packages with rhino the last one (last to build).
14 >>
15 >> Could someone explain?
16 >
17 > <snip>
18 >
19 >> [ebuild N ] dev-java/rhino-1.5.5-r4 USE="doc -source" 1,506 kB
20 >
21 > <snip>
22 >
23 >> [ebuild N ] dev-java/rhino-1.6.5 USE="doc -examples -source"
24 >
25 > See the difference? One is v1.5 the other is v1.6. The explanation is in
26 > the full output of what rhino is and the openoffice ebuild:
27 >
28 > alan@nazgul ~ $ eix rhino
29 > * dev-java/rhino
30 > Available versions:
31 > (1.5) 1.5.5-r4
32 > (1.6) 1.6.5
33 > {doc elibc_FreeBSD examples source}
34 > Homepage: http://www.mozilla.org/rhino/
35 > Description: An open-source implementation of JavaScript
36 > written in Java.
37 >
38 > From openoffice-2.4.0.ebuild:
39 > COMMON_DEPEND="
40 > java? ( >=dev-java/bsh-2.0_beta4
41 > >=dev-java/xalan-2.7
42 > >=dev-java/xalan-serializer-2.7
43 > >=dev-java/xerces-2.7
44 > =dev-java/xml-commons-external-1.3*
45 > >=dev-db/hsqldb-1.8.0.9
46 > =dev-java/rhino-1.5* )"
47 >
48 > There are two SLOTs for rhino - 1.5 and 1.6
49 >
50 > OpenOffice explicitly DEPENDS on the 1.5 SLOT for rhino if you
51 > have "java" in USE. You probably have that so a deep world emerge will
52 > pull rhino-1.5* in.
53 >
54 > You don't currently have rhino installed so when you issue "emerge
55 > rhino", portage will check for the latest one and install it. It just
56 > so happens that in this case, the latest is not the same SLOT that OOo
57 > wants.
58
59 Crystal clear. Thanks for the lucid and careful explanation.
60
61 allan
62 --
63 gentoo-user@l.g.o mailing list

Replies

Subject Author
Re: [gentoo-user] confusing emerge output Alan McKinnon <alan.mckinnon@×××××.com>