wido / cloudstack-package-docker-deb

Docker images to create Apache CloudStack DEB packages
http://www.cloudstack.org/
0 stars 0 forks source link

Fails to build for 4.6 to 4.9 and master #1

Open hydratim opened 8 years ago

hydratim commented 8 years ago

Followed instructions (there aren't many), but it still fails to build for master/4.9 and 4.6.

Master and 4.9 fail with:

dpkg-buildpackage: source changed by the Apache CloudStack project <dev@cloudstack.apache.org>
dpkg-buildpackage: host architecture amd64
dpkg-source --before-build cloudstack
dpkg-checkbuilddeps: error: Unmet build dependencies: python-mysql.connector dh-systemd
dpkg-buildpackage: warning: build dependencies/conflicts unsatisfied; aborting
dpkg-buildpackage: warning: (Use -d flag to override.)

4.6 fails with:

# cloudstack-marvin
mkdir -p "debian/tmp"/usr/share/cloudstack-marvin
cp tools/marvin/dist/Marvin-*.tar.gz "debian/tmp"/usr/share/cloudstack-marvin/
cp: cannot stat 'tools/marvin/dist/Marvin-*.tar.gz': No such file or directory
make[1]: *** [override_dh_auto_install] Error 1
debian/rules:26: recipe for target 'override_dh_auto_install' failed
make[1]: Leaving directory '/mnt/build/cloudstack'
debian/rules:9: recipe for target 'binary' failed
make: *** [binary] Error 2
dpkg-buildpackage: error: debian/rules binary gave error exit status 2
runguyenhuu commented 7 years ago

Hi Hydratim ! Have you fixed this error ? I met same error, can not built CloudStack.

SeanTasker commented 6 years ago

I realise this is quite an old issue. I ran into this problem as well and tried different OS and cloudstack versions. The following resolved the issue for me on CentOS 6.9:

yum -y install python-setuptools

Then reran ./package.sh -d centos63