[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#627838: [debian-kernel-handbook] Wrong instruction in 4.5 Building a custom kernel from Debian kernel source ("version number does not start with digit")



On Tue, 2011-05-24 at 16:19 -0400, Filipus Klutiero wrote:
> Package: debian-kernel-handbook
> Version: 1.0.10
> Severity: normal
> 
> There is a wrong command in section 4.5 Building a custom kernel from 
> Debian kernel source:
> 
> > $ make KDEB_PKGVERSION=custom.1.0 deb-pkg
> 
> This command fails - after a real long time - with:
> > dpkg-deb: error: parsing file 
> > '/home/chealer/sources/linux-source-2.6.39/debian/hdrtmp/DEBIAN/control' 
> > near line 3 package 'linux-headers-2.6.39':
> >  erreur dans la chaîne Version « custom.1.0 »: version number does not 
> > start with digit
> > make[1]: *** [deb-pkg] Erreur 2
> > make: *** [deb-pkg] Erreur 2
> 
> The French says 'error in Version string "custom.1.0"'.
> Apparently dpkg-deb no longer accepts Version strings that start with 
> something other than a digit.
> 
> There is however an easy workaround, changing the version string, for 
> example to "1.0":
> > $ make KDEB_PKGVERSION=1.0 deb-pkg

I think this example was written in the belief that $KDEB_PKGVERSION
would define the Debian revision, whereas it really defines the whole
package version.  So the example should be something like
'2.6.39-custom.1.0'.

Ben.

-- 
Ben Hutchings
Once a job is fouled up, anything done to improve it makes it worse.

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


Reply to: