Your message dated Sat, 26 May 2012 12:18:33 +0200
with message-id <[email protected]>
and subject line Re: Bug#648535: kernel-package: Add extra '+' sign to 
$(KERNELRELEASE)
has caused the Debian Bug report #648535,
regarding kernel-package: Add extra '+' sign to $(KERNELRELEASE)
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
648535: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=648535
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: kernel-package
Version: 12.036+nmu1
Severity: normal

Dear Maintainer,

Kernel package add a '+' signe to my kernel version.

This is visible in 'debian/stamp/conf/full-changelog' target, here are
the logs.

#+begin_src
exec make kpkg_version=12.036+nmu1 -f 
/usr/share/kernel-package/ruleset/minimal.mk debian DEBIAN_REVISION=1  
APPEND_TO_VERSION=+hati.1 
====== making target debian/stamp/conf/minimal_debian [new prereqs: ]======
This is kernel package version 12.036+nmu1.
test -d debian             || mkdir debian
test ! -e stamp-building || rm -f stamp-building
install -p -m 755 /usr/share/kernel-package/rules debian/rules
for file in ChangeLog  Control  Control.bin86 config templates.in rules; do     
                                 \
            cp -f  /usr/share/kernel-package/$file ./debian/;                   
            \
        done
for dir  in Config docs examples ruleset scripts pkg po;  do                    
                  \
          cp -af /usr/share/kernel-package/$dir  ./debian/;                     
            \
        done
test -f debian/control || sed         -e 's/=V/3.2.0-rc1+hati.1/g'  \
                -e 's/=D/1/g'         -e 's/=A/amd64/g'  \
                -e 's/=SA//g'  \
                -e 's/=I//g'                                \
                -e 's/=CV/3.2/g'                            \
                -e 's/=M/Daniel Dehennin <[email protected]>/g'                 
    \
                -e 's/=ST/linux/g'      -e 's/=B/x86_64/g'    \
                  /usr/share/kernel-package/Control > debian/control
test -f debian/changelog ||  sed -e 's/=V/3.2.0-rc1+hati.1/g'       \
            -e 's/=D/1/g'        -e 's/=A/amd64/g'       \
            -e 's/=ST/linux/g'     -e 's/=B/x86_64/g'         \
            -e 's/=M/Daniel Dehennin <[email protected]>/g'                     
       \
             /usr/share/kernel-package/changelog > debian/changelog
chmod 0644 debian/control debian/changelog
test -d ./debian/stamp || mkdir debian/stamp 
make -f debian/rules debian/stamp/conf/kernel-conf
make[1]: Entering directory `/home/dad/eole/src/kernel/linux-source'
====== making target debian/stamp/conf/kernel-conf [new prereqs: ]======
make EXTRAVERSION=-rc1+hati.1   ARCH=x86_64 \
                    oldconfig;
make[2]: Entering directory `/home/dad/eole/src/kernel/linux-source'
scripts/kconfig/conf --oldconfig Kconfig
#
# configuration written to .config
#
make[2]: Leaving directory `/home/dad/eole/src/kernel/linux-source'
make EXTRAVERSION=-rc1+hati.1   ARCH=x86_64 prepare
make[2]: Entering directory `/home/dad/eole/src/kernel/linux-source'
scripts/kconfig/conf --silentoldconfig Kconfig
make[2]: Leaving directory `/home/dad/eole/src/kernel/linux-source'
make[2]: Entering directory `/home/dad/eole/src/kernel/linux-source'
  CHK     include/linux/version.h
  UPD     include/linux/version.h
  CHK     include/generated/utsrelease.h
  UPD     include/generated/utsrelease.h
  CC      kernel/bounds.s
  GEN     include/generated/bounds.h
  CC      arch/x86/kernel/asm-offsets.s
  GEN     include/generated/asm-offsets.h
  CALL    scripts/checksyscalls.sh
make[2]: Leaving directory `/home/dad/eole/src/kernel/linux-source'
echo done > debian/stamp/conf/kernel-conf
make[1]: Leaving directory `/home/dad/eole/src/kernel/linux-source'
make -f debian/rules debian/stamp/conf/full-changelog
make[1]: Entering directory `/home/dad/eole/src/kernel/linux-source'
====== making target debian/stamp/conf/full-changelog [new prereqs: ]======
for file in ChangeLog  Control  Control.bin86 config templates.in rules; do     
                        \
             cp -f  /usr/share/kernel-package/$file ./debian/;                  
\
        done
for dir  in Config docs examples ruleset scripts pkg po;        do              
                \
           cp -af /usr/share/kernel-package/$dir  ./debian/;                    
        \
        done
install -p -m 755 /usr/share/kernel-package/rules debian/rules
sed         -e 's/=V/3.2.0-rc1+hati.1+/g'  \
                -e 's/=D/1/g'         -e 's/=A/amd64/g'  \
                -e 's/=SA//g'  \
                -e 's/=I//g'                                \
                -e 's/=CV/3.2/g'                            \
                -e 's/=M/Daniel Dehennin <[email protected]>/g'                 
    \
                -e 's/=ST/linux/g'      -e 's/=B/x86_64/g'    \
                  /usr/share/kernel-package/Control > debian/control
sed -e 's/=V/3.2.0-rc1+hati.1+/g' -e 's/=D/1/g'       \
            -e 's/=A/amd64/g' -e 's/=M/Daniel Dehennin <[email protected]>/g' \
            -e 's/=ST/linux/g'   -e 's/=B/x86_64/g'           \
                /usr/share/kernel-package/changelog > debian/changelog
chmod 0644 debian/control debian/changelog
make -f debian/rules debian/stamp/conf/kernel-conf
#+end_src

I do not manage to figure out what's happening.

Regards.

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (90, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.0.0-rc5+hati.1 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages kernel-package depends on:
ii  binutils           2.21.90.20111025-1
ii  build-essential    11.5              
ii  debianutils        4.0.4             
ii  file               5.09-2            
ii  gettext            0.18.1.1-5        
ii  make               3.81-8.1          
ii  module-init-tools  3.16-1            
ii  po-debconf         1.0.16+nmu1       
ii  util-linux         2.19.1-5          

Versions of packages kernel-package recommends:
ii  cpio  2.11-7

Versions of packages kernel-package suggests:
pn  btrfs-tools                             0.19+20101101-2      
pn  bzip2                                   1.0.5-7              
pn  docbook-utils                           <none>               
pn  e2fsprogs                               1.42~WIP-2011-10-16-1
pn  grub | grub2                            <none>               
pn  initramfs-tools [linux-initramfs-tool]  0.99                 
pn  jfsutils                                <none>               
pn  libncurses5-dev [libncurses-dev]        5.9-4                
pn  linux-source | kernel-source            <none>               
pn  mcelog                                  <none>               
pn  oprofile                                <none>               
pn  pcmciautils                             <none>               
pn  ppp                                     <none>               
pn  procps                                  1:3.2.8-11           
pn  quota                                   <none>               
pn  reiserfsprogs                           <none>               
pn  squashfs-tools                          <none>               
pn  udev                                    172-1                
pn  xfsprogs                                <none>               
pn  xmlto                                   <none>               

-- Configuration Files:
/etc/kernel-pkg.conf changed:
maintainer := Daniel Dehennin
email := [email protected]
priority := Low
root_cmd = fakeroot
CONCURRENCY_LEVEL := 3
do_symlink := No
do_clean := No
IMAGEDIR = /boot/$(version)
INITRD := YES


-- no debconf information

-- 
Daniel Dehennin
Récupérer ma clef GPG:
gpg --keyserver pgp.mit.edu --recv-keys 0x6A2540D1

Attachment: pgpDe3v6VMALs.pgp
Description: PGP signature


--- End Message ---
--- Begin Message ---
Hello,

This is not a bug of kernel-package.

This behaviour is due to kernel scripts/setlocalversion.

Here is the explanation at the end of the script

#+begin_src
        # append a plus sign if the repository is not in a clean
        # annotated or signed tagged state (as git describe only
        # looks at signed or annotated tags - git tag -a/-s) and
        # LOCALVERSION= is not specified
#+end_src

There is two solutions to avoid this '+' sign:

- export a shell LOCALVERSION variable
- create a signed or annotated tag.

Thanks.
-- 
Daniel Dehennin
Récupérer ma clef GPG:
gpg --keyserver pgp.mit.edu --recv-keys 0x7A6FE2DF

Attachment: pgpdvYejpI7Gn.pgp
Description: PGP signature


--- End Message ---

Reply via email to