You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users-cn@cloudstack.apache.org by zhaotao_cn <zh...@qq.com> on 2013/05/06 10:08:01 UTC

4.0-nonoss.patch 出现错误,请问什么原因,如何解决,谢谢

各位好!

  4.0-nonoss.patch 出现错误,请问什么原因,如何解决,谢谢。

1. 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 

2. wget https://cwiki.apache.org/CLOUDSTACK/building.data/4.0-nonoss.patch 
   $ cd incubator-cloudstack 
$ mvn -P deps 
$ git am [^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
$ cd deps 
$ ./install-non-oss.sh 
$ cd .. 
$ mvn  -P deps -D nonoss
出现如下错误:
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".
 



zhaotao_cn

Re: 4.0-nonoss.patch 出现错误,请问什么原因,如何解决,谢谢

Posted by 陈珂 <ch...@ourfuture.cn>.
$ git am [^4.0-nonoss.patch] 
 
貌似此处中括号应该替换成该补丁的路径


2013-05-06 



陈珂 



发件人: zhaotao_cn 
发送时间: 2013-05-06  16:08:02 
收件人: cloudstack讨论组 
抄送: 
主题: 4.0-nonoss.patch 出现错误,请问什么原因,如何解决,谢谢 
 
各位好!
  4.0-nonoss.patch 出现错误,请问什么原因,如何解决,谢谢。
1. 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 
2. wget https://cwiki.apache.org/CLOUDSTACK/building.data/4.0-nonoss.patch 
   $ cd incubator-cloudstack 
$ mvn -P deps 
$ git am [^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
$ cd deps 
$ ./install-non-oss.sh 
$ cd .. 
$ mvn  -P deps -D nonoss
出现如下错误:
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".

zhaotao_cn