Just compiled Kernel version 2.6.28.1 from stable branch. I had similar
issue. I had to comment out few lines at end of scripts/setlocalversion

      52                         # If only the short version is requested, 
don't bother
     53                         # running further git commands
     54                         if $short; then
     55                                 echo ""
     56                                 return

and

    158 # scm version string if not at a tagged commit
    159 if test "$CONFIG_LOCALVERSION_AUTO" = "y"; then
    160         # full scm version string
    161         res="$res$(scm_version)"
    162 #else
    163         # append a plus sign if the repository is not in a clean
    164         # annotated or signed tagged state (as git describe only
    165         # looks at signed or annotated tags - git tag -a/-s) and
    166         # LOCALVERSION= is not specified
    167         #if test "${LOCALVERSION+set}" != "set"; then
    168         #       scm=$(scm_version --short)
    169         #       res="$res${scm:++}"
    170         #fi
    171 fi
    172
    173 echo "$res"


echo "$res"


For sake of clarity I also edited scripts/setlocalversione

and it worked.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/58307

Title:
  --append-to-version breaks make-kpkg kernel build

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to