Hmm, odd. That should work, but on Debian it might be a issue.

The packages are supposed to work under Ubuntu, Debian is not really tested with these packages.

Aliassen or symlinking mvn3 to mvn should work.

Wido

On 12/09/2013 01:21 PM, sebgoa wrote:
Graeme,

I copying Wido who has been building the debs

-sebastien

On Dec 9, 2013, at 1:05 PM, Graeme Lambert <glamb...@adepteo.net> wrote:

Hi,

I don't suppose anyone has any feedback on this?
Best regards


Graeme Lambert

<lhead_header.jpg>        
Address: Adepteo Limited
24 Market Street
Tottington
Bury
BL8 4AD

Map

Web: http://www.adepteo.net
Tel/SMS: 0161 710 3000 - Switchboard
Tel/SMS: 0161 710 2000 - Support
Fax: 0161 710 3019

Find us on <twitter.gif> <facebook.gif> <linkedin.gif>

<BestInternetTelephony.gif>
Finalist 2012



On 06/12/13 15:59, Graeme Lambert wrote:
Hi,

Have the build instructions for deb packages for 4.2.1 changed?

I tried to follow these instructions 
http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.2.0/html/Installation_Guide/sect-source-builddebs.html
 and when I first ran "dpkg-buildpackage -uc -us" I got an error saying "mvc command 
not found"

I tracked that down to ./debian/rules and changed line 38 from

         mvn clean package -Pawsapi -DskipTests -Dsystemvm \

to

         mvn3 clean package -Pawsapi -DskipTests -Dsystemvm \

Afterwhich the buildpackage appeared to be successful until 9mins later I got 
this:

[INFO] Total time: 9:37.284s
[INFO] Finished at: Fri Dec 06 15:55:22 GMT 2013
[INFO] Final Memory: 73M/485M
[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


Can someone advise on where I'm going wrong please?

--
Best regards


Graeme Lambert

<Mail Attachment.jpeg>    
Address: Adepteo Limited
24 Market Street
Tottington
Bury
BL8 4AD

Map

Web: http://www.adepteo.net
Tel/SMS: 0161 710 3000 - Switchboard
Tel/SMS: 0161 710 2000 - Support
Fax: 0161 710 3019

Find us on <Mail Attachment.gif> <Mail Attachment.gif> <Mail Attachment.gif>

<Mail Attachment.gif>
Finalist 2012





Reply via email to