Skip to content
This repository has been archived by the owner on Apr 18, 2019. It is now read-only.

debuild fails on ubuntu 14 #543

Open
cholcombe973 opened this issue Jun 14, 2016 · 2 comments
Open

debuild fails on ubuntu 14 #543

cholcombe973 opened this issue Jun 14, 2016 · 2 comments

Comments

@cholcombe973
Copy link

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
@zhubx007
Copy link
Contributor

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'.

@cholcombe973
Copy link
Author

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 <[email protected]>  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 <[email protected]>  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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants