On Wed, Aug 25, 2010 at 12:32:13AM +0200, Michael Prokop wrote:
mahashakti89, you should consider reporting bugs with *english*
error messages.

You are indeed right ... I'will take notice of this.

This bug is caused by scripts/setlocalversion of recent kernel
versions which appends "a plus sign if the repository is not in a
clean tagged state and LOCALVERSION= is not specified"

When running:

 KBUILD_VERBOSE=1 make-kpkg ...

you'll notice something like:

 echo "2.6.35-grml64$(/bin/sh /home/mika/kernel/linux-2.6.35/scripts/setlocalversion 
/home/mika/kernel/linux-2.6.35)" > include/config/kernel.release

and there we are. It's easy reproducable inside a git tree. As soon
as "git describe --exact-match" reports an error[1] you'll notice:

% sh scripts/setlocalversion
+

As a workaround you can execute something like:

 mv scripts/setlocalversion scripts/setlocalversion.unused
 ln -s /bin/true scripts/setlocalversion

or also (untested though) checkout a tagged branch of your git tree,
so 'git describe --exact-match' works.

[1] Which can be easily triggered if you're on master
of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
and execute:

 make defconfig
 make prepare
 scripts/setlocalversion

regards,
-mika-

Thanks for the advice / Besten Dank für den Tipp.

mahashakti89








--
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