From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1JoeBx-0000Eo-DB for garchives@archives.gentoo.org; Wed, 23 Apr 2008 12:35:17 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 944F6E0561; Wed, 23 Apr 2008 12:35:15 +0000 (UTC) Received: from smtp.cs.nyu.edu (SMTP.CS.NYU.EDU [128.122.80.33]) by pigeon.gentoo.org (Postfix) with ESMTP id 71841E0561 for ; Wed, 23 Apr 2008 12:35:15 +0000 (UTC) Received: from ajglap.localdomain (ool-4578d8f8.dyn.optonline.net [69.120.216.248]) (authenticated bits=0) by smtp.cs.nyu.edu (8.14.1/8.13.8) with ESMTP id m3NCZESb020771 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Wed, 23 Apr 2008 08:35:15 -0400 (EDT) Received: by ajglap.localdomain (Postfix, from userid 1502) id C9F2F19D98A; Wed, 23 Apr 2008 08:35:03 -0400 (EDT) To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] confusing emerge output References: <200804230933.05391.alan.mckinnon@gmail.com> From: Allan Gottlieb Date: Wed, 23 Apr 2008 08:34:58 -0400 In-Reply-To: <200804230933.05391.alan.mckinnon@gmail.com> (Alan McKinnon's message of "Wed\, 23 Apr 2008 09\:33\:05 +0200") Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Archives-Salt: bd1e8d66-6e51-4bb8-acd7-75e6a52377c4 X-Archives-Hash: a52d508d2c93a512ac07e669698ae731 At Wed, 23 Apr 2008 09:33:05 +0200 Alan McKinnon wrote: > On Wednesday 23 April 2008, Allan Gottlieb wrote: >> # emerge --verbose --ask --deep --update --newuse --tree world >> >> gives just a few packages with dev-java/rhino the last one (first to >> be merged). >> >> But >> >> # emerge --oneshot --ask rhino >> >> Gives a bunch of packages with rhino the last one (last to build). >> >> Could someone explain? > > > >> [ebuild N ] dev-java/rhino-1.5.5-r4 USE="doc -source" 1,506 kB > > > >> [ebuild N ] dev-java/rhino-1.6.5 USE="doc -examples -source" > > See the difference? One is v1.5 the other is v1.6. The explanation is in > the full output of what rhino is and the openoffice ebuild: > > alan@nazgul ~ $ eix rhino > * dev-java/rhino > Available versions: > (1.5) 1.5.5-r4 > (1.6) 1.6.5 > {doc elibc_FreeBSD examples source} > Homepage: http://www.mozilla.org/rhino/ > Description: An open-source implementation of JavaScript > written in Java. > > From openoffice-2.4.0.ebuild: > COMMON_DEPEND=" > java? ( >=dev-java/bsh-2.0_beta4 > >=dev-java/xalan-2.7 > >=dev-java/xalan-serializer-2.7 > >=dev-java/xerces-2.7 > =dev-java/xml-commons-external-1.3* > >=dev-db/hsqldb-1.8.0.9 > =dev-java/rhino-1.5* )" > > There are two SLOTs for rhino - 1.5 and 1.6 > > OpenOffice explicitly DEPENDS on the 1.5 SLOT for rhino if you > have "java" in USE. You probably have that so a deep world emerge will > pull rhino-1.5* in. > > You don't currently have rhino installed so when you issue "emerge > rhino", portage will check for the latest one and install it. It just > so happens that in this case, the latest is not the same SLOT that OOo > wants. Crystal clear. Thanks for the lucid and careful explanation. allan -- gentoo-user@lists.gentoo.org mailing list