[Build-common-hackers] Bug#389508: cdbs: Not working properly (not
using existing patch)
Nelson A. de Oliveira
naoliv at gmail.com
Tue Sep 26 01:20:57 UTC 2006
Package: cdbs
Version: 0.4.46
Severity: normal
Hi!
(I hope that it's not a mistake that I am doing.)
>From cdbs-edit-patch manpage:
SYNOPSIS
cdbs-edit-patch patchname
(...)
When patchname exists, cdbs-edit-patch will set up a temporary working
source tree, apply all patches up to and including patchname in lexico‐
graphic order, and spawn an interactive shell for the developer. The
developer can then edit files in this working tree. When the developer
is done and exits the shell, cdbs-edit-patch updates patchname to
reflect the changes made. To abort the process from the interactive
shell, exit with a nonzero exit value.
If I understood correctly, if I call "cdbs-edit-patch foo" and foo
exists, it will apply foo, I will edit what I have to edit and then it
will save the new "foo" patch, right?
But it's not working as described:
$ ls debian/patches/Makefile.diff
debian/patches/Makefile.diff
$ cdbs-edit-patch Makefile.diff
(...)
patches: debian/patches/Makefile.diff
(here it applies Makefile.diff)
(...)
You are now in a subshell in a cleaned copy of your source package.
Please make the changes necessary for the patch Makefile.diff.patch
in this directory and exit with status 0 to create/update the patch.
Exiting with a non-zero value will cancel the patch modification.
It should edit Makefile.diff instead Makefile.diff.patch!
If I modify something and exit, it will create a new patch
Makefile.diff.patch. This is wrong I think.
Thank you very much!
Best regards,
Nelson
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-mm1
Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8)
cdbs depends on no packages.
Versions of packages cdbs recommends:
ii autotools-dev 20060702.1 Update infrastructure for config.{
ii debhelper 5.0.37.3 helper programs for debian/rules
-- no debconf information
More information about the Build-common-hackers
mailing list