[Build-common-hackers] Bug#414305: cdbs: Call of 'ant clean' happens _after_ patch removal

Magnus Holmgren holmgren at lysator.liu.se
Mon Sep 17 13:45:14 UTC 2007


retitle 414305 cdbs: simple-patchsys reverses patches too early
severity 414305 important
thanks

> This problem  doesn't only  come from  the ant class  but also  with the
> other  classes  because it  derived  from  buildcore.mk  which does  the
> following:
>
> clean:: testdir testroot cleanbuilddir reverse-config
>
> Could someone please confirm this  problem? If so, maybe this bug should
> be retitled.

I can reproduce it with /usr/share/cdbs/1/class/gnome.mk.

The problem is actually not in buildcore.mk. Compare simple-patchsys.mk to 
dpatch.mk and patchsys-quilt.mk. I think the right solution is to apply 
s/^cleanbuilddir::/clean::/ to the former.

-- 
Magnus Holmgren        holmgren at lysator.liu.se
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/build-common-hackers/attachments/20070917/9c36c294/attachment.pgp 


More information about the Build-common-hackers mailing list