Your message dated Mon, 09 Mar 2009 23:32:03 +0000
with message-id <[email protected]>
and subject line Bug#491158: fixed in grep 2.5.4-3
has caused the Debian Bug report #491158,
regarding grep: grep -i fails on glibc 2.8
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.)


-- 
491158: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=491158
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: grep
Version: 2.5.3~dfsg-5
Tags: patch
User: [email protected]
Usertags: ubuntu-patch origin-ubuntu intrepid

Hi,

When building the current grep package on glibc 2.8, the configure
check for glibc's regex will get confused since it does not define
_GNU_SOURCE. As a result, it builds the package with the internal copy
of the regex library, which seems to be seriously broken (e. g. grep
-i does not work any more, see https://launchpad.net/bugs/241990).

I worked around this by explicitly configuring with
--without-included-regex. Upstream should fix their configure test to
define _GNU_SOURCE (and maybe also their internal regex lib), but as a
distribution the configure argument suffices for now.

Please note that this does not directly affect sid/lenny ATM, since we
are frozen with glibc 2.7. However, it is a future trap which we
should avoid altogether in Debian, so please feel free to apply it
right now.

Thanks,

Martin

-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)
diff -u grep-2.5.3~dfsg/debian/rules grep-2.5.3~dfsg/debian/rules
--- grep-2.5.3~dfsg/debian/rules
+++ grep-2.5.3~dfsg/debian/rules
@@ -12 +12 @@
-DEB_CONFIGURE_EXTRA_FLAGS := CFLAGS=-O3 --exec-prefix=/
+DEB_CONFIGURE_EXTRA_FLAGS := CFLAGS=-O3 --exec-prefix=/ 
--without-included-regex
diff -u grep-2.5.3~dfsg/debian/changelog grep-2.5.3~dfsg/debian/changelog
--- grep-2.5.3~dfsg/debian/changelog
+++ grep-2.5.3~dfsg/debian/changelog
@@ -1,3 +1,13 @@
+grep (2.5.3~dfsg-5ubuntu2) intrepid; urgency=low
+
+  * debian/rules: Configure with --without-included-regex, so that the
+    broken configure test does not erroneously think that our glibc doesn't
+    support regexes. (It fails to use _GNU_SOURCE in configure). The internal
+    one is broken and e. g. does not work with "grep -i". Thanks to
+    Jean-Baptiste Lallement for tracking this down! (LP: #241990)
+
+ -- Martin Pitt <[email protected]>  Thu, 17 Jul 2008 10:43:28 +0100
+
 grep (2.5.3~dfsg-5ubuntu1) intrepid; urgency=low
 
   * debian/rules, debian/control: Enable perl-regexp (-P) (LP: #15051, 

Attachment: signature.asc
Description: Digital signature


--- End Message ---
--- Begin Message ---
Source: grep
Source-Version: 2.5.4-3

We believe that the bug you reported is fixed in the latest version of
grep, which is due to be installed in the Debian FTP archive:

grep_2.5.4-3.diff.gz
  to pool/main/g/grep/grep_2.5.4-3.diff.gz
grep_2.5.4-3.dsc
  to pool/main/g/grep/grep_2.5.4-3.dsc
grep_2.5.4-3_i386.deb
  to pool/main/g/grep/grep_2.5.4-3_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Santiago Ruano Rincón <[email protected]> (supplier of updated grep package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Mon, 09 Mar 2009 22:50:47 +0100
Source: grep
Binary: grep
Architecture: source i386
Version: 2.5.4-3
Distribution: unstable
Urgency: low
Maintainer: Anibal Monsalve Salazar <[email protected]>
Changed-By: Santiago Ruano Rincón <[email protected]>
Description: 
 grep       - GNU grep, egrep and fgrep
Closes: 491158
Changes: 
 grep (2.5.4-3) unstable; urgency=low
 .
   * Updated copyright. The grep.texi removal notice is not longer
     needed.
   * Adding --without-included-regex to solve problems with glibc-2.9.
     Thanks to the Ubuntu team. (Closes: #491158)
   * Updated debhelper compat to version 7
Checksums-Sha1: 
 7e15a7950ca01293f4c2abd6dbb48fa889e0ec6d 1061 grep_2.5.4-3.dsc
 d7cf704dec3ffdef9b93e1f47ad3b068f577ffaf 17459 grep_2.5.4-3.diff.gz
 3b49403450300c2b9d16647b1f30564a5d5f0034 305862 grep_2.5.4-3_i386.deb
Checksums-Sha256: 
 be11d841fe13e7b528f1b8e92d1cdc0d6d322a926af8d59dcd158e1532cb9163 1061 
grep_2.5.4-3.dsc
 95cac9cc24af9149a3efd06a05f8f261055860f044c79d685cbd391542d11610 17459 
grep_2.5.4-3.diff.gz
 5ead5760b298bb24e408c1b1f87fa96e8a61a8abf9985aa059bf9a480a247e0e 305862 
grep_2.5.4-3_i386.deb
Files: 
 6e1af25bc22155ef9c3fb14e44bdcdfd 1061 utils required grep_2.5.4-3.dsc
 8628cf9e4e667a2c2ed41232542bfe55 17459 utils required grep_2.5.4-3.diff.gz
 6d075470b1bd95a7be3aee03bd6f9556 305862 utils required grep_2.5.4-3_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkm1pREACgkQQUuEI2/szeCD5wCeOhIFrTtjy0vbT8kO6aWEIqAc
/QwAn3f4GFQ2bgCyb42GkklGSaomyMq1
=X7nU
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to