cloudstack-users-cn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 张仕博 <zhang...@neusoft.com>
Subject 答复: Re:CS4.4编译报错
Date Fri, 08 Aug 2014 02:43:33 GMT
可以直接从rpm中通过7zip解压获得该jar



-----邮件原件-----
发件人: evanitsharp [mailto:evanitsharp@gmail.com] 
发送时间: 2014年8月8日 10:36
收件人: CloudStack中文社区
主题: Re: Re:CS4.4编译报错

你好,我想搭建CS4.4+vSphere5.5的环境。vim25.jar需要解压到deps的问题我是知道的。

而且vSphere5.1和vSphere5.5的vim25.jar我都尝试过了(具体就是从VMware官网上下载对应版本的vim25.jar,然后改名为vim25_51.jar)

编译的时候仍然报下面的错误




张雷(Evan)

中航信华东数据中心有限责任公司

Mail:evanitsharp@gmail.com

发件人: HellCat
发送时间: 2014-08-08 10:11
收件人: users-cn
主题: Re:CS4.4编译报错
我之前编译4.3遇到和你类似的错误,后来发现是vmware插件的问题,从第三方网站下载的vmware插件无法通过编译

解决办法如下:

到vmware的官网去下载sdk,把里面的vim25.jar解压到deps目录(根据情况看需不需要改名,我弄4.3要改名成vim25_51.jar),然后重新运行install-non-oss.sh‍
https://my.vmware.com/group/vmware/get-download?downloadGroup=VSP510-WEBSDK-510
‍
供你参考



------------------ Original ------------------
From:  "evanitsharp";<evanitsharp@gmail.com>;
Date:  Fri, Aug 8, 2014 10:01 AM
To:  "CloudStack中文社区"<users-cn@cloudstack.apache.org>; 

Subject:  CS4.4编译报错




我在手动编译和构建CS4.4 nonoss包的时候报错,具体日志如下,请问是什么原因引起的,CS4.4有BUG吗?


[INFO] Building Apache CloudStack VMware Base 4.4.0-SNAPSHOT [INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ cloud-vmware-base --- [INFO] Deleting
/opt/apache-cloudstack-4.4.0-src/dist/rpmbuild/BUILD/cloudstack-4.4.0-SNAPSHOT/vmware-base/target
(includes = [**/*], excludes = []) [INFO] Deleting /opt/apache-cloudstack-4.4.0-src/dist/rpmbuild/BUILD/cloudstack-4.4.0-SNAPSHOT/vmware-base
(includes = [target, dist], excludes = []) [INFO] [INFO] --- maven-checkstyle-plugin:2.11:check
(cloudstack-checkstyle) @ cloud-vmware-base --- [INFO] Starting audit...
Audit done.

[INFO]
[INFO] --- maven-remote-resources-plugin:1.3:process (default) @ cloud-vmware-base --- [INFO]
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ cloud-vmware-base ---
[debug] execute contextualize [INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /opt/apache-cloudstack-4.4.0-src/dist/rpmbuild/BUILD/cloudstack-4.4.0-SNAPSHOT/vmware-base/resources
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ cloud-vmware-base --- [INFO]
Compiling 44 source files to /opt/apache-cloudstack-4.4.0-src/dist/rpmbuild/BUILD/cloudstack-4.4.0-SNAPSHOT/vmware-base/target/classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] /opt/apache-cloudstack-4.4.0-src/dist/rpmbuild/BUILD/cloudstack-4.4.0-SNAPSHOT/vmware-base/src/com/cloud/hypervisor/vmware/mo/VirtualDiskManagerMO.java:[134,62]
error: method moveVirtualDiskTask in interface VimPortType cannot be applied to given types;
[INFO] 1 error [INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache CloudStack Developer Tools - Checkstyle Configuration  SUCCESS [  3.275 s] [INFO]
Apache CloudStack ................................. SUCCESS [  4.176 s] [INFO] Apache CloudStack
Maven Conventions Parent ........ SUCCESS [  1.882 s] [INFO] Apache CloudStack Framework -
Managed Context ..... SUCCESS [  4.790 s] [INFO] Apache CloudStack Utils ...........................
SUCCESS [ 21.340 s] [INFO] Apache CloudStack Framework ....................... SUCCESS [ 
0.145 s] [INFO] Apache CloudStack Framework - Event Notification .. SUCCESS [  8.861 s] [INFO]
Apache CloudStack Framework - Configuration ....... SUCCESS [  4.432 s] [INFO] Apache CloudStack
API ............................. SUCCESS [ 19.007 s] [INFO] Apache CloudStack Framework -
REST ................ SUCCESS [  3.125 s] [INFO] Apache CloudStack Framework - IPC .................
SUCCESS [  7.092 s] [INFO] Apache CloudStack Cloud Engine .................... SUCCESS [ 
0.052 s] [INFO] Apache CloudStack Cloud Engine API ................ SUCCESS [  4.781 s] [INFO]
Apache CloudStack Framework - Security ............ SUCCESS [  2.340 s] [INFO] Apache CloudStack
Core ............................ SUCCESS [ 11.267 s] [INFO] Apache CloudStack Agents ..........................
SUCCESS [  8.201 s] [INFO] Apache CloudStack Framework - Clustering .......... SUCCESS [ 
3.013 s] [INFO] Apache CloudStack Framework - Event Notification .. SUCCESS [  1.884 s] [INFO]
Apache CloudStack Cloud Engine Schema Component ... SUCCESS [ 15.275 s] [INFO] Apache CloudStack
Framework - Jobs ................ SUCCESS [  5.615 s] [INFO] Apache CloudStack Cloud Engine
Internal Components API  SUCCESS [  3.578 s] [INFO] Apache CloudStack Server ..........................
SUCCESS [ 53.431 s] [INFO] Apache CloudStack Usage Server .................... SUCCESS [ 14.230
s] [INFO] Apache XenSource XAPI ............................. SUCCESS [  7.027 s] [INFO] Apache
CloudStack Cloud Engine Orchestration Component  SUCCESS [  9.090 s] [INFO] Apache CloudStack
Cloud Services .................. SUCCESS [  0.047 s] [INFO] Apache CloudStack Secondary Storage
............... SUCCESS [  0.303 s] [INFO] Apache CloudStack Secondary Storage Service .......
SUCCESS [  4.834 s] [INFO] Apache CloudStack Engine Storage Component ........ SUCCESS [ 
7.022 s] [INFO] Apache CloudStack Engine Storage Volume Component . SUCCESS [  5.289 s] [INFO]
Apache CloudStack Engine Storage Image Component .. SUCCESS [  2.709 s] [INFO] Apache CloudStack
Engine Storage Data Motion Component  SUCCESS [  2.426 s] [INFO] Apache CloudStack Engine
Storage Cache Component .. SUCCESS [  2.399 s] [INFO] Apache CloudStack Engine Storage Snapshot
Component  SUCCESS [  7.918 s] [INFO] Apache CloudStack Cloud Engine API ................
SUCCESS [  2.310 s] [INFO] Apache CloudStack Cloud Engine Service ............ SUCCESS [ 
5.100 s] [INFO] Apache CloudStack Plugin POM ...................... SUCCESS [  0.856 s] [INFO]
Apache CloudStack Plugin - API Rate Limit ......... SUCCESS [  9.374 s] [INFO] Apache CloudStack
Plugin - API Discovery .......... SUCCESS [  4.674 s] [INFO] Apache CloudStack Plugin - ACL
Static Role Based .. SUCCESS [  2.094 s] [INFO] Apache CloudStack Plugin - Host Anti-Affinity
Processor  SUCCESS [  2.286 s] [INFO] Apache CloudStack Plugin - Explicit Dedication Processor
 SUCCESS [  2.267 s] [INFO] Apache CloudStack Plugin - User Concentrated Pod Deployment Planner
 SUCCESS [  2.291 s] [INFO] Apache CloudStack Plugin - User Dispersing Deployment Planner
 SUCCESS [  2.300 s] [INFO] Apache CloudStack Plugin - Implicit Dedication Planner  SUCCESS
[  6.862 s] [INFO] Apache CloudStack Plugin - Skip Heurestics Planner  SUCCESS [  2.147 s]
[INFO] Apache CloudStack Plugin - Host Allocator Random .. SUCCESS [  2.076 s] [INFO] Apache
CloudStack Plugin - Dedicated Resources .... SUCCESS [  6.672 s] [INFO] Apache CloudStack
Plugin - Hypervisor OracleVM .... SUCCESS [  3.331 s] [INFO] Apache CloudStack Plugin - Open
vSwitch ........... SUCCESS [  3.336 s] [INFO] Apache CloudStack Plugin - Hypervisor Xen .........
SUCCESS [  9.724 s] [INFO] Apache CloudStack Plugin - Hypervisor KVM ......... SUCCESS [ 
9.465 s] [INFO] Apache CloudStack Plugin - RabbitMQ Event Bus ..... SUCCESS [  2.347 s] [INFO]
Apache CloudStack Plugin - In Memory Event Bus .... SUCCESS [  3.604 s] [INFO] Apache CloudStack
Plugin - Hypervisor Baremetal ... SUCCESS [  4.082 s] [INFO] Apache CloudStack Plugin - Hypervisor
UCS ......... SUCCESS [  2.653 s] [INFO] Apache CloudStack Plugin - Hypervisor Hyper-V .....
SUCCESS [  5.948 s] [INFO] Apache CloudStack Plugin - Network Elastic Load Balancer  SUCCESS
[  5.068 s] [INFO] Apache CloudStack Plugin - Network Internal Load Balancer  SUCCESS [  8.939
s] [INFO] Apache CloudStack Framework - Spring Life Cycle ... SUCCESS [  4.200 s] [INFO] Apache
CloudStack Plugin - Network Juniper Contrail  SUCCESS [ 11.390 s] [INFO] Apache CloudStack
Plugin - Palo Alto .............. SUCCESS [  7.691 s] [INFO] Apache CloudStack Plugin - Network
Netscaler ...... SUCCESS [  4.697 s] [INFO] Apache CloudStack Plugin - Network Nicira NVP
..... SUCCESS [  7.990 s] [INFO] Apache CloudStack Plugin - BigSwitch Virtual Network Segment
 SUCCESS [  5.644 s] [INFO] Apache CloudStack Plugin - Midokura Midonet ....... SUCCESS [
 6.204 s] [INFO] Apache CloudStack Plugin - Stratosphere SSP ....... SUCCESS [  5.530 s] [INFO]
Apache CloudStack Plugin - Network Opendaylight ... SUCCESS [  5.604 s] [INFO] Apache CloudStack
Plugin - Storage Allocator Random  SUCCESS [  2.211 s] [INFO] Apache CloudStack Plugin - User
Authenticator LDAP  SUCCESS [  4.782 s] [INFO] Apache CloudStack Plugin - User Authenticator
MD5 . SUCCESS [  1.903 s] [INFO] Apache CloudStack Plugin - User Authenticator Plain Text
 SUCCESS [  1.912 s] [INFO] Apache CloudStack Plugin - User Authenticator SHA256 Salted  SUCCESS
[  3.975 s] [INFO] Apache CloudStack Plugin - Dns Notifier Example ... SUCCESS [  1.862 s]
[INFO] Apache CloudStack Plugin - Storage Image S3 ....... SUCCESS [  2.440 s] [INFO] Apache
CloudStack Plugin - Storage Image Swift provider  SUCCESS [  2.196 s] [INFO] Apache CloudStack
Plugin - Storage Image default provider  SUCCESS [  1.922 s] [INFO] Apache CloudStack Plugin
- Storage Image sample provider  SUCCESS [  1.681 s] [INFO] Apache CloudStack Plugin - Storage
Volume Nexenta Provider  SUCCESS [  3.666 s] [INFO] Apache CloudStack Plugin - Storage Volume
SolidFire Provider  SUCCESS [  4.025 s] [INFO] Apache CloudStack Plugin - Storage Volume default
provider  SUCCESS [  2.126 s] [INFO] Apache CloudStack Plugin - Storage Volume CloudByte Provider
 SUCCESS [  3.085 s] [INFO] Apache CloudStack Plugin - Storage Volume sample provider  SUCCESS
[  1.968 s] [INFO] Apache CloudStack Plugin - SNMP Alerts ............ SUCCESS [ 17.093 s]
[INFO] Apache CloudStack Plugin - Syslog Alerts .......... SUCCESS [  3.331 s] [INFO] Apache
CloudStack Plugin - Network VXLAN .......... SUCCESS [  4.582 s] [INFO] Apache CloudStack
Plugin - NetApp File System ..... SUCCESS [  3.440 s] [INFO] Apache CloudStack Plugin - F5
..................... SUCCESS [  3.910 s] [INFO] Apache CloudStack Plugin - Juniper SRX ............
SUCCESS [  3.981 s] [INFO] Apache CloudStack VMware Base ..................... FAILURE [ 
4.771 s] [INFO] Apache CloudStack Plugin - Hypervisor VMware ...... SKIPPED [INFO] Apache
CloudStack Plugin - Cisco VNMC ............. SKIPPED [INFO] Apache CloudStack Plugin - MySQL
HA Strategy ...... SKIPPED [INFO] Apache CloudStack Framework - Spring Module ....... SKIPPED
[INFO] Apache CloudStack Secondary Storage Controller .... SKIPPED [INFO] Apache CloudStack
Console Proxy - RDP Client ...... SKIPPED [INFO] Apache CloudStack Console Proxy ...................
SKIPPED [INFO] Apache CloudStack Console Proxy - Server .......... SKIPPED [INFO] Apache CloudStack
System VM ....................... SKIPPED [INFO] Apache CloudStack Client UI .......................
SKIPPED [INFO] Apache CloudStack Framework - QuickCloud .......... SKIPPED [INFO] Apache CloudStack
AWS API Bridge .................. SKIPPED [INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 08:25 min
[INFO] Finished at: 2014-08-07T09:52:15-08:00 [INFO] Final Memory: 77M/202M [INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile
(default-compile) on project cloud-vmware-base: Compilation failure [ERROR] /opt/apache-cloudstack-4.4.0-src/dist/rpmbuild/BUILD/cloudstack-4.4.0-SNAPSHOT/vmware-base/src/com/cloud/hypervisor/vmware/mo/VirtualDiskManagerMO.java:[134,62]
error: method moveVirtualDiskTask in interface VimPortType cannot be applied to given types;
[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/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :cloud-vmware-base
error: Bad exit status from /var/tmp/rpm-tmp.2YpVuK (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.2YpVuK (%build)




张雷(Evan)

中航信华东数据中心有限责任公司

Mail:evanitsharp@gmail.com

---------------------------------------------------------------------------------------------------
Confidentiality Notice: The information contained in this e-mail and any accompanying attachment(s)

is intended only for the use of the intended recipient and may be confidential and/or privileged
of 
Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader of this communication
is 
not the intended recipient, unauthorized use, forwarding, printing,  storing, disclosure or
copying 
is strictly prohibited, and may be unlawful.If you have received this communication in error,please

immediately notify the sender by return e-mail, and delete the original message and all copies
from 
your system. Thank you. 
---------------------------------------------------------------------------------------------------
Mime
View raw message