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

Peter Eisentraut peter_e at gmx.net
Sun Jul 30 20:19:24 UTC 2006


Christopher Martin wrote:
> 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.

We need a per-patch stamp file to fix various other misbehaviors, which 
is why this sort of setup is out of luck.  Apparently someone thought 
that the actual patch directory should be read-only, so devising a 
patch stamp naming scheme that can handle this is a bit tricky.

Currently we have

    $(call cdbs_update_stamp,debian/stamp-patch-$$(basename $$patch))

Considering that the patch directory can be chosen arbitrarily (a 
feature that you make use of), we can't just stick the directory name 
in there.

Anyone got an idea?




More information about the Build-common-hackers mailing list