Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 186648 - openoffice-2.2.1 build error: JDK is too old, you need at least 1.3
Summary: openoffice-2.2.1 build error: JDK is too old, you need at least 1.3
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High major
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-26 07:29 UTC by Robert Golding
Modified: 2007-07-31 00:52 UTC (History)
1 user (show)

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 Robert Golding 2007-07-26 07:29:55 UTC
System may be AMD64x2 but am compiling as 32bit stable with portage, baselayout , bin-utils keyworded.

emerge openoffice-2.2.1 fails with following error:-

//snip/
checking whether to build with Java support... yes
checking the installed JDK... configure: error: JDK is too old, you need at least 1.3
make: *** [stamp/build] Error 1
 * 
 * ERROR: app-office/openoffice-2.2.1 failed.
 * Call stack:
 *   ebuild.sh, line 1648:   Called dyn_compile
 *   ebuild.sh, line 988:   Called qa_call 'src_compile'
 *   ebuild.sh, line 44:   Called src_compile
 *   openoffice-2.2.1.ebuild, line 328:   Called die
 * 
 * Build failed
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/app-office/openoffice-2.2.1/temp/build.log'.
 * 
!!! When you file a bug report, please include the following information:
GENTOO_VM=sun-jdk-1.5  CLASSPATH="" JAVA_HOME="/opt/sun-jdk-1.5.0.12"
JAVACFLAGS="-source 1.4 -target 1.4" COMPILER=""
and of course, the output of emerge --info

I have checked my java config with 'java-check-environment' and  'java-check-environment virtual_provides' and all is OK
I have the JDK's v1.4, 1.5 and JRE 1.6 installed 

I have checked STLport, is at v5.1.2 supposed to be OK
dev-java/ant-* and jaxme are not installed on my machine.

Reproducible: Always

Steps to Reproduce:
1.emerge -av openoffice
2.fails emerge
3.checked Java, still fails




emerge --info
Portage 2.1.3_rc9 (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.5-r4, 2.6.21-gentoo-r4 i686)
=================================================================
System uname: 2.6.21-gentoo-r4 i686 AMD Athlon(tm) 64 X2 Dual Core Processor 4000+
Gentoo Base System release 1.12.10
Timestamp of tree: Mon, 23 Jul 2007 03:00:01 +0000
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe -fomit-frame-pointer"
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/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-march=athlon64 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans"
GENTOO_MIRRORS="http://mirror.isp.net.au/ftp/pub/gentoo http://ftp.swin.edu.au/gentoo http://distfiles.gentoo.org http://gentoo.osuosl.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LINGUAS="en"
MAKEOPTS="-j3"
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 --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/xeffects"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac aalib acl alsa arts asf audacious avi bash-completion berkdb bitmap-fonts bonobo browserplugin bzlib cairo cdparanoia cdr cli cracklib crypt cups dlloader dri dv dvd dvdr dvdread eds emboss encode esd fam ffmpeg firefox fortran freetype gdbm gif gimp glitz gnome gpm gstreamer gtk gtk2 hal iconv imlib imlib2 ipv6 isdnlog java javascript jpeg ldap libg++ mad midi mikmod mjpeg mmx mmxext mp3 mpeg mpg mplayer mudflap ncurses nls nptl nptlonly nsplugin nvidia offensive ogg opengl openmp oss pam pcre pdf pdflib perl png ppds pppd print python qt3 qt4 quicktime readline real reflection sane scanner sdl session spell spl sse ssl svg svga tcpd tga tiff totem truetype truetype-fonts type1-fonts udev unicode usb v4l vcd vorbis win32codecs wmf wmv x86 xine xml xorg xsane xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="nvidia nv v4l vesa fbdev"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Robert Golding 2007-07-26 07:32:53 UTC
BTW, this time around I am trying a pure Gnome system.  Have also got Compiz-fusion from 'xeffects' overlay installed.
Comment 2 Andreas Proschofsky (RETIRED) gentoo-dev 2007-07-26 09:19:43 UTC
(In reply to comment #0)
> 
> I have checked STLport, is at v5.1.2 supposed to be OK
> dev-java/ant-* and jaxme are not installed on my machine.

So how is that possible? dev-java/ant-core is a required dependency for building OOo with java-support
Comment 3 Robert Golding 2007-07-26 14:25:21 UTC
(In reply to comment #2)
> (In reply to comment #0)
> > 
> > I have checked STLport, is at v5.1.2 supposed to be OK
> > dev-java/ant-* and jaxme are not installed on my machine.
> 
> So how is that possible? dev-java/ant-core is a required dependency for
> building OOo with java-support
> 

Oops, my mistake, I did an "emerge -s ant" and got a large stream of 'ant-' stuff, all of showing not installed.  I didn't go to the top of the list (out of screen) and check.  I have checked it this time specifically and it is there
* dev-java/ant-core-1.7.0.
Comment 4 Robert Golding 2007-07-30 23:53:56 UTC
I seem to have fixed it on my machine, not sure how, but it is working now.

Steps taken;

1) Re-merged 'emerge -N sun-jdk-1.4 sun-jdk-1.5 java-wrapper java-config'
   (-N was in case something had changed in the env. from other installs)
2) Re-booted machine.
3) Emerged openoffice-2.2.1

It took nearly five hours, but is now installed.

I don't know what was borked on the original system, but it seems OK now.  What happens now?  Do you close it as fixed, or do we still try and find what caused the original problem.
Comment 5 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2007-07-31 00:52:12 UTC
or we close it as WORKSFORME :)