Hi,

You need to have python2.7 installed on the building server

#rpm -qa | grep python

Its easier to run Centos 7 on your building server - python 2.7 is default

Thanks
Glenn




[ShapeBlue]<http://www.shapeblue.com>
Glenn Wagner
Senior Consultant       ,       ShapeBlue


d:       | s: +27 21 527 0091<tel:|%20s:%20+27%2021%20527%200091>        |      
m:      +27 73 917 4111<tel:+27%2073%20917%204111>

e:      [email protected] | t: 
<mailto:[email protected]%20|%20t:>     |      w:      
www.shapeblue.com<http://www.shapeblue.com>

a:      2nd Floor, Oudehuis Centre, 122 Main Rd, Somerset West Cape Town 7130 
South Africa


[cid:[email protected]]


Shape Blue Ltd is a company incorporated in England & Wales. ShapeBlue Services 
India LLP is a company incorporated in India and is operated under license from 
Shape Blue Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in 
Brasil and is operated under license from Shape Blue Ltd. ShapeBlue SA Pty Ltd 
is a company registered by The Republic of South Africa and is traded under 
license from Shape Blue Ltd. ShapeBlue is a registered trademark.
This email and any attachments to it may be confidential and are intended 
solely for the use of the individual to whom it is addressed. Any views or 
opinions expressed are solely those of the author and do not necessarily 
represent those of Shape Blue Ltd or related companies. If you are not the 
intended recipient of this email, you must neither take any action based upon 
its contents, nor copy or show it to anyone. Please contact the sender if you 
believe you have received this email in error.




-----Original Message-----
From: Arash Shams [mailto:[email protected]]
Sent: Tuesday, 23 February 2016 3:07 PM
To: [email protected]
Subject: Building cloudstack with noredist profile and error on vmware : error: 
cannot find symbol

Hello

try to build 4.8 with noredist profile vmware hypervisor on Centos 6 and get 
this error with error: cannot find symbol

i added only vim.jar vim25.jar and apputils.jar to deps and building them 
(https://cwiki.apache.org/confluence/display/CLOUDSTACK/Hypervisor+VMWare) 
after that try to mvn clean and mvn install -Dnoredist everything goes fine in 
packaging step and running ./package.sh -d centos63 -p noredist i get so many 
errors :
build env : CentOS release 6.7 (Final)
mvn :
Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 
2015-11-10T11:41:47-05:00) Maven home: /opt/apache-maven Java version: 
1.7.0_95, vendor: Oracle Corporation Java home: 
/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.95.x86_64/jre
Default locale: en_US, platform encoding: UTF-8 OS name: "linux", version: 
"2.6.32-573.el6.x86_64", arch: "amd64", family: "unix"

Error :
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-compiler-plugin:3.2:compile (default-compile) on 
project cloud-vmware-base: Compilation failure: Compilation failure:
[ERROR] 
/usr/local/src/apache-cloudstack-4.8.0-src/dist/rpmbuild/BUILD/cloudstack-4.8.0/vmware-base/src/com/cloud/hypervisor/vmware/util/VmwareClient.java:[36,23]
 error: cannot find symbol
[ERROR] symbol: class InvalidCollectorVersionFaultMsg
[ERROR] location: package com.vmware.vim25 [ERROR] 
/usr/local/src/apache-cloudstack-4.8.0-src/dist/rpmbuild/BUILD/cloudstack-4.8.0/vmware-base/src/com/cloud/hypervisor/vmware/util/VmwareClient.java:[37,23]
 error: cannot find symbol
[ERROR] symbol: class InvalidPropertyFaultMsg
[ERROR] location: package com.vmware.vim25 [ERROR] 
/usr/local/src/apache-cloudstack-4.8.0-src/dist/rpmbuild/BUILD/cloudstack-4.8.0/vmware-base/src/com/cloud/hypervisor/vmware/util/VmwareClient.java:[49,23]
 error: cannot find symbol
[ERROR] symbol: class RuntimeFaultFaultMsg
[ERROR] location: package com.vmware.vim25 [ERROR] 
/usr/local/src/apache-cloudstack-4.8.0-src/dist/rpmbuild/BUILD/cloudstack-4.8.0/vmware-base/src/com/cloud/hypervisor/vmware/util/VmwareClient.java:[341,67]
 error: cannot find symbol
[ERROR] symbol: class InvalidPropertyFaultMsg
[ERROR] location: class VmwareClient
[ERROR] 
/usr/local/src/apache-cloudstack-4.8.0-src/dist/rpmbuild/BUILD/cloudstack-4.8.0/vmware-base/src/com/cloud/hypervisor/vmware/util/VmwareClient.java:[341,92]
 error: cannot find symbol
[ERROR] symbol: class RuntimeFaultFaultMsg
[ERROR] location: class VmwareClient
[ERROR] 
/usr/local/src/apache-cloudstack-4.8.0-src/dist/rpmbuild/BUILD/cloudstack-4.8.0/vmware-base/src/com/cloud/hypervisor/vmware/util/VmwareClient.java:[341,114]
 error: cannot find symbol
[ERROR] symbol: class InvalidCollectorVersionFaultMsg
[ERROR] location: class VmwareClient
[ERROR] 
/usr/local/src/apache-cloudstack-4.8.0-src/dist/rpmbuild/BUILD/cloudstack-4.8.0/vmware-base/src/com/cloud/hypervisor/vmware/util/VmwareClient.java:[382,143]
 error: cannot find symbol
[ERROR] symbol: class InvalidPropertyFaultMsg
[ERROR] location: class VmwareClient
[ERROR] 
/usr/local/src/apache-cloudstack-4.8.0-src/dist/rpmbuild/BUILD/cloudstack-4.8.0/vmware-base/src/com/cloud/hypervisor/vmware/util/VmwareClient.java:[383,4]
 error: cannot find symbol
[ERROR] symbol: class RuntimeFaultFaultMsg
[ERROR] location: class VmwareClient


whats the problem ?


Find out more about ShapeBlue and our range of CloudStack related services:
IaaS Cloud Design & Build<http://shapeblue.com/iaas-cloud-design-and-build//> | 
CSForge – rapid IaaS deployment framework<http://shapeblue.com/csforge/>
CloudStack Consulting<http://shapeblue.com/cloudstack-consultancy/> | 
CloudStack Software 
Engineering<http://shapeblue.com/cloudstack-software-engineering/>
CloudStack Infrastructure 
Support<http://shapeblue.com/cloudstack-infrastructure-support/> | CloudStack 
Bootcamp Training Courses<http://shapeblue.com/cloudstack-training/>

Reply via email to