Your message dated Mon, 09 Oct 2006 15:53:22 -0500
with message-id <[EMAIL PROTECTED]>
and subject line Bug#390924: I found the bug: GREP_OPTIONS
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: kernel-package
Version: 10.062
Severity: important

Hello,

When building linux-2.6.18 using
  $ make-kpkg clean
  $ fakeroot make-kpkg --revision=custom.1.2 kernel_image
I have:
  [...]
  CC [M]  fs/xfs/linux-2.6/xfs_aops.o
  CC [M]  fs/xfs/linux-2.6/xfs_buf.o
  CC [M]  fs/xfs/linux-2.6/xfs_export.o
  CC [M]  fs/xfs/linux-2.6/xfs_file.o
  CC [M]  fs/xfs/linux-2.6/xfs_fs_subr.o
  CC [M]  fs/xfs/linux-2.6/xfs_globals.o
  CC [M]  fs/xfs/linux-2.6/xfs_ioctl.o
  CC [M]  fs/xfs/linux-2.6/xfs_iops.o
  CC [M]  fs/xfs/linux-2.6/xfs_lrw.o
  CC [M]  fs/xfs/linux-2.6/xfs_super.o
  CC [M]  fs/xfs/linux-2.6/xfs_vfs.o
  CC [M]  fs/xfs/linux-2.6/xfs_vnode.o
  CC [M]  fs/xfs/support/debug.o
  CC [M]  fs/xfs/support/move.o
  CC [M]  fs/xfs/support/uuid.o
  LD [M]  fs/xfs/xfs.o
  Building modules, stage 2.
  MODPOST
make[1]: quittant le répertoire « /usr/src/linux-2.6.18 »
COLUMNS=150 dpkg -l 'gcc*' perl dpkg 'libc6*' binutils ldso make dpkg-dev |\
         awk '$1 ~ /[hi]i/ { printf("%s-%s\n", $2, $3) }'   > debian/buildinfo
uname -a >> debian/buildinfo
echo using the compiler: >> debian/buildinfo
grep LINUX_COMPILER include/linux/compile.h | \
           sed -e 's/.*LINUX_COMPILER "//' -e 's/"$//' >> debian/buildinfo
echo applied kernel patches: >> debian/buildinfo
echo done > debian/stamp-build-kernel
====== making target install/linux-image-2.6.18 [new prereqs: ]======
This is kernel package version 10.062.
echo "The UTS Release version in include/linux/utsrelease.h"; echo "     \"\" 
"; echo "does not match current version:"; echo "     \"2.6.18\" "; echo 
"Please correct this."; exit 2
The UTS Release version in include/linux/utsrelease.h
     ""
does not match current version:
     "2.6.18"
Please correct this.
make: *** [install/linux-image-2.6.18] Erreur 2


but I also have:
  $ cat include/linux/utsrelease.h
  #define UTS_RELEASE "2.6.18"

I guess the problem is in
/usr/share/kernel-package/ruleset/misc/version_vars.mk but I do not
really know what is wrong.

What can I do to help?


Bye,

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing'), (90, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-efi
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)

Versions of packages kernel-package depends on:
ii  dpkg                          1.13.22    package maintenance system for Deb
ii  dpkg-dev                      1.13.22    package building tools for Debian
ii  file                          4.17-4     Determines file type using "magic"
ii  gcc [c-compiler]              4:4.1.1-7  The GNU C compiler
ii  gcc-3.3 [c-compiler]          1:3.3.6-13 The GNU C compiler
ii  gcc-4.0 [c-compiler]          4.0.3-3    The GNU C compiler
ii  gcc-4.1 [c-compiler]          4.1.1-13   The GNU C compiler
ii  gettext                       0.14.6-1   GNU Internationalization utilities
ii  make                          3.81-2     The GNU version of the "make" util
ii  perl                          5.8.8-6.1  Larry Wall's Practical Extraction 
ii  po-debconf                    1.0.5      manage translated Debconf template
ii  tcc [c-compiler]              0.9.23-3   The smallest ANSI C compiler

Versions of packages kernel-package recommends:
ii  bzip2                        1.0.3-6     high-quality block-sorting file co
ii  libc6-dev [libc-dev]         2.3.6.ds1-4 GNU C Library: Development Librari

-- no debconf information


--- End Message ---
--- Begin Message ---
On Wed, 4 Oct 2006 21:14:24 +0200, Ludovic Rousseau <[EMAIL PROTECTED]> said: 

> severity 390924 normal thanks

> I found why it fails for me. I have: $ echo $GREP_OPTIONS
> --colour=always

> So the Perl regex does not match in:

> UTS_RELEASE_VERSION=$(call doit,if [ -f $(UTS_RELEASE_HEADER) ];
> then \
>                  grep 'define UTS_RELEASE' $(UTS_RELEASE_HEADER) | \
>                  perl -nle
>                  'm/^\s*\#define\s+UTS_RELEASE\s+("?)(\S+)\1/g &&
>                  print $$2;';\ else echo "" ; \ fi)

> I propose to use: export -n GREP_OPTIONS somewhere in make-kpkg
> script to avoid this problem.

> Maybe using --colour=always is not a so good idea since many scripts
> may fail.

> Sorry for the annoyance. You can just close the bug if you want.

        Yeah. All kinds of things may fail when you export
 GREP_OPTIONS -- but I don't want to totally disallow them either. So,
 I'll add this to the PROBLEMS file

        manoj

-- 
Eeny, Meeny, Jelly Beanie, the spirits are about to speak! Bullwinkle
Moose
Manoj Srivastava <[EMAIL PROTECTED]> <http://www.golden-gryphon.com/>
1024D/BF24424C print 4966 F272 D093 B493 410B  924B 21BA DABB BF24 424C

--- End Message ---

Reply via email to