Bug 17765 - Xerces 2.3.0 ebuild fails
|
Bug#:
17765
|
Product: Gentoo Linux
|
Version: unspecified
|
Platform: x86
|
|
OS/Version: Linux
|
Status: CLOSED
|
Severity: normal
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: absinthe@gentoo.org
|
Reported By: spamlover@dahlen.org
|
|
Component: Development
|
|
|
URL:
|
|
Summary: Xerces 2.3.0 ebuild fails
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2003-03-18 13:25 0000
|
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"
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.
I have same error with combination of xerces-j and blackdown-jdk-1.4.1
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
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