intel / virtual-storage-manager

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

debuild fails on ubuntu 14

cholcombe973 opened this issue · comments

If you check out the source from master and cd into ubuntu14 it errors out when you run debuild:

++ mktemp
+ TEMP=/tmp/tmp.mMd9AgCoy0
+ rm -rfv /tmp/tmp.mMd9AgCoy0
+ mkdir -p /tmp/tmp.mMd9AgCoy0
+ echo '%debug_package %{nil}'
+ SOURCE_DIR=source
+ VSM_DIR=vsm
+ VSMCLIENT_DIR=python-vsmclient
+ VSMDASHBOARD_DIR=vsm-dashboard
+ VSM_DEPLOY_DIR=vsm-deploy
+ source /home/ubuntu/virtual-storage-manager-2.1.0/ubuntu14/.lib/setiptables
./builddeb: line 45: /home/ubuntu/virtual-storage-manager-2.1.0/ubuntu14/.lib/setiptables: No such file or directory

Hi cholcombe973, did you want to build vsm deb packages? You can run the 'buildvsm.sh' script under the 'virtual-storage-manager-2.1.0'. So you can get the packages under the folder named 'virtual-storage-manager-2.1.0/vsmrepo'.

Yes I'd like to build the vsm deb packages so they can be included in ubuntu's repo's.

cd virtual-storage-manager
git checkout 2.1

cd source/python-vsmclient
python setup.py sdist
cp dist/python-vsmclient-2.1.0.post312.tar.gz ../../ubuntu14/

cd ../../ubuntu14/
ln -s python-vsmclient-2.1.0.post312.tar.gz python-vsmclient_2.1.0.orig.tar.gz

cd python-vsmclient/
dch -i
update debian/changelog with new version:
python-vsmclient (1:2.1.0-0ubuntu2) UNRELEASED; urgency=medium

  * New upstream release.

 -- Corey Bryant <corey.bryant@canonical.com>  Wed, 15 Jun 2016 12:09:35 -0400

python-vsmclient (2015.03-1) unstable; urgency=low

  * Initial release (Closes: #nnnn)  <nnnn is the bug number of your ITP>

 -- root <intel@intel.com>  Wed, 01 Apr 2015 14:30:32 +0800

mv install-python-vsmclient.sh ..  # this will mess up the install, but leaving the file here makes debuild -S fail

debuild -S