Package: debhelper
Version: 8.9.0
Severity: important

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Hi

As the subject says, dh_clean fails to remove debian/debhelper.log.  The
relevant part of the (dh_clean) code is:


 # Remove all debhelper logs.
 if (! $dh{D_FLAG} && ! $dh{K_FLAG}) {
        complex_doit("rm","-f","debian/*.debhelper.log");
 }

The reason being "*.debhelper.log" cannot expand to "debhelper.log".  Based
on Dh_Lib.pm I suspect this only happens for source packages with only one
binary package.  Relevant code snippets below:

 sub logfile {
        my $package=shift;
        my $ext=pkgext($package);
        return "debian/${ext}debhelper.log"
 }

 sub pkgext {
        my $package=shift;
 
        if (compat(1) and $package eq $dh{MAINPACKAGE}) {
                return "";
        }
        return "$package.";
 }

Feel free to check [1], if you need live material to test with.

~Niels

[1] http://lintian.debian.org/tags/temporary-debhelper-file.html

- -- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.39-2-686-pae (SMP w/2 CPU cores)
Locale: LANG=en_DK.UTF-8, LC_CTYPE=en_DK.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages debhelper depends on:
ii  binutils              2.21.52.20110606-2 The GNU assembler, linker and bina
ii  dpkg-dev              1.16.0.3           Debian package development tools
ii  file                  5.04-5+b1          Determines file type using "magic"
ii  html2text             1.3.2a-15          advanced HTML to text converter
ii  man-db                2.6.0.2-1          on-line manual pager
ii  perl                  5.12.4-1           Larry Wall's Practical Extraction 
ii  perl-base             5.12.4-1           minimal Perl system
ii  po-debconf            1.0.16+nmu1        tool for managing templates file t

debhelper recommends no packages.

Versions of packages debhelper suggests:
pn  dh-make                       <none>     (no description available)

- -- no debconf information

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQIcBAEBCAAGBQJOIraHAAoJEAVLu599gGRCcA0P/jatnBdSprGGCJUc5KR/lW00
uqlQsTrJ3H/GbtVG5oFJzJLpZMcqRadtIQbCyGL2MFZWMMFefU0HyEWEuAhmYoHO
+ov+lD6Mn7wO4Ixe3FhEE4BNrfzUUCUAn923cp9d1eedrSKetbYrC4mLMtfvI/9w
NtnHrxBb8is7Ybk2mMhhUW3BOl/LT81iWuSKHbQNHiDhNlwqTsgpEpuRBN25FL8c
Q18Ck9JuHJXU9nUDA4wUcDA5DWE5lUPJaR0OXtkpM4kOkZd52BEul6+X96/hSCpW
R1p64gtgXyCtgwpZUJiya5G9gtCAWCxd4BwqWyvGKbVHZAo24y+IqHIBbpcB5ARK
L/DUQY+N+lvXcYc1zWGU4PPbghnh6rtGJ/aEZvwyFveRv8bZKB1UtJzvYKi/jJOQ
Tz/64UeFKDaVGiVFx/kjZVm4Ub40x4tPkA3o5zdGXR56WIC/8klwJ81+RS8+5PpM
87y/1cMd04I2LnEwsTCyyOCP3iodXixWSYzL/0DiEbFmpV+w8P3CZ4IW6LEZC5qZ
hBBQWFPnQ58RGdYo4NZjoeyUFbtL/UtiVwxj00H5cTERU6KlkBDdYN46aTNO5Adv
wgeP7ZkAPFoP9Z3eiAbxHPFQPwFNna0xo4pV4MttojKyKlwejBJVtBStCzUJUh2P
y1hpRPI3SawQObSzocDW
=Xkuv
-----END PGP SIGNATURE-----



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to