[Pkg-kde-extras] Bug#478304: debhelper logs not removed on clean target

Sven Joachim svenjoac at gmx.de
Mon Sep 8 14:33:48 UTC 2008


On 2008-04-28 19:50 +0200, Joey Schulze wrote:

> Package: kaffeine
> Version: 0.8.6-2
> Severity: minor
>
> After the package has been built and the clean target is called two
> log files are not removed:
>
> debian/kaffeine.debhelper.log
> debian/kaffeine-dbg.debhelper.log

I cannot reproduce this.  It seems you used an early version of
debhelper 7, and current debhelper versions work around the issue:

,----
| debhelper (7.0.3) unstable; urgency=low
| 
|   * dh: Fix man page typos. Closes: #477933
|   * Add missing $! to error message when the log can't be opened.
|   * One problem with the log files is that if dh_clean is not the last command
|     run, they will be left behind. This is a particular problem on build
|     daemons that use real root. Especially if cdbs is used, since it runs
|     dh_listpackages after clean, thereby leaving behind log files that
|     only root can touch. Avoid this particular special case by inhibiting
|     logging by dh_listpackages.
| 
|  -- Joey Hess <joeyh at debian.org>  Tue, 29 Apr 2008 01:40:03 -0400
`----

Although that may not even be necessary, since dh_clean seems to be last
debhelper command used in the clean target.  So I think the bug can be
closed, do you agree?

Cheers,
       Sven





More information about the pkg-kde-extras mailing list