cdbs question

charliej cjsmo at cableone.net
Wed Mar 18 06:31:58 GMT 2009


On Wed, 2009-03-18 at 06:16 +0000, Chow Loong Jin wrote:
> On Wed, 2009-03-18 at 00:52 -0500, charliej wrote:
> > Here is a cdbs noob question, I am getting this error when building
> > coherence.
> > 
> > ....
> > dh_makeshlibs -ppython-coherence  
> > dh_installdeb -ppython-coherence 
> > dh_perl -ppython-coherence 
> > dh_shlibdeps -ppython-coherence    
> > make: *** No rule to make target `-f', needed by `binary-predeb/python-coherence'.  Stop.
> > dpkg-buildpackage: failure: fakeroot debian/rules binary gave error exit status 2
> > pbuilder: Failed autobuilding of package
> >  -> Aborting with an error
> >  -> unmounting dev/pts filesystem
> >  -> unmounting proc filesystem
> >  -> cleaning the build env 
> >     -> removing directory /var/cache/pbuilder/build//23256 and its subdirectorie
> > 
> > Here is my rules file
> > 
> > 
> > #!/usr/bin/make -f
> > 
> > DEB_PYTHON_SYSTEM := pycentral
> > 
> > include /usr/share/cdbs/1/rules/debhelper.mk
> > include /usr/share/cdbs/1/class/python-distutils.mk
> > #include /usr/share/cdbs/1/rules/simple-patchsys.mk
> > include /usr/share/cdbs/1/rules/utils.mk
> > 
> > # No idea whether this is useful
> > #DEB_PYTHON_INSTALL_ARGS_ALL += --single-version-externally-managed
> > binary-predeb/python-coherence::/bin/rm -f \
> > debian/python-coherence/usr/share/pyshared/coherence/web/static/MochiKit.js
> > 
> > any help on this would be greatly appreciated.
> > 
> > Thanks
> > Charlie
> > 
> You need to leave a line after '::', and indent that line by a tab.
> Something like this:
> 
> binary-predeb/python-coherence::
> 	/bin/rm -f debian/python-coherence/usr/share/pyshared/coherence/web/static/MochiKit.js

Chow Loong Jin, thank you very much, worked like charm. :)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/ubuntu-motu/attachments/20090318/ff986208/attachment.pgp 


More information about the Ubuntu-motu mailing list