[Build-common-hackers] Bug#455594: cdbs-edit-patch does not unpatch source tree before editing patches

Simon Ruggier simon80 at gmail.com
Tue Dec 11 01:09:16 UTC 2007

Package: cdbs
Version: 0.4.49ubuntu2
Severity: normal

1. Use cdbs-edit-patch to create a patch
2. call debuild or something to apply the patch
3. use cdbs-edit-patch to edit the same patch
4. call fakeroot debian/rules clean

Actual behaviour: The patched sources are not cleaned up before the
patch is edited, and the clean results in a failure to reverse the
modified patch.

Expected behaviour: The script should invoke debian/rules clean,
reverting the tree to an unpatched state, before copying the source tree
and editing the patch.

-- System Information:
Debian Release: lenny/sid
  APT prefers gutsy-updates
  APT policy: (500, 'gutsy-updates'), (500, 'gutsy-security'), (500,
'gutsy-backports'), (500, 'gutsy')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-14-generic (SMP w/1 CPU core)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

cdbs depends on no packages.

Versions of packages cdbs recommends:
ii  autotools-dev              20070306.1    Update infrastructure for config.{
ii  debhelper                  5.0.51ubuntu3 helper programs for debian/rules

-- no debconf information

More information about the Build-common-hackers mailing list