Bug#304524: libxerces2-java: FTBFS: Semantic Errors

Roland Stigge Roland Stigge <stigge@antcom.de>, 304524@bugs.debian.org
Wed Apr 13 19:59:14 2005


Package: libxerces2-java
Version: 2.6.2-1
Severity: serious

Hi,

building the package libxerces2-java in a clean sid build environment
(with pbuilder) on i386 results in:

=========================================================================
[...]
prepare-common:
    [mkdir] Created dir: /tmp/buildd/libxerces2-java-2.6.2/build/src
    [mkdir] Created dir: /tmp/buildd/libxerces2-java-2.6.2/build/classes
    [mkdir] Created dir: /tmp/buildd/libxerces2-java-2.6.2/build/classes/META-INF
    [mkdir] Created dir: /tmp/buildd/libxerces2-java-2.6.2/build/classes/META-INF/services
     [copy] Copying 1 file to /tmp/buildd/libxerces2-java-2.6.2/build/classes/META-INF/services
     [copy] Copying 1 file to /tmp/buildd/libxerces2-java-2.6.2/build/classes/META-INF/services
     [copy] Copying 1 file to /tmp/buildd/libxerces2-java-2.6.2/build/classes/META-INF/services

prepare-src:
     [copy] Copying 1 file to /tmp/buildd/libxerces2-java-2.6.2/build/classes/META-INF/services
     [copy] Copying 631 files to /tmp/buildd/libxerces2-java-2.6.2/build/src

compile:
     [copy] Copying 10 files to /tmp/buildd/libxerces2-java-2.6.2/build/classes
   [xjavac] Compiling 614 source files to /tmp/buildd/libxerces2-java-2.6.2/build/classes

   [xjavac] Found 13 semantic errors and issued 5 warnings compiling "/tmp/buildd/libxerces2-java-2.6.2/build/src/org/apache/xerces/dom/NodeImpl.java":

   [xjavac]                               <-------
   [xjavac]    118. public abstract class NodeImpl
   [xjavac]    119.     implements Node, NodeList, EventTarget, Cloneable, Serializable{
   [xjavac]         ------------------------------------------------------------------>
   [xjavac] *** Semantic Error: The return type of method "org.apache.xerces.dom3.TypeInfo getSchemaTypeInfo();" does not match the return type of the accessible method "org.w3c.dom.TypeInfo getSchemaTypeInfo();" declared in type "org.w3c.dom.Element".

[...]
   [xjavac] *** Semantic Error: Type "SchemaDOM" was not found.


   [xjavac]     76.     public TextImpl(StringBuffer str, SchemaDOM sDOM, int row, int col) {
   [xjavac]                                               ^-------^
   [xjavac] *** Semantic Error: Type "SchemaDOM" was not found.

   [xjavac] Issued 1 semantic warning compiling "/tmp/buildd/libxerces2-java-2.6.2/build/src/org/apache/xerces/impl/dv/xs/FullDVFactory.java":

   [xjavac]     75.     static final String URI_SCHEMAFORSCHEMA = "http://www.w3.org/2001/XMLSchema";
   [xjavac]                                 ^-----------------^
   [xjavac] *** Semantic Warning: Field "URI_SCHEMAFORSCHEMA" shadows a field of the same name in "org.apache.xerces.impl.dv.xs.BaseDVFactory".

   [xjavac] Found 1 semantic error compiling "/tmp/buildd/libxerces2-java-2.6.2/build/src/org/apache/xerces/jaxp/DocumentBuilderImpl.java":

   [xjavac]    193.         return new org.apache.xerces.dom.DocumentImpl();
   [xjavac]                            ^--------------------------------^
   [xjavac] *** Semantic Error: Type "DocumentImpl" was not found.

   [xjavac] Issued 1 semantic warning compiling "/tmp/buildd/libxerces2-java-2.6.2/build/src/org/apache/xerces/xinclude/XIncludeHandler.java":

   [xjavac]   1419.         String baseURI = fCurrentBaseURI.getExpandedSystemId();
   [xjavac]                        ^-----^
   [xjavac] *** Semantic Warning: Local "baseURI" shadows a field of the same name in "org.apache.xerces.xinclude.XIncludeHandler".

BUILD FAILED
/tmp/buildd/libxerces2-java-2.6.2/build.xml:238: Compile failed; see the compiler error output for details.

Total time: 33 seconds
make: *** [debian/stamp-ant-build] Error 1
=========================================================================

Thanks for considering.


--
DARTS - Debian Archive Regression Test Suite
http://darts.alioth.debian.org/

Please note that this report has not been generated fully automatically.
DARTS just helped finding the problem.