RE: Issue building Deb packages from source
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
Re: Issue building Deb packages from source
This is because the incorrect .jar file or .pom file is missing in the maven repository, I think. 2013/11/29 Saksham Srivastava saksham.srivast...@citrix.com 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]
Re: Issue building Deb packages from source
Yes this - maven has either a corrupted jar or wasn't able to get the jar and is now complaining. --David On Fri, Nov 29, 2013 at 7:20 AM, Wei ZHOU ustcweiz...@gmail.com wrote: This is because the incorrect .jar file or .pom file is missing in the maven repository, I think. 2013/11/29 Saksham Srivastava saksham.srivast...@citrix.com 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
RE: Issue building Deb packages from source
The jar files are in the maven repository. If they are corrupted where would I get replacements? Or is there some environment variable for maven that I have set so that it can find these jars? -Original Message- From: David Nalley [mailto:da...@gnsa.us] Sent: Friday, November 29, 2013 9:41 AM To: dev@cloudstack.apache.org Subject: Re: Issue building Deb packages from source Yes this - maven has either a corrupted jar or wasn't able to get the jar and is now complaining. --David On Fri, Nov 29, 2013 at 7:20 AM, Wei ZHOU ustcweiz...@gmail.com wrote: This is because the incorrect .jar file or .pom file is missing in the maven repository, I think. 2013/11/29 Saksham Srivastava saksham.srivast...@citrix.com 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