You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by Milamber <mi...@apache.org> on 2015/04/19 11:36:49 UTC
Build CS 4.4 errors Ubuntu
Hello,
I've try to build CS 4.4 from 4.4 branch (up-to-date),
I've this error:
$ time dpkg-buildpackage -uc -us
dpkg-buildpackage: source package cloudstack
dpkg-buildpackage: source version 4.4.2
dpkg-buildpackage: source distribution unstable
[....]
dpkg-source: warning: source directory 'cloudstack-dev' is not
<sourcepackage>-<upstreamversion> 'cloudstack-4.4.2'
dpkg-source: info: building cloudstack in cloudstack_4.4.2.tar.gz
dpkg-source: info: building cloudstack in cloudstack_4.4.2.dsc
debian/rules build
dh_testdir
cp packaging/debian/replace.properties replace.properties.tmp
echo VERSION=4.4.2 >> replace.properties.tmp
[....]
[INFO]
------------------------------------------------------------------------
[INFO] Building Apache CloudStack 4.4.3-SNAPSHOT
[INFO]
------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ cloudstack ---
[INFO] Deleting /root/CS/cloudstack-dev/target (includes = [**/*],
excludes = [])
[INFO] Deleting /root/CS/cloudstack-dev (includes = [target, dist],
excludes = [])
[INFO]
[INFO] --- maven-remote-resources-plugin:1.3:process (default) @
cloudstack ---
[INFO]
[INFO] --- maven-site-plugin:3.3:attach-descriptor (attach-descriptor) @
cloudstack ---
[INFO]
[INFO]
------------------------------------------------------------------------
[INFO] Building Apache CloudStack Maven Conventions Parent 4.4.3-SNAPSHOT
[INFO]
------------------------------------------------------------------------
[INFO]
[....]
# cloudstack-agent
mkdir "debian/tmp"/"/etc"/cloudstack/agent
mkdir "debian/tmp"/var/log/cloudstack/agent
mkdir "debian/tmp"/usr/share/cloudstack-agent
mkdir "debian/tmp"/usr/share/cloudstack-agent/plugins
install -D agent/target/cloud-agent-4.4.2.jar
"debian/tmp"/usr/share/cloudstack-agent/lib/cloudstack-agent.jar
install: cannot stat ‘agent/target/cloud-agent-4.4.2.jar’: No such file
or directory
make: *** [install] Error 1
dpkg-buildpackage: error: debian/rules binary gave error exit status 2
I suppose that I must change the 4.4.2 version for 4.4.3 in some files?
Anyone have the quick solve for me?
Thanks
Milamber
Re: Build CS 4.4 errors Ubuntu
Posted by Daan Hoogland <da...@gmail.com>.
Have a look at the release candidate. it should contain the changelog
entry for 4.4.3 for debian builds. It will be merged back at release.
On Sun, Apr 19, 2015 at 11:36 AM, Milamber <mi...@apache.org> wrote:
> Hello,
>
> I've try to build CS 4.4 from 4.4 branch (up-to-date),
> I've this error:
>
> $ time dpkg-buildpackage -uc -us
> dpkg-buildpackage: source package cloudstack
> dpkg-buildpackage: source version 4.4.2
> dpkg-buildpackage: source distribution unstable
> [....]
> dpkg-source: warning: source directory 'cloudstack-dev' is not
> <sourcepackage>-<upstreamversion> 'cloudstack-4.4.2'
> dpkg-source: info: building cloudstack in cloudstack_4.4.2.tar.gz
> dpkg-source: info: building cloudstack in cloudstack_4.4.2.dsc
> debian/rules build
> dh_testdir
> cp packaging/debian/replace.properties replace.properties.tmp
> echo VERSION=4.4.2 >> replace.properties.tmp
> [....]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building Apache CloudStack 4.4.3-SNAPSHOT
> [INFO]
> ------------------------------------------------------------------------
> [INFO]
> [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ cloudstack ---
> [INFO] Deleting /root/CS/cloudstack-dev/target (includes = [**/*],
> excludes = [])
> [INFO] Deleting /root/CS/cloudstack-dev (includes = [target, dist],
> excludes = [])
> [INFO]
> [INFO] --- maven-remote-resources-plugin:1.3:process (default) @
> cloudstack ---
> [INFO]
> [INFO] --- maven-site-plugin:3.3:attach-descriptor (attach-descriptor) @
> cloudstack ---
> [INFO]
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building Apache CloudStack Maven Conventions Parent 4.4.3-SNAPSHOT
> [INFO]
> ------------------------------------------------------------------------
> [INFO]
> [....]
>
> # cloudstack-agent
> mkdir "debian/tmp"/"/etc"/cloudstack/agent
> mkdir "debian/tmp"/var/log/cloudstack/agent
> mkdir "debian/tmp"/usr/share/cloudstack-agent
> mkdir "debian/tmp"/usr/share/cloudstack-agent/plugins
> install -D agent/target/cloud-agent-4.4.2.jar
> "debian/tmp"/usr/share/cloudstack-agent/lib/cloudstack-agent.jar
> install: cannot stat ‘agent/target/cloud-agent-4.4.2.jar’: No such file
> or directory
> make: *** [install] Error 1
> dpkg-buildpackage: error: debian/rules binary gave error exit status 2
>
>
> I suppose that I must change the 4.4.2 version for 4.4.3 in some files?
> Anyone have the quick solve for me?
>
> Thanks
>
> Milamber
>
>
>
--
Daan