[Biojava-dev] CVS is buggered...

David Huen david.huen at ntlworld.com
Tue Oct 14 17:20:41 EDT 2003


Dear Matthew,
I can't compile CVS after doing an update - I end up with errors.

>From the looks of it, your sablecc is failing.

Regards,
David H

Here's the log:-

Buildfile: build.xml

init:
     [echo] JUnit present:                   true
     [echo] JUnit supported by Ant:          true
     [echo] SableCC supported by Ant:        true

prepare:

prepare-biojava:

prepare-grammars:
    [mkdir] Created dir: 
/home/davidh/biocvs/biojava-live/ant-build/src/grammars
    [mkdir] Created dir: 
/home/davidh/biocvs/biojava-live/ant-build/src/grammars_java
    [mkdir] Created dir: 
/home/davidh/biocvs/biojava-live/ant-build/classes/grammars
    [mkdir] Created dir: 
/home/davidh/biocvs/biojava-live/ant-build/docs/grammars
     [copy] Copying 1 file to 
/home/davidh/biocvs/biojava-live/ant-build/src/grammars
     [copy] Copying 1 file to 
/home/davidh/biocvs/biojava-live/ant-build/src/grammars

compile-grammars:
Compiling with SableCC 1 source grammar files to 
/home/davidh/biocvs/biojava-live/ant-build/src/grammars_java

  [sablecc]  -- Generating parser for ontology.grammar in 
/home/davidh/biocvs/biojava-live/ant-build/src/grammars_java
  [sablecc] Adding productions and alternative of section AST.
  [sablecc] Verifying identifiers.
  [sablecc] Adding productions and alternative transformation if necessary.
  [sablecc] Verifying ast identifiers.
  [sablecc] computing alternative symbol table identifiers.
  [sablecc] Verifying production transform identifiers.
  [sablecc] Verifying ast alternatives transform identifiers.
  [sablecc] Generating token classes.
  [sablecc] Generating production classes.
  [sablecc] Generating alternative classes.
  [sablecc] Generating analysis classes.
  [sablecc] Generating utility classes.
  [sablecc] Generating the lexer.
  [sablecc]  State: INITIAL
  [sablecc]  - Constructing NFA.
  [sablecc] 
.................................................................................
  [sablecc]  - Constructing DFA.
  [sablecc] 
.................................................................................................................................................
  [sablecc] ......................................................
  [sablecc]  - resolving ACCEPT states.
  [sablecc] Generating the parser.
  [sablecc] ......................................................
  [sablecc] ......................................................
  [sablecc] ......................................................
  [sablecc] ..
  [sablecc] ..........

  [sablecc] reduce/reduce conflict in state [stack: PNamespaceDecl TVariable 
*] on TComment in {
  [sablecc]     [ PPredicate = TVariable * ] followed by TComment (reduce),
  [sablecc]     [ PValue = TVariable * ] followed by TComment (reduce)
  [sablecc] }
SableCC failed.


reduce/reduce conflict in state [stack: PNamespaceDecl TVariable *] on 
TComment in {
        [ PPredicate = TVariable * ] followed by TComment (reduce),
        [ PValue = TVariable * ] followed by TComment (reduce)
}
    [javac] Compiling 70 source files to 
/home/davidh/biocvs/biojava-live/ant-build/classes/grammars
     [copy] Copying 71 files to 
/home/davidh/biocvs/biojava-live/ant-build/classes/grammars
     [copy] Copied 1 empty directory to 
/home/davidh/biocvs/biojava-live/ant-build/classes/grammars

package-grammars:
      [jar] Building jar: 
/home/davidh/biocvs/biojava-live/ant-build/grammars.jar

compile-biojava:
    [javac] Compiling 1099 source files to 
/home/davidh/biocvs/biojava-live/ant-build/classes/biojava
    [javac] 
/home/davidh/biocvs/biojava-live/ant-build/src/biojava/org/biojava/ontology/io/TriplesParser.java:11: 
package org.biojava.ontology.format.triples.parser does not exist
    [javac] import org.biojava.ontology.format.triples.parser.Parser;
    [javac]                                                   ^
    [javac] 
/home/davidh/biocvs/biojava-live/ant-build/src/biojava/org/biojava/ontology/io/TriplesParser.java:12: 
package org.biojava.ontology.format.triples.parser does not exist
    [javac] import 
org.biojava.ontology.format.triples.parser.ParserException;
    [javac]                                                   ^
    [javac] 
/home/davidh/biocvs/biojava-live/ant-build/src/biojava/org/biojava/ontology/io/TriplesParser.java:29: 
cannot resolve symbol
    [javac] symbol  : class ParserException
    [javac] location: class org.biojava.ontology.io.TriplesParser
    [javac]   throws IOException, LexerException, ParserException  {
    [javac]                                       ^
    [javac] 
/home/davidh/biocvs/biojava-live/ant-build/src/biojava/org/biojava/ontology/io/TriplesParser.java:31: 
cannot resolve symbol
    [javac] symbol  : class Parser
    [javac] location: class org.biojava.ontology.io.TriplesParser
    [javac]     Parser parser = new Parser(lexer);
    [javac]     ^
    [javac] 
/home/davidh/biocvs/biojava-live/ant-build/src/biojava/org/biojava/ontology/io/TriplesParser.java:31: 
cannot resolve symbol
    [javac] symbol  : class Parser
    [javac] location: class org.biojava.ontology.io.TriplesParser
    [javac]     Parser parser = new Parser(lexer);
    [javac]                         ^
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -deprecation for details.
    [javac] 5 errors

BUILD FAILED
file:/home/davidh/biocvs/biojava-live/build.xml:431: Compile failed; see the 
compiler error output for details.



More information about the biojava-dev mailing list