Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Gentoo User (http://www.linux-archive.org/gentoo-user/)
-   -   confusing emerge output (http://www.linux-archive.org/gentoo-user/74594-confusing-emerge-output.html)

Allan Gottlieb 04-23-2008 05:03 AM

confusing emerge output
 
# 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?
thanks,
allan

================================================== ==============

Specifically

ajglap gottlieb # emerge --verbose --ask --deep --update --newuse --tree world

These are the packages that would be merged, in reverse order:

Calculating world dependencies... done!
[ebuild U ] app-office/openoffice-2.4.0 [2.3.1-r1] USE="cups dbus firefox gnome gtk java pam -binfilter -branding% -debug -eds -gstreamer -kde -ldap -mono -odk -seamonkey -webdav -xulrunner (-cairo%) (-sound%*)" LINGUAS="-af -ar -as_IN -be_BY -bg -bn -br -bs -ca -cs -cy -da -de -dz -el -en -en_GB -en_US -en_ZA -eo -es -et -fa -fi -fr -ga -gl -gu_IN -he -hi_IN -hr -hu -it -ja -km -ko -ku -lt -lv -mk -ml_IN -mr_IN -nb -ne -nl -nn -nr -ns -or_IN -pa_IN -pl -pt -pt_BR -ru -rw -sh% -sk -sl -sr% -ss -st -sv -sw_TZ -ta_IN -te_IN -tg -th -ti_ER -tn -tr -ts -uk -ur_IN -ve -vi -xh -zh_CN -zh_TW -zu (-sh_YU%) (-sr_CS%)" 161,198 kB
[ebuild U ] x11-libs/qt-4.3.3 [4.3.2-r1] USE="accessibility cups dbus doc gif jpeg png qt3support* ssl tiff zlib -debug -examples -firebird -glib -mng -mysql -nas -nis -odbc -opengl -pch -postgres -sqlite -sqlite3 -xinerama" INPUT_DEVICES="-wacom" 41,350 kB
[ebuild U ] app-office/gnumeric-1.8.2 [1.8.1] USE="gnome perl python -debug" 13,747 kB
[nomerge ] app-office/openoffice-2.4.0 [2.3.1-r1] USE="cups dbus firefox gnome gtk java pam -binfilter -branding% -debug -eds -gstreamer -kde -ldap -mono -odk -seamonkey -webdav -xulrunner (-cairo%) (-sound%*)" LINGUAS="-af -ar -as_IN -be_BY -bg -bn -br -bs -ca -cs -cy -da -de -dz -el -en -en_GB -en_US -en_ZA -eo -es -et -fa -fi -fr -ga -gl -gu_IN -he -hi_IN -hr -hu -it -ja -km -ko -ku -lt -lv -mk -ml_IN -mr_IN -nb -ne -nl -nn -nr -ns -or_IN -pa_IN -pl -pt -pt_BR -ru -rw -sh% -sk -sl -sr% -ss -st -sv -sw_TZ -ta_IN -te_IN -tg -th -ti_ER -tn -tr -ts -uk -ur_IN -ve -vi -xh -zh_CN -zh_TW -zu (-sh_YU%) (-sr_CS%)"
[ebuild N ] dev-db/hsqldb-1.8.0.9 USE="doc -source" 3,412 kB
[ebuild NS ] dev-java/servletapi-2.3-r3 USE="doc -source" 125 kB
[ebuild N ] dev-java/rhino-1.5.5-r4 USE="doc -source" 1,506 kB

Total: 6 packages (3 upgrades, 2 new, 1 in new slot), Size of downloads: 221,336 kB

Would you like to merge these packages? [Yes/No] no

Quitting.

ajglap gottlieb # emerge --oneshot --ask rhino

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild N ] dev-java/junit-3.8.1-r3 USE="doc -source"
[ebuild N ] dev-java/relaxng-datatype-1.0-r1 USE="doc -source"
[ebuild N ] dev-java/icu4j-3.0-r1 USE="doc -source"
[ebuild N ] dev-java/iso-relax-20050331-r1 USE="-source"
[ebuild N ] dev-java/xpp2-2.1.10-r1 USE="doc -source"
[ebuild N ] dev-java/xpp3-1.1.4c USE="doc -source -test"
[ebuild N ] dev-java/gnu-crypto-2.0.1-r2 USE="doc -source"
[ebuild N ] dev-java/log4j-1.2.15 USE="doc -javamail -jms -jmx -source"
[ebuild N ] dev-java/xsdlib-20050627-r1 USE="doc -source"
[ebuild N ] dev-java/ant-junit-1.7.0
[ebuild N ] dev-java/xom-1.0-r6 USE="doc -examples -source"
[ebuild N ] dev-java/xmldb-20011111-r1 USE="doc -source"
[ebuild N ] dev-java/jaxme-0.3.1-r4 USE="doc -source"
[ebuild N ] dev-java/ant-trax-1.7.0
[ebuild N ] dev-java/msv-20050627-r1 USE="doc -source"
[ebuild N ] dev-java/saxpath-1.0-r2 USE="doc -source -test"
[ebuild N ] dev-java/jsr173-1.0-r1 USE="doc -source"
[ebuild N ] dev-java/dom4j-1.6.1-r2 USE="doc -source"
[ebuild N ] dev-java/jdom-1.0-r4 USE="doc -examples -source"
[ebuild N ] dev-java/jaxen-1.1.1 USE="doc -examples -source -test"
[ebuild N ] dev-java/jdom-jaxen-1.0-r1
[ebuild N ] dev-java/xml-xmlbeans-1.0.4_pre20041217 USE="doc -source"
[ebuild N ] dev-java/rhino-1.6.5 USE="doc -examples -source"

Would you like to merge these packages? [Yes/No] no

Quitting.

ajglap gottlieb #
--
gentoo-user@lists.gentoo.org mailing list

Alan McKinnon 04-23-2008 07:33 AM

confusing emerge output
 
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?

<snip>

> [ebuild N ] dev-java/rhino-1.5.5-r4 USE="doc -source" 1,506 kB

<snip>

> [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.




--
Alan McKinnon
alan dot mckinnon at gmail dot com

--
gentoo-user@lists.gentoo.org mailing list

Allan Gottlieb 04-23-2008 12:34 PM

confusing emerge output
 
At Wed, 23 Apr 2008 09:33:05 +0200 Alan McKinnon <alan.mckinnon@gmail.com> 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?
>
> <snip>
>
>> [ebuild N ] dev-java/rhino-1.5.5-r4 USE="doc -source" 1,506 kB
>
> <snip>
>
>> [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

Alan McKinnon 04-23-2008 08:26 PM

confusing emerge output
 
On Wednesday 23 April 2008, Allan Gottlieb wrote:
> > 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.

You're very welcome - emerge output can be ... um ... less than obvious
at times.

I figure that the three years of blood, sweat and tears I spent figuring
it out isn't worth very much if it all stays in my head and never gets
out. I'm also building up karma credits for the hundreds of questions
I'll be unleashing on the paludis user community one fine day very
soon :-)

--
Alan McKinnon
alan dot mckinnon at gmail dot com

--
gentoo-user@lists.gentoo.org mailing list


All times are GMT. The time now is 09:52 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.