Bug#672378: "debuild clean" uses unpatched files

Ole Streicher debian at liska.ath.cx
Thu May 10 14:08:02 UTC 2012


Package: devscripts
Version: 2.11.7
Severity: normal

I have a package that needs a patch for the configure.ac (upstream uses
a patched automake); see the appended sample package.

When I run (as recommended in [1])

debuild
debuild clean

I get

[...]
configure.ac:2: require Automake 1.8.4-starlink, but have 1.11.3
make[1]: *** [Makefile.in] Fehler 1

This is because debuild finally reverses the applied patches, and
"debuild clean" does not re-apply them. So, after running debuild, the
user is left with a directory tree that is not cleanable anymore.

debuild should either automatically call dh_clean, or "debuild clean"
should apply the patches before actually doing the cleanup.

Best regards

Ole

[1] http://www.debian.org/doc/manuals/maint-guide/build.en.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ddsa_0.1.orig.tar.gz
Type: application/x-gzip
Size: 33907 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/devscripts-devel/attachments/20120510/cf1871a1/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ddsa_0.1-1.debian.tar.gz
Type: application/x-gzip
Size: 963 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/devscripts-devel/attachments/20120510/cf1871a1/attachment-0003.bin>


More information about the devscripts-devel mailing list