Source: sitemesh Version: 2.4.1+dfsg-5 Severity: serious
I have updated jflex to the latest upstream release and sitemesh is the only package now that fails to build from source due to this change. I haven't found a way to address this issue yet. I saw that sitemesh is an old package, very low popcon and without any reverse-dependencies. Before I continue I would like to know if we want to keep it and if the answer is yes whether we should package a newer upstream release. Sitemesh 3 has been released in 2014, so this might be worth looking into. The error message: jflex: [echo] Generating HTML lexer using JFlex [mkdir] Created dir: /build/sitemesh-2.4.1+dfsg/build/java [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8 [java] Reading "src/java/com/opensymphony/module/sitemesh/html/tokenizer/lexer.flex" [java] [java] Error in file "src/java/com/opensymphony/module/sitemesh/html/tokenizer/lexer.flex" (line 25): [java] Unknown %-option [java] %switch [java] ^ [java] 1 error, 0 warnings. [java] Java Result: 1 [mkdir] Created dir: /build/sitemesh-2.4.1+dfsg/build/classes [javac] /build/sitemesh-2.4.1+dfsg/build.xml:47: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds [javac] Compiling 115 source files to /build/sitemesh-2.4.1+dfsg/build/classes [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.3 [javac] warning: [options] source value 1.3 is obsolete and will be removed in a future release [javac] warning: [options] target value 1.3 is obsolete and will be removed in a future release [javac] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options. [javac] /build/sitemesh-2.4.1+dfsg/src/java/com/opensymphony/module/sitemesh/html/tokenizer/Parser.java:22: error: cannot find symbol [javac] public class Parser extends Lexer { [javac] ^ [javac] symbol: class Lexer [javac] /build/sitemesh-2.4.1+dfsg/src/java/com/opensymphony/module/sitemesh/velocity/VelocityDecoratorServlet.java:17: warning: [deprecation] VelocityViewServlet in org.apache.velocity.tools.view.servlet has been deprecated [javac] import org.apache.velocity.tools.view.servlet.VelocityViewServlet; [javac] ^ [javac] /build/sitemesh-2.4.1+dfsg/src/java/com/opensymphony/module/sitemesh/factory/DefaultFactory.java:146: warning: [deprecation] toURL() in File has been deprecated [javac] is = configFile.toURL().openStream(); [javac] ^ [javac] /build/sitemesh-2.4.1+dfsg/src/java/com/opensymphony/module/sitemesh/factory/DefaultFactory.java:184: warning: [deprecation] toURL() in File has been deprecated [javac] is = excludesFile.toURL().openStream(); [javac] ^ [javac] /build/sitemesh-2.4.1+dfsg/src/java/com/opensymphony/module/sitemesh/filter/DebugResponseWrapper.java:55: warning: [deprecation] encodeRedirectUrl(String) in HttpServletResponseWrapper has been deprecated [javac] public String encodeRedirectUrl(String url) { [javac] ^ [javac] /build/sitemesh-2.4.1+dfsg/src/java/com/opensymphony/module/sitemesh/filter/DebugResponseWrapper.java:56: warning: [deprecation] encodeRedirectUrl(String) in HttpServletResponseWrapper has been deprecated [javac] return super.encodeRedirectUrl(url); [javac] ^ [javac] /build/sitemesh-2.4.1+dfsg/src/java/com/opensymphony/module/sitemesh/filter/DebugResponseWrapper.java:98: warning: [deprecation] setStatus(int,String) in HttpServletResponseWrapper has been deprecated [javac] public void setStatus(int sc, String msg) { [javac] ^ [javac] /build/sitemesh-2.4.1+dfsg/src/java/com/opensymphony/module/sitemesh/filter/DebugResponseWrapper.java:100: warning: [deprecation] setStatus(int,String) in HttpServletResponseWrapper has been deprecated [javac] super.setStatus(sc, msg); [javac] ^ [javac] /build/sitemesh-2.4.1+dfsg/src/java/com/opensymphony/module/sitemesh/html/tokenizer/Parser.java:60: error: cannot find symbol [javac] return yytext(); [javac] ^ [javac] symbol: method yytext() [javac] location: class Parser [javac] /build/sitemesh-2.4.1+dfsg/src/java/com/opensymphony/module/sitemesh/html/tokenizer/Parser.java:70: error: cannot find symbol [javac] next = yylex(); [javac] ^ [javac] symbol: method yylex() [javac] location: class Parser [javac] /build/sitemesh-2.4.1+dfsg/src/java/com/opensymphony/module/sitemesh/html/tokenizer/Parser.java:84: error: cannot find symbol [javac] reportError("Cannot pushback more than once", line(), column()); [javac] ^ [javac] symbol: method line() [javac] location: class Parser [javac] /build/sitemesh-2.4.1+dfsg/src/java/com/opensymphony/module/sitemesh/html/tokenizer/Parser.java:84: error: cannot find symbol [javac] reportError("Cannot pushback more than once", line(), column()); [javac] ^ [javac] symbol: method column() [javac] location: class Parser [javac] /build/sitemesh-2.4.1+dfsg/src/java/com/opensymphony/module/sitemesh/html/tokenizer/Parser.java:88: error: cannot find symbol [javac] pushbackText = yytext(); [javac] ^ [javac] symbol: method yytext() [javac] location: class Parser [javac] /build/sitemesh-2.4.1+dfsg/src/java/com/opensymphony/module/sitemesh/html/tokenizer/Parser.java:99: error: cannot find symbol [javac] token = yylex(); [javac] ^ [javac] symbol: method yylex() [javac] location: class Parser [javac] /build/sitemesh-2.4.1+dfsg/src/java/com/opensymphony/module/sitemesh/html/tokenizer/Parser.java:109: error: cannot find symbol [javac] parsedText(position(), length()); [javac] ^ [javac] symbol: method position() [javac] location: class Parser [javac] /build/sitemesh-2.4.1+dfsg/src/java/com/opensymphony/module/sitemesh/html/tokenizer/Parser.java:109: error: cannot find symbol [javac] parsedText(position(), length()); [javac] ^ [javac] symbol: method length() [javac] location: class Parser [javac] /build/sitemesh-2.4.1+dfsg/src/java/com/opensymphony/module/sitemesh/html/tokenizer/Parser.java:120: error: cannot find symbol [javac] reportError("Unexpected token from lexer, was expecting TEXT or LT", line(), column()); [javac] ^ [javac] symbol: method line() [javac] location: class Parser [javac] /build/sitemesh-2.4.1+dfsg/src/java/com/opensymphony/module/sitemesh/html/tokenizer/Parser.java:120: error: cannot find symbol [javac] reportError("Unexpected token from lexer, was expecting TEXT or LT", line(), column()); [javac] ^ [javac] symbol: method column() [javac] location: class Parser [javac] /build/sitemesh-2.4.1+dfsg/src/java/com/opensymphony/module/sitemesh/html/tokenizer/Parser.java:131: error: cannot find symbol [javac] int start = position(); [javac] ^ [javac] symbol: method position() [javac] location: class Parser [javac] /build/sitemesh-2.4.1+dfsg/src/java/com/opensymphony/module/sitemesh/html/tokenizer/Parser.java:135: error: cannot find symbol [javac] token = yylex(); [javac] ^ [javac] symbol: method yylex() [javac] location: class Parser [javac] /build/sitemesh-2.4.1+dfsg/src/java/com/opensymphony/module/sitemesh/html/tokenizer/Parser.java:145: error: cannot find symbol [javac] token = yylex(); [javac] ^ [javac] symbol: method yylex() [javac] location: class Parser [javac] /build/sitemesh-2.4.1+dfsg/src/java/com/opensymphony/module/sitemesh/html/tokenizer/Parser.java:158: error: cannot find symbol [javac] resetLexerState(); [javac] ^ [javac] symbol: method resetLexerState() [javac] location: class Parser [javac] /build/sitemesh-2.4.1+dfsg/src/java/com/opensymphony/module/sitemesh/html/tokenizer/Parser.java:159: error: cannot find symbol [javac] pushBack(yylex()); // take and replace the next token, so the position is correct [javac] ^ [javac] symbol: method yylex() [javac] location: class Parser [javac] /build/sitemesh-2.4.1+dfsg/src/java/com/opensymphony/module/sitemesh/html/tokenizer/Parser.java:160: error: cannot find symbol [javac] parsedText(start, position() - start); [javac] ^ [javac] symbol: method position() [javac] location: class Parser [javac] /build/sitemesh-2.4.1+dfsg/src/java/com/opensymphony/module/sitemesh/html/tokenizer/Parser.java:165: error: cannot find symbol [javac] parsedText(start, position() - start); // eof [javac] ^ [javac] symbol: method position() [javac] location: class Parser [javac] /build/sitemesh-2.4.1+dfsg/src/java/com/opensymphony/module/sitemesh/html/tokenizer/Parser.java:167: error: cannot find symbol [javac] reportError("Could not recognise tag", line(), column()); [javac] ^ [javac] symbol: method line() [javac] location: class Parser [javac] /build/sitemesh-2.4.1+dfsg/src/java/com/opensymphony/module/sitemesh/html/tokenizer/Parser.java:167: error: cannot find symbol [javac] reportError("Could not recognise tag", line(), column()); [javac] ^ [javac] symbol: method column() [javac] location: class Parser [javac] /build/sitemesh-2.4.1+dfsg/src/java/com/opensymphony/module/sitemesh/html/tokenizer/Parser.java:176: error: cannot find symbol [javac] token = yylex(); [javac] ^ [javac] symbol: method yylex() [javac] location: class Parser [javac] /build/sitemesh-2.4.1+dfsg/src/java/com/opensymphony/module/sitemesh/html/tokenizer/Parser.java:188: error: cannot find symbol [javac] parsedText(start, position() - start); // eof [javac] ^ [javac] symbol: method position() [javac] location: class Parser [javac] /build/sitemesh-2.4.1+dfsg/src/java/com/opensymphony/module/sitemesh/html/tokenizer/Parser.java:191: error: cannot find symbol [javac] reportError("Illegal tag", line(), column()); [javac] ^ [javac] symbol: method line() [javac] location: class Parser [javac] /build/sitemesh-2.4.1+dfsg/src/java/com/opensymphony/module/sitemesh/html/tokenizer/Parser.java:191: error: cannot find symbol [javac] reportError("Illegal tag", line(), column()); [javac] ^ [javac] symbol: method column() [javac] location: class Parser [javac] /build/sitemesh-2.4.1+dfsg/src/java/com/opensymphony/module/sitemesh/html/tokenizer/Parser.java:197: error: cannot find symbol [javac] token = yylex(); [javac] ^ [javac] symbol: method yylex() [javac] location: class Parser [javac] /build/sitemesh-2.4.1+dfsg/src/java/com/opensymphony/module/sitemesh/html/tokenizer/Parser.java:206: error: cannot find symbol [javac] token = yylex(); [javac] ^ [javac] symbol: method yylex() [javac] location: class Parser [javac] /build/sitemesh-2.4.1+dfsg/src/java/com/opensymphony/module/sitemesh/html/tokenizer/Parser.java:215: error: cannot find symbol [javac] parsedTag(type, name, start, position() - start + 1); [javac] ^ [javac] symbol: method position() [javac] location: class Parser [javac] /build/sitemesh-2.4.1+dfsg/src/java/com/opensymphony/module/sitemesh/html/tokenizer/Parser.java:217: error: cannot find symbol [javac] parsedText(start, position() - start); // eof [javac] ^ [javac] symbol: method position() [javac] location: class Parser [javac] /build/sitemesh-2.4.1+dfsg/src/java/com/opensymphony/module/sitemesh/html/tokenizer/Parser.java:219: error: cannot find symbol [javac] reportError("Expected end of tag", line(), column()); [javac] ^ [javac] symbol: method line() [javac] location: class Parser [javac] /build/sitemesh-2.4.1+dfsg/src/java/com/opensymphony/module/sitemesh/html/tokenizer/Parser.java:219: error: cannot find symbol [javac] reportError("Expected end of tag", line(), column()); [javac] ^ [javac] symbol: method column() [javac] location: class Parser [javac] /build/sitemesh-2.4.1+dfsg/src/java/com/opensymphony/module/sitemesh/html/tokenizer/Parser.java:220: error: cannot find symbol [javac] parsedTag(type, name, start, position() - start + 1); [javac] ^ [javac] symbol: method position() [javac] location: class Parser [javac] /build/sitemesh-2.4.1+dfsg/src/java/com/opensymphony/module/sitemesh/html/tokenizer/Parser.java:227: error: cannot find symbol [javac] token = yylex(); [javac] ^ [javac] symbol: method yylex() [javac] location: class Parser [javac] /build/sitemesh-2.4.1+dfsg/src/java/com/opensymphony/module/sitemesh/html/tokenizer/Parser.java:236: error: cannot find symbol [javac] token = yylex(); [javac] ^ [javac] symbol: method yylex() [javac] location: class Parser [javac] /build/sitemesh-2.4.1+dfsg/src/java/com/opensymphony/module/sitemesh/html/tokenizer/Parser.java:245: error: cannot find symbol [javac] token = yylex(); [javac] ^ [javac] symbol: method yylex() [javac] location: class Parser [javac] /build/sitemesh-2.4.1+dfsg/src/java/com/opensymphony/module/sitemesh/html/tokenizer/Parser.java:260: error: cannot find symbol [javac] next = yylex(); [javac] ^ [javac] symbol: method yylex() [javac] location: class Parser [javac] /build/sitemesh-2.4.1+dfsg/src/java/com/opensymphony/module/sitemesh/html/tokenizer/Parser.java:279: error: cannot find symbol [javac] reportError("Illegal attribute value", line(), column()); [javac] ^ [javac] symbol: method line() [javac] location: class Parser [javac] /build/sitemesh-2.4.1+dfsg/src/java/com/opensymphony/module/sitemesh/html/tokenizer/Parser.java:279: error: cannot find symbol [javac] reportError("Illegal attribute value", line(), column()); [javac] ^ [javac] symbol: method column() [javac] location: class Parser [javac] /build/sitemesh-2.4.1+dfsg/src/java/com/opensymphony/module/sitemesh/html/tokenizer/Parser.java:288: error: cannot find symbol [javac] reportError("Illegal attribute name", line(), column()); [javac] ^ [javac] symbol: method line() [javac] location: class Parser [javac] /build/sitemesh-2.4.1+dfsg/src/java/com/opensymphony/module/sitemesh/html/tokenizer/Parser.java:288: error: cannot find symbol [javac] reportError("Illegal attribute name", line(), column()); [javac] ^ [javac] symbol: method column() [javac] location: class Parser [javac] /build/sitemesh-2.4.1+dfsg/src/java/com/opensymphony/module/sitemesh/parser/AbstractPage.java:153: warning: [deprecation] getRequest() in Page has been deprecated [javac] public HttpServletRequest getRequest() { [javac] ^ [javac] /build/sitemesh-2.4.1+dfsg/src/java/com/opensymphony/module/sitemesh/velocity/VelocityDecoratorServlet.java:30: warning: [deprecation] VelocityViewServlet in org.apache.velocity.tools.view.servlet has been deprecated [javac] public class VelocityDecoratorServlet extends VelocityViewServlet { [javac] ^ [javac] /build/sitemesh-2.4.1+dfsg/src/java/com/opensymphony/sitemesh/compatability/Content2HTMLPage.java:151: warning: [deprecation] getRequest() in Page has been deprecated [javac] public HttpServletRequest getRequest() { [javac] ^ [javac] 39 errors [javac] 14 warnings
signature.asc
Description: OpenPGP digital signature