prestodb / presto

The official home of the Presto distributed SQL query engine for big data
http://prestodb.io
Apache License 2.0
16.04k stars 5.37k forks source link

Build error in presto-docs when building on Windows ('module' object has no attribute 'readlink') #7011

Closed rishirraghav closed 7 years ago

rishirraghav commented 7 years ago

Hi,

I am trying to make the build of presto.

I have tried both the way - 1) with git clone 2) zipped (master) download

below is the build log --- for approach 1) checked out with git

E:\presto-git\presto>java -version
java version "1.8.0_91"
Java(TM) SE Runtime Environment (build 1.8.0_91-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.91-b14, mixed mode)

E:\presto-git\presto>mvn -v
Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T22:11:47+05:30)
Maven home: D:\Apache_Packs\apache-maven-3.3.9\bin\..
Java version: 1.8.0_91, vendor: Oracle Corporation
Java home: D:\Java\jdk1.8.0_91\jre
Default locale: en_US, platform encoding: Cp1252
OS name: "windows 10", version: "10.0", arch: "amd64", family: "dos"

E:\presto-git\presto>python
Python 3.5.2 |Anaconda 4.2.0 (64-bit)| (default, Jul  5 2016, 11:41:13) [MSC v.1900 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>>
^C
E:\presto-git\presto>mvn clean install
[INFO] BuildTimeEventSpy is registered.
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] presto-root
[INFO] presto-spi
[INFO] presto-plugin-toolkit
[INFO] presto-client
[INFO] presto-parser
[INFO] presto-array
[INFO] presto-bytecode
[INFO] presto-tpch
[INFO] presto-main
[INFO] presto-resource-group-managers
[INFO] presto-tests
[INFO] presto-atop
[INFO] presto-jmx
[INFO] presto-record-decoder
[INFO] presto-kafka
[INFO] presto-redis
[INFO] presto-accumulo
[INFO] presto-cassandra
[INFO] presto-blackhole
[INFO] presto-orc
[INFO] presto-rcfile
[INFO] presto-benchmark
[INFO] presto-hive
[INFO] presto-hive-hadoop1
[INFO] presto-hive-hadoop2
[INFO] presto-hive-cdh4
[INFO] presto-hive-cdh5
[INFO] presto-teradata-functions
[INFO] presto-example-http
[INFO] presto-local-file
[INFO] presto-raptor
[INFO] presto-base-jdbc
[INFO] presto-mysql
[INFO] presto-postgresql
[INFO] presto-mongodb
[INFO] presto-ml
[INFO] presto-jdbc
[INFO] presto-cli
[INFO] presto-product-tests
[INFO] presto-benchmark-driver
[INFO] presto-server
[INFO] presto-server-rpm
[INFO] presto-docs
[INFO] presto-verifier
[INFO] presto-testing-server-launcher
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building presto-root 0.162-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ presto-root ---
[INFO] Deleting E:\presto-git\presto\target
[INFO]
[INFO] --- maven-checkstyle-plugin:2.17:check (default) @ presto-root ---
[INFO] Starting audit...
Audit done.
[INFO]
[INFO] --- maven-enforcer-plugin:1.2:enforce (default) @ presto-root ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.2:enforce (enforce-maven) @ presto-root ---
[INFO]
[INFO] --- maven-dependency-versions-check-plugin:2.0.4:check (default) @ presto-root ---
[INFO] Checking dependency versions
[INFO]
[INFO] --- license-maven-plugin:2.3:check (default) @ presto-root ---
[INFO] Checking licenses...
[INFO]
[INFO] --- jacoco-maven-plugin:0.7.5.201505241946:prepare-agent (default) @ presto-root ---
[INFO] Skipping JaCoCo execution because property jacoco.skip is set.
[INFO] argLine set to empty
[INFO]
[INFO] --- git-commit-id-plugin:2.1.13:revision (default) @ presto-root ---
[INFO]
[INFO] --- modernizer-maven-plugin:1.2.2:modernizer (modernizer) @ presto-root ---
[INFO]
[INFO] --- maven-dependency-plugin:2.10:analyze-only (default) @ presto-root ---
[INFO] Skipping pom project
[INFO]
[INFO] --- maven-dependency-plugin:2.10:analyze-duplicate (default) @ presto-root ---
[INFO] No duplicate dependencies found in <dependencies/> or in <dependencyManagement/>
[INFO]
[INFO] --- maven-dependency-plugin:2.10:analyze-dep-mgt (default) @ presto-root ---
[INFO] Found Resolved Dependency / DependencyManagement mismatches:
[INFO]  Ignoring Direct Dependencies.
[INFO]    None
[INFO]
[INFO] --- maven-duplicate-finder-plugin:1.0.6:check (default) @ presto-root ---
[INFO] Checking compile classpath
[INFO] Checking runtime classpath
[INFO] Checking test classpath
[INFO]
[INFO] --- jacoco-maven-plugin:0.7.5.201505241946:report (report) @ presto-root ---
[INFO] Skipping JaCoCo execution because property jacoco.skip is set.
[INFO]
[INFO] --- maven-jar-plugin:2.4:test-jar (attach-tests) @ presto-root ---
[INFO] Skipping packaging of the test-jar
[INFO]
[INFO] --- maven-source-plugin:2.2.1:jar-no-fork (attach-sources) @ presto-root ---
[INFO]
[INFO] --- maven-source-plugin:2.2.1:test-jar-no-fork (attach-sources) @ presto-root ---
[INFO]
[INFO] >>> findbugs-maven-plugin:2.5.2:check (default) > :findbugs @ presto-root >>>
[INFO]
[INFO] --- findbugs-maven-plugin:2.5.2:findbugs (findbugs) @ presto-root ---
[INFO]
[INFO] <<< findbugs-maven-plugin:2.5.2:check (default) < :findbugs @ presto-root <<<
[INFO]
[INFO] --- findbugs-maven-plugin:2.5.2:check (default) @ presto-root ---
[INFO]
[INFO] >>> maven-pmd-plugin:3.0.1:check (default) > :pmd @ presto-root >>>
[INFO]
[INFO] --- maven-pmd-plugin:3.0.1:pmd (pmd) @ presto-root ---
[INFO]
[INFO] <<< maven-pmd-plugin:3.0.1:check (default) < :pmd @ presto-root <<<
[INFO]
[INFO] --- maven-pmd-plugin:3.0.1:check (default) @ presto-root ---
[INFO]
[INFO] --- maven-install-plugin:2.4:install (default-install) @ presto-root ---
[INFO] Installing E:\presto-git\presto\pom.xml to C:\Users\Analytics\.m2\repository\com\facebook\presto\presto-root\0.162-SNAPSHOT\presto-root-0.162-SNAPSHOT.pom
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building presto-spi 0.162-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ presto-spi ---
[INFO] Deleting E:\presto-git\presto\presto-spi\target
[INFO]
[INFO] --- maven-checkstyle-plugin:2.17:check (default) @ presto-spi ---
[INFO] Starting audit...
Audit done.
[INFO]
[INFO] --- maven-enforcer-plugin:1.2:enforce (default) @ presto-spi ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.2:enforce (enforce-maven) @ presto-spi ---
[INFO]
[INFO] --- maven-dependency-versions-check-plugin:2.0.4:check (default) @ presto-spi ---
[INFO] Checking dependency versions
[INFO]
[INFO] --- license-maven-plugin:2.3:check (default) @ presto-spi ---
[INFO] Checking licenses...
[INFO]
[INFO] --- jacoco-maven-plugin:0.7.5.201505241946:prepare-agent (default) @ presto-spi ---
[INFO] Skipping JaCoCo execution because property jacoco.skip is set.
[INFO] argLine set to empty
[INFO]
[INFO] --- git-commit-id-plugin:2.1.13:revision (default) @ presto-spi ---
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ presto-spi ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-compiler-plugin:3.0:compile (default-compile) @ presto-spi ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 269 source files to E:\presto-git\presto\presto-spi\target\classes
[WARNING] /E:/Softwares/Big_Data/presto-git/presto/presto-spi/src/main/java/com/facebook/presto/spi/connector/ConnectorContext.java: E:\presto-git\presto\presto-spi\src\main\java\com\facebook\presto\spi\connector\ConnectorContext.java uses or overrides a deprecated API.
[WARNING] /E:/Softwares/Big_Data/presto-git/presto/presto-spi/src/main/java/com/facebook/presto/spi/connector/ConnectorContext.java: Recompile with -Xlint:deprecation for details.
[WARNING] /E:/Softwares/Big_Data/presto-git/presto/presto-spi/src/main/java/com/facebook/presto/spi/block/LazyBlockEncoding.java: E:\presto-git\presto\presto-spi\src\main\java\com\facebook\presto\spi\block\LazyBlockEncoding.java uses unchecked or unsafe operations.
[WARNING] /E:/Softwares/Big_Data/presto-git/presto/presto-spi/src/main/java/com/facebook/presto/spi/block/LazyBlockEncoding.java: Recompile with -Xlint:unchecked for details.
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ presto-spi ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory E:\presto-git\presto\presto-spi\src\test\resources
[INFO]
[INFO] --- maven-compiler-plugin:3.0:testCompile (default-testCompile) @ presto-spi ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 35 source files to E:\presto-git\presto\presto-spi\target\test-classes
[WARNING] /E:/Softwares/Big_Data/presto-git/presto/presto-spi/src/test/java/com/facebook/presto/spi/block/TestingBlockEncodingSerde.java: E:\presto-git\presto\presto-spi\src\test\java\com\facebook\presto\spi\block\TestingBlockEncodingSerde.java uses unchecked or unsafe operations.
[WARNING] /E:/Softwares/Big_Data/presto-git/presto/presto-spi/src/test/java/com/facebook/presto/spi/block/TestingBlockEncodingSerde.java: Recompile with -Xlint:unchecked for details.
[INFO]
[INFO] --- modernizer-maven-plugin:1.2.2:modernizer (modernizer) @ presto-spi ---
[INFO]
[INFO] --- maven-dependency-plugin:2.10:analyze-only (default) @ presto-spi ---
[INFO] No dependency problems found
[INFO]
[INFO] --- maven-dependency-plugin:2.10:analyze-duplicate (default) @ presto-spi ---
[INFO] No duplicate dependencies found in <dependencies/> or in <dependencyManagement/>
[INFO]
[INFO] --- maven-dependency-plugin:2.10:analyze-dep-mgt (default) @ presto-spi ---
[INFO] Found Resolved Dependency / DependencyManagement mismatches:
[INFO]  Ignoring Direct Dependencies.
[INFO] org.apache.commons:commons-lang3:jar was excluded in DepMgt, but version 3.4 has been found in the dependency tree.
[INFO] com.google.inject:guice:jar was excluded in DepMgt, but version 4.0 has been found in the dependency tree.
[WARNING] Potential problems found in Dependency Management
[INFO]
[INFO] --- maven-duplicate-finder-plugin:1.0.6:check (default) @ presto-spi ---
[INFO] Checking compile classpath
[INFO] Checking runtime classpath
[INFO] Checking test classpath
[INFO]
[INFO] --- maven-surefire-plugin:2.19.1:test (default-test) @ presto-spi ---

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running TestSuite
Tests run: 146, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.575 sec - in TestSuite

Results :

Tests run: 146, Failures: 0, Errors: 0, Skipped: 0

[INFO]
[INFO] --- jacoco-maven-plugin:0.7.5.201505241946:report (report) @ presto-spi ---
[INFO] Skipping JaCoCo execution because property jacoco.skip is set.
[INFO]
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ presto-spi ---
[INFO] Building jar: E:\presto-git\presto\presto-spi\target\presto-spi-0.162-SNAPSHOT.jar
[INFO]
[INFO] --- maven-jar-plugin:2.4:test-jar (attach-tests) @ presto-spi ---
[INFO] Building jar: E:\presto-git\presto\presto-spi\target\presto-spi-0.162-SNAPSHOT-tests.jar
[INFO]
[INFO] --- maven-source-plugin:2.2.1:jar-no-fork (attach-sources) @ presto-spi ---
[INFO] Building jar: E:\presto-git\presto\presto-spi\target\presto-spi-0.162-SNAPSHOT-sources.jar
[INFO]
[INFO] --- maven-source-plugin:2.2.1:test-jar-no-fork (attach-sources) @ presto-spi ---
[INFO] Building jar: E:\presto-git\presto\presto-spi\target\presto-spi-0.162-SNAPSHOT-test-sources.jar
[INFO]
[INFO] >>> findbugs-maven-plugin:2.5.2:check (default) > :findbugs @ presto-spi >>>
[INFO]
[INFO] --- findbugs-maven-plugin:2.5.2:findbugs (findbugs) @ presto-spi ---
[INFO]
[INFO] <<< findbugs-maven-plugin:2.5.2:check (default) < :findbugs @ presto-spi <<<
[INFO]
[INFO] --- findbugs-maven-plugin:2.5.2:check (default) @ presto-spi ---
[INFO]
[INFO] >>> maven-pmd-plugin:3.0.1:check (default) > :pmd @ presto-spi >>>
[INFO]
[INFO] --- maven-pmd-plugin:3.0.1:pmd (pmd) @ presto-spi ---
[INFO]
[INFO] <<< maven-pmd-plugin:3.0.1:check (default) < :pmd @ presto-spi <<<
[INFO]
[INFO] --- maven-pmd-plugin:3.0.1:check (default) @ presto-spi ---
[INFO]
[INFO] --- maven-install-plugin:2.4:install (default-install) @ presto-spi ---
[INFO] Installing E:\presto-git\presto\presto-spi\target\presto-spi-0.162-SNAPSHOT.jar to C:\Users\Analytics\.m2\repository\com\facebook\presto\presto-spi\0.162-SNAPSHOT\presto-spi-0.162-SNAPSHOT.jar
[INFO] Installing E:\presto-git\presto\presto-spi\pom.xml to C:\Users\Analytics\.m2\repository\com\facebook\presto\presto-spi\0.162-SNAPSHOT\presto-spi-0.162-SNAPSHOT.pom
[INFO] Installing E:\presto-git\presto\presto-spi\target\presto-spi-0.162-SNAPSHOT-tests.jar to C:\Users\Analytics\.m2\repository\com\facebook\presto\presto-spi\0.162-SNAPSHOT\presto-spi-0.162-SNAPSHOT-tests.jar
[INFO] Installing E:\presto-git\presto\presto-spi\target\presto-spi-0.162-SNAPSHOT-sources.jar to C:\Users\Analytics\.m2\repository\com\facebook\presto\presto-spi\0.162-SNAPSHOT\presto-spi-0.162-SNAPSHOT-sources.jar
[INFO] Installing E:\presto-git\presto\presto-spi\target\presto-spi-0.162-SNAPSHOT-test-sources.jar to C:\Users\Analytics\.m2\repository\com\facebook\presto\presto-spi\0.162-SNAPSHOT\presto-spi-0.162-SNAPSHOT-test-sources.jar
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building presto-parser 0.162-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ presto-parser ---
[INFO] Deleting E:\presto-git\presto\presto-parser\target
[INFO]
[INFO] --- maven-checkstyle-plugin:2.17:check (default) @ presto-parser ---
[INFO] Starting audit...
Audit done.
[INFO]
[INFO] --- maven-enforcer-plugin:1.2:enforce (default) @ presto-parser ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.2:enforce (enforce-maven) @ presto-parser ---
[INFO]
[INFO] --- maven-dependency-versions-check-plugin:2.0.4:check (default) @ presto-parser ---
[INFO] Checking dependency versions
[INFO]
[INFO] --- license-maven-plugin:2.3:check (default) @ presto-parser ---
[INFO] Checking licenses...
[INFO]
[INFO] --- jacoco-maven-plugin:0.7.5.201505241946:prepare-agent (default) @ presto-parser ---
[INFO] Skipping JaCoCo execution because property jacoco.skip is set.
[INFO] argLine set to empty
[INFO]
[INFO] --- git-commit-id-plugin:2.1.13:revision (default) @ presto-parser ---
[INFO]
[INFO] --- antlr4-maven-plugin:4.5.1:antlr4 (default) @ presto-parser ---
[INFO] ANTLR 4: Processing source directory E:\presto-git\presto\presto-parser\src\main\antlr4
[INFO] Processing grammar: com\facebook\presto\sql\parser\SqlBase.g4
[INFO] Processing grammar: com\facebook\presto\type\TypeCalculation.g4
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ presto-parser ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory E:\presto-git\presto\presto-parser\src\main\resources
[INFO]
[INFO] --- maven-compiler-plugin:3.0:compile (default-compile) @ presto-parser ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 169 source files to E:\presto-git\presto\presto-parser\target\classes
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ presto-parser ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 22 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.0:testCompile (default-testCompile) @ presto-parser ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 5 source files to E:\presto-git\presto\presto-parser\target\test-classes
[INFO]
[INFO] --- modernizer-maven-plugin:1.2.2:modernizer (modernizer) @ presto-parser ---
[INFO]
[INFO] --- maven-dependency-plugin:2.10:analyze-only (default) @ presto-parser ---
[INFO] No dependency problems found
[INFO]
[INFO] --- maven-dependency-plugin:2.10:analyze-duplicate (default) @ presto-parser ---
[INFO] No duplicate dependencies found in <dependencies/> or in <dependencyManagement/>
[INFO]
[INFO] --- maven-dependency-plugin:2.10:analyze-dep-mgt (default) @ presto-parser ---
[INFO] Found Resolved Dependency / DependencyManagement mismatches:
[INFO]  Ignoring Direct Dependencies.
[INFO]    None
[INFO]
[INFO] --- maven-duplicate-finder-plugin:1.0.6:check (default) @ presto-parser ---
[INFO] Checking compile classpath
[INFO] Checking runtime classpath
[INFO] Checking test classpath
[INFO]
[INFO] --- maven-surefire-plugin:2.19.1:test (default-test) @ presto-parser ---

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running TestSuite
Tests run: 129, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.531 sec - in TestSuite

Results :

Tests run: 129, Failures: 0, Errors: 0, Skipped: 0

[INFO]
[INFO] --- jacoco-maven-plugin:0.7.5.201505241946:report (report) @ presto-parser ---
[INFO] Skipping JaCoCo execution because property jacoco.skip is set.
[INFO]
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ presto-parser ---
[INFO] Building jar: E:\presto-git\presto\presto-parser\target\presto-parser-0.162-SNAPSHOT.jar
[INFO]
[INFO] --- maven-jar-plugin:2.4:test-jar (attach-tests) @ presto-parser ---
[INFO] Building jar: E:\presto-git\presto\presto-parser\target\presto-parser-0.162-SNAPSHOT-tests.jar
[INFO]
[INFO] --- maven-source-plugin:2.2.1:jar-no-fork (attach-sources) @ presto-parser ---
[INFO] Building jar: E:\presto-git\presto\presto-parser\target\presto-parser-0.162-SNAPSHOT-sources.jar
[INFO]
[INFO] --- maven-source-plugin:2.2.1:test-jar-no-fork (attach-sources) @ presto-parser ---
[INFO] Building jar: E:\presto-git\presto\presto-parser\target\presto-parser-0.162-SNAPSHOT-test-sources.jar
[INFO]
[INFO] >>> findbugs-maven-plugin:2.5.2:check (default) > :findbugs @ presto-parser >>>
[INFO]
[INFO] --- findbugs-maven-plugin:2.5.2:findbugs (findbugs) @ presto-parser ---
[INFO]
[INFO] <<< findbugs-maven-plugin:2.5.2:check (default) < :findbugs @ presto-parser <<<
[INFO]
[INFO] --- findbugs-maven-plugin:2.5.2:check (default) @ presto-parser ---
[INFO]
[INFO] >>> maven-pmd-plugin:3.0.1:check (default) > :pmd @ presto-parser >>>
[INFO]
[INFO] --- maven-pmd-plugin:3.0.1:pmd (pmd) @ presto-parser ---
[INFO]
[INFO] <<< maven-pmd-plugin:3.0.1:check (default) < :pmd @ presto-parser <<<
[INFO]
[INFO] --- maven-pmd-plugin:3.0.1:check (default) @ presto-parser ---
[INFO]
[INFO] --- maven-install-plugin:2.4:install (default-install) @ presto-parser ---
[INFO] Installing E:\presto-git\presto\presto-parser\target\presto-parser-0.162-SNAPSHOT.jar to C:\Users\Analytics\.m2\repository\com\facebook\presto\presto-parser\0.162-SNAPSHOT\presto-parser-0.162-SNAPSHOT.jar
[INFO] Installing E:\presto-git\presto\presto-parser\pom.xml to C:\Users\Analytics\.m2\repository\com\facebook\presto\presto-parser\0.162-SNAPSHOT\presto-parser-0.162-SNAPSHOT.pom
[INFO] Installing E:\presto-git\presto\presto-parser\target\presto-parser-0.162-SNAPSHOT-tests.jar to C:\Users\Analytics\.m2\repository\com\facebook\presto\presto-parser\0.162-SNAPSHOT\presto-parser-0.162-SNAPSHOT-tests.jar
[INFO] Installing E:\presto-git\presto\presto-parser\target\presto-parser-0.162-SNAPSHOT-sources.jar to C:\Users\Analytics\.m2\repository\com\facebook\presto\presto-parser\0.162-SNAPSHOT\presto-parser-0.162-SNAPSHOT-sources.jar
[INFO] Installing E:\presto-git\presto\presto-parser\target\presto-parser-0.162-SNAPSHOT-test-sources.jar to C:\Users\Analytics\.m2\repository\com\facebook\presto\presto-parser\0.162-SNAPSHOT\presto-parser-0.162-SNAPSHOT-test-sources.jar
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building presto-bytecode 0.162-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ presto-bytecode ---
[INFO] Deleting E:\presto-git\presto\presto-bytecode\target
[INFO]
[INFO] --- maven-checkstyle-plugin:2.17:check (default) @ presto-bytecode ---
[INFO] Starting audit...
Audit done.
[INFO]
[INFO] --- maven-enforcer-plugin:1.2:enforce (default) @ presto-bytecode ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.2:enforce (enforce-maven) @ presto-bytecode ---
[INFO]
[INFO] --- maven-dependency-versions-check-plugin:2.0.4:check (default) @ presto-bytecode ---
[INFO] Checking dependency versions
[INFO]
[INFO] --- license-maven-plugin:2.3:check (default) @ presto-bytecode ---
[INFO] Checking licenses...
[INFO]
[INFO] --- jacoco-maven-plugin:0.7.5.201505241946:prepare-agent (default) @ presto-bytecode ---
[INFO] Skipping JaCoCo execution because property jacoco.skip is set.
[INFO] argLine set to empty
[INFO]
[INFO] --- git-commit-id-plugin:2.1.13:revision (default) @ presto-bytecode ---
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ presto-bytecode ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory E:\presto-git\presto\presto-bytecode\src\main\resources
[INFO]
[INFO] --- maven-compiler-plugin:3.0:compile (default-compile) @ presto-bytecode ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 66 source files to E:\presto-git\presto\presto-bytecode\target\classes
[WARNING] /E:/Softwares/Big_Data/presto-git/presto/presto-bytecode/src/main/java/com/facebook/presto/bytecode/instruction/InvokeInstruction.java: E:\presto-git\presto\presto-bytecode\src\main\java\com\facebook\presto\bytecode\instruction\InvokeInstruction.java uses or overrides a deprecated API.
[WARNING] /E:/Softwares/Big_Data/presto-git/presto/presto-bytecode/src/main/java/com/facebook/presto/bytecode/instruction/InvokeInstruction.java: Recompile with -Xlint:deprecation for details.
[WARNING] /E:/Softwares/Big_Data/presto-git/presto/presto-bytecode/src/main/java/com/facebook/presto/bytecode/AnnotationDefinition.java: Some input files use unchecked or unsafe operations.
[WARNING] /E:/Softwares/Big_Data/presto-git/presto/presto-bytecode/src/main/java/com/facebook/presto/bytecode/AnnotationDefinition.java: Recompile with -Xlint:unchecked for details.
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ presto-bytecode ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory E:\presto-git\presto\presto-bytecode\src\test\resources
[INFO]
[INFO] --- maven-compiler-plugin:3.0:testCompile (default-testCompile) @ presto-bytecode ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 15 source files to E:\presto-git\presto\presto-bytecode\target\test-classes
[INFO]
[INFO] --- modernizer-maven-plugin:1.2.2:modernizer (modernizer) @ presto-bytecode ---
[INFO]
[INFO] --- maven-dependency-plugin:2.10:analyze-only (default) @ presto-bytecode ---
[INFO] No dependency problems found
[INFO]
[INFO] --- maven-dependency-plugin:2.10:analyze-duplicate (default) @ presto-bytecode ---
[INFO] No duplicate dependencies found in <dependencies/> or in <dependencyManagement/>
[INFO]
[INFO] --- maven-dependency-plugin:2.10:analyze-dep-mgt (default) @ presto-bytecode ---
[INFO] Found Resolved Dependency / DependencyManagement mismatches:
[INFO]  Ignoring Direct Dependencies.
[INFO]    None
[INFO]
[INFO] --- maven-duplicate-finder-plugin:1.0.6:check (default) @ presto-bytecode ---
[INFO] Checking compile classpath
[INFO] Checking runtime classpath
[INFO] Checking test classpath
[INFO]
[INFO] --- maven-surefire-plugin:2.19.1:test (default-test) @ presto-bytecode ---

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running TestSuite
Tests run: 41, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.683 sec - in TestSuite

Results :

Tests run: 41, Failures: 0, Errors: 0, Skipped: 0

[INFO]
[INFO] --- jacoco-maven-plugin:0.7.5.201505241946:report (report) @ presto-bytecode ---
[INFO] Skipping JaCoCo execution because property jacoco.skip is set.
[INFO]
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ presto-bytecode ---
[INFO] Building jar: E:\presto-git\presto\presto-bytecode\target\presto-bytecode-0.162-SNAPSHOT.jar
[INFO]
[INFO] --- maven-jar-plugin:2.4:test-jar (attach-tests) @ presto-bytecode ---
[INFO] Building jar: E:\presto-git\presto\presto-bytecode\target\presto-bytecode-0.162-SNAPSHOT-tests.jar
[INFO]
[INFO] --- maven-source-plugin:2.2.1:jar-no-fork (attach-sources) @ presto-bytecode ---
[INFO] Building jar: E:\presto-git\presto\presto-bytecode\target\presto-bytecode-0.162-SNAPSHOT-sources.jar
[INFO]
[INFO] --- maven-source-plugin:2.2.1:test-jar-no-fork (attach-sources) @ presto-bytecode ---
[INFO] Building jar: E:\presto-git\presto\presto-bytecode\target\presto-bytecode-0.162-SNAPSHOT-test-sources.jar
[INFO]
[INFO] >>> findbugs-maven-plugin:2.5.2:check (default) > :findbugs @ presto-bytecode >>>
[INFO]
[INFO] --- findbugs-maven-plugin:2.5.2:findbugs (findbugs) @ presto-bytecode ---
[INFO]
[INFO] <<< findbugs-maven-plugin:2.5.2:check (default) < :findbugs @ presto-bytecode <<<
[INFO]
[INFO] --- findbugs-maven-plugin:2.5.2:check (default) @ presto-bytecode ---
[INFO]
[INFO] >>> maven-pmd-plugin:3.0.1:check (default) > :pmd @ presto-bytecode >>>
[INFO]
[INFO] --- maven-pmd-plugin:3.0.1:pmd (pmd) @ presto-bytecode ---
[INFO]
[INFO] <<< maven-pmd-plugin:3.0.1:check (default) < :pmd @ presto-bytecode <<<
[INFO]
[INFO] --- maven-pmd-plugin:3.0.1:check (default) @ presto-bytecode ---
[INFO]
[INFO] --- maven-install-plugin:2.4:install (default-install) @ presto-bytecode ---
[INFO] Installing E:\presto-git\presto\presto-bytecode\target\presto-bytecode-0.162-SNAPSHOT.jar to C:\Users\Analytics\.m2\repository\com\facebook\presto\presto-bytecode\0.162-SNAPSHOT\presto-bytecode-0.162-SNAPSHOT.jar
[INFO] Installing E:\presto-git\presto\presto-bytecode\pom.xml to C:\Users\Analytics\.m2\repository\com\facebook\presto\presto-bytecode\0.162-SNAPSHOT\presto-bytecode-0.162-SNAPSHOT.pom
[INFO] Installing E:\presto-git\presto\presto-bytecode\target\presto-bytecode-0.162-SNAPSHOT-tests.jar to C:\Users\Analytics\.m2\repository\com\facebook\presto\presto-bytecode\0.162-SNAPSHOT\presto-bytecode-0.162-SNAPSHOT-tests.jar
[INFO] Installing E:\presto-git\presto\presto-bytecode\target\presto-bytecode-0.162-SNAPSHOT-sources.jar to C:\Users\Analytics\.m2\repository\com\facebook\presto\presto-bytecode\0.162-SNAPSHOT\presto-bytecode-0.162-SNAPSHOT-sources.jar
[INFO] Installing E:\presto-git\presto\presto-bytecode\target\presto-bytecode-0.162-SNAPSHOT-test-sources.jar to C:\Users\Analytics\.m2\repository\com\facebook\presto\presto-bytecode\0.162-SNAPSHOT\presto-bytecode-0.162-SNAPSHOT-test-sources.jar
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building presto-docs 0.162-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ presto-docs ---
[INFO] Deleting E:\presto-git\presto\presto-docs\target
[INFO]
[INFO] --- maven-checkstyle-plugin:2.17:check (default) @ presto-docs ---
[INFO] Starting audit...
Audit done.
[INFO]
[INFO] --- maven-enforcer-plugin:1.2:enforce (default) @ presto-docs ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.2:enforce (enforce-maven) @ presto-docs ---
[INFO]
[INFO] --- maven-dependency-versions-check-plugin:2.0.4:check (default) @ presto-docs ---
[INFO] Checking dependency versions
[INFO]
[INFO] --- license-maven-plugin:2.3:check (default) @ presto-docs ---
[INFO] Checking licenses...
[WARNING] Unknown file extension: E:\presto-git\presto\presto-docs\src\main\sphinx\security\jce-policy.fragment
[WARNING] Unknown file extension: E:\presto-git\presto\presto-docs\src\main\sphinx\security\kerberos-services.fragment
[WARNING] Unknown file extension: E:\presto-git\presto\presto-docs\src\main\sphinx\security\ktadd-note.fragment
[WARNING] Unknown file extension: E:\presto-git\presto\presto-docs\src\main\sphinx\security\kerberos-configuration.fragment
[INFO]
[INFO] --- jacoco-maven-plugin:0.7.5.201505241946:prepare-agent (default) @ presto-docs ---
[INFO] Skipping JaCoCo execution because property jacoco.skip is set.
[INFO] argLine set to empty
[INFO]
[INFO] --- git-commit-id-plugin:2.1.13:revision (default) @ presto-docs ---
[INFO]
[INFO] --- modernizer-maven-plugin:1.2.2:modernizer (modernizer) @ presto-docs ---
[INFO]
[INFO] --- maven-dependency-plugin:2.10:analyze-only (default) @ presto-docs ---
[INFO] Skipping pom project
[INFO]
[INFO] --- maven-dependency-plugin:2.10:analyze-duplicate (default) @ presto-docs ---
[INFO] No duplicate dependencies found in <dependencies/> or in <dependencyManagement/>
[INFO]
[INFO] --- maven-dependency-plugin:2.10:analyze-dep-mgt (default) @ presto-docs ---
[INFO] Found Resolved Dependency / DependencyManagement mismatches:
[INFO]  Ignoring Direct Dependencies.
[INFO]    None
[INFO]
[INFO] --- maven-duplicate-finder-plugin:1.0.6:check (default) @ presto-docs ---
[INFO] Checking compile classpath
[INFO] Checking runtime classpath
[INFO] Checking test classpath
[INFO]
[INFO] --- jacoco-maven-plugin:0.7.5.201505241946:report (report) @ presto-docs ---
[INFO] Skipping JaCoCo execution because property jacoco.skip is set.
[INFO]
[INFO] --- maven-jar-plugin:2.4:test-jar (attach-tests) @ presto-docs ---
[INFO] Skipping packaging of the test-jar
[INFO]
[INFO] --- maven-source-plugin:2.2.1:jar-no-fork (attach-sources) @ presto-docs ---
[INFO]
[INFO] --- maven-source-plugin:2.2.1:test-jar-no-fork (attach-sources) @ presto-docs ---
[INFO]
[INFO] --- sphinx-maven-plugin:2.0:generate (default) @ presto-docs ---
[INFO] Unpacking sphinx to E:\presto-git\presto\presto-docs\target\sphinx
[ERROR] Exception in thread "MainThread" javax.script.ScriptException: AttributeError: 'module' object has no attribute 'readlink' in <script> at line number 1
[ERROR]         at org.python.jsr223.PyScriptEngine.scriptException(PyScriptEngine.java:202)
[ERROR]         at org.python.jsr223.PyScriptEngine.eval(PyScriptEngine.java:42)
[ERROR]         at org.python.jsr223.PyScriptEngine.eval(PyScriptEngine.java:31)
[ERROR]         at javax.script.AbstractScriptEngine.eval(AbstractScriptEngine.java:264)
[ERROR]         at io.airlift.maven.sphinx.SphinxRunner.run(SphinxRunner.java:63)
[ERROR]         at io.airlift.maven.sphinx.SphinxRunner.main(SphinxRunner.java:25)
[ERROR] Caused by: Traceback (most recent call last):
[ERROR]   File "<script>", line 1, in <module>
[ERROR]   File "E:\presto-git\presto\presto-docs\target\sphinx\sphinx\__init__.py", line 61, in build_main
[ERROR]     from sphinx import cmdline
[ERROR]   File "E:\presto-git\presto\presto-docs\target\sphinx\sphinx\__init__.py", line 61, in build_main
[ERROR]     from sphinx import cmdline
[ERROR]   File "E:\presto-git\presto\presto-docs\target\sphinx\sphinx\cmdline.py", line 23, in <module>
[ERROR]     from sphinx.application import Sphinx
[ERROR]   File "E:\presto-git\presto\presto-docs\target\sphinx\sphinx\application.py", line 32, in <module>
[ERROR]     from sphinx.config import Config
[ERROR]   File "E:\presto-git\presto\presto-docs\target\sphinx\sphinx\config.py", line 22, in <module>
[ERROR]     from sphinx.util.i18n import format_date
[ERROR]   File "E:\presto-git\presto\presto-docs\target\sphinx\sphinx\util\i18n.py", line 20, in <module>
[ERROR]     import babel.dates
[ERROR]   File "E:\presto-git\presto\presto-docs\target\sphinx\babel\dates.py", line 29, in <module>
[ERROR]     from babel.util import UTC, LOCALTZ
[ERROR]   File "E:\presto-git\presto\presto-docs\target\sphinx\babel\util.py", line 19, in <module>
[ERROR]     from babel import localtime
[ERROR]   File "E:\presto-git\presto\presto-docs\target\sphinx\babel\localtime\__init__.py", line 74, in <module>
[ERROR]     LOCALTZ = get_localzone()
[ERROR]   File "E:\presto-git\presto\presto-docs\target\sphinx\babel\localtime\__init__.py", line 74, in <module>
[ERROR]     LOCALTZ = get_localzone()
[ERROR]   File "E:\presto-git\presto\presto-docs\target\sphinx\babel\localtime\__init__.py", line 70, in get_localzone
[ERROR]     return _get_localzone()
[ERROR]   File "E:\presto-git\presto\presto-docs\target\sphinx\babel\localtime\_unix.py", line 49, in _get_localzone
[ERROR]     link_dst = os.readlink('/etc/localtime')
[ERROR]   File "E:\presto-git\presto\presto-docs\target\sphinx\babel\localtime\_unix.py", line 49, in _get_localzone
[ERROR]     link_dst = os.readlink('/etc/localtime')
[ERROR] AttributeError: 'module' object has no attribute 'readlink'
[ERROR]
[ERROR]         at org.python.core.Py.AttributeError(Py.java:205)
[ERROR]         at org.python.core.PyObject.noAttributeError(PyObject.java:1013)
[ERROR]         at org.python.core.PyObject.__getattr__(PyObject.java:1008)
[ERROR]         at babel.localtime._unix$py._get_localzone$2(E:\presto-git\presto\presto-docs\target\sphinx\babel\localtime\_unix.py:138)
[ERROR]         at babel.localtime._unix$py.call_function(E:\presto-git\presto\presto-docs\target\sphinx\babel\localtime\_unix.py)
[ERROR]         at org.python.core.PyTableCode.call(PyTableCode.java:167)
[ERROR]         at org.python.core.PyBaseCode.call(PyBaseCode.java:307)
[ERROR]         at org.python.core.PyBaseCode.call(PyBaseCode.java:118)
[ERROR]         at org.python.core.PyFunction.__call__(PyFunction.java:403)
[ERROR]         at babel.localtime$py.get_localzone$6(E:\presto-git\presto\presto-docs\target\sphinx\babel\localtime\__init__.py:70)
[ERROR]         at babel.localtime$py.call_function(E:\presto-git\presto\presto-docs\target\sphinx\babel\localtime\__init__.py)
[ERROR]         at org.python.core.PyTableCode.call(PyTableCode.java:167)
[ERROR]         at org.python.core.PyBaseCode.call(PyBaseCode.java:124)
[ERROR]         at org.python.core.PyFunction.__call__(PyFunction.java:403)
[ERROR]         at babel.localtime$py.f$0(E:\presto-git\presto\presto-docs\target\sphinx\babel\localtime\__init__.py:76)
[ERROR]         at babel.localtime$py.call_function(E:\presto-git\presto\presto-docs\target\sphinx\babel\localtime\__init__.py)
[ERROR]         at org.python.core.PyTableCode.call(PyTableCode.java:167)
[ERROR]         at org.python.core.PyCode.call(PyCode.java:18)
[ERROR]         at org.python.core.imp.createFromCode(imp.java:436)
[ERROR]         at org.python.core.imp.createFromSource(imp.java:396)
[ERROR]         at org.python.core.imp.loadFromSource(imp.java:658)
[ERROR]         at org.python.core.imp.find_module(imp.java:543)
[ERROR]         at org.python.core.PyModule.impAttr(PyModule.java:106)
[ERROR]         at org.python.core.imp.import_next(imp.java:842)
[ERROR]         at org.python.core.imp.ensureFromList(imp.java:1024)
[ERROR]         at org.python.core.imp.ensureFromList(imp.java:992)
[ERROR]         at org.python.core.imp.import_module_level(imp.java:986)
[ERROR]         at org.python.core.imp.importName(imp.java:1062)
[ERROR]         at org.python.core.ImportFunction.__call__(__builtin__.java:1280)
[ERROR]         at org.python.core.PyObject.__call__(PyObject.java:431)
[ERROR]         at org.python.core.__builtin__.__import__(__builtin__.java:1232)
[ERROR]         at org.python.core.imp.importFromAs(imp.java:1156)
[ERROR]         at org.python.core.imp.importFrom(imp.java:1132)
[ERROR]         at babel.util$py.f$0(E:\presto-git\presto\presto-docs\target\sphinx\babel\util.py:275)
[ERROR]         at babel.util$py.call_function(E:\presto-git\presto\presto-docs\target\sphinx\babel\util.py)
[ERROR]         at org.python.core.PyTableCode.call(PyTableCode.java:167)
[ERROR]         at org.python.core.PyCode.call(PyCode.java:18)
[ERROR]         at org.python.core.imp.createFromCode(imp.java:436)
[ERROR]         at org.python.core.imp.createFromSource(imp.java:396)
[ERROR]         at org.python.core.imp.loadFromSource(imp.java:658)
[ERROR]         at org.python.core.imp.find_module(imp.java:543)
[ERROR]         at org.python.core.PyModule.impAttr(PyModule.java:106)
[ERROR]         at org.python.core.imp.import_next(imp.java:842)
[ERROR]         at org.python.core.imp.import_logic(imp.java:904)
[ERROR]         at org.python.core.imp.import_module_level(imp.java:978)
[ERROR]         at org.python.core.imp.importName(imp.java:1062)
[ERROR]         at org.python.core.ImportFunction.__call__(__builtin__.java:1280)
[ERROR]         at org.python.core.PyObject.__call__(PyObject.java:431)
[ERROR]         at org.python.core.__builtin__.__import__(__builtin__.java:1232)
[ERROR]         at org.python.core.imp.importFromAs(imp.java:1156)
[ERROR]         at org.python.core.imp.importFrom(imp.java:1132)
[ERROR]         at babel.dates$py.f$0(E:\presto-git\presto\presto-docs\target\sphinx\babel\dates.py:1687)
[ERROR]         at babel.dates$py.call_function(E:\presto-git\presto\presto-docs\target\sphinx\babel\dates.py)
[ERROR]         at org.python.core.PyTableCode.call(PyTableCode.java:167)
[ERROR]         at org.python.core.PyCode.call(PyCode.java:18)
[ERROR]         at org.python.core.imp.createFromCode(imp.java:436)
[ERROR]         at org.python.core.imp.createFromSource(imp.java:396)
[ERROR]         at org.python.core.imp.loadFromSource(imp.java:658)
[ERROR]         at org.python.core.imp.find_module(imp.java:543)
[ERROR]         at org.python.core.PyModule.impAttr(PyModule.java:106)
[ERROR]         at org.python.core.imp.import_next(imp.java:842)
[ERROR]         at org.python.core.imp.import_logic(imp.java:904)
[ERROR]         at org.python.core.imp.import_module_level(imp.java:978)
[ERROR]         at org.python.core.imp.importName(imp.java:1062)
[ERROR]         at org.python.core.ImportFunction.__call__(__builtin__.java:1280)
[ERROR]         at org.python.core.PyObject.__call__(PyObject.java:431)
[ERROR]         at org.python.core.__builtin__.__import__(__builtin__.java:1232)
[ERROR]         at org.python.core.imp.importOne(imp.java:1081)
[ERROR]         at sphinx.util.i18n$py.f$0(E:\presto-git\presto\presto-docs\target\sphinx\sphinx\util\i18n.py:240)
[ERROR]         at sphinx.util.i18n$py.call_function(E:\presto-git\presto\presto-docs\target\sphinx\sphinx\util\i18n.py)
[ERROR]         at org.python.core.PyTableCode.call(PyTableCode.java:167)
[ERROR]         at org.python.core.PyCode.call(PyCode.java:18)
[ERROR]         at org.python.core.imp.createFromCode(imp.java:436)
[ERROR]         at org.python.core.imp.createFromSource(imp.java:396)
[ERROR]         at org.python.core.imp.loadFromSource(imp.java:658)
[ERROR]         at org.python.core.imp.find_module(imp.java:543)
[ERROR]         at org.python.core.PyModule.impAttr(PyModule.java:106)
[ERROR]         at org.python.core.imp.import_next(imp.java:842)
[ERROR]         at org.python.core.imp.import_logic(imp.java:904)
[ERROR]         at org.python.core.imp.import_module_level(imp.java:978)
[ERROR]         at org.python.core.imp.importName(imp.java:1062)
[ERROR]         at org.python.core.ImportFunction.__call__(__builtin__.java:1280)
[ERROR]         at org.python.core.PyObject.__call__(PyObject.java:431)
[ERROR]         at org.python.core.__builtin__.__import__(__builtin__.java:1232)
[ERROR]         at org.python.core.imp.importFromAs(imp.java:1156)
[ERROR]         at org.python.core.imp.importFrom(imp.java:1132)
[ERROR]         at sphinx.config$py.f$0(E:\presto-git\presto\presto-docs\target\sphinx\sphinx\config.py:41)
[ERROR]         at sphinx.config$py.call_function(E:\presto-git\presto\presto-docs\target\sphinx\sphinx\config.py)
[ERROR]         at org.python.core.PyTableCode.call(PyTableCode.java:167)
[ERROR]         at org.python.core.PyCode.call(PyCode.java:18)
[ERROR]         at org.python.core.imp.createFromCode(imp.java:436)
[ERROR]         at org.python.core.imp.createFromSource(imp.java:396)
[ERROR]         at org.python.core.imp.loadFromSource(imp.java:658)
[ERROR]         at org.python.core.imp.find_module(imp.java:543)
[ERROR]         at org.python.core.PyModule.impAttr(PyModule.java:106)
[ERROR]         at org.python.core.imp.import_next(imp.java:842)
[ERROR]         at org.python.core.imp.import_logic(imp.java:904)
[ERROR]         at org.python.core.imp.import_module_level(imp.java:978)
[ERROR]         at org.python.core.imp.importName(imp.java:1062)
[ERROR]         at org.python.core.ImportFunction.__call__(__builtin__.java:1280)
[ERROR]         at org.python.core.PyObject.__call__(PyObject.java:431)
[ERROR]         at org.python.core.__builtin__.__import__(__builtin__.java:1232)
[ERROR]         at org.python.core.imp.importFromAs(imp.java:1156)
[ERROR]         at org.python.core.imp.importFrom(imp.java:1132)
[ERROR]         at sphinx.application$py.f$0(E:\presto-git\presto\presto-docs\target\sphinx\sphinx\application.py:812)
[ERROR]         at sphinx.application$py.call_function(E:\presto-git\presto\presto-docs\target\sphinx\sphinx\application.py)
[ERROR]         at org.python.core.PyTableCode.call(PyTableCode.java:167)
[ERROR]         at org.python.core.PyCode.call(PyCode.java:18)
[ERROR]         at org.python.core.imp.createFromCode(imp.java:436)
[ERROR]         at org.python.core.imp.createFromSource(imp.java:396)
[ERROR]         at org.python.core.imp.loadFromSource(imp.java:658)
[ERROR]         at org.python.core.imp.find_module(imp.java:543)
[ERROR]         at org.python.core.PyModule.impAttr(PyModule.java:106)
[ERROR]         at org.python.core.imp.import_next(imp.java:842)
[ERROR]         at org.python.core.imp.import_logic(imp.java:904)
[ERROR]         at org.python.core.imp.import_module_level(imp.java:978)
[ERROR]         at org.python.core.imp.importName(imp.java:1062)
[ERROR]         at org.python.core.ImportFunction.__call__(__builtin__.java:1280)
[ERROR]         at org.python.core.PyObject.__call__(PyObject.java:431)
[ERROR]         at org.python.core.__builtin__.__import__(__builtin__.java:1232)
[ERROR]         at org.python.core.imp.importFromAs(imp.java:1156)
[ERROR]         at org.python.core.imp.importFrom(imp.java:1132)
[ERROR]         at sphinx.cmdline$py.f$0(E:\presto-git\presto\presto-docs\target\sphinx\sphinx\cmdline.py:58)
[ERROR]         at sphinx.cmdline$py.call_function(E:\presto-git\presto\presto-docs\target\sphinx\sphinx\cmdline.py)
[ERROR]         at org.python.core.PyTableCode.call(PyTableCode.java:167)
[ERROR]         at org.python.core.PyCode.call(PyCode.java:18)
[ERROR]         at org.python.core.imp.createFromCode(imp.java:436)
[ERROR]         at org.python.core.imp.createFromSource(imp.java:396)
[ERROR]         at org.python.core.imp.loadFromSource(imp.java:658)
[ERROR]         at org.python.core.imp.find_module(imp.java:543)
[ERROR]         at org.python.core.PyModule.impAttr(PyModule.java:106)
[ERROR]         at org.python.core.imp.import_next(imp.java:842)
[ERROR]         at org.python.core.imp.ensureFromList(imp.java:1024)
[ERROR]         at org.python.core.imp.ensureFromList(imp.java:992)
[ERROR]         at org.python.core.imp.import_module_level(imp.java:986)
[ERROR]         at org.python.core.imp.importName(imp.java:1062)
[ERROR]         at org.python.core.ImportFunction.__call__(__builtin__.java:1280)
[ERROR]         at org.python.core.PyObject.__call__(PyObject.java:431)
[ERROR]         at org.python.core.__builtin__.__import__(__builtin__.java:1232)
[ERROR]         at org.python.core.imp.importFromAs(imp.java:1156)
[ERROR]         at org.python.core.imp.importFrom(imp.java:1132)
[ERROR]         at sphinx$py.build_main$2(E:\presto-git\presto\presto-docs\target\sphinx\sphinx\__init__.py:92)
[ERROR]         at sphinx$py.call_function(E:\presto-git\presto\presto-docs\target\sphinx\sphinx\__init__.py)
[ERROR]         at org.python.core.PyTableCode.call(PyTableCode.java:167)
[ERROR]         at org.python.core.PyBaseCode.call(PyBaseCode.java:138)
[ERROR]         at org.python.core.PyFunction.__call__(PyFunction.java:413)
[ERROR]         at org.python.pycode._pyx4.f$0(<script>:1)
[ERROR]         at org.python.pycode._pyx4.call_function(<script>)
[ERROR]         at org.python.core.PyTableCode.call(PyTableCode.java:167)
[ERROR]         at org.python.core.PyCode.call(PyCode.java:18)
[ERROR]         at org.python.core.Py.runCode(Py.java:1386)
[ERROR]         at org.python.core.__builtin__.eval(__builtin__.java:497)
[ERROR]         at org.python.core.__builtin__.eval(__builtin__.java:501)
[ERROR]         at org.python.util.PythonInterpreter.eval(PythonInterpreter.java:259)
[ERROR]         at org.python.jsr223.PyScriptEngine.eval(PyScriptEngine.java:40)
[ERROR]         ... 4 more
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Skipping presto-plugin-toolkit
[INFO] This project has been banned from the build due to previous failures.
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Skipping presto-client
[INFO] This project has been banned from the build due to previous failures.
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Skipping presto-array
[INFO] This project has been banned from the build due to previous failures.
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Skipping presto-tpch
[INFO] This project has been banned from the build due to previous failures.
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Skipping presto-record-decoder
[INFO] This project has been banned from the build due to previous failures.
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] presto-root ........................................ SUCCESS [  8.501 s]
[INFO] presto-spi ......................................... SUCCESS [ 24.673 s]
[INFO] presto-plugin-toolkit .............................. SKIPPED
[INFO] presto-client ...................................... SKIPPED
[INFO] presto-parser ...................................... SUCCESS [ 18.534 s]
[INFO] presto-array ....................................... SKIPPED
[INFO] presto-bytecode .................................... SUCCESS [  7.741 s]
[INFO] presto-tpch ........................................ SKIPPED
[INFO] presto-main ........................................ SKIPPED
[INFO] presto-resource-group-managers ..................... SKIPPED
[INFO] presto-tests ....................................... SKIPPED
[INFO] presto-atop ........................................ SKIPPED
[INFO] presto-jmx ......................................... SKIPPED
[INFO] presto-record-decoder .............................. SKIPPED
[INFO] presto-kafka ....................................... SKIPPED
[INFO] presto-redis ....................................... SKIPPED
[INFO] presto-accumulo .................................... SKIPPED
[INFO] presto-cassandra ................................... SKIPPED
[INFO] presto-blackhole ................................... SKIPPED
[INFO] presto-orc ......................................... SKIPPED
[INFO] presto-rcfile ...................................... SKIPPED
[INFO] presto-benchmark ................................... SKIPPED
[INFO] presto-hive ........................................ SKIPPED
[INFO] presto-hive-hadoop1 ................................ SKIPPED
[INFO] presto-hive-hadoop2 ................................ SKIPPED
[INFO] presto-hive-cdh4 ................................... SKIPPED
[INFO] presto-hive-cdh5 ................................... SKIPPED
[INFO] presto-teradata-functions .......................... SKIPPED
[INFO] presto-example-http ................................ SKIPPED
[INFO] presto-local-file .................................. SKIPPED
[INFO] presto-raptor ...................................... SKIPPED
[INFO] presto-base-jdbc ................................... SKIPPED
[INFO] presto-mysql ....................................... SKIPPED
[INFO] presto-postgresql .................................. SKIPPED
[INFO] presto-mongodb ..................................... SKIPPED
[INFO] presto-ml .......................................... SKIPPED
[INFO] presto-jdbc ........................................ SKIPPED
[INFO] presto-cli ......................................... SKIPPED
[INFO] presto-product-tests ............................... SKIPPED
[INFO] presto-benchmark-driver ............................ SKIPPED
[INFO] presto-server ...................................... SKIPPED
[INFO] presto-server-rpm .................................. SKIPPED
[INFO] presto-docs ........................................ FAILURE [ 44.757 s]
[INFO] presto-verifier .................................... SKIPPED
[INFO] presto-testing-server-launcher ..................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:47 min
[INFO] Finished at: 2017-01-06T20:09:00+05:30
[INFO] Final Memory: 128M/979M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal io.airlift.maven.plugins:sphinx-maven-plugin:2.0:generate (default) on project presto-docs: Failed to run the report: Sphinx report generation failed -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :presto-docs

E:\presto-git\presto>
ArturGajowy commented 7 years ago

Hi!

A couple of hints:

  1. Always use the mvn wrapper, so instead of mvn [options] type ./mvnw [options]
  2. You're building on windows, which I'm not sure is supported by this project. Try building on linux (native or in a VM, like virtualbox)
  3. If building on linux is not an option, you might be able to work around the build issue by excluding presto-docs module from the build (that is, if you're not going to work on documentation). This can be done by running mvn with -pl !presto-docs, e.g.
    ./mvnw install -pl !presto-docs`

Hope this helps!

electrum commented 7 years ago

Presto is only supported on Linux x86-64 or Mac. There are lots of things that won't work on Windows.