You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Trevor McKay (JIRA)" <ji...@apache.org> on 2013/04/03 23:05:15 UTC

[jira] [Commented] (AMBARI-1721) ambari build on 1.2 branch has python2.6 dependency

    [ https://issues.apache.org/jira/browse/AMBARI-1721?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13621320#comment-13621320 ] 

Trevor McKay commented on AMBARI-1721:
--------------------------------------

See also https://issues.apache.org/jira/browse/AMBARI-1779

                
> ambari build on 1.2 branch has python2.6 dependency
> ---------------------------------------------------
>
>                 Key: AMBARI-1721
>                 URL: https://issues.apache.org/jira/browse/AMBARI-1721
>             Project: Ambari
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 1.2.0
>         Environment: fedora 18, java 1.6, python 2.7, mvn 3.0.4
>            Reporter: Jeff Vance
>            Priority: Minor
>
> mvn -X -B -e clean install package rpm:rpm -DskipTests -Pcentos5 -Dpython.ver="python26"   fails with error:
> ...
> [INFO] Ambari Server ..................................... SUCCESS [1:26.033s]
> [INFO] Ambari Agent ...................................... FAILURE [0.570s]
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 1:35.791s
> [INFO] Finished at: Tue Mar 26 18:04:00 PDT 2013
> [INFO] Final Memory: 51M/529M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2:exec (python-package) on project ambari-agent: Command execution failed. Cannot run program "python2.6" (in directory "/home/jvance/Development/ambari/ambari-agent/target/ambari-agent-1.2.2-SNAPSHOT"): error=2, No such file or directory -> [Help 1]
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2:exec (python-package) on project ambari-agent: Command execution failed.
> ...
> Caused by: java.io.IOException: Cannot run program "python2.6" (in directory "/home/jvance/Development/ambari/ambari-agent/target/ambari-agent-1.2.2-SNAPSHOT"): error=2, No such file or directory
> ...
> Workaround: in /bin: ln -s python2.7 python2.6

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira