David, you are right. these files are HTML files and not zips. I will get them once again and try to compile.
thanks for the tip Andrei ----- Original Message ----- From: "David Nalley" <da...@gnsa.us> To: dev@cloudstack.apache.org Sent: Friday, 4 April, 2014 4:41:16 PM Subject: Re: Error building debs from 4.3.0 source Hi Andrei: If you actually go look at the content of the jars it complains about you'll find that they are a web page from a bad mirror. I've had to manually acquire the right jar at times. --David On Fri, Apr 4, 2014 at 5:18 AM, Andrei Mikhailovsky <and...@arhont.com> wrote: > Hello guys, > > I am trying to build debs from source using the following guide: > > > http://docs.cloudstack.apache.org/projects/cloudstack-installation/en/latest/building_from_source.html#building-deb-packages > > > I did not have any errors up to running: dpkg-buildpackage -uc -us > > > A few minutes in the build process I got the following error: > > [INFO] Apache CloudStack AWS API Bridge .................. FAILURE [02:52 > min] > [INFO] > ------------------------------------------------------------------------ > [INFO] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 09:14 min > [INFO] Finished at: 2014-04-03T23:13:23+00:00 > [INFO] Final Memory: 73M/269M > [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: Compilation > failure: > [ERROR] error: error reading > /root/.m2/repository/org/apache/axis2/mex/1.5.4/mex-1.5.4-impl.jar; error in > opening zip file > [ERROR] error: error reading > /root/.m2/repository/org/apache/axis2/axis2-mtompolicy/1.5.4/axis2-mtompolicy-1.5.4.jar; > error in opening zip file > [ERROR] error: error reading > /root/.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 > /root/.m2/repository/org/opensaml/opensaml1/1.1/opensaml1-1.1.jar; error in > opening zip file > [ERROR] error: error reading > /root/.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 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-awsapi > make: *** [build-indep-stamp] Error 1 > dpkg-buildpackage: error: debian/rules build gave error exit status 2 > > > I've double checked and there is no /root/.m2 folder. Am I missing a > dependency which was not picked up by the previous steps in the guide? > > Many thanks for your help > > Andrei