On 09/07/2012 03:20 PM, Chip Childers wrote:
On Fri, Sep 7, 2012 at 12:33 AM, Rajesh Battala
<rajesh.batt...@citrix.com> wrote:


-----Original Message-----
From: Chip Childers [mailto:chip.child...@sungard.com]
Sent: Friday, September 07, 2012 9:41 AM
To: cloudstack-dev@incubator.apache.org
Subject: [ASFCS40] Release Candidate Status

Hi all,

Wido and Edison have been working on build issues this evening, but we haven't 
sorted everything yet.

Currently, I'm stuck with trying to build the deb packages on a fresh Ubuntu 
12.04 VM.  I'm getting this error during ./waf deb:

incubator-cloudstack/artifacts/debbuild/cloud-4.0/build/build-aws-api.xml:34:
taskdef class org.apache.axis2.tool.ant.AntCodegenTask cannot be found

[Rajesh Battala]
Ant broken. Can you try building other components by commenting 
build-aws-api.xml in build.xml


Based on the latest master, and talking with Wido, the correct build
process for a deb package is now:

mvn install -P deps && dpkg-buildpackage

Wido's updating the wiki shortly.

I updated the Wiki with the Debian build process, the commands you specified are correct.

I've done a couple of commits:
* 664927948a3b2cf10320221db6247a4c20887ac2
* cb0eb19bf02e9f46e87023869ee2729af2a00cee

Waf also errors out when you run ./waf deb:

wido@wido-desktop:~/repos/cloudstack$ ./waf deb
Debian packages are no longer build with waf. Use dpkg-buildpackage instead.
wido@wido-desktop:~/repos/cloudstack$

I've tested the packages on a couple of Ubuntu 12.04 systems and they seem to install.

Using dpkg-buildpackage is a bit more robust since it will complain about missing (build) dependencies instead of having your build fail.

I removed a couple of extra JAR file (see commits) from the cloud-deps package and I'm depending on the Ubuntu repository for them, this makes our binary distribution even smaller.

For the test I've set up a Ubuntu repository which you can add with:

$ echo "deb http://cloudstack.apt-get.eu/ubuntu $(lsb_release -s -c) 4.0" > /etc/apt/sources.list.d/cloudstack.list
$ wget -O - http://cloudstack.apt-get.eu/release.asc|apt-key add -
$ apt-get update
$ apt-get install cloud-agent

That should work on fresh systems and fetch everything you need to set up a CloudStack Agent.

I'll look into oBS from SUSE next week to see if we can use that for building our packages, but I wanted to give my own repo a try first.

I'm willing to distribute the CloudStack packages from this mirror, no problem The current packages were manually uploaded by me.

Wido



Edison is working to get jenkins.cloudstack.org to product the nice installer 
scripts / package tarball distros that CS has previously been publishing.  I 
think that's still a work-in-progress, and my personal preference for how to 
get the binary build artifacts to be part of a release process.

I'm signing off for the night, but I'll check in first thing tomorrow morning 
(around 9 AM Eastern US time) to see if we can use either a Jenkins build 
artifact or a manual (local to me) build process to generate the binary release 
artifacts.  Once I get a decent binary release artifact to sign and post, I'll 
concurrently do the process for the source distro as well.

My plan is to post the unofficial release candidates to 
people.apache.org/~chipchilders/cloudstack/something...  We can't use the 
official ASF distro svn tree yet, since that requires a PPMC vote, and we're 
not done with the licensing issues.

Anyway, that's all I know for now.  Thanks all!

-chip


Reply via email to