Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 23756 - emerge xalan fails
Summary: emerge xalan fails
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-06-30 07:09 UTC by Narada Sage
Modified: 2003-08-14 23:40 UTC (History)
1 user (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 Narada Sage 2003-06-30 07:09:42 UTC
$ emerge xalan
Calculating dependencies ...done!
>>> emerge (1 of 1) dev-java/xalan-2.4.1-r2 to /
>>> md5 src_uri ;-) xalan-j_2_4_1-src.tar.gz
>>> Unpacking source...
>>> Unpacking xalan-j_2_4_1-src.tar.gz to /var/tmp/portage/xalan-2.4.1-r2/work
>>> Source unpacked.
Buildfile: build.xml

prepare:
     [echo] Project:Xalan-Java version:2_4_1 build.xml $Revision: 1.180 $
    [mkdir] Created dir: /var/tmp/portage/xalan-2.4.1-r2/work/xalan-j_2_4_1/build
    [mkdir] Created dir:
/var/tmp/portage/xalan-2.4.1-r2/work/xalan-j_2_4_1/build/classes

compile:
     [echo] compile entire source tree and copy .properties and .res files to
build tree.
    [javac] Compiling 437 source files to
/var/tmp/portage/xalan-2.4.1-r2/work/xalan-j_2_4_1/build/classes
    [javac]
/var/tmp/portage/xalan-2.4.1-r2/work/xalan-j_2_4_1/src/org/apache/xml/dtm/ref/DTMManagerDefault.java:394:
cannot resolve symbol
    [javac] symbol  : class IncrementalSAXSource_Xerces 
    [javac] location: package ref
    [javac]              
coParser=org.apache.xml.dtm.ref.IncrementalSAXSource_Xerces.createIncrementalSAXSource();
    [javac]                                              ^
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -deprecation for details.
    [javac] 1 error

BUILD FAILED
file:/var/tmp/portage/xalan-2.4.1-r2/work/xalan-j_2_4_1/build.xml:243: Compile
failed; see the compiler error output for details.

Total time: 12 seconds

!!! ERROR: dev-java/xalan-2.4.1-r2 failed.
!!! Function src_compile, Line 19, Exitcode 1
!!! build failed

$ emerge info
Portage 2.0.48-r1 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r4)
=================================================================
System uname: 2.4.21 i686 AMD Athlon(tm) processor
GENTOO_MIRRORS="http://212.219.56.131/sites/www.ibiblio.org/gentoo/
http://194.83.57.2/sites/www.ibiblio.org/gentoo/
http://194.83.57.3/sites/www.ibiblio.org/gentoo/
http://212.219.56.162/sites/www.ibiblio.org/gentoo/"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config
/usr/kde/2/share/config /usr/kde/3/share/config /opt/tomcat/conf"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY=""
USE="x86 3dnow crypt cups gif jpeg mmx ncurses oggvorbis pdflib png spell
truetype xml2 zlib berkdb slang readline java tcpd pam libwww ssl perl python
ldap acpi apache2 curl gd gd-external imap junit kerberos krb4 maildir md5sum
mysql nas nptl samba tetex tiff xml -oss -apm -arts -avi -encode -gdbm -gpm -gtk
-imlib -kde -gnome -libg++ -mikmod -motif -mpeg -nls -opengl -qt -quicktime -sdl
-svga -X -xmms -xv"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=athlon-tbird -O3 -pipe"
CXXFLAGS="-march=athlon-tbird -O3 -pipe"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j8"
AUTOCLEAN="yes"
SYNC="rsync://rsync.uk.gentoo.org/gentoo-portage"
FEATURES="sandbox distcc ccache"
Comment 1 Narada Sage 2003-08-06 14:56:33 UTC
Bug 23756 (this one) and bug 22748 are reporting the same package failing.  Also, I've just emerged xalan and I get the following problem.  Any suggestions?

$ emerge xalan 
Calculating dependencies ...done!
>>> emerge (1 of 1) dev-java/xalan-2.5.1 to /
>>> md5 src_uri ;-) xalan-j_2_5_1-src.tar.gz
>>> Unpacking source...
>>> Unpacking xalan-j_2_5_1-src.tar.gz to /var/tmp/portage/xalan-2.5.1/work
>>> Source unpacked.
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/tools/ant/Main

!!! ERROR: dev-java/xalan-2.5.1 failed.
!!! Function src_compile, Line 21, Exitcode 1
!!! build failed

$ emerge info
Portage 2.0.48-r7 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1)
=================================================================
System uname: 2.4.21 i686 Intel(R) Pentium(R) III Mobile CPU      1200MHz
GENTOO_MIRRORS="http://ftp.gentoo.skynet.be/pub/gentoo/ http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://gentoo.linux.no/ http://trumpetti.atm.tut.fi/gentoo/ http://sunsite.cnlab-switch.ch/ftp/mirror/gentoo/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://darkstar.ist.utl.pt/gentoo/ http://ftp.caliu.info/pub/gentoo/ http://gentoo.inode.at/"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY=""
USE="x86 oss 3dnow avi crypt encode foomaticdb gif jpeg mad mmx mpeg ncurses pdflib png quicktime truetype xml2 xmms xv zlib directfb berkdb slang readline aalib bonobo svga java mysql X sdl gpm tcpd pam libwww ssl perl python imlib oggvorbis gtk motif opengl cdr acpi acpi4linux apache2 dvd faad fax fbcon imap kerberos maildir md5sum nptl offensive pcmcia php pnp sse tiff usb xml -apm -arts -cups -kde -libg++ -mikmod -nls -qt -spell -gtkhtml -gdbm -tcltk -guile -esd -gnome -mozilla"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=pentium3 -O3 -pipe"
CXXFLAGS="-march=pentium3 -O3 -pipe"
ACCEPT_KEYWORDS="x86 ~x86"
MAKEOPTS="-j3"
AUTOCLEAN="yes"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache buildpkg"
Comment 2 Mark Ethan Trostler 2003-08-07 15:20:08 UTC
I too get the exact same problem trying to emerge this package.
Comment 3 Narada Sage 2003-08-14 05:46:07 UTC
Strangely, after upgrading to sun-jdk-1.4.2 and setting it as system VM using java-config
xalan emerges perfectly.  So, I no longer have a problem with xalan.  I'm using xalan 2.5.1.  This bug can now be closed for my part.
Comment 4 Adrian Almenar 2003-08-14 23:40:30 UTC
I have tested this ebuild, and its working. 
Maybe its needed to force the jdk to >=1.4.