[Bugzilla] [Bug 13813] New: Fails to build with batik>=1.8

bugzilla.admin at scilab.org bugzilla.admin at scilab.org
Tue Apr 7 10:15:29 CEST 2015


http://bugzilla.scilab.org/show_bug.cgi?id=13813
--------- Bug Summary -----------
Fails to build with batik>=1.8

---------- Changed by ------------
eolianoe at gmail.com

---------- What changed ----------
bug_id, short_desc, product, version, rep_platform, op_sys, bug_status, bug_severity, priority, component, assigned_to, reporter


            Bug ID: 13813
           Summary: Fails to build with batik>=1.8
           Product: Scilab software
           Version: 5.5.2 final version
          Hardware: PC
                OS: All OS
            Status: NEW
          Severity: Minor
          Priority: P5
         Component: Compile
          Assignee: bugzilla.admin at scilab.org
          Reporter: eolianoe at gmail.com

BUG DESCRIPTION:
----------------

Scilab fails to build against batik>=1.8. After applying the patch from http://bugzilla.scilab.org/show_bug.cgi?id=13724 (as batik>=1.8 is shipped
with xml-commons-2.0), the build fails on those errors:

ERROR LOG:
----------
    [javac] /dir/scilab-5.5.2/modules/graph/src/java/org/scilab/modules/graph/utils/ScilabGraphUtils.java:31: error: cannot find symbol
    [javac] import org.apache.batik.dom.svg.SAXSVGDocumentFactory;
    [javac]                                ^
    [javac]   symbol:   class SAXSVGDocumentFactory
    [javac]   location: package org.apache.batik.dom.svg
    [javac] /dir/scilab-5.5.2/modules/graph/src/java/org/scilab/modules/graph/utils/ScilabGraphUtils.java:97: error: cannot find symbol
    [javac]                 SAXSVGDocumentFactory df = new SAXSVGDocumentFactory(xmlParser);
    [javac]                 ^
    [javac]   symbol:   class SAXSVGDocumentFactory
    [javac]   location: class ScilabGraphUtils
    [javac] /dir/scilab-5.5.2/modules/graph/src/java/org/scilab/modules/graph/utils/ScilabGraphUtils.java:97: error: cannot find symbol
    [javac]                 SAXSVGDocumentFactory df = new SAXSVGDocumentFactory(xmlParser);
    [javac]                                                ^
    [javac]   symbol:   class SAXSVGDocumentFactory
    [javac]   location: class ScilabGraphUtils
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 3 errors

BUILD FAILED
/dir/scilab-5.5.2/modules/prebuildjava/build.xml:56: The following error occurred while executing this line:
/dir/scilab-5.5.2/build.incl.xml:107: Compile failed; see the compiler error output for details.

HOW TO REPRODUCE THE BUG:
-------------------------

Apply the patch from http://bugzilla.scilab.org/show_bug.cgi?id=13724 and compile scilab with batik>=1.8 from https://xmlgraphics.apache.org/batik/.
If the patch is not applied the build fails on the same error as the other bug.

OTHER INFORMATION:
------------------
Everything goes fine with batik-1.7

-- 
You are receiving this mail because:
You are watching all bug changes.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/bugzilla/attachments/20150407/63dd9f4f/attachment.htm>


More information about the Bugzilla mailing list