Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 35577 - openoffice-1.1.0-r2 fails to compile at XSLTValidate.java (unresolved symbol TransformerFactory)
Summary: openoffice-1.1.0-r2 fails to compile at XSLTValidate.java (unresolved symbol ...
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High blocker
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-10 23:43 UTC by Owen Gunden
Modified: 2003-12-13 08: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 Owen Gunden 2003-12-10 23:43:37 UTC
Here's select output near the end of my latest try at compiling ([...] is used
to indicate that I've left something out):


-----------------------------
SHL1FILTERFILE not set!
-----------------------------
dummy file to keep the dependencies for later use.
------------------------------
[...]
------------------------------
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-r2/work/oo_1.1_src/solver/645/unxlngi4.pro/bin/sandbox.jar:/var/tmp/portage/openoffice-1.1.0-r2/work/oo_1.1_src/solver/645/unxlngi4.pro/bin/ridl.jar:/var/tmp/portage/openoffice-1.1.0-r2/work/oo_1.1_src/solver/645/unxlngi4.pro/bin/unoil.jar:/var/tmp/portage/openoffice-1.1.0-r2/work/oo_1.1_src/solver/645/unxlngi4.pro/bin/jurt.jar:/var/tmp/portage/openoffice-1.1.0-r2/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
import javax.xml.transform.Transformer;
[...]
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-r2/work/oo_1.1_src/filter/source/xsltvalidate
 
!!! ERROR: app-office/openoffice-1.1.0-r2 failed.
!!! Function src_compile, Line 471, Exitcode 1
!!! Build failed!

Reproducible: Always
Steps to Reproduce:
1. emerge =openoffice-1.1.0-r2

Actual Results:  
the bad stuff described above

Expected Results:  
sucessfully installed openoffice

Portage 2.0.49-r15 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r3, 2.4.20-gentoo-r9)
=================================================================
System uname: 2.4.20-gentoo-r9 i686 AMD Athlon(tm) XP 1800+
Gentoo Base System version 1.4.3.10p1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -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="-march=athlon-xp -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs"
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="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="x86 avi crypt cups encode foomaticdb gif jpeg libg++ mad mikmod mpeg
ncurses pdflib png quicktime spell truetype xml2 xmms xv zlib directfb gtkhtml
alsa gdbm berkdb slang readline tetex aalib bonobo svga tcltk java guile ruby X
sdl tcpd pam libwww ssl perl python esd imlib oggvorbis gnome gtk motif opengl
mozilla cdr apache2 dga fbcon glut gtk2 imap maildir mozcalendar moznocompose
moznoirc mozsvg mozxmlterm plotutils ppds samba scanner usb -oss -apm -arts -gpm
-kde -nls -qt"
Comment 1 Paul de Vrieze (RETIRED) gentoo-dev 2003-12-13 04:59:31 UTC
It seems that you do not use a compatible jdk. The advised jdk is blackdown-1.4.x and a 1.4 jdk is required. (Sometimes sun's jdks do not work)
Comment 2 Owen Gunden 2003-12-13 08:21:14 UTC
I see -- perhaps the ebuild should actually depend on a jdk >= 1.4 then?  emerge -DUpv world doesn't bring up any jdks, even though esearch blackdown-jdk shows a new stable version available.

At any rate, I'll upgrade and confirm that that was the problem.