incubator-cloudstack-users-cn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From michaellee163 <michaellee...@163.com>
Subject 4.0-nonoss.patch 出现错误,请问什么原因,如何解决,谢谢
Date Fri, 21 Dec 2012 10:40:56 GMT
各位好!

  4.0-nonoss.patch 出现错误,请问什么原因,如何解决,谢谢。
  下面是我的做法和日志。

第一步获取源码
  git clone https://git-wip-us.apache.org/repos/asf/incubator-cloudstack.git 
第二步:mvn -P deps 
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Apache CloudStack ................................. SUCCESS [1.356s]
[INFO] Apache CloudStack Utils ........................... SUCCESS [5.883s]
[INFO] Apache CloudStack API ............................. SUCCESS [1.926s]
[INFO] Apache CloudStack Core ............................ SUCCESS [0.788s]
[INFO] Apache CloudStack Agents .......................... SUCCESS [0.694s]
[INFO] Apache CloudStack SystemVM Patches ................ SUCCESS [0.559s]
[INFO] Apache CloudStack Console Proxy ................... SUCCESS [3.345s]
[INFO] Apache CloudStack Server .......................... SUCCESS [17.438s]
[INFO] Apache CloudStack Usage Server .................... SUCCESS [1.622s]
[INFO] Apache XenSource XAPI ............................. SUCCESS [1.891s]
[INFO] Apache CloudStack Plugin POM ...................... SUCCESS [0.215s]
[INFO] Apache CloudStack Plugin - User Concentrated Pod Deployment Planner  SUCCESS [0.461s]
[INFO] Apache CloudStack Plugin - User Dispersing Deployment Planner  SUCCESS [0.426s]
[INFO] Apache CloudStack Plugin - Host Allocator Random .. SUCCESS [0.355s]
[INFO] Apache CloudStack Plugin - Hypervisor OracleVM .... SUCCESS [0.423s]
[INFO] Apache CloudStack Plugin - Open vSwitch ........... SUCCESS [0.348s]
[INFO] Apache CloudStack Plugin - Hypervisor Xen ......... SUCCESS [0.454s]
[INFO] Apache CloudStack Plugin - Hypervisor KVM ......... SUCCESS [2.869s]
[INFO] Apache CloudStack Plugin - Network Elastic Load Balancer  SUCCESS [0.511s]
[INFO] Apache CloudStack Plugin - Network Nicira NVP ..... SUCCESS [2.340s]
[INFO] Apache CloudStack Plugin - Storage Allocator Random  SUCCESS [0.336s]
[INFO] Apache CloudStack Plugin - User Authenticator LDAP  SUCCESS [0.447s]
[INFO] Apache CloudStack Plugin - User Authenticator MD5 . SUCCESS [0.275s]
[INFO] Apache CloudStack Plugin - User Authenticator Plain Text  SUCCESS [0.378s]
[INFO] Apache CloudStack Plugin - User Authenticator SHA256 Salted  SUCCESS [0.690s]
[INFO] CloudStack Dns Notifier Example ................... SUCCESS [0.295s]
[INFO] Apache CloudStack AWS API Bridge .................. SUCCESS [29.903s]
[INFO] Apache CloudStack Client UI ....................... SUCCESS [8.862s]
[INFO] Apache CloudStack Test ............................ SUCCESS [1.545s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1:27.168s
[INFO] Finished at: Fri Dec 21 18:29:59 CST 2012
[INFO] Final Memory: 35M/284M
[INFO] ------------------------------------------------------------------------
[WARNING] The requested profile "deps" could not be activated because it does not exist.

其中deps下只有  install-non-oss.sh  和 XenServerJava文件夹
第三步:
Make sure you've the following nonoss jars from respective vendors in deps/:

     deps/cloud-iControl.jar
     deps/cloud-manageontap.jar
     deps/cloud-netscaler-sdx.jar
     deps/cloud-netscaler.jar
     deps/vmware-apputils.jar
     deps/vmware-vim.jar
     deps/vmware-vim25.jar
第四步:  
git am https://cwiki.apache.org/CLOUDSTACK/building.data/4.0-nonoss.patch
  出现如下错误:
/usr/libexec/git-core/git-am: line 157: https://cwiki.apache.org/CLOUDSTACK/building.data/4.0-nonoss.patch:
No such file or directory
第五步:
wget  https://cwiki.apache.org/CLOUDSTACK/building.data/4.0-nonoss.patch
git am 4.0-nonoss.patch

出现如下错误:
Applying: BUILD: Make CloudStack buildable with nonoss libs
error: patch failed: client/pom.xml:104
error: client/pom.xml: patch does not apply
error: patch failed: client/tomcatconf/components.xml.in:171
error: client/tomcatconf/components.xml.in: patch does not apply
error: patch failed: console-proxy/pom.xml:50
error: console-proxy/pom.xml: patch does not apply
error: deps/pom.xml: does not exist in index
error: patch failed: patches/pom.xml:50
error: patches/pom.xml: patch does not apply
error: patch failed: pom.xml:155
error: pom.xml: patch does not apply
Patch failed at 0001 BUILD: Make CloudStack buildable with nonoss libs
When you have resolved this problem run "git am --resolved".
If you would prefer to skip this patch, instead run "git am --skip".
To restore the original branch and stop patching run "git am --abort".






michaellee163
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message