[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Help needed to port beast2-mcmc to Java 9

Control: tags -1 help


I have pushed the latest upstream version including the proposed fix of
the Build-Depends to default-jdk to Git[1].  Unfortunately when trying
to build the package I get lots of errors, starting with:

    [javac] /build/beast2-mcmc-2.4.8+dfsg/src/beast/util/XMLParserUtils.java:25: warning: CoreDocumentImpl is internal proprietary API and may be removed in a future release
    [javac] import com.sun.org.apache.xerces.internal.dom.CoreDocumentImpl;
    [javac]                                              ^
    [javac] /build/beast2-mcmc-2.4.8+dfsg/src/beast/util/treeparser/NewickParser.java:4: error: package org.antlr.v4.runtime.dfa does not exist
    [javac] import org.antlr.v4.runtime.dfa.DFA;
    [javac]                                ^
    [javac] /build/beast2-mcmc-2.4.8+dfsg/src/beast/util/TreeParser.java:38: error: package org.antlr.v4.runtime.misc does not exist
    [javac] import org.antlr.v4.runtime.misc.NotNull;
    [javac]                                 ^
    [javac] /build/beast2-mcmc-2.4.8+dfsg/src/beast/util/TreeParser.java:39: error: package org.antlr.v4.runtime.tree does not exist
    [javac] import org.antlr.v4.runtime.tree.ParseTree;
    [javac]                                 ^
    [javac] /build/beast2-mcmc-2.4.8+dfsg/src/beast/util/treeparser/NewickParser.java:13: error: cannot find symbol
    [javac] public class NewickParser extends Parser {
    [javac]                                   ^
    [javac]   symbol: class Parser
    [javac] /build/beast2-mcmc-2.4.8+dfsg/src/beast/util/treeparser/NewickParser.java:16: error: cannot find symbol
    [javac] <-->protected static final DFA[] _decisionToDFA;
    [javac] <-->                       ^
    [javac]   symbol:   class DFA
    [javac]   location: class NewickParser
    [javac] /build/beast2-mcmc-2.4.8+dfsg/src/beast/util/treeparser/NewickParser.java:17: error: cannot find symbol
    [javac] <-->protected static final PredictionContextCache _sharedContextCache =
    [javac] <-->                       ^
    [javac]   symbol:   class PredictionContextCache
    [javac]   location: class NewickParser
    [javac] /build/beast2-mcmc-2.4.8+dfsg/src/beast/util/treeparser/NewickParser.java:42: error: cannot find symbol
    [javac] <-->public static final Vocabulary VOCABULARY = new VocabularyImpl(_LITERAL_NAMES, _SYMBOLIC_NAMES);
    [javac] <-->                    ^
    [javac]   symbol:   class Vocabulary
    [javac]   location: class NewickParser

I admit I do not have the slightest idea what to do next. :-(

Any help would be appreciated


[1] https://salsa.debian.org/med-team/beast2-mcmc


Reply to: