[Debichem-devel] Bug#622955: gamgi: fails to clean after build

Steve Langasek steve.langasek at canonical.com
Sat Apr 16 06:47:52 UTC 2011


Package: gamgi
Version: 0.15-3
Severity: important
Tags: patch
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu natty ubuntu-patch

You currently have the following in debian/rules:

override_dh_clean:
        find . -name \*.o | xargs $(RM)
        $(RM) src/global/gamgi.real src/gamgi.real gamgi.1
        [ ! -f src/make_local.orig ] || cp -a src/make_local.orig
        src/make_local

This means that these commands are called *instead of* dh_clean, which is
never called at all.  dh_clean needs to be called to clean up the package
build directories that are created under debian/, as well as the debhelper
log files.

The attached patch has been uploaded to Ubuntu to fix this issue, with the
following changelog entry:

  * debian/rules: when overriding dh_clean, make sure to still call dh_clean;
    otherwise, all the package build directories are left behind under
    debian/.

Please consider applying this patch to the Debian package as well.

Thanks,
-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slangasek at ubuntu.com                                     vorlon at debian.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tmpXpr7OU
Type: text/x-diff
Size: 416 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debichem-devel/attachments/20110415/ab95b024/attachment.diff>


More information about the Debichem-devel mailing list