Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 52483 - Openoffice 1.1.1-r1 fails to emerge (can't find javac)
Summary: Openoffice 1.1.1-r1 fails to emerge (can't find javac)
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-30 12:15 UTC by M. Creidieki Crouch
Modified: 2005-01-23 13:21 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 M. Creidieki Crouch 2004-05-30 12:15:43 UTC
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"
Comment 1 Sven Wegener gentoo-dev 2004-06-04 14:33:42 UTC
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
Comment 2 Paul de Vrieze (RETIRED) gentoo-dev 2004-06-07 01:57:37 UTC
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)
Comment 3 Andreas Proschofsky (RETIRED) gentoo-dev 2005-01-18 15:33:53 UTC
Is this still a problem for you or can we close the bug?
Comment 4 Andreas Proschofsky (RETIRED) gentoo-dev 2005-01-23 13:21:24 UTC
Looks like a user setup problem, also no feedback for quite some time, closing