[Build-common-hackers] Bug#380499: cdbs 0.4.45 simple-patchsys.mk doesn't properly distinguish patches

Christopher Martin chrsmrtn at gmail.com
Sun Jul 30 16:04:33 UTC 2006


Package: cdbs
Version: 0.4.45
Severity: critical

apt-get source kdelibs, and in the top-level source directory, try:

fakeroot debian/rules apply-patches

Notice how debian/patches/04_am_maintainer_mode.diff is skipped 
because "it's already applied" even though it clearly isn't? There is a 
similarly named but different patch, 
debian/patches/common/04_am_maintainer_mode.diff, which is perhaps 
confusing CDBS.

Then of course if you try:

fakeroot debian/rules clean

...we get an error, since it can't unapply a patch that wasn't actually 
applied.

This could mess up a number of KDE builds, so a quick fix would be 
great. CDBS 0.4.44 worked fine.

Thanks,
Christopher Martin




More information about the Build-common-hackers mailing list