Can you try replacing -Dnonoss with -Dnoredist

Thanks,
Saksham

-----Original Message-----
From: Vosbury, David [mailto:david.vosb...@systemsmadesimple.com] 
Sent: Friday, November 29, 2013 5:31 PM
To: dev@cloudstack.apache.org
Subject: Issue building Deb packages from source



-------- Original Message --------
Subject: Issue building Deb packages from source
From: "Vosbury, David" <david.vosb...@systemsmadesimple.com>
To: d...@cloudsrack.apache.org
CC:

I'm not sure if this is a question for the users or the Dev list so I'm posting 
to both.

I'm new to building CloudStack from source. I'm having some difficulty creating 
my Deb packages. I'm trying to compile with the nonoss options. I've been going 
through the documentation for building from source and I'm using the nonoss 
option to get the vmware support. When following the build docs I get 
successful compiles when running mvn clean install -Dnonoss and when doing mvn 
-P deps -Dnonoss (although I do get a message at the end of the compile that it 
couldn't find the deps profile, but the compile shows successful). When I try 
to compile to my deb packages I get an error message at the end and It also 
doesn't look like the nonoss modules build. It looks like a default oss build. 
Here is the error messages I get back when trying to compile the debs. Please 
help as I have an upcoming deadline to get this CloudStack install up and 
running and this is really holding me up. It seems like maybe I need to change 
something in the configuration for the deb build, but I'm not sure where to do 
that. It also seems like the deb build is failing with the aws api module 
build. Is there a way to remove that from the build if that is the issue? I 
don't need aws support at this time. Is there an option I need to add when 
doing the deb build to get the nonoss modules to build? Anyway, here's the 
error message.



[INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ cloud-awsapi 
                                                                                
        ---

[INFO] Compiling 1296 source files to 
/home/dvosbury/apache-cloudstack-4.2.0-src                                      
                                                  /awsapi/target/classes

[INFO] -------------------------------------------------------------

[ERROR] COMPILATION ERROR :

[INFO] -------------------------------------------------------------

[ERROR] error: error reading 
/home/dvosbury/.m2/repository/org/apache/axis2/mex/                             
                                                           
1.5.4/mex-1.5.4-impl.jar; error in opening zip file

[ERROR] error: error reading 
/home/dvosbury/.m2/repository/org/apache/axis2/axis                             
                                                           
2-mtompolicy/1.5.4/axis2-mtompolicy-1.5.4.jar; error in opening zip file

[ERROR] error: error reading 
/home/dvosbury/.m2/repository/org/apache/ws/commons                             
                                                           
/axiom/axiom-dom/1.2.10/axiom-dom-1.2.10.jar; error in opening zip file

[ERROR] error: error reading 
/home/dvosbury/.m2/repository/org/opensaml/opensaml                             
                                                           
1/1.1/opensaml1-1.1.jar; error in opening zip file

[ERROR] error: error reading 
/home/dvosbury/.m2/repository/commons-lang/commons-                             
                                                           
lang/2.3/commons-lang-2.3.jar; error in opening zip file

[INFO] 5 errors

[INFO] -------------------------------------------------------------

[INFO] ------------------------------------------------------------------------

[INFO] Reactor Summary:

[INFO]

[INFO] Apache CloudStack ................................. SUCCESS [1.890s]

[INFO] Apache CloudStack Utils ........................... SUCCESS [10.227s]

[INFO] Apache CloudStack API ............................. SUCCESS [10.884s]

[INFO] Apache CloudStack Framework ....................... SUCCESS [0.072s]

[INFO] Apache CloudStack Framework - REST ................ SUCCESS [2.908s]

[INFO] Apache CloudStack Framework - IPC ................. SUCCESS [4.501s]

[INFO] Apache CloudStack Cloud Engine .................... SUCCESS [0.062s]

[INFO] Apache CloudStack Cloud Engine API ................ SUCCESS [5.064s]

[INFO] Apache CloudStack Cloud Engine Internal Components API  SUCCESS [1.810s]

[INFO] Apache CloudStack Cloud Engine Schema Component ... SUCCESS [9.314s]

[INFO] Apache CloudStack Core ............................ SUCCESS [7.708s]

[INFO] Apache CloudStack Agents .......................... SUCCESS [5.966s]

[INFO] Apache CloudStack Framework - Jobs ................ SUCCESS [1.623s]

[INFO] Apache CloudStack Framework - Event Notification .. SUCCESS [1.682s]

[INFO] Apache CloudStack Server .......................... SUCCESS [18.616s]

[INFO] Apache CloudStack Usage Server .................... SUCCESS [5.502s]

[INFO] Apache XenSource XAPI ............................. SUCCESS [5.961s]

[INFO] Apache CloudStack Cloud Engine Compute Component .. SUCCESS [1.753s]

[INFO] Apache CloudStack Cloud Engine Orchestration Component  SUCCESS [5.525s]

[INFO] Apache CloudStack SystemVM Patches ................ SUCCESS [0.323s]

[INFO] Apache CloudStack Cloud Services .................. SUCCESS [0.046s]

[INFO] Apache CloudStack Secondary Storage Service ....... SUCCESS [5.520s]

[INFO] Apache CloudStack Engine Storage Component ........ SUCCESS [4.158s]

[INFO] Apache CloudStack Engine Storage Volume Component . SUCCESS [4.657s]

[INFO] Apache CloudStack Engine Storage Image Component .. SUCCESS [2.675s]

[INFO] Apache CloudStack Engine Storage Data Motion Component  SUCCESS [2.297s]

[INFO] Apache CloudStack Engine Storage Cache Component .. SUCCESS [2.228s]

[INFO] Apache CloudStack Engine Storage Snapshot Component  SUCCESS [3.943s]

[INFO] Apache CloudStack Cloud Engine API ................ SUCCESS [1.675s]

[INFO] Apache CloudStack Cloud Engine Service ............ SUCCESS [3.709s]

[INFO] Apache CloudStack Plugin POM ...................... SUCCESS [0.438s]

[INFO] Apache CloudStack Plugin - API Rate Limit ......... SUCCESS [4.100s]

[INFO] Apache CloudStack Plugin - API Discovery .......... SUCCESS [3.778s]

[INFO] Apache CloudStack Plugin - ACL Static Role Based .. SUCCESS [1.939s]

[INFO] Apache CloudStack Plugin - Host Anti-Affinity Processor  SUCCESS [2.057s]

[INFO] Apache CloudStack Plugin - Explicit Dedication Processor  SUCCESS 
[2.171s                                                                         
               ]

[INFO] Apache CloudStack Plugin - User Concentrated Pod Deployment Planner  
SUCC                                                                            
            ESS [1.968s]

[INFO] Apache CloudStack Plugin - User Dispersing Deployment Planner  SUCCESS 
[2                                                                              
          .039s]

[INFO] Apache CloudStack Plugin - Implicit Dedication Planner  SUCCESS [4.028s]

[INFO] Apache CloudStack Plugin - Host Allocator Random .. SUCCESS [2.059s]

[INFO] Apache CloudStack Plugin - Dedicated Resources .... SUCCESS [4.529s]

[INFO] Apache CloudStack Plugin - Hypervisor OracleVM .... SUCCESS [3.243s]

[INFO] Apache CloudStack Plugin - Open vSwitch ........... SUCCESS [2.609s]

[INFO] Apache CloudStack Plugin - Hypervisor Xen ......... SUCCESS [8.269s]

[INFO] Apache CloudStack Plugin - Hypervisor KVM ......... SUCCESS [11.326s]

[INFO] Apache CloudStack Plugin - RabbitMQ Event Bus ..... SUCCESS [2.159s]

[INFO] Apache CloudStack Plugin - Hypervisor Baremetal ... SUCCESS [3.715s]

[INFO] Apache CloudStack Plugin - Hypervisor UCS ......... SUCCESS [2.671s]

[INFO] Apache CloudStack Plugin - Network Elastic Load Balancer  SUCCESS 
[2.812s                                                                         
               ]

[INFO] Apache CloudStack Plugin - Network Nicira NVP ..... SUCCESS [6.535s]

[INFO] Apache CloudStack Plugin - BigSwitch Virtual Network Segment  SUCCESS 
[4.                                                                             
           734s]

[INFO] Apache CloudStack Plugin - Midokura Midonet ....... SUCCESS [5.539s]

[INFO] Apache Cloudstack Plugin - Stratosphere SSP ....... SUCCESS [4.575s]

[INFO] Apache CloudStack Plugin - Storage Allocator Random  SUCCESS [2.034s]

[INFO] Apache CloudStack Plugin - User Authenticator LDAP  SUCCESS [1.966s]

[INFO] Apache CloudStack Plugin - User Authenticator MD5 . SUCCESS [1.908s]

[INFO] Apache CloudStack Plugin - User Authenticator Plain Text  SUCCESS 
[1.874s                                                                         
               ]

[INFO] Apache CloudStack Plugin - User Authenticator SHA256 Salted  SUCCESS 
[3.5                                                                            
            47s]

[INFO] Apache CloudStack Plugin - Dns Notifier Example ... SUCCESS [1.852s]

[INFO] Apache CloudStack Plugin - Storage Image S3 ....... SUCCESS [2.186s]

[INFO] Apache CloudStack Plugin - Storage Image Swift provider  SUCCESS [2.148s]

[INFO] Apache CloudStack Plugin - Storage Image default provider  SUCCESS 
[2.173                                                                          
              s]

[INFO] Apache CloudStack Plugin - Storage Image sample provider  SUCCESS 
[2.016s                                                                         
               ]

[INFO] Apache CloudStack Plugin - Storage Volume SolidFire Provider  SUCCESS 
[4.                                                                             
           354s]

[INFO] Apache CloudStack Plugin - Storage Volume default provider  SUCCESS 
[2.34                                                                           
             2s]

[INFO] Apache CloudStack Plugin - Storage Volume sample provider  SUCCESS 
[2.068                                                                          
              s]

[INFO] Apache CloudStack Plugin - SNMP Alerts ............ SUCCESS [3.547s]

[INFO] Apache CloudStack Plugin - Syslog Alerts .......... SUCCESS [3.462s]

[INFO] Apache CloudStack Plugin - Network Internal Load Balancer  SUCCESS 
[4.984                                                                          
              s]

[INFO] Apache CloudStack Test ............................ SUCCESS [0.184s]

[INFO] Apache CloudStack Console Proxy Service ........... SUCCESS [0.034s]

[INFO] Apache CloudStack Console Proxy ................... SUCCESS [3.751s]

[INFO] Apache CloudStack Client UI ....................... SUCCESS [6.363s]

[INFO] Apache CloudStack Console Proxy Plugin ............ SUCCESS [0.067s]

[INFO] Apache CloudStack AWS API Bridge .................. FAILURE [3.713s]

[INFO] ------------------------------------------------------------------------

[INFO] BUILD FAILURE

[INFO] ------------------------------------------------------------------------

[INFO] Total time: 4:38.107s

[INFO] Finished at: Thu Nov 28 23:25:47 EST 2013

[INFO] Final Memory: 57M/593M

[INFO] ------------------------------------------------------------------------

[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-compiler-plugin:2.                               
                                                         5.1:compile 
(default-compile) on project cloud-awsapi: Compilation failure: Comp            
                                                                            
ilation failure:

[ERROR] error: error reading 
/home/dvosbury/.m2/repository/org/apache/axis2/mex/                             
                                                           
1.5.4/mex-1.5.4-impl.jar; error in opening zip file

[ERROR] error: error reading 
/home/dvosbury/.m2/repository/org/apache/axis2/axis                             
                                                           
2-mtompolicy/1.5.4/axis2-mtompolicy-1.5.4.jar; error in opening zip file

[ERROR] error: error reading 
/home/dvosbury/.m2/repository/org/apache/ws/commons                             
                                                           
/axiom/axiom-dom/1.2.10/axiom-dom-1.2.10.jar; error in opening zip file

[ERROR] error: error reading 
/home/dvosbury/.m2/repository/org/opensaml/opensaml                             
                                                           
1/1.1/opensaml1-1.1.jar; error in opening zip file

[ERROR] error: error reading 
/home/dvosbury/.m2/repository/commons-lang/commons-                             
                                                           
lang/2.3/commons-lang-2.3.jar; error in opening zip file

[ERROR] -> [Help 1]

[ERROR]

[ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
swit                                                                            
            ch.

[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 
rea                                                                             
           d the following articles:

[ERROR] [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureExc                 
                                                                       eption

[ERROR]

[ERROR] After correcting the problems, you can resume the build with the command

[ERROR]   mvn <goals> -rf :cloud-awsapi

make: *** [build-indep-stamp] Error 1

dpkg-buildpackage: error: debian/rules build gave error exit status 2





David Vosbury





Reply via email to