Uploaded image for project: 'Ranger'
  1. Ranger
  2. RANGER-1617

The Ranger build failure in windows environment

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.0.0
    • 1.0.0
    • Ranger
    • Patch

    Description

      The ranger build failure in windows environment. The error information is as following:
      Ranger Util ........................................ FAILURE [ 0.077 s]
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 01:37 min
      [INFO] Finished at: 2017-05-26T10:33:08+08:00
      [INFO] Final Memory: 65M/1726M
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.7:run (generate-version-annotation) on project ranger-util: An Ant BuildException has occured: Execute failed: java.io.IOException: Cannot run program "python2" (in directory "D:\prj\opensource\source\git\ranger\ranger-util"): CreateProcess error=2, ϵͳ▒Ҳ▒▒▒ָ▒▒▒▒▒ļ▒▒▒
      [ERROR] around Ant part ...<exec executable="python2" failonerror="true">... @ 4:49 in D:\prj\opensource\source\git\ranger\ranger-util\target\antrun\build-main.xml
      [ERROR] -> [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 :ranger-util

      The error reason is that there is no python2 program after installed the python.
      We should modify it to keep that the Ranger can be compiled successfully in the linux and window environment.

      Attachments

        Issue Links

          Activity

            People

              peng.jianhua peng.jianhua
              peng.jianhua peng.jianhua
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: