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