cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Hitchins <alex.hitch...@shapeblue.com>
Subject RE: Source build failing in DevCloud
Date Fri, 07 Feb 2014 12:13:08 GMT
I haven't used devcloud in a while - this link might prove useful to you.

http://cloudstack.apache.org/developers.html

After the clone is complete, you can "git checkout 4.3" then "git pull" to ensure it's updated.
The link gives you the steps to get your first commit done.

Welcome to the group!




Regards

Alex Hitchins

D: +44 1892 523 587 | S: +44 20 3603 0540 | M: +44 7788 423 969

alex.hitchins@shapeblue.com

-----Original Message-----
From: CK [mailto:cloudwizz@gmail.com]
Sent: 07 February 2014 12:05
To: dev@cloudstack.apache.org
Subject: Re: Source build failing in DevCloud

Java version is: javac 1.6.0_24

I'm new to 'git', how do I "...checkout the 4.3 branch, git pull then compile you should get
the 4.3 current build.", can you provide the commands?

Thanks



On 7 February 2014 12:00, Alex Hitchins <alex.hitchins@shapeblue.com> wrote:

> I've had a quick look at the error statements - what version of Java
> is on the devcloud vm?
>
> Also, if you checkout the 4.3 branch, git pull then compile you should
> get the 4.3 current build.
>
>
> Regards
>
> Alex Hitchins
>
> D: +44 1892 523 587 | S: +44 20 3603 0540 | M: +44 7788 423 969
>
> alex.hitchins@shapeblue.com
>
> -----Original Message-----
> From: CK [mailto:cloudwizz@gmail.com]
> Sent: 07 February 2014 11:41
> To: dev@cloudstack.apache.org
> Subject: Source build failing in DevCloud
>
> Hi,
>
> This is my first attempt at building CloudStack from the source code
> and decided on using DevCloud. I followed the wiki for using DevCloud
> https://cwiki.apache.org/confluence/display/CLOUDSTACK/DevCloud.
>
> I want to build the 4.3 release and used the updated DevCloud 2.0
> appliance and as per the instructions. I git cloned the latest master
> code, but when I then run "mvn -P developer,systemvm clean install". I
> get a compilation/build failure (see output below).
>
> Q1) Have I missed something and why I am I getting this error?
> Q2) I see it is building 4.4.0-SNAPSHOT how do I get it to build 4.3?
>
> Thanks.
>
> [INFO]
> ----------------------------------------------------------------------
> -- [INFO] Building Apache CloudStack Developer Tools - Checkstyle
> Configuration 4.4.0-SNAPSHOT [INFO]
> ----------------------------------------------------------------------
> --
> [INFO]
> [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ checkstyle
> --- [INFO] Deleting /opt/cloudstack/cloudstack/tools/checkstyle/target
> [INFO]
> [INFO] --- maven-resources-plugin:2.5:resources (default-resources) @
> checkstyle --- [debug] execute contextualize [WARNING] Using platform
> encoding (UTF-8 actually) to copy filtered resources, i.e. build is
> platform dependent!
> [INFO] Copying 1 resource
> [INFO]
> [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @
> checkstyle --- [INFO] No sources to compile [INFO] [INFO] ---
> maven-resources-plugin:2.5:testResources (default-testResources) @
> checkstyle --- [debug] execute contextualize [WARNING] Using platform
> encoding (UTF-8 actually) to copy filtered resources, i.e. build is
> platform dependent!
> [INFO] skip non existing resourceDirectory
> /opt/cloudstack/cloudstack/tools/checkstyle/src/test/resources
> [INFO]
> [INFO] --- maven-compiler-plugin:2.3.2:testCompile
> (default-testCompile) @ checkstyle --- [INFO] No sources to compile
> [INFO] [INFO] --- maven-surefire-plugin:2.10:test (default-test) @
> checkstyle --- [INFO] No tests to run.
> [INFO] Surefire report directory:
> /opt/cloudstack/cloudstack/tools/checkstyle/target/surefire-reports
>
> -------------------------------------------------------
>  T E S T S
> -------------------------------------------------------
>
> Results :
>
> Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
>
> [INFO]
> [INFO] --- maven-jar-plugin:2.3.2:jar (default-jar) @ checkstyle ---
> [INFO] Building jar:
>
> /opt/cloudstack/cloudstack/tools/checkstyle/target/checkstyle-4.4.0-SN
> APSHOT.jar
> [INFO]
> [INFO] --- maven-install-plugin:2.3.1:install (default-install) @
> checkstyle --- [INFO] Installing
> /opt/cloudstack/cloudstack/tools/checkstyle/target/checkstyle-4.4.0-SN
> APSHOT.jar
> to
>
> /root/.m2/repository/org/apache/cloudstack/checkstyle/4.4.0-SNAPSHOT/c
> heckstyle-4.4.0-SNAPSHOT.jar [INFO] Installing
> /opt/cloudstack/cloudstack/tools/checkstyle/pom.xml to
> /root/.m2/repository/org/apache/cloudstack/checkstyle/4.4.0-SNAPSHOT/c
> heckstyle-4.4.0-SNAPSHOT.pom
> [INFO]
> [INFO]
> ----------------------------------------------------------------------
> -- [INFO] Building Apache CloudStack 4.4.0-SNAPSHOT [INFO]
> ----------------------------------------------------------------------
> --
> [INFO]
> [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ cloudstack
> --- [INFO] Deleting /opt/cloudstack/cloudstack/target (includes =
> [**/*], excludes = []) [INFO] Deleting /opt/cloudstack/cloudstack
> (includes = [target, dist], excludes = []) [INFO] [INFO] ---
> maven-remote-resources-plugin:1.3:process (default) @ cloudstack
> ---
> [INFO]
> [INFO] --- maven-site-plugin:3.3:attach-descriptor (attach-descriptor)
> @ cloudstack --- [INFO] [INFO] --- maven-install-plugin:2.3.1:install
> (default-install) @ cloudstack --- [INFO] Installing
> /opt/cloudstack/cloudstack/pom.xml to
> /root/.m2/repository/org/apache/cloudstack/cloudstack/4.4.0-SNAPSHOT/c
> loudstack-4.4.0-SNAPSHOT.pom
> [INFO]
> [INFO]
> ----------------------------------------------------------------------
> -- [INFO] Building Apache CloudStack Maven Conventions Parent
> 4.4.0-SNAPSHOT [INFO]
> ----------------------------------------------------------------------
> --
> [INFO]
> [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @
> cloud-maven-standard --- [INFO] Deleting
> /opt/cloudstack/cloudstack/maven-standard/target (includes = [**/*],
> excludes = []) [INFO] Deleting
> /opt/cloudstack/cloudstack/maven-standard
> (includes = [target, dist], excludes = []) [INFO] [INFO] ---
> maven-checkstyle-plugin:2.11:check (cloudstack-checkstyle) @
> cloud-maven-standard --- [INFO] Starting audit...
> Audit done.
>
> [INFO]
> [INFO] --- maven-remote-resources-plugin:1.3:process (default) @
> cloud-maven-standard --- [INFO] [INFO] ---
> maven-site-plugin:3.3:attach-descriptor (attach-descriptor) @
> cloud-maven-standard --- [INFO] [INFO] ---
> maven-install-plugin:2.3.1:install (default-install) @
> cloud-maven-standard
> --- [INFO] Installing
> /opt/cloudstack/cloudstack/maven-standard/pom.xml to
> /root/.m2/repository/org/apache/cloudstack/cloud-maven-standard/4.4.0-
> SNAPSHOT/cloud-maven-standard-4.4.0-SNAPSHOT.pom
> [INFO]
> [INFO]
> ----------------------------------------------------------------------
> -- [INFO] Building Apache CloudStack Framework - Managed Context
> 4.4.0-SNAPSHOT [INFO]
> ----------------------------------------------------------------------
> --
> [INFO]
> [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @
> cloud-framework-managed-context --- [INFO] Deleting
> /opt/cloudstack/cloudstack/framework/managed-context/target
> (includes = [**/*], excludes = [])
> [INFO] Deleting /opt/cloudstack/cloudstack/framework/managed-context
> (includes = [target, dist], excludes = []) [INFO] [INFO] ---
> maven-checkstyle-plugin:2.11:check (cloudstack-checkstyle) @
> cloud-framework-managed-context --- [INFO] Starting audit...
> Audit done.
>
> [INFO]
> [INFO] --- maven-remote-resources-plugin:1.3:process (default) @
> cloud-framework-managed-context --- [INFO] [INFO] ---
> maven-resources-plugin:2.5:resources (default-resources) @
> cloud-framework-managed-context --- [debug] execute contextualize
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] skip non existing resourceDirectory
> /opt/cloudstack/cloudstack/framework/managed-context/src/main/resource
> s
> [INFO] Copying 3 resources
> [INFO]
> [INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @
> cloud-framework-managed-context --- [INFO] Compiling 8 source files to
> /opt/cloudstack/cloudstack/framework/managed-context/target/classes
> [INFO] -------------------------------------------------------------
> [ERROR] COMPILATION ERROR :
> [INFO] -------------------------------------------------------------
> [ERROR] Failure executing javac,  but could not parse the error:
> javac: invalid target release: 1.7
> Usage: javac <options> <source files>
> use -help for a list of possible options
>
> [INFO] 1 error
> [INFO] -------------------------------------------------------------
> [INFO]
> ----------------------------------------------------------------------
> --
> [INFO] Reactor Summary:
> [INFO]
> [INFO] Apache CloudStack Developer Tools - Checkstyle Configuration
> SUCCESS [2.085s] [INFO] Apache CloudStack
> ................................. SUCCESS [1.474s] [INFO] Apache
> CloudStack Maven Conventions Parent ........ SUCCESS [1.039s] [INFO]
> Apache CloudStack Framework - Managed Context ..... FAILURE [1.312s]
> [INFO] Apache CloudStack Utils ........................... SKIPPED
> [INFO] Apache CloudStack Framework ....................... SKIPPED
> [INFO] Apache CloudStack Framework - Event Notification .. SKIPPED
> [INFO] Apache CloudStack Framework - Configuration ....... SKIPPED
> [INFO] Apache CloudStack API ............................. SKIPPED
> [INFO] Apache CloudStack Framework - REST ................ SKIPPED
> [INFO] Apache CloudStack Framework - IPC ................. SKIPPED
> [INFO] Apache CloudStack Cloud Engine .................... SKIPPED
> [INFO] Apache CloudStack Cloud Engine API ................ SKIPPED
> [INFO] Apache CloudStack Framework - Security ............ SKIPPED
> [INFO] Apache CloudStack Core ............................ SKIPPED
> [INFO] Apache CloudStack Agents .......................... SKIPPED
> [INFO] Apache CloudStack Framework - Clustering .......... SKIPPED
> [INFO] Apache CloudStack Framework - Jobs ................ SKIPPED
> [INFO] Apache CloudStack Cloud Engine Schema Component ... SKIPPED
> [INFO] Apache CloudStack Framework - Event Notification .. SKIPPED
> [INFO] Apache CloudStack Cloud Engine Internal Components API  SKIPPED
> [INFO] Apache CloudStack Server .......................... SKIPPED
> [INFO] Apache CloudStack Usage Server .................... SKIPPED
> [INFO] Apache XenSource XAPI ............................. SKIPPED
> [INFO] Apache CloudStack Cloud Engine Orchestration Component  SKIPPED
> [INFO] Apache CloudStack Cloud Services .................. SKIPPED
> [INFO] Apache CloudStack Secondary Storage ............... SKIPPED
> [INFO] Apache CloudStack Secondary Storage Service ....... SKIPPED [INFO] Apache CloudStack
Engine Storage Component ........
> SKIPPED [INFO] Apache CloudStack Engine Storage Volume Component .
> SKIPPED [INFO] Apache CloudStack Engine Storage Image Component ..
> SKIPPED [INFO] Apache CloudStack Engine Storage Data Motion Component
> SKIPPED [INFO] Apache CloudStack Engine Storage Cache Component ..
> SKIPPED [INFO] Apache CloudStack Engine Storage Snapshot Component
> SKIPPED [INFO] Apache CloudStack Cloud Engine API ................
> SKIPPED [INFO] Apache CloudStack Cloud Engine Service ............
> SKIPPED [INFO] Apache CloudStack Plugin POM ......................
> SKIPPED [INFO] Apache CloudStack Plugin - API Rate Limit .........
> SKIPPED [INFO] Apache CloudStack Plugin - API Discovery ..........
> SKIPPED [INFO] Apache CloudStack Plugin - ACL Static Role Based ..
> SKIPPED [INFO] Apache CloudStack Plugin - Host Anti-Affinity Processor
> SKIPPED [INFO] Apache CloudStack Plugin - Explicit Dedication
> Processor  SKIPPED [INFO] Apache CloudStack Plugin - User Concentrated
> Pod Deployment Planner  SKIPPED [INFO] Apache CloudStack Plugin - User
> Dispersing Deployment Planner  SKIPPED [INFO] Apache CloudStack Plugin
> - Implicit Dedication Planner  SKIPPED [INFO] Apache CloudStack Plugin
> - Skip Heurestics Planner  SKIPPED [INFO] Apache CloudStack Plugin -
> Host Allocator Random .. SKIPPED [INFO] Apache CloudStack Plugin -
> Dedicated Resources .... SKIPPED [INFO] Apache CloudStack Plugin -
> Hypervisor OracleVM .... SKIPPED [INFO] Apache CloudStack Plugin -
> Open vSwitch ........... SKIPPED [INFO] Apache CloudStack Plugin -
> Hypervisor Xen ......... SKIPPED [INFO] Apache CloudStack Plugin -
> Hypervisor KVM ......... SKIPPED [INFO] Apache CloudStack Plugin -
> RabbitMQ Event Bus ..... SKIPPED [INFO] Apache CloudStack Plugin - In
> Memory Event Bus .... SKIPPED [INFO] Apache CloudStack Plugin -
> Hypervisor Baremetal ... SKIPPED [INFO] Apache CloudStack Plugin -
> Hypervisor UCS ......... SKIPPED [INFO] Apache CloudStack Plugin -
> Hypervisor Hyper-V ..... SKIPPED [INFO] Apache CloudStack Plugin -
> Network Elastic Load Balancer  SKIPPED [INFO] Apache CloudStack Plugin
> - Network Internal Load Balancer  SKIPPED [INFO] Apache CloudStack
> Framework - Spring Life Cycle ... SKIPPED [INFO] Apache CloudStack
> Plugin - Network Juniper Contrail  SKIPPED [INFO] Apache CloudStack
> Plugin - Palo Alto .............. SKIPPED [INFO] Apache CloudStack
> Plugin - Network Netscaler ...... SKIPPED [INFO] Apache CloudStack
> Plugin - Network Nicira NVP ..... SKIPPED [INFO] Apache CloudStack
> Plugin - BigSwitch Virtual Network Segment  SKIPPED [INFO] Apache
> CloudStack Plugin - Midokura Midonet ....... SKIPPED [INFO] Apache
> CloudStack Plugin - Stratosphere SSP ....... SKIPPED [INFO] Apache
> CloudStack Plugin - Network Opendaylight ... SKIPPED [INFO] Apache
> CloudStack Plugin - Storage Allocator Random  SKIPPED [INFO] Apache
> CloudStack Plugin - User Authenticator LDAP  SKIPPED [INFO] Apache
> CloudStack Plugin - User Authenticator MD5 . SKIPPED [INFO] Apache
> CloudStack Plugin - User Authenticator Plain Text  SKIPPED [INFO]
> Apache CloudStack Plugin - User Authenticator SHA256 Salted  SKIPPED
> [INFO] Apache CloudStack Plugin - Dns Notifier Example ... SKIPPED
> [INFO] Apache CloudStack Plugin - Storage Image S3 ....... SKIPPED
> [INFO] Apache CloudStack Plugin - Storage Image Swift provider
> SKIPPED [INFO] Apache CloudStack Plugin - Storage Image default
> provider  SKIPPED [INFO] Apache CloudStack Plugin - Storage Image
> sample provider  SKIPPED [INFO] Apache CloudStack Plugin - Storage
> Volume Nexenta Provider  SKIPPED [INFO] Apache CloudStack Plugin -
> Storage Volume SolidFire Provider  SKIPPED [INFO] Apache CloudStack
> Plugin - Storage Volume default provider  SKIPPED [INFO] Apache
> CloudStack Plugin - Storage Volume sample provider  SKIPPED [INFO]
> Apache CloudStack Plugin - SNMP Alerts ............ SKIPPED [INFO]
> Apache CloudStack Plugin - Syslog Alerts .......... SKIPPED [INFO]
> Apache CloudStack Plugin - Network VXLAN .......... 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 Test ............................ SKIPPED [INFO]
> Apache CloudStack Developer Mode .................. SKIPPED [INFO]
> Apache CloudStack Developer Tools ................. SKIPPED [INFO]
> Apache CloudStack apidocs ......................... SKIPPED [INFO]
> Apache CloudStack marvin .......................... SKIPPED [INFO]
> Apache CloudStack DevCloud ........................ SKIPPED [INFO]
> Apache CloudStack DevCloud-KVM .................... SKIPPED [INFO]
> ----------------------------------------------------------------------
> --
> [INFO] BUILD FAILURE
> [INFO]
> ----------------------------------------------------------------------
> --
> [INFO] Total time: 8.530s
> [INFO] Finished at: Fri Feb 07 01:26:33 UTC 2014 [INFO] Final Memory:
> 32M/78M [INFO]
> ----------------------------------------------------------------------
> --
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile
> (default-compile) on project cloud-framework-managed-context:
> Compilation failure [ERROR] Failure executing javac,  but could not parse the error:
> [ERROR] javac: invalid target release: 1.7 [ERROR] Usage: javac
> <options> <source files> [ERROR] use -help for a list of possible
> options [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-framework-managed-context
> Need Enterprise Grade Support for Apache CloudStack?
> Our CloudStack Infrastructure Support<
> http://shapeblue.com/cloudstack-infrastructure-support/> offers the
> best
> 24/7 SLA for CloudStack Environments.
>
> Apache CloudStack Bootcamp training courses
>
> **NEW!** CloudStack 4.2.1 training<
> http://shapeblue.com/cloudstack-training/>
> 18th-19th February 2014, Brazil. Classroom<
> http://shapeblue.com/cloudstack-training/>
> 17th-23rd March 2014, Region A. Instructor led, On-line<
> http://shapeblue.com/cloudstack-training/>
> 24th-28th March 2014, Region B. Instructor led, On-line<
> http://shapeblue.com/cloudstack-training/>
> 16th-20th June 2014, Region A. Instructor led, On-line<
> http://shapeblue.com/cloudstack-training/>
> 23rd-27th June 2014, Region B. Instructor led, On-line<
> http://shapeblue.com/cloudstack-training/>
>
> 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. 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 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. 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 is a registered trademark.

Mime
View raw message