make a backport package using pbuilder

John Dong john.dong at gmail.com
Wed Dec 17 16:35:17 GMT 2008


On Wed, Dec 17, 2008 at 3:40 PM, Schoap D <schoappied at gmail.com> wrote:

>
>  fakeroot debian/rules clean
> debian/rules:3: /usr/share/cdbs/1/rules/debhelper.mk: No such file or
> directory
> debian/rules:4: /usr/share/cdbs/1/class/autotools.mk: No such file or
> directory
> debian/rules:5: /usr/share/cdbs/1/rules/patchsys-quilt.mk: No such file or
> directory
> make: *** No rule to make target `/usr/share/cdbs/1/rules/
> patchsys-quilt.mk'. Stop.
>

When you use debuild -S to regenerate a source package, you need to have
the cdbs and quilt packages installed, as the build dependencies and the
above error messages state. It is necessary to evaluate the 'clean' target
in the makefile.


prevu works around this by using pdebuild's "internal" option (man pdebuild,
search internal) which uses the pbuilder chroot to do all of this work.

Of course it doesn't hurt to just install cdbs and quilt :D
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/ubuntu-backports/attachments/20081217/e6a9c03f/attachment.htm 


More information about the ubuntu-backports mailing list