Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 31569 - Openoffice 1.1-r1 fails to build. Unresolved java xml symbols.
Summary: Openoffice 1.1-r1 fails to build. Unresolved java xml symbols.
Status: RESOLVED FIXED
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: 2003-10-19 20:58 UTC by Joshua Lambert
Modified: 2003-11-21 06:55 UTC (History)
2 users (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 Joshua Lambert 2003-10-19 20:58:14 UTC
------------------------------
Making: ../../unxlngi4.pro/misc/XSLTValidate.dpc
dmake subdmake=true  -f makefile.mk product="full" depend=t ALLDPC
------------------------------
No Dependencies
mkdir ../../unxlngi4.pro/class/XSLTValidate
javac -classpath
".:../../unxlngi4.pro/class/XSLTValidate:/opt/blackdown-jdk-1.3.1/jre/lib/rt.jar:.:/var/tmp/portage/openoffice-1.1.0-r1/work/oo_1.1_src/solver/645/unxlngi4.pro/bin/sandbox.jar:/var/tmp/portage/openoffice-1.1.0-r1/work/oo_1.1_src/solver/645/unxlngi4.pro/bin/ridl.jar:/var/tmp/portage/openoffice-1.1.0-r1/work/oo_1.1_src/solver/645/unxlngi4.pro/bin/unoil.jar:/var/tmp/portage/openoffice-1.1.0-r1/work/oo_1.1_src/solver/645/unxlngi4.pro/bin/jurt.jar:/var/tmp/portage/openoffice-1.1.0-r1/work/oo_1.1_src/solver/645/unxlngi4.pro/bin/juh.jar"
-d ../../unxlngi4.pro/class/XSLTValidate    XSLTValidate.java
XSLTValidate.java:77: cannot resolve symbol
symbol  : class TransformerFactory  
location: package transform
import javax.xml.transform.TransformerFactory;
                           ^
XSLTValidate.java:78: cannot resolve symbol
symbol  : class Transformer  
location: package transform

[...snip...]

31 errors
dmake:  Error code 1, while making '../../unxlngi4.pro/misc/XSLTValidate_dummy.java'
---* TG_SLO.MK *---

ERROR: Error 65280 occurred while making
/var/tmp/portage/openoffice-1.1.0-r1/work/oo_1.1_src/filter/source/xsltvalidate



This goes on for many lines, all the same symbols.

I have blackdown-jdk-1.4.1 currently installed as well as gcc 3.2.3-r2

emerge info:
Portage 2.0.49-r13 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.6.0-test7-bk7)
=================================================================
System uname: 2.6.0-test7-bk7 i686 Pentium III (Coppermine)
Gentoo Base System version 1.4.3.10p1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config
/usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs fixpackages"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 oss apm avi crypt cups encode foomaticdb gif jpeg libg++ mad mikmod
mpeg ncurses nls pdflib png quicktime spell truetype xml2 xv zlib gdbm berkdb
slang readline tetex svga tcltk java sdl gpm tcpd pam libwww ssl perl python esd
imlib oggvorbis qt motif opengl gtk2 xmms -kde -arts X gtk -gnome alsa -3dnow
sse mmx"


---

This might just be an error in my config but i've tried multiple times and it
give me the same error.  It actually builds fine on my other computer with the
same setup.  I've tried to find some information online about this but have failed.

Reproducible: Always
Steps to Reproduce:
1.emerge openoffice-1.1.0-r1.ebuild
2.
3.

Actual Results:  
Failed to build, see details.

Expected Results:  
built successfully.
Comment 1 Joshua Lambert 2003-10-19 21:03:11 UTC
I just realized i have both 1.3.1 and 1.4.1 installed.  rt.jar for 1.4.1
is significantly larger than 1.3.1's.  I'm not sure if the functionality
in 1.4.1 is what is needed, and why its preferring 1.3.1 instead of 1.4.1
but its just a thought.

javac -classpath
".:../../unxlngi4.pro/class/XSLTValidate:/opt/blackdown-jdk-1.3.1/jre/lib/rt.jar......"
Comment 2 Joshua Lambert 2003-10-19 21:08:39 UTC
ran "java-config --set-system-vm=blackdown-jdk-1.4.1"

attempting to compile again to see if it will fix the issue, but it will
take 12 hours or so to get a result.

Comment 3 clemenswaechter 2003-10-20 08:12:26 UTC
I tried java-config ... as you stated above and continued the build.
This fixed the problem for me.

Though I had the problem described in bug #31296, too.
After working around those two problems, OpenOffice now works fine.
Comment 4 Joshua Lambert 2003-10-20 12:28:05 UTC
As posted above, setting the java version to 1.4.1 fixed the issue for me.
 I also had the bug posted above as well about the access violation, as well
as an access violation in ~/.openoffice/1.0.3.  After dealing with these
it works just fine.
Comment 5 Paul de Vrieze (RETIRED) gentoo-dev 2003-10-21 04:04:41 UTC
Please use jdk-1.4.1. The ebuild mistakingly did not depend on older jdk
versions, but it needs a 1.4 jdk
Comment 6 Patrick Kursawe (RETIRED) gentoo-dev 2003-11-21 06:55:43 UTC
I had the same problem, though it looked like my java was set up correctly:

# java-config --jdk-home
/opt/blackdown-jdk-1.4.1

 # java-config -L                                 
[blackdown-jre-1.4.1] "Blackdown JRE 1.4.1" (/etc/env.d/java/20blackdown-jre-1.4.1)
[blackdown-jdk-1.3.1] "Blackdown JDK 1.3.1" (/etc/env.d/java/20blackdown-jdk-1.3.1)
[sun-jdk-1.4.1.02] "Sun JDK 1.4.1.02" (/etc/env.d/java/20sun-jdk-1.4.1.02)
[blackdown-jdk-1.4.1] "Blackdown JDK 1.4.1" (/etc/env.d/java/20blackdown-jdk-1.4.1) *

(last line highlighted)

After re-running java-config for the same vm, compilations seems to get past the critical point (still running)

Summary: Even if you think your java is set up correctly, try the suggestions in the above comments.