A make-kpkg clean does not work. The work-around / fix by Tino does not 
seem to work here.

dpkg-gencontrol: error: package linux-image-2.6.35-rc5-tp42-
toi-3.1.1.1-04995-g7441ae8 not in control info

seems to indicate that dpkg-gencontrol does not pickup the + at the end of 
the version number in debian/control.

I do not get why tough:

 92 while (@ARGV) {
 93     $_=shift(@ARGV);
 94     if (m/^-p([-+0-9a-z.]+)$/) {
 95         $oppackage= $1;

AFAIK the above regexpt should match a + sign! Nope, maybe it uses the "-" 
preceeding the "+" as a interval marker.

Testing with: 

 94     if (m/^-p([\-\+0-9a-z.]+)$/) {

Nope that still doesn't work:

dpkg-gencontrol: error: package linux-image-2.6.35-rc5-tp42-
toi-3.1.1.1-04995-g7441ae8 not in control info

With

shambhala:~> diff -u /usr/bin/dpkg-gencontrol-2010-07-16 /usr/bin/dpkg-
gencontrol
--- /usr/bin/dpkg-gencontrol-2010-07-16 2010-05-19 08:05:52.000000000 
+0200
+++ /usr/bin/dpkg-gencontrol    2010-07-16 18:06:54.637972946 +0200
@@ -92,7 +92,7 @@
 while (@ARGV) {
     $_=shift(@ARGV);
     if (m/^-p([-+0-9a-z.]+)$/) {
-        $oppackage= $1;
+        $oppackage= "linux-image-2.6.35-rc5-tp42-toi-3.1.1.1+";
     } elsif (m/^-p(.*)/) {
         error(_g("Illegal package name \`%s'"), $1);
     } elsif (m/^-c/) {

I get a different error message:

install -p    -o root -g root  -m  644 ./debian/templates.master 
/home/martin/Computer/Shambhala/Kernel/2.6.35/tuxonice-head/debian/linux-
image-2.6.35-rc5-tp42-toi-3.1.1.1-04995-g7441ae8/DEBIAN/templates
dpkg-gencontrol -DArchitecture=i386 -isp             \
                        -plinux-image-2.6.35-rc5-tp42-toi-3.1.1.1-04995-
g7441ae8 -P/home/martin/Computer/Shambhala/Kernel/2.6.35/tuxonice-
head/debian/linux-image-2.6.35-rc5-tp42-toi-3.1.1.1-04995-g7441ae8/
dpkg-gencontrol: error: source package has two conflicting values - linux-
source-2.6.35-rc5-tp42-toi-3.1.1.1+ and linux-source-2.6.35-rc5-tp42-
toi-3.1.1.1-04995-g7441ae8
make[2]: *** [debian/stamp/binary/linux-image-2.6.35-rc5-tp42-
toi-3.1.1.1-04995-g7441ae8] Error 255
make[2]: Leaving directory 
`/home/martin/Computer/Shambhala/Kernel/2.6.35/tuxonice-head'
make[1]: *** [debian/stamp/binary/pre-linux-image-2.6.35-rc5-tp42-
toi-3.1.1.1-04995-g7441ae8] Error 2
make[1]: Leaving directory 
`/home/martin/Computer/Shambhala/Kernel/2.6.35/tuxonice-head'
make: *** [linux_image] Error 2

I am installing that kernel manually now.

Ciao,
-- 
Martin 'Helios' Steigerwald - http://www.Lichtvoll.de
GPG: 03B0 0D6C 0040 0710 4AFA  B82F 991B EAAC A599 84C7

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to