[
https://issues.apache.org/jira/browse/CALCITE-553?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15145847#comment-15145847
]
Julian Hyde commented on CALCITE-553:
-------------------------------------
{{mvn clean && mvn -DskipTests -Pit install}}
gives
{noformat}
...
[INFO] ------------------------------------------------------------------------
[INFO] Building Calcite Core 1.7.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-checkstyle-plugin:2.12.1:check (validate) @ calcite-core ---
[INFO] Starting audit...
Audit done.
[INFO]
[INFO] --- javacc-maven-plugin:2.4:javacc (javacc) @ calcite-core ---
[INFO] Skipping non-existing source directory:
/home/jhyde/open1/calcite.1/core/target/generated-sources/fmpp
[INFO]
[INFO] --- hydromatic-resource-maven-plugin:0.5.1:generate-sources (default) @
calcite-core ---
[INFO] Creating
/home/jhyde/open1/calcite.1/core/target/generated-sources/resgen/org/apache/calcite/runtime/Resources.java
[INFO]
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ calcite-core
---
[INFO]
[INFO] --- maven-remote-resources-plugin:1.5:process (root-resources) @
calcite-core ---
[INFO] Skipping remote-resource generation in this project because it's not the
Execution Root
[INFO]
[INFO] --- maven-remote-resources-plugin:1.5:process (non-root-resources) @
calcite-core ---
[INFO]
[INFO] --- build-helper-maven-plugin:1.9:add-resource (add-resource) @
calcite-core ---
[INFO]
[INFO] --- build-helper-maven-plugin:1.9:add-test-resource (add-resource) @
calcite-core ---
[INFO]
[INFO] --- maven-resources-plugin:2.7:resources (default-resources) @
calcite-core ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO] Copying 4 resources to codegen
[INFO] Copying 3 resources
[INFO] Copying 3 resources
[INFO] Copying 2 resources to META-INF
[INFO] Copying 1 resource to META-INF
[INFO]
[INFO] --- maven-compiler-plugin:3.2:compile (default-compile) @ calcite-core
---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 974 source files to
/home/jhyde/open1/calcite.1/core/target/classes
[INFO]
/home/jhyde/open1/calcite.1/core/src/main/java/org/apache/calcite/sql/SqlOperator.java:
Some input files use or override a deprecated API.
[INFO]
/home/jhyde/open1/calcite.1/core/src/main/java/org/apache/calcite/sql/SqlOperator.java:
Recompile with -Xlint:deprecation for details.
[INFO]
/home/jhyde/open1/calcite.1/core/src/main/java/org/apache/calcite/sql/SqlLiteral.java:
Some input files use unchecked or unsafe operations.
[INFO]
/home/jhyde/open1/calcite.1/core/src/main/java/org/apache/calcite/sql/SqlLiteral.java:
Recompile with -Xlint:unchecked for details.
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR]
/home/jhyde/open1/calcite.1/core/src/main/java/org/apache/calcite/sql/parser/SqlParser.java:[24,42]
cannot find symbol
symbol: class SqlParserImpl
location: package org.apache.calcite.sql.parser.impl
[ERROR]
/home/jhyde/open1/calcite.1/core/src/main/java/org/apache/calcite/sql/parser/SqlParser.java:[207,50]
cannot find symbol
symbol: variable SqlParserImpl
location: class org.apache.calcite.sql.parser.SqlParser.ConfigBuilder
[INFO] 2 errors
{noformat}
> "mvn clean install" fails due to missing SqlParserImpl
> ------------------------------------------------------
>
> Key: CALCITE-553
> URL: https://issues.apache.org/jira/browse/CALCITE-553
> Project: Calcite
> Issue Type: Bug
> Reporter: Julian Hyde
> Assignee: Josh Elser
> Fix For: next
>
>
> Every second time I call {mvn -DskipTests clean install} it fails with
> {code}[ERROR] COMPILATION ERROR :
> [INFO] -------------------------------------------------------------
> [ERROR]
> /home/jhyde/open1/calcite.2/core/src/main/java/org/apache/calcite/sql/parser/SqlParser.java:[24,42]
> cannot find symbol
> symbol: class SqlParserImpl
> location: package org.apache.calcite.sql.parser.impl
> [ERROR]
> /home/jhyde/open1/calcite.2/core/src/main/java/org/apache/calcite/sql/parser/SqlParser.java:[201,50]
> cannot find symbol
> symbol: variable SqlParserImpl
> location: class org.apache.calcite.sql.parser.SqlParser.ConfigBuilder
> [INFO] 2 errors{code}
> I think CALCITE-484 broke something; maybe the parser is not generated
> correctly if at the start of the mvn command (before clean) the parser
> already exists.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)