allomov
1/17/2017 - 6:30 PM

env

allomov:~/photon-controller [master] → cd controller/api/
allomov:~/photon-controller/controller/api [master] → ../gradlew clean build
:buildSrc:compileJava UP-TO-DATE
:buildSrc:compileGroovy UP-TO-DATE
:buildSrc:processResources UP-TO-DATE
:buildSrc:classes UP-TO-DATE
:buildSrc:jar UP-TO-DATE
:buildSrc:assemble UP-TO-DATE
:buildSrc:compileTestJava UP-TO-DATE
:buildSrc:compileTestGroovy UP-TO-DATE
:buildSrc:processTestResources UP-TO-DATE
:buildSrc:testClasses UP-TO-DATE
:buildSrc:test UP-TO-DATE
:buildSrc:check UP-TO-DATE
:buildSrc:build UP-TO-DATE
:api:clean
:api:api-backend:clean UP-TO-DATE
:api:client:clean UP-TO-DATE
:api:frontend:clean UP-TO-DATE
:api:model:clean UP-TO-DATE
:api:checkJavaVersion
:api:createPom
:api:compileJava UP-TO-DATE
:api:processResources UP-TO-DATE
:api:classes UP-TO-DATE
:api:jar
:api:assemble
:api:checkstyleMain UP-TO-DATE
:api:compileTestJava UP-TO-DATE
:api:processTestResources UP-TO-DATE
:api:testClasses UP-TO-DATE
:api:checkstyleTest UP-TO-DATE
:api:findbugsMain UP-TO-DATE
:api:findbugsTest UP-TO-DATE
:api:test UP-TO-DATE
:api:check UP-TO-DATE
:api:build
:cloud-store:checkJavaVersion
:cloud-store:createPom
:common:checkJavaVersion
:common:createPom
:common:downloadThriftJar
--2017-01-17 10:26:06--  https://s3.amazonaws.com/photon-platform/artifacts/thrift/non-blocking-ssl/libthrift-0.9.3-ssl.jar
Resolving s3.amazonaws.com... 54.231.49.11
Connecting to s3.amazonaws.com|54.231.49.11|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 255279 (249K) [application/x-java-archive]
Saving to: 'libthrift-0.9.3-ssl.jar'

     0K .......... .......... .......... .......... .......... 20%  160K 1s
    50K .......... .......... .......... .......... .......... 40%  256K 1s
   100K .......... .......... .......... .......... .......... 60% 36.8M 0s
   150K .......... .......... .......... .......... .......... 80%  261K 0s
   200K .......... .......... .......... .......... ......... 100%  267K=0.9s

2017-01-17 10:26:07 (282 KB/s) - 'libthrift-0.9.3-ssl.jar' saved [255279/255279]

:common:resolveThrift
:common:generateThrift FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':common:generateThrift'.
> [FAILURE:generation:1] Error: unknown option java:hashcode



* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 10.961 secs
→ java -version
java version "1.8.0_102"
Java(TM) SE Runtime Environment (build 1.8.0_102-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.102-b14, mixed mode)
→ thrift -version
Thrift version 0.10.0
 → mvn -v
Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T08:41:47-08:00)
Maven home: /usr/local/Cellar/maven/3.3.9/libexec
Java version: 1.8.0_102, vendor: Oracle Corporation
Java home: /Library/Java/JavaVirtualMachines/jdk1.8.0_102.jdk/Contents/Home/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "mac os x", version: "10.12.2", arch: "x86_64", family: "mac"