Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 89581

Summary: "emerge -uDv --newuse world" want a lot of java (DEPEND strangeness)
Product: Portage Development Reporter: Francesco R. (RETIRED) <vivo>
Component: Core - DependenciesAssignee: Portage team <dev-portage>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---

Description Francesco R. (RETIRED) gentoo-dev 2005-04-18 14:31:00 UTC
Related stuff: text truncated char ~75

a) The box (~x86) has finished yesterday the following sequence:
 
# emerge -ev world
# emerge --sync
# emerge -uDv --newuse world
# emerge -uDv --newuse world
# revdep-rebuild
# prelink -afm

~oOo~~oOo~~oOo~~oOo~~oOo~~oOo~~oOo~~oOo~~oOo~~oOo~~oOo~~oOo~~oOo~~oOo~

b) Today emerge want to install some java vm, look at this:
(note -java*)


# emerge -uDtv --newuse world

>>>>>> --tree implies --pretend... adding --pretend to options.


These are the packages that I would merge, in reverse order:

Calculating world dependencies ...done!
[ebuild   R   ] dev-util/subversion-1.1.4  +apache2 -bash-completion +ber
[ebuild   R   ] net-mail/teapop-0.3.8-r1  +ipv6 -java* +ldap +mysql -post
[nomerge      ] dev-lang/pike-7.6.24  +crypt -debug -doc -fftw +gdbm +gif
[ebuild   R   ]  media-libs/pdflib-5.0.4_p1-r1  -java* -perl -python +tcl
[ebuild   R   ] dev-libs/cyrus-sasl-2.1.20-r2  -authdaemond +berkdb +cryp
[ebuild     U ] net-dns/bind-9.2.5-r2 [9.2.5-r1] +berkdb -bind-mysql -dlz
[nomerge      ] app-office/koffice-1.3.5-r2  +arts -debug -kdeenablefinal
[nomerge      ]  kde-base/kdelibs-3.4.0  -alsa +arts -cups -debug -doc -j
[ebuild   R   ]   net-dns/libidn-0.5.13  -doc -java* +nls 0 kB
[nomerge      ] gnome-extra/libgda-1.0.4  -debug -doc -firebird -freetds
[nomerge      ]  gnome-base/gnome-vfs-2.8.4-r1  -debug -doc -gnutls -hal
[ebuild     U ]   gnome-base/orbit-2.12.2 [2.12.1] -debug -doc +ssl 662 k
[nomerge      ] dev-db/jxtray-0.5  -doc -firebird -jikes -mssql +mysql -p
[nomerge      ]  dev-java/xerces-2.6.2-r2  -doc -examples -jikes -source
[nomerge      ]   dev-java/xalan-2.6.0-r2  -doc -jikes -source
[nomerge      ]    dev-java/jakarta-regexp-1.3-r2  -doc -jikes -source
vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
[ebuild  N    ]     dev-java/blackdown-jre-1.4.2.01-r1  -mozilla 0 kB
[ebuild  N    ]     dev-java/blackdown-jdk-1.4.2.01-r2  -doc -mozilla 0 k
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[nomerge      ] sys-libs/libstdc++-v3-3.3.4  -debug +nls
[nomerge      ]   sys-devel/gcc-3.4.3.20050110-r2  (-altivec) -bootstrap
[nomerge      ]    sys-devel/gcc-config-1.3.10-r2
[nomerge      ]     sys-apps/portage-2.0.51.19  -build -debug (-selinux)
[nomerge      ]      dev-lang/python-2.3.5  -X +berkdb -bootstrap -build
[nomerge      ]       dev-libs/openssl-0.9.7e-r1  -debug -emacs (-uclibc)
[nomerge      ]        dev-lang/perl-5.8.6-r4  +berkdb -debug -doc +gdbm
[ebuild   R   ]         sys-libs/db-4.2.52_p2  -bootstrap -doc -java* -no
[nomerge      ]    sys-devel/binutils-2.15.92.0.2-r8  -debug -multislot -
[ebuild     U ]     sys-devel/gnuconfig-20050324 [20050223] 35 kB

As you can see portage want to emerge *both* the java vm.

~oOo~~oOo~~oOo~~oOo~~oOo~~oOo~~oOo~~oOo~~oOo~~oOo~~oOo~~oOo~~oOo~~oOo~

c) Stranger: trying to upgrade the single packages avoid the emerge of java:

 # emerge -uDpv --newuse sys-devel/gnuconfig sys-libs/db \
 gnome-base/orbit net-dns/libidn net-dns/bind dev-libs/cyrus-sasl \
 media-libs/pdflib net-mail/teapop dev-util/subversion

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild     U ] sys-devel/gnuconfig-20050324 [20050223] 35 kB
[ebuild   R   ] sys-libs/db-4.2.52_p2  -bootstrap -doc -java* -nocxx 
[ebuild     U ] gnome-base/orbit-2.12.2 [2.12.1] -debug -doc +ssl 662
[ebuild   R   ] net-dns/libidn-0.5.13  -doc -java* +nls 0 kB
[ebuild     U ] net-dns/bind-9.2.5-r2 [9.2.5-r1] +berkdb -bind-mysql 
[ebuild   R   ] dev-libs/cyrus-sasl-2.1.20-r2  -authdaemond +berkdb +
[ebuild   R   ] media-libs/pdflib-5.0.4_p1-r1  -java* -perl -python +
[ebuild   R   ] net-mail/teapop-0.3.8-r1  +ipv6 -java* +ldap +mysql -
[ebuild   R   ] dev-util/subversion-1.1.4  +apache2 -bash-completion 


I will keep the system as is untill tomorrow, it's totally a test machine so, if you need something just ask
Comment 1 Marius Mauch (RETIRED) gentoo-dev 2005-04-18 14:35:01 UTC
Do you have any java jdk installed currently?
Comment 2 Francesco R. (RETIRED) gentoo-dev 2005-04-18 14:43:43 UTC
"java-config -L" show nothing, "java-config -l" hem 53 packages :P
Comment 3 SpanKY gentoo-dev 2005-04-18 16:22:08 UTC
so you have java packages installed on your machine but you uninstalled your jre/jdk and now you're wondering why portage is trying to re-install a jre/jdk ?
Comment 4 Francesco R. (RETIRED) gentoo-dev 2005-04-18 17:13:24 UTC
red face, Let me try to explain better:

My bad (1), I've not consulted java-config before.
My bad (2), there is at least one "emerge --depclean" not mentioned
My bad (3), this one is the best:, I've found this in my emerge.log:

1113762322: Started emerge on: Apr 17, 2005 20:25:22
1113762322:  *** emerge  unmerge dev-java/blackdown-jdk
1113762327: === Unmerging... (dev-java/blackdown-jdk-1.4.2.01-r2)
1113762343:  >>> unmerge success: dev-java/blackdown-jdk-1.4.2.01-r2
1113762344:  *** exiting successfully.

The fact portage want to emerge both "jre" && "jdk" is probably related to ebuilds not to portage.

My apologies for time loss, please resolve this bug as bogus
Comment 5 SpanKY gentoo-dev 2005-04-18 17:23:53 UTC
ok ...