well...when I try to install openoffice, one of dependences is sun-jdk-1.5.0.15. but if I've installed sun-jdk-1.6.0.05, why it want install the 1.5.0.15 version? reading the ebuilds i see the follow : "java? ( || ( =virtual/jdk-1.6* =virtual/jdk-1.5* =virtual/jdk-1.4* )" it say ,if I don't say bad, "one of virtual/jdk with priority on the leftmost"? but if I've installed the virtual/jdk-1.6, why openoffice want install the jdk-1.5? Reproducible: Always Steps to Reproduce: 1.emerge -av openoffice 2. 3. Actual Results: ask to install like dependence virtual/jdk-1.5 Expected Results: see that I've installed and take like good the virtual/jdk-1.6
emerge --info Portage 2.1.4.4 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-gentoo-r4 i686) ================================================================= System uname: 2.6.24-gentoo-r4 i686 Intel(R) Pentium(R) M processor 1.86GHz Timestamp of tree: Sun, 06 Apr 2008 18:00:01 +0000 ccache version 2.4 [enabled] app-shells/bash: 3.2_p17-r1 dev-java/java-config: 1.3.7, 2.1.4 dev-lang/python: 2.4.4-r9 dev-python/pycrypto: 2.0.1-r6 dev-util/ccache: 2.4-r7 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.23-r3 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium-m -O3 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-march=pentium-m -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://mirror.ing.unibo.it/gentoo/ http://ftp.gentoo.bg/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo" LANG="it_IT" LC_ALL="it_IT" LINGUAS="it" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage/local/layman/secondlife /usr/portage/local/layman/science /usr/portage/local/layman/enlightenment /usr/portage/local/layman/pro-audio /usr/portage/local/layman/java-binary /usr/portage/local/layman/secondlife /usr/portage/local/layman/science /usr/portage/local/layman/pro-audio /usr/portage/local/layman/enlightenment /usr/portage/local/layman/java-binary" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X aac aalib acl acpi alsa arts audiofile berkdb bzip2 cairo cdparanoia cdr cli cpudetection cracklib crypt cups dbus dri dts dv dvd dvdr dvdread eds emboss encode esd evo fam flac fortran gdbm gif gpm gstreamer gtk hal i8x0 iconv innodb isdnlog java jpeg kde kerberos ldap mad midi mikmod mmx mmxext mod_php mp3 mpeg mudflap musepack ncurses nls nptl nptlonly ogg opengl openmp oss pam pcre pdf perl png pppd python qt3 qt3support qt4 quicktime readline reflection sdl session spell spl sse sse2 ssl svg tcpd threads tiff timidity truetype vorbis wifi win32codecs wmf x86 xine xml xml2 xorg xv xvid zlib" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="mouse keyboard synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it" USERLAND="GNU" VIDEO_CARDS="fglrx" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Most likely pulled by some of the dependencies of openoffice, not openoffice itself. See output of emerge with --tree
the packages that want jdk-1.6 is dev-db/hsqldb... you think that if edit the hsqldb's ebuild and insert the virtual/sdk-1.6 value, I can create some dangerous situations?
(In reply to comment #3) > the packages that want jdk-1.6 is dev-db/hsqldb... I want say virtual/jdk 1.5 and not jdk-1.6
One of the other java dependencies of OOo will need Java 1.5 because of compatibility issues. Closing invalid as it's not an OOo bug, but the currect maintenance state of Java packages.