Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 229323 - Why only jre-1.4.2?
Summary: Why only jre-1.4.2?
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-24 23:55 UTC by Andrew John Hughes
Modified: 2008-06-29 22:05 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew John Hughes 2008-06-24 23:55:00 UTC
I'm trying to emerge rhino but it seems to want to pull in a 1.4.2 JRE when several 1.5/1.6 ones are already installed:

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

Calculating dependencies... done!
[ebuild  N    ] dev-java/rhino-1.6.5  USE="-doc -examples -source" 1,800 kB
[ebuild  N    ]  dev-java/xml-xmlbeans-1.0.4_pre20041217  USE="-doc -source" 2,380 kB
[nomerge      ] dev-java/xml-xmlbeans-1.0.4_pre20041217  USE="-doc -source"
[nomerge      ]  dev-java/jaxen-1.1.1  USE="-doc -examples -source -test"
[nomerge      ]   dev-java/jdom-1.0-r4  USE="-doc -examples -source"
[ebuild  N    ]    dev-java/jdom-jaxen-1.0-r1  3,489 kB
[ebuild  N    ]     dev-java/jaxen-1.1.1  USE="-doc -examples -source -test" 265 kB
[ebuild  N    ]      dev-java/jdom-1.0-r4  USE="-doc -examples -source" 0 kB
[ebuild  N    ]      dev-java/dom4j-1.6.1-r2  USE="-doc -source" 9,463 kB
[ebuild  N    ]       dev-java/jsr173-1.0-r1  USE="-doc -source" 625 kB
[ebuild  N    ]        dev-java/jaxme-0.3.1-r4  USE="-doc -source" 2,988 kB
[ebuild  N    ]         dev-java/gnu-crypto-2.0.1-r2  USE="-doc -source" 3,805 kB
[ebuild  N    ]         dev-java/xmldb-20011111-r1  USE="-doc -source" 36 kB
[ebuild  N    ]       dev-java/xpp3-1.1.4c  USE="-doc -source -test" 938 kB
[ebuild  N    ]       dev-java/xpp2-2.1.10-r1  USE="-doc -source" 2,257 kB
[ebuild  N    ]       dev-java/msv-20050627-r2  USE="-doc -source" 3,703 kB
[ebuild  N    ]        dev-java/iso-relax-20050331-r1  USE="-source" 681 kB
[ebuild  N    ]      dev-java/xom-1.0-r6  USE="-doc -examples -source" 3,317 kB
[ebuild  N    ]       dev-java/icu4j-3.0-r1  USE="-doc -source" 8,778 kB
[nomerge      ] dev-java/dom4j-1.6.1-r2  USE="-doc -source"
[ebuild  N    ]  dev-java/xsdlib-20050627-r2  USE="-doc -source" 786 kB
[nomerge      ] dev-java/jdom-jaxen-1.0-r1
[nomerge      ]  dev-java/jdom-1.0-r4  USE="-doc -examples -source"
[ebuild  N    ]   dev-java/saxpath-1.0-r2  USE="-doc -source -test" 2,116 kB
[nomerge      ] dev-java/dom4j-1.6.1-r2  USE="-doc -source"
[ebuild  N    ]  dev-java/relaxng-datatype-1.0-r1  USE="-doc -source" 73 kB
[ebuild  NS   ]   virtual/jre-1.4.2  0 kB
[ebuild  N    ]    dev-java/kaffe-1.1.7-r4  USE="alsa gtk nls -esd -gmp" 10,719 kB
[ebuild  N    ]     dev-java/jikes-1.22-r13  603 kB
[blocks B     ] >=app-arch/fastjar-0.95 (is blocking dev-java/kaffe-1.1.7-r4)
[blocks B     ] <=dev-java/kaffe-1.1.7-r5 (is blocking app-arch/fastjar-0.95)

java-config -L gives:

java-config -L
The following VMs are available for generation-2:
1)      GCJ 4.3.1 [gcj-jdk-4.3]
*)      OpenJDK/IcedTea 1.1 [icedtea6-1.1]
3)      JamVM 1.5.0 [jamvm]

and both later versioned JRE dependencies are installed:

emerge -pv =jre-1.5.0

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

Calculating dependencies... done!
[ebuild   R   ] virtual/jre-1.5.0  0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB

 emerge -pv =jre-1.6.0

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

Calculating dependencies... done!
[ebuild   R   ] virtual/jre-1.6.0  0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB

relaxng (which is dragging this in) depends on >=1.4 so should allow 1.5

Reproducible: Always




Portage 2.1.4.4 (default-linux/amd64/2007.0/desktop, gcc-4.3.1, glibc-2.7-r2, 2.6.24-gentoo-r7.rivendell x86_64)
=================================================================
System uname: 2.6.24-gentoo-r7.rivendell x86_64 Intel(R) Xeon(R) CPU X5482 @ 3.20GHz
Timestamp of tree: Sat, 14 Jun 2008 11:32:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.4.4-r13
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.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
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="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=core2 -ggdb"
CHOST="x86_64-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/texmf/web2c /etc/udev/rules.d"
CPPFLAGS="-I/home/andrew/build/include"
CXXFLAGS="-O2 -pipe -march=core2 -ggdb"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms splitdebug strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.bytemark.co.uk/gentoo/ ftp://mirror.bytemark.co.uk/gentoo/ http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ ftp://ftp.mirrorservice.org/sites/www.ibiblio.org/gentoo/ http://mirror.qubenet.net/mirror/gentoo/ ftp://mirror.qubenet.net/mirror/gentoo/ http://gentoo.virginmedia.com/ ftp://gentoo.virginmedia.com/sites/gentoo "
LANG="en_GB.UTF-8"
LINGUAS="en_GB"
MAKEOPTS="-j9"
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="/home/andrew/projects/gentoo/gnu_andrew_overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 bash-completion berkdb bzip2 cairo caps cddb cdparanoia cdr cli cracklib crypt cups curl cvs dbus dga djvu dri dts dv dvb dvd dvdr dvdread eds emacs emboss encode evo fam ffmpeg firefox flac fontconfig fortran ftp gcj gdbm gif gnome gnutls gpm graphviz gstreamer gtk hal iconv idn ieee1394 imagemagick imap ipv6 isdnlog javascript jbig jpeg jpeg2k kde kerberos ladspa latex lcms ldap libcaca libnotify libsamplerate lzo mad mbox midi mikmod mmap mmx mng mp3 mpeg mudflap musepack nas ncurses nis nls nntp nptl nptlonly nsplugin odbc ogg openexr opengl openmp oss pam pcre pdf perl png postgres pppd python qt3 qt3support qt4 quicktime readline reflection sasl sdl session sndfile speex spell spl sse sse2 ssl startup-notification subversion svg tcpd tga theora threads tiff truetype unicode usb vorbis wavpack wmf x264 xattr xft xml xorg xprint xscreensaver xulrunner xv xvid yahoo zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB" USERLAND="GNU" VIDEO_CARDS="radeonhd fglrx radeon"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Carsten Lohrke (RETIRED) gentoo-dev 2008-06-25 08:33:48 UTC
http://www.gentoo.org/proj/en/java/why-we-need-java-14.xml
Comment 2 Andrew John Hughes 2008-06-25 19:02:39 UTC
That doesn't answer the question; why does >= resolve as = ?
Comment 3 Carsten Lohrke (RETIRED) gentoo-dev 2008-06-25 23:18:22 UTC
You may want to have a look at the virtual jdk/jre ebuilds. kaffe is an only sun jdk 1.4 compatible jdk and when all other do not match, e.g. because you masked them or something is wrong with your overlay, you get what you asked for. Honestly, you're using an experimental overlay and doing so you should be able to track down such issues yourself.

In Bugzilla we care for the Gentoo repository. It is not the place for user support.

Java guys, leaving it to you to resolve...
Comment 4 Andrew John Hughes 2008-06-29 21:04:40 UTC
I've already attempted to track it down -- see my original message.

This used to work, but recently something seems to have been broken in the main Gentoo repository.
Comment 5 Andrew John Hughes 2008-06-29 21:07:07 UTC
Something is clearly broken upstream, as none of these are overlay packages.
Now world fails to work:

[nomerge      ]  dev-java/xalan-2.7.0-r5  USE="-doc -source"
[ebuild   R   ]   dev-java/xalan-serializer-2.7.0  USE="-doc -source" 0 kB
[ebuild   R   ]    dev-java/xml-commons-external-1.3.04  USE="-doc -source" 0 kB
[ebuild  NS   ]     virtual/jre-1.4.2  0 kB
Comment 6 Petteri Räty (RETIRED) gentoo-dev 2008-06-29 21:34:42 UTC
I don't see a bug that needs fixing. Everything is working as it's supposed to when there are not user specific masks in effect.

pena betelgeuse # emerge -pv relaxng-datatype

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

Calculating dependencies -depend:  /usr/portage/dev-java/relaxng-datatype/relaxng-datatype-1.0-r1.ebuild
... done!
[ebuild  N    ] dev-java/relaxng-datatype-1.0-r1  USE="-doc -source" 0 kB

Total: 1 package (1 new), Size of downloads: 0 kB
pena betelgeuse # emerge -pv virtual/jre:1.4

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

Calculating dependencies... done!
[ebuild  NS   ] virtual/jdk-1.4.2 [1.5.0, 1.6.0] 0 kB
[ebuild  NS   ] virtual/jre-1.4.2 [1.6.0] 0 kB
Comment 7 Andrew John Hughes 2008-06-29 21:41:40 UTC
Fixed by a recent sync.
Comment 8 Carsten Lohrke (RETIRED) gentoo-dev 2008-06-29 22:05:05 UTC
That it now works for you does not equal to a fixed bug...
Comment 9 Carsten Lohrke (RETIRED) gentoo-dev 2008-06-29 22:05:59 UTC
...overlay or other local issue, therefore not a bug.