[ 
https://issues.apache.org/jira/browse/GRIFFIN-299?focusedWorklogId=342381&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-342381
 ]

ASF GitHub Bot logged work on GRIFFIN-299:
------------------------------------------

                Author: ASF GitHub Bot
            Created on: 13/Nov/19 03:06
            Start Date: 13/Nov/19 03:06
    Worklog Time Spent: 10m 
      Work Description: wankunde commented on issue #552: [GRIFFIN-299]Add 
oracle jdk8 support in travis build phase
URL: https://github.com/apache/griffin/pull/552#issuecomment-553210155
 
 
   After add `dist: trusty` to  `.travis.yml` file, the program `npm` can not 
be found?
   
   ```
   $ java -Xmx32m -version
   java version "1.8.0_161"
   Java(TM) SE Runtime Environment (build 1.8.0_161-b12)
   Java HotSpot(TM) 64-Bit Server VM (build 25.161-b12, mixed mode)
   $ javac -J-Xmx32m -version
   javac 1.8.0_161
   0.12s$ npm install -g bower
   The program 'npm' is currently not installed. To run 'npm' please ask your 
administrator to install the package 'npm'
   The command "npm install -g bower" failed and exited with 127 during .
   ```
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 342381)
    Time Spent: 40m  (was: 0.5h)

> Add oracle jdk8 support in travis build phase
> ---------------------------------------------
>
>                 Key: GRIFFIN-299
>                 URL: https://issues.apache.org/jira/browse/GRIFFIN-299
>             Project: Griffin
>          Issue Type: Improvement
>            Reporter: Wan Kun
>            Priority: Major
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
>  
> {code:java}
> Installing oraclejdk8164$ export JAVA_HOME=~/oraclejdk8165$ export 
> PATH="$JAVA_HOME/bin:$PATH"166$ ~/bin/install-jdk.sh --target 
> "/home/travis/oraclejdk8" --workspace "/home/travis/.cache/install-jdk" 
> --feature "8" --license "BCL"167Ignoring license option: BCL -- using 
> GPLv2+CE by default168install-jdk.sh 2019-10-16169Expected feature release 
> number in range of 9 to 14, but got: 8170The command "~/bin/install-jdk.sh 
> --target "/home/travis/oraclejdk8" --workspace 
> "/home/travis/.cache/install-jdk" --feature "8" --license "BCL"" failed and 
> exited with 3 during .171172Your build has been stopped.
> {code}
>  
>  
> As Ubuntu Xenial has become the default Travis CI build environment, we may 
> build fail. 
> The workaround is to either add {{dist: trusty}} to your .travis.yml file or 
> use {{openjdk8}}.
>  
> Help Links:  
> [https://blog.travis-ci.com/2019-04-15-xenial-default-build-environment]
> [https://travis-ci.community/t/solved-oraclejdk8-installation-failing-still-again/3428]
>  
> [Build fail link : 
> https://travis-ci.org/apache/griffin/jobs/610666439?utm_medium=notification&utm_source=github_status|https://travis-ci.org/apache/griffin/jobs/610666439?utm_medium=notification&utm_source=github_status]
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to