FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Kernel

 
 
LinkBack Thread Tools
 
Old 05-24-2011, 08:19 PM
Filipus Klutiero
 
Default Bug#627838: Wrong instruction in 4.5 Building a custom kernel from Debian kernel source ("version number does not start with digit")

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





--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 4DDC12DA.6020209@gmail.com">http://lists.debian.org/4DDC12DA.6020209@gmail.com
 
Old 06-06-2011, 01:13 AM
Ben Hutchings
 
Default Bug#627838: 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.
 

Thread Tools




All times are GMT. The time now is 01:57 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org