* mahashakti89 <mahashakt...@orange.fr> [Mit Aug 04, 2010 at 11:13:21 +0200]:

> Building a 2.6.35 kernel - git sources - with kernel-package 12.036
> fails with following error message :

> make[1]: quittant le répertoire « /home/claude/Kernel/linux-2.6 »
>  dpkg-source -b linux-2.6
> dpkg-source: avertissement: aucun format source indiqué dans
> debian/source/format, voir dpkg-source(1)
> dpkg-source: info: utilisation du format source « 1.0 »
> dpkg-source: avertissement: répertoire source linux-2.6 n'est pas
[...]

mahashakti89, you should consider reporting bugs with *english*
error messages.

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-

Attachment: signature.asc
Description: Digital signature

Reply via email to