Package: dh-kpatches
Version: 0.99.36
Severity: normal

In dh-kpatches' document,

    Kernel-version

    As a special case, the value "all" is allowed, for patches that
    don't depend on a specific version (eg. if they just add a set of
    files).

but "Kernel-version: all" is not allowed.

For example

kernel-patch-vd-unicon.kpatches.font
> Patch-name: VD UNICON kernel fonts
> Patch-id: vd_unicon-kernel-fonts
> Path-strip-level: 1
>
> Patch-file: vd_unicon-kernel-fonts-20040205.patch
> Architecture: all
> Kernel-version: all

is not allowed.

dh_installkpatches
Malformed kernel version: `all' at /usr/bin/dh_installkpatches line 306.
make: *** [binary-indep] Error 1
debuild: fatal error at line 1228:
fakeroot debian/rules binary failed

Here is fix patch for dh-kpatches.nw.

Regards,
        dai

-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.19
Locale: LANG=ja_JP.EUC-JP, LC_CTYPE=ja_JP.EUC-JP (charmap=EUC-JP) (ignored: 
LC_ALL set to ja_JP.EUC-JP)

Versions of packages dh-kpatches depends on:
ii  debhelper                     5.0.42     helper programs for debian/rules
ii  perl                          5.8.8-7    Larry Wall's Practical Extraction 

dh-kpatches recommends no packages.

-- no debconf information
--- dh-kpatches-99/dh-kpatches.nw.orig  2005-06-09 07:40:11.000000000 +0900
+++ dh-kpatches-99/dh-kpatches.nw       2006-01-05 16:41:00.000000000 +0900
@@ -805,6 +805,8 @@ test below...
       die "Reverse-ordered range: `$kversion'" if $2 < $first;
       $kversion = [ $branch, $first, $2 ];
     }
+  } elsif ($kv[0] eq 'all') {
+    ;
   } else {
     $kv[0] =~ $minimal_kversion_pattern or die "Malformed kernel version: 
`$kv[0]'";
   }

Reply via email to