Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 141871 - openoffice can't compile
Summary: openoffice can't compile
Status: RESOLVED DUPLICATE of bug 141860
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-07-27 02:52 UTC by R. May
Modified: 2006-07-27 02:55 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 R. May 2006-07-27 02:52:33 UTC
Hello,

/usr/bin/java-check-environment
 * === Java Environment Checker ===
 * The purpose of this script is to check the sanity of your Java Environment.
 * We have significantly changed and improved the way Java is handled in many respects.
 * Please refer to http://www.gentoo.org/proj/en/java/java-upgrade.xml for details

 * Checking vm_environment_files ...                                                                                                                                                         [ ok ]

 * Checking user_settings ...
 * Running as root. Don't need to check user settings.                                                                                                                                       [ ok ]

 * Checking generation_1_system_vm ...                                                                                                                                                       [ ok ]

 * Checking virtual_provides ...                                                                                                                                                             [ ok ]

 * Java environment is sane. Congratulations!


but a 

>>> Emerging (1 of 1) app-office/openoffice-2.0.3 to /
>>> checking ebuild checksums ;-)
>>> checking auxfile checksums ;-)
>>> checking miscfile checksums ;-)
>>> checking OOO_2_0_3-core.tar.bz2 ;-)
>>> checking OOO_2_0_3-system.tar.bz2 ;-)
>>> checking OOO_2_0_3-lang.tar.bz2 ;-)
>>> checking ooo-build-2.0.3.0.tar.gz ;-)
>>> checking libwpd-0.8.3.tar.gz ;-)
>>> checking extras-2.tar.bz2 ;-)
>>> checking hunspell_UNO_1.1.tar.gz ;-)
>>> checking xt-20051206-src-only.zip ;-)
>>> checking lp_solve_5.5.tar.gz ;-)
 *
 *  It is important to note that OpenOffice.org is a very fragile
 *  build when it comes to CFLAGS.  A number of flags have already
 *  been filtered out.  If you experience difficulty merging this
 *  package and use agressive CFLAGS, lower the CFLAGS and try to
 *  merge again. Also note that building OOo takes a lot of time and
 *  hardware ressources: 4-6 GB free diskspace and 256 MB RAM are
 *  the minimum requirements. If you have less, use openoffice-bin
 *  instead.
 *
 * Checking for at least 256MBytes RAM ...                                                                                                                                                   [ ok ]
 * Checking for at least 5120MBytes disk space at ${PORTAGE_TMPDIR} ...                                                                                                                      [ ok ]
 * There was a problem determining which VM to use for generation-1
 * You may need to set your generation-1 VM again, and run env-update && source/etc/profile
 * Also, make sure you have followed the Java Upgrade Guide:
 * http://www.gentoo.org/proj/en/java/java-upgrade.xml                                                                                                                                       [ !! ]

!!! ERROR: app-office/openoffice-2.0.3 failed.
Call stack:
  ebuild.sh, line 1555:   Called dyn_setup
  ebuild.sh, line 668:   Called pkg_setup
  openoffice-2.0.3.ebuild, line 155:   Called java-pkg_pkg_setup
  java-pkg.eclass, line 51:   Called die

!!! Expected VMHANDLE to be defined in the env, but it wasn't
!!! If you need support, post the topmost build error, and the call stack if relevant.
Comment 1 R. May 2006-07-27 02:53:34 UTC
Ok now I se5t the this again

java-config-1 -S blackdown-jdk-1.4.2.03

then openoffice compile until:


make writeable...
echo dummy > ./unxlngi6.pro/misc/build/xt-20051206/makefile.mk.dummy
touch ./unxlngi6.pro/misc/build/xt-20051206/makefile.mk.dummy
echo dummy > ./unxlngi6.pro/misc/build/xt-20051206/makefile.mk
touch ./unxlngi6.pro/misc/build/xt-20051206/makefile.mk
cd ./unxlngi6.pro/misc/build && cat ../../../xt-20051206.patch | patch -b -p2 && touch so_patched_xt
patching file xt-20051206/build.xml
Hunk #1 succeeded at 1 with fuzz 2.
patching file xt-20051206/makefile.mk
patching file xt-20051206/src/xt/java/com/jclark/xsl/tr/AppendAction.java
patching file xt-20051206/src/xt/java/com/jclark/xsl/trax/TransformerFactoryImpl.java
patching file xt-20051206/src/xt/java/com/jclark/xsl/expr/PatternList.java
touch ./unxlngi6.pro/misc/build/so_patched_xt
touch ./unxlngi6.pro/misc/build/so_configured_xt
mkdir ./unxlngi6.pro/misc/build/xt-20051206/
mkdir: cannot create directory `./unxlngi6.pro/misc/build/xt-20051206/': File exists
cd ./unxlngi6.pro/misc/build/xt-20051206/ && dmake    && touch so_built_xt
-------------
/usr/bin/ant -Dprj=../../../.. -Dprjname=xt -Ddebug=off -Doptimize=on  -Dtarget=compile -Dsolar.update=on -Dout=../../../../unxlngi6.pro -Dinpath=unxlngi6.pro -Dproext=".pro"  -Dsolar.bin=/var/tmp/portage/openoffice-2.0.3/work/ooo-build-2.0.3.0/build/OOO_2_0_3/solver/680/unxlngi6.pro/bin -Dsolar.jar=/var/tmp/portage/openoffice-2.0.3/work/ooo-build-2.0.3.0/build/OOO_2_0_3/solver/680/unxlngi6.pro/bin -Dsolar.doc=/var/tmp/portage/openoffice-2.0.3/work/ooo-build-2.0.3.0/build/OOO_2_0_3/solver/680/unxlngi6.pro/doc  -Dcommon.jar=/var/tmp/portage/openoffice-2.0.3/work/ooo-build-2.0.3.0/build/OOO_2_0_3/solver/680/unxlngi6.pro/bin -Dcommon.doc=  -f build.xml  -emacs
Invalid implementation version between Ant core and Ant optional tasks.
 core    : 1.6.5
 optional: 1.6.2
dmake:  Error code 1, while making 'ANTBUILD'
'---* tg_merge.mk *---'
dmake:  Error code 255, while making './unxlngi6.pro/misc/build/so_built_xt'
'---* tg_merge.mk *---'

ERROR: Error 65280 occurred while making /var/tmp/portage/openoffice-2.0.3/work/ooo-build-2.0.3.0/build/OOO_2_0_3/xt
make: *** [stamp/build] Error 1

!!! ERROR: app-office/openoffice-2.0.3 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  openoffice-2.0.3.ebuild, line 251:   Called die

!!! Build failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-07-27 02:55:01 UTC
Ditto as the other bug.


*** This bug has been marked as a duplicate of 141860 ***