Bug#263168: [Build-common-hackers] Bug#263168: clean target doesn't reverse patches if some failed to apply

Martin Quinson Martin Quinson <mquinson@ens-lyon.fr>, 263168@bugs.debian.org
Tue, 3 Aug 2004 09:57:01 -0700


On Tue, Aug 03, 2004 at 09:33:40AM +0100, Ross Burton wrote:
> Package: cdbs
> Version: 0.4.21-0.1
> Severity: normal
> 
> I have a package which uses simple-patchsys to apply 4 patches to the source.
> New release, and one of the patches failed to apply: [the second one]

[...]

> Note how no patches were reversed, although feedparser-remove-py.patch applied
> correctly.
> 
> This causes all manner of problems as the patches are then re-applied on the
> next build, and persist in the source.

As the name implies this is a simple patch system, almost a proof of
concept. It works well in normal conditions, but is not really robust
either. If you search for a serious replacement, I advice you to give dpatch
and quilt a try. 

Since I'm quilt's maintainer and co-upstream, I'd say that is it *ways*
better than dpatch, of course ;)

Quilt integrates well within cdbs, and I seem to remember that dpatch kind
of do so too.

Have a good one,
Mt.