Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 152447 - Java dependency specificatin is wrong in openoffice-2.0.3 ebuild
Summary: Java dependency specificatin is wrong in openoffice-2.0.3 ebuild
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-22 16:31 UTC by hodak
Modified: 2006-10-22 23:27 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 hodak 2006-10-22 16:31:45 UTC
Ebuild for openoffice-2.0.3 specifies java dependency as 

java? ( >=virtual/jre-1.4 )
         
java? ( >=virtual/jdk-1.4
        dev-java/ant-core
        >=dev-java/java-config-1.2.11-r1 )

This is misleading, since it seems that openoffice could be built with java-1.5. This does not work, trying with sun-jdk-1.5.0.08 as the ONLY jdk the  build fails:
 
* There was a problem determining which VM to use for generation-1
 * This is because the way Java is handled on Gentoo has drastically changed.
 * There does not seem to be a 1.4 or 1.3 JDK installed.
 * You should probably install =virtual/jdk-1.4* or =virtual/jdk-1.3*
 * It is important to have either a 1.4 or 1.3 JDK installed
 * in order for the old and new Java systems to coexist
 * Details about this can be found at:
 *      http://overlays.gentoo.org/proj/java/wiki/Why_We_Need_Java14

 * You should run, and follow the advice of:
 *      /usr/bin/java-check-environment
 * You will also likely want to follow the Java Upgrade Guide:
 *      http://www.gentoo.org/proj/en/java/java-upgrade.xml
 * If you have problems with the guide, please see:
 *      http://overlays.gentoo.org/proj/java/wiki/Common_Problems

Which in effect means that 1.4 version is required anyway. Thus the java dependency should be something like "=virtual/jdk-1.4" (or something that says any 1.4 version, but not 1.5) rather than ">=virtual/jdk-1.4", which implies that 1.5 is also OK for OO building.



emerge info:

Portage 2.1.1 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.4-r3, 2.6.18-ck1 i686)
=================================================================
System uname: 2.6.18-ck1 i686 AMD Athlon(TM) XP 2400+
Gentoo Base System version 1.12.5
Last Sync: Sun, 22 Oct 2006 11:00:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/texmf/dvipdfm/config/ /usr/share/texm
f/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
 /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/r
evdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://128.213.5.34/gentoo/ http://mirror.datapipe.net/gentoo ftp://mirr
ors.sec.informatik.tu-darmstadt.de/gentoo/ ftp://ftp.ussg.iu.edu/pub/linux/gentoo"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LINGUAS="en_US sk"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force 
--whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --excl
ude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X aac aalib alsa apache2 apm artworkextra bash-completion berkdb
 bitmap-fonts bzip2 cdparanoia cdr cjk cli cpudetection cracklib crypt cups curl cursors
 custom-cflags dbus divx4linux djvu dlloader dri dts dv dvb dvi edl eds elibc_glibc embo
ss encode exif fbcon fbdev fftw firefox flac foomaticdb fortran fpx gd gdbm gif gimp gli
bc-omitfp gnome gphoto2 gpm graphviz gs gstreamer gtk gtk2 gtkhtml hal icons idn imlib i
nput_devices_keyboard input_devices_mouse ipv6 isdnlog java javascript jpeg jpeg2k kerne
l_linux lcms libcaca libg++ libwww linguas_en_US linguas_sk live lzo lzw-tiff mad mikmod
 mmx mmxext mng motif mozsvg mp3 mpeg msn nas nautilus ncurses network new-login nls now
ebdav nptl nptlonly nsplugin nvidia nvtv ogg openal opengl pam pcre pdf perl plotutils p
ng pppd python quicktime readline real reflection rtc sdl seamonkey session spell spl ss
e ssl svg t1lib tcl tcltk tcpd tetex theora tiff tk truetype truetype-fonts type1-fonts 
udev unicode usb userland_GNU v4l v4l2 video_cards_fbdev video_cards_nvidia video_cards_
vesa vorbis win32codecs wmf xml xml2 xmms xorg xv xvid zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXT
RA_OPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-10-22 23:27:57 UTC
We won't be porting old version of packages for new Java stuff, that's just a waste of effort and time that can be better spent stabilizing already ported packages. Use 2.0.4, thanks.