You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by Graeme Lambert <gl...@adepteo.net> on 2013/12/06 16:59:49 UTC

Build debs for 4.2.1

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*

Adepteo Logo <http://ck2.it/adepteo> 	

*Address:* Adepteo Limited
24 Market Street
Tottington
Bury
BL8 4AD

Map <http://ck2.it/m>

	

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

*Find us on* Follow adepteo on Twitter <http://ck2.it/2n> Follow adepteo 
on Facebook <http://ck2.it/3b> Follow adepteo on LinkedIN <http://ck2.it/69>

	

<http://ck2.it/67>
*Finalist 2012*


Re: Build debs for 4.2.1

Posted by Graeme Lambert <gl...@adepteo.net>.
Hi Wido,

I reverted my change in debian/rules and created a symlink from 
/usr/bin/mvn3 to /usr/bin/mvn and re-ran it and got the same result.

Please note I'm using Ubuntu 13.04, not Debian.

[INFO] Apache CloudStack Console Proxy Plugin ............ SUCCESS [0.352s]
[INFO] Apache CloudStack AWS API Bridge .................. FAILURE [6.822s]
[INFO] 
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] 
------------------------------------------------------------------------
[INFO] Total time: 7:32.183s
[INFO] Finished at: Mon Dec 09 14:28:28 GMT 2013
[INFO] Final Memory: 74M/496M
[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

Best regards

*Graeme Lambert*

Adepteo Logo <http://ck2.it/adepteo> 	

*Address:* Adepteo Limited
24 Market Street
Tottington
Bury
BL8 4AD

Map <http://ck2.it/m>

	

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

*Find us on* Follow adepteo on Twitter <http://ck2.it/2n> Follow adepteo 
on Facebook <http://ck2.it/3b> Follow adepteo on LinkedIN <http://ck2.it/69>

	

<http://ck2.it/67>
*Finalist 2012*

On 09/12/13 13:43, Wido den Hollander wrote:
> 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 <gl...@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
>>>>
>>>>
>>>>
>>>
>>


Re: Build debs for 4.2.1

Posted by Wido den Hollander <wi...@widodh.nl>.

On 12/10/2013 03:06 PM, Graeme Lambert wrote:
> Hi,
>
> Do you have any idea where I'm going wrong?
>

No, not really. I only have Ubuntu 12.04 systems running and just 
"dpkg-buildpackage" gives me all the packages.

The default maven 3 from Precise should be just fine.

I just got:

dh_builddeb
	dpkg-deb --build debian/cloudstack-common ..
dpkg-deb: building package `cloudstack-common' in 
`../cloudstack-common_4.2.1-snapshot_all.deb'.
..
..
..
  dpkg-genchanges  >../cloudstack_4.2.1-snapshot_amd64.changes
dpkg-genchanges: including full source code in upload
  dpkg-source --after-build cloudstack
dpkg-buildpackage: full upload; Debian-native package (full source is 
included)

Wido

> Thanks,
>
> Graeme
>
> On 09/12/13 14:40, Graeme Lambert wrote:
>> Hi Wido,
>>
>> So you know what I've done to get here:
>>
>> apt-get install phython-software-properties
>> apt-get install python-software-properties
>> add-apt-repository ppa:natecarlson/maven3
>> *vi /etc/apt/sources.list.d/natecarlson-maven3-raring.list *
>> apt-get update -y
>> apt-get install ant debhelper openjdk-6-jdk tomcat6
>> libws-commons-util-java genisoimage python-mysqldb
>> libcommons-codec-java libcommons-httpclient-java liblog4j1.2-java
>> maven3 -y
>> mvn3 -P deps
>> dpkg-buildpackage -uc -us
>>
>> I changed natecarlson-maven3-raring.list to precise.
>>
>> Best regards
>>
>> *Graeme Lambert*
>>
>> Adepteo Logo <http://ck2.it/adepteo> 	
>>
>> *Address:* Adepteo Limited
>> 24 Market Street
>> Tottington
>> Bury
>> BL8 4AD
>>
>> Map <http://ck2.it/m>
>>
>> 	
>>
>> *Web:* http://www.adepteo.net
>> *Tel/SMS:* 0161 710 3000 - Switchboard
>> *Tel/SMS:* 0161 710 2000 - Support
>> *Fax:* 0161 710 3019
>>
>> *Find us on* Follow adepteo on Twitter <http://ck2.it/2n> Follow
>> adepteo on Facebook <http://ck2.it/3b> Follow adepteo on LinkedIN
>> <http://ck2.it/69>
>>
>> 	
>>
>> <http://ck2.it/67>
>> *Finalist 2012*
>>
>> On 09/12/13 13:43, Wido den Hollander wrote:
>>> 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 <gl...@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
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>
>>
>

Re: Build debs for 4.2.1

Posted by Graeme Lambert <gl...@adepteo.net>.
Hi,

Do you have any idea where I'm going wrong?

Thanks,

Graeme

On 09/12/13 14:40, Graeme Lambert wrote:
> Hi Wido,
>
> So you know what I've done to get here:
>
> apt-get install phython-software-properties
> apt-get install python-software-properties
> add-apt-repository ppa:natecarlson/maven3
> *vi /etc/apt/sources.list.d/natecarlson-maven3-raring.list *
> apt-get update -y
> apt-get install ant debhelper openjdk-6-jdk tomcat6 
> libws-commons-util-java genisoimage python-mysqldb 
> libcommons-codec-java libcommons-httpclient-java liblog4j1.2-java 
> maven3 -y
> mvn3 -P deps
> dpkg-buildpackage -uc -us
>
> I changed natecarlson-maven3-raring.list to precise.
>
> Best regards
>
> *Graeme Lambert*
>
> Adepteo Logo <http://ck2.it/adepteo> 	
>
> *Address:* Adepteo Limited
> 24 Market Street
> Tottington
> Bury
> BL8 4AD
>
> Map <http://ck2.it/m>
>
> 	
>
> *Web:* http://www.adepteo.net
> *Tel/SMS:* 0161 710 3000 - Switchboard
> *Tel/SMS:* 0161 710 2000 - Support
> *Fax:* 0161 710 3019
>
> *Find us on* Follow adepteo on Twitter <http://ck2.it/2n> Follow 
> adepteo on Facebook <http://ck2.it/3b> Follow adepteo on LinkedIN 
> <http://ck2.it/69>
>
> 	
>
> <http://ck2.it/67>
> *Finalist 2012*
>
> On 09/12/13 13:43, Wido den Hollander wrote:
>> 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 <gl...@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
>>>>>
>>>>>
>>>>>
>>>>
>>>
>


Re: Build debs for 4.2.1

Posted by Graeme Lambert <gl...@adepteo.net>.
Hi Wido,

So you know what I've done to get here:

apt-get install phython-software-properties
apt-get install python-software-properties
add-apt-repository ppa:natecarlson/maven3
*vi /etc/apt/sources.list.d/natecarlson-maven3-raring.list *
apt-get update -y
apt-get install ant debhelper openjdk-6-jdk tomcat6 
libws-commons-util-java genisoimage python-mysqldb libcommons-codec-java 
libcommons-httpclient-java liblog4j1.2-java maven3 -y
mvn3 -P deps
dpkg-buildpackage -uc -us

I changed natecarlson-maven3-raring.list to precise.

Best regards

*Graeme Lambert*

Adepteo Logo <http://ck2.it/adepteo> 	

*Address:* Adepteo Limited
24 Market Street
Tottington
Bury
BL8 4AD

Map <http://ck2.it/m>

	

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

*Find us on* Follow adepteo on Twitter <http://ck2.it/2n> Follow adepteo 
on Facebook <http://ck2.it/3b> Follow adepteo on LinkedIN <http://ck2.it/69>

	

<http://ck2.it/67>
*Finalist 2012*

On 09/12/13 13:43, Wido den Hollander wrote:
> 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 <gl...@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
>>>>
>>>>
>>>>
>>>
>>


Re: Build debs for 4.2.1

Posted by Wido den Hollander <wi...@widodh.nl>.
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 <gl...@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
>>>
>>>
>>>
>>
>

Re: Build debs for 4.2.1

Posted by sebgoa <ru...@gmail.com>.
Graeme,

I copying Wido who has been building the debs

-sebastien

On Dec 9, 2013, at 1:05 PM, Graeme Lambert <gl...@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
>> 
>>  
>>  
> 


Re: Build debs for 4.2.1

Posted by Graeme Lambert <gl...@adepteo.net>.
Hi,

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

Best regards

*Graeme Lambert*

Adepteo Logo <http://ck2.it/adepteo> 	

*Address:* Adepteo Limited
24 Market Street
Tottington
Bury
BL8 4AD

Map <http://ck2.it/m>

	

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

*Find us on* Follow adepteo on Twitter <http://ck2.it/2n> Follow adepteo 
on Facebook <http://ck2.it/3b> Follow adepteo on LinkedIN <http://ck2.it/69>

	

<http://ck2.it/67>
*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*
>
> Adepteo Logo <http://ck2.it/adepteo> 	
>
> *Address:* Adepteo Limited
> 24 Market Street
> Tottington
> Bury
> BL8 4AD
>
> Map <http://ck2.it/m>
>
> 	
>
> *Web:* http://www.adepteo.net
> *Tel/SMS:* 0161 710 3000 - Switchboard
> *Tel/SMS:* 0161 710 2000 - Support
> *Fax:* 0161 710 3019
>
> *Find us on* Follow adepteo on Twitter <http://ck2.it/2n> Follow 
> adepteo on Facebook <http://ck2.it/3b> Follow adepteo on LinkedIN 
> <http://ck2.it/69>
>
> 	
>
> <http://ck2.it/67>
> *Finalist 2012*
>