Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 17765 - Xerces 2.3.0 ebuild fails
Summary: Xerces 2.3.0 ebuild fails
Status: VERIFIED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Dylan Carlson (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-18 13:25 UTC by Dead Schorsch
Modified: 2005-08-30 03:33 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 Dead Schorsch 2003-03-18 13:25:09 UTC
Xerces 2.3.0 (java) ebuild fails with the following messages:

   [xjavac] /var/tmp/portage/xerces-2.3.0/work/xerces-2_3_0/build/src/org/apache
/html/dom/HTMLIFrameElementImpl.java:70: org.apache.html.dom.HTMLIFrameElementIm
pl should be declared abstract; it does not define getContentDocument() in org.a
pache.html.dom.HTMLIFrameElementImpl
   [xjavac] public class HTMLIFrameElementImpl
   [xjavac]        ^
   [xjavac] /var/tmp/portage/xerces-2.3.0/work/xerces-2_3_0/build/src/org/apache
/html/dom/HTMLFrameElementImpl.java:70: org.apache.html.dom.HTMLFrameElementImpl
 should be declared abstract; it does not define getContentDocument() in org.apa
che.html.dom.HTMLFrameElementImpl
   [xjavac] public class HTMLFrameElementImpl
   [xjavac]        ^
   [xjavac] /var/tmp/portage/xerces-2.3.0/work/xerces-2_3_0/build/src/org/apache
/html/dom/HTMLObjectElementImpl.java:70: org.apache.html.dom.HTMLObjectElementIm
pl should be declared abstract; it does not define getContentDocument() in org.a
pache.html.dom.HTMLObjectElementImpl
   [xjavac] public class HTMLObjectElementImpl
   [xjavac]        ^
   [xjavac] Note: Some input files use or override a deprecated API.
   [xjavac] Note: Recompile with -deprecation for details.
   [xjavac] 3 errors
 
BUILD FAILED
file:/var/tmp/portage/xerces-2.3.0/work/xerces-2_3_0/build.xml:233: Compile fail
ed; see the compiler error output for details.
 
Total time: 8 seconds
 
!!! ERROR: dev-java/xerces-2.3.0 failed.
!!! Function src_compile, Line 23, Exitcode 1
!!! (no error message)

Reproducible: Always
Steps to Reproduce:
1. emerge -u xerces
2.
3.
Actual Results:  
Nothing

Expected Results:  
Complete build.

This is the head of the (ant) build output:

Xerces-Java Build System
------------------------
Building with classpath "/opt/blackdown-jdk-1.4.1/lib/tools.jar:/opt/blackdown-j
dk-1.4.1/lib/classes.zip:./tools/ant.jar:./tools/xercesImpl.jar:./tools/xml-apis
.jar:./tools/bin/xjavac.jar"
Starting Ant...



emerge info:
Portage 2.0.47-r10 (default-x86-1.4, gcc-3.2.2, glibc-2.2.5-r2,2.3.2-r0)
=================================================================
System uname: 2.4.20 i686 AMD Athlon(tm) XP 2200+
GENTOO_MIRRORS="rsync://linux.rz.ruhr-uni-bochum.de/gentoo/
http://gentoo.oregonstate.edu/
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /opt/jakarta/tomcat/conf
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/config"
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 avi crypt cups encode jpeg libg++ mikmod mmx mpeg ncurses nls
pdflib png spell truetype xml2 xmms xv zlib gdbm slang readline svga tcltk java
X sdl gpm tcpd pam libwww ssl perl python esd imlib oggvorbis gnome gtk opengl
scanner acpi alsa -apm -arts -berkdb bonobo cdr dvd evo -gif gphoto2 gtk2
gtkhtml guile jikes -kde ldap -motif mozilla -oss postgres -qt -qtmt -quicktime
samba tetex tiff usb"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-mcpu=athlon-xp -O3 -pipe"
CXXFLAGS="-mcpu=athlon-xp -O3 -pipe"
ACCEPT_KEYWORDS="x86 ~x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"
Comment 1 Danny L. Morgan 2003-03-24 12:42:08 UTC
I ran into the same error, however it only happens when I have blackdown-jdk-1.4.1 seelcted.  If I use sun-jdk-1.4.1.01 it compiles fine.
Comment 2 Ivan Smirnov 2003-05-05 01:57:18 UTC
I have same error with combination of xerces-j and blackdown-jdk-1.4.1
Comment 3 Voicu Liviu 2003-05-26 01:45:27 UTC
Hello ,
can you please see bug number 20712?
I have posted there 3 patches which are correcting the java code in order to get it working with blackdown jdk :-)

Regards
Comment 4 Dylan Carlson (RETIRED) gentoo-dev 2003-05-26 05:37:03 UTC
At first, I wasn't comfortable with the idea of patching Xerces because of a Blackdown compile program.  However I have reviewed Voicu Liviu's patchset and have tested Xerces across Blackdown, and the things that depend on Xerces at runtime (including my own applications) ... and all appears to be sane.  

My thanks to Voicu for submitting this fix.  

xerces-2.3.0-r1 is in the tree. Cheers
Comment 5 Dead Schorsch 2005-08-30 03:33:23 UTC
Closing.