Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 110015 - OpenOffice 2.0.0 fails to emerge
Summary: OpenOffice 2.0.0 fails to emerge
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-21 04:07 UTC by Manfred Knick
Modified: 2008-06-24 20:00 UTC (History)
0 users

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


Attachments
/var/tmp/portage/openoffice-2.0.0/work/ooo-build-2.0.0 (config.log,24.21 KB, text/plain)
2005-10-21 04:18 UTC, Manfred Knick
Details
output of "emerge -s java" (emerge_-s_java,10.79 KB, text/plain)
2005-10-21 04:28 UTC, Manfred Knick
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Manfred Knick 2005-10-21 04:07:21 UTC
While "Building project beanshell",

/usr/bin/ant is complaining about

    Error: JAVA_HOME is not defined correctly.

NB: I think I remember a note during the configuration phase,
sounding like

    "...  Ant not working ..."


Reproducible: Always
Steps to Reproduce:
1. Clean /var/tmp/portage;
2. emerge -av openoffice      OR even
3. CFLAGS="-O0 -march=pentium3 -pipe" emerge -av openoffice
(no better result)

Actual Results:  
=============
Building project beanshell
=============
    ...


cd ./unxlngi4.pro/misc/build && cat ../../../bsh-2.0b1-src.patch | patch -b -p2
&& touch so_patched_ooo_beanshell
patching file BeanShell/build.xml
patching file BeanShell/makefile.mk
touch ./unxlngi4.pro/misc/build/so_patched_ooo_beanshell
touch ./unxlngi4.pro/misc/build/so_configured_ooo_beanshell
mkdir ./unxlngi4.pro/misc/build/BeanShell/
mkdir: cannot create directory `./unxlngi4.pro/misc/build/BeanShell/': File exists
cd ./unxlngi4.pro/misc/build/BeanShell/ && dmake    && touch so_built_ooo_beanshell
-------------
/usr/bin/ant -Dprj=../../../.. -Dprjname=ooo_beanshell -Ddebug=off -Doptimize=on
 -Dtarget=jarall -Dsolar.update=on -Dout=../../../../unxlngi4.pro
-Dinpath=unxlngi4.pro -Dproext=".pro" 
-Dsolar.bin=/var/tmp/portage/openoffice-2.0.0/work/ooo-build-2.0.0/build/ooo680-m3/solver/680/unxlngi4.pro/bin
-Dsolar.jar=/var/tmp/portage/openoffice-2.0.0/work/ooo-build-2.0.0/build/ooo680-m3/solver/680/unxlngi4.pro/bin
-Dsolar.doc=/var/tmp/portage/openoffice-2.0.0/work/ooo-build-2.0.0/build/ooo680-m3/solver/680/unxlngi4.pro/doc
 -Dcommon.jar=/var/tmp/portage/openoffice-2.0.0/work/ooo-build-2.0.0/build/ooo680-m3/solver/680/common.pro/bin
-Dcommon.doc=/var/tmp/portage/openoffice-2.0.0/work/ooo-build-2.0.0/build/ooo680-m3/solver/680/common.pro/doc
 -f build.xml  -emacs
Traceback (most recent call last):
  File "/usr/bin/java-config", line 14, in ?
    from java_config import jc_options
ImportError: No module named java_config
Error: JAVA_HOME is not defined correctly.
  We cannot execute
dmake:  Error code 1, while making 'ANTBUILD'
'---* tg_merge.mk *---'
dmake:  Error code 255, while making
'./unxlngi4.pro/misc/build/so_built_ooo_beanshell'
'---* tg_merge.mk *---'

ERROR: Error 65280 occurred while making
/var/tmp/portage/openoffice-2.0.0/work/ooo-build-2.0.0/build/ooo680-m3/beanshell
make: *** [stamp/build] Error 1

!!! ERROR: app-office/openoffice-2.0.0 failed.
!!! Function src_compile, Line 186, Exitcode 2
!!! Build failed

Expected Results:  
Clean emerge of OO 2.0

# echo $JAVA_HOME
/opt/blackdown-jdk-1.4.2.02

# emerge --info

Portage 2.0.51.22-r3 (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.5-r2,
2.6.13-gentoo-r3 i686)
=================================================================
System uname: 2.6.13-gentoo-r3 i686 Pentium III (Coppermine)
Gentoo Base System version 1.6.13
ccache version 2.3 [disabled]
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/fax /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/bind /var/qmail/alias /var/qmail/control
/var/spool/fax/etc"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks fixpackages noauto sandbox sfperms strict
userpriv usersandbox"
GENTOO_MIRRORS="ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror "
LC_ALL="de_DE@euro"
LINGUAS="de"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://linux.rz.ruhr-uni-bochum.de/gentoo-portage"
USE="x86 X aalib alsa apm arts avi bash-completion berkdb bitmap-fonts bonobo
cdr crypt cups curl directfb doc eds emboss encode esd fam flac foomaticdb
fortran gd gdbm gif gimpprint gnome gpm gstreamer gtk gtk2 gtkhtml guile hbci
imagemagick imap imlib ipv6 java jpeg junit kde ldap libg++ libwww mad maildir
matrox mga mikmod motif mozilla mp3 mpeg mysql ncurses nls nsplugin ogg
oggvorbis opengl oss pam pdflib perl png ppds python qt quicktime readline ruby
samba scanner sdl slang spell ssl svga tcltk tcpd tetex tiff truetype
truetype-fonts type1-fonts udev vorbis xine xml xml2 xmms xv zlib
video_cards_matrox linguas_de userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LDFLAGS
Comment 1 Manfred Knick 2005-10-21 04:18:17 UTC
Created attachment 71108 [details]
/var/tmp/portage/openoffice-2.0.0/work/ooo-build-2.0.0

perhaps it helps ...
Comment 2 Manfred Knick 2005-10-21 04:21:13 UTC
> /var/tmp/portage/openoffice-2.0.0/work/ooo-build-2.0.0

Sorry - this should have been complete:

  /var/tmp/portage/openoffice-2.0.0/work/ooo-build-2.0.0/config.log

Comment 3 Manfred Knick 2005-10-21 04:28:55 UTC
Created attachment 71109 [details]
output of "emerge -s java"

... in case OO's dependencies to the java packages are involved ...
Comment 4 Andreas Proschofsky (RETIRED) gentoo-dev 2005-10-21 05:36:41 UTC
This bug is caused by mixing x86 and ~x86 packages, you will also have to use
java-config from ~x86, after that it should work. Allways remember that mixing
keywords can result in breakage, anyway not our fault / nothing we can do here
(instead of givinig advice). Closing
Comment 5 Manfred Knick 2005-10-21 10:40:29 UTC
... besides "giving advice":

        That's not nothing, and not to be taken for granted at all.
So:
        THANK YOU !

BTW:  "... have to use java-config from ~x86 ..." :
Sorry for bothering, but I would have guessed that the ebuild would take care of
the dependencies and require the additionally necessary update from within the
emerge tree calculation ?

But your hint suffices:
With dev-java/java-config-1.2.11-r1 (~x86) being emerged first,
app-office/openoffice-2.0.0  (~x86) gets across this "error".

Thanks again!
Kind regards
Manfred
Comment 6 Andreas Proschofsky (RETIRED) gentoo-dev 2005-10-21 11:16:36 UTC
I've added the java-config dependency in the meantime so all should be fine even
for stable / unstable mixers ;)