I was installing a new system, and after finishing the Installation section of the handbook, typed "emerge -UaD portage gnome emacs xmms mozilla-firefox tetex openoffice xscreensaver foldingathome xpdf" This failed, with the error " checking try to compile exception code... Exceptions type: dwarf2 checking for STLport4 headers... using internal stlport. checking whether to build with Java support... yes configure: error: /opt/blackdown-jre-1.4.1/bin/javac not found set with_jdk_home !!! ERROR: app-office/openoffice-1.1.1-r1 failed. !!! Function src_compile, Line 335, Exitcode 1 !!! (no error message) " I have had this problem on other installations. Reproducible: Always Steps to Reproduce: 1. Install a new Gentoo system 2. Set use flags as I have (see "emerge info" section) 3. emerge openoffice Output of emerge info-- Portage 2.0.50-r7 (default-x86-2004.0, gcc-3.3.2, glibc-2.3.2-r9, 2.6.3-gentoo-r1) ================================================================= System uname: 2.6.3-gentoo-r1 i686 AMD Athlon(tm) XP 1800+ Gentoo Base System version 1.4.3.13 Autoconf: sys-devel/autoconf-2.59-r3 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer" DISTDIR="/home/portagework/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/home/portagework/packages" PORTAGE_TMPDIR="/home/portagework/tmp" PORTDIR="/home/portagework" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X alsa apm avi berkdb cdr cjk crypt cups doc dvd emacs encode esd foomaticdb gdbm gif gnome gpm gtk gtk2 imlib java jpeg libg++ libwww mad mikmod motif mozilla mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl slang spell ssl svga tcpd tetex tiff truetype unicode usb videos x86 xml2 xmms xv zlib"
Seems like the dependency on >=virtual/jre-1.4.1 should be >=virtual/jdk-1.4.1 Unless you set FORCE_JAVA=yes you shouldn't be able to merge it with blackdown-jre as your vm. From the ebuild: emerge blackdown-jdk java-config --set-system-vm=blackdown-jdk-<VERSION> env-update source /etc/profile and then merge openoffice
Actually the openoffice ebuild does require the jdk for building. For running it only requires a jre. FORCE_JAVA is only for ensuring that a tested version of java is used. Note however that openoffice does actually build with the jdk's of all vendors (except gcj, which is untested, but might work with some fidling to create wrappers)
Is this still a problem for you or can we close the bug?
Looks like a user setup problem, also no feedback for quite some time, closing