GNU bug report logs - #19293
failure in fmbtest after commit d48e658e03a70ff648801cbea698c11abff80016

Previous Next

Package: grep;

Reported by: Norihiro Tanaka <noritnk <at> kcn.ne.jp>

Date: Sun, 7 Dec 2014 08:04:02 UTC

Severity: normal

Done: Jim Meyering <jim <at> meyering.net>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 19293 in the body.
You can then email your comments to 19293 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-grep <at> gnu.org:
bug#19293; Package grep. (Sun, 07 Dec 2014 08:04:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Norihiro Tanaka <noritnk <at> kcn.ne.jp>:
New bug report received and forwarded. Copy sent to bug-grep <at> gnu.org. (Sun, 07 Dec 2014 08:04:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Norihiro Tanaka <noritnk <at> kcn.ne.jp>
To: bug-grep <at> gnu.org
Subject: failure in fmbtest after commit
 d48e658e03a70ff648801cbea698c11abff80016
Date: Sun, 07 Dec 2014 17:03:11 +0900
[Message part 1 (text/plain, inline)]
I ran fmbtest #1, #2, #3 and #8 with grep master in CentOS 5.10 and 6.5,
but it fails in both.  I also confirmed that it succeeded in Fedora 20.

I see that it fails in replacing non-digit characters to blanks with sed.
The replacement was changed in commit d48e658e03a70ff648801cbea698c11abff80016.

On the other hands, as it succeeds in Fedora 20 and fails even with the
newest sed in CentOS 5.10 and 6.5, old glibc may have a bug in treatment
of locales.

I have no good idea to fix this bug in grep at this time.
[fmbtest.log (text/plain, attachment)]

Information forwarded to bug-grep <at> gnu.org:
bug#19293; Package grep. (Mon, 08 Dec 2014 02:16:02 GMT) Full text and rfc822 format available.

Message #8 received at 19293 <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Norihiro Tanaka <noritnk <at> kcn.ne.jp>, 19293 <at> debbugs.gnu.org
Subject: Re: bug#19293: failure in fmbtest after commit
 d48e658e03a70ff648801cbea698c11abff80016
Date: Sun, 07 Dec 2014 18:15:03 -0800
[Message part 1 (text/plain, inline)]
Thanks, could you please try the attached patch?  I installed it, as it's 
clearly needed even if it doesn't fix this particular bug.
[0001-tests-port-fmbtest-to-CentOS-6-and-earlier.patch (text/x-diff, attachment)]

Information forwarded to bug-grep <at> gnu.org:
bug#19293; Package grep. (Mon, 08 Dec 2014 13:36:01 GMT) Full text and rfc822 format available.

Message #11 received at 19293 <at> debbugs.gnu.org (full text, mbox):

From: Norihiro Tanaka <noritnk <at> kcn.ne.jp>
To: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: 19293 <at> debbugs.gnu.org
Subject: Re: bug#19293: failure in fmbtest after commit
 d48e658e03a70ff648801cbea698c11abff80016
Date: Mon, 08 Dec 2014 22:35:40 +0900
On Sun, 07 Dec 2014 18:15:03 -0800
Paul Eggert <eggert <at> cs.ucla.edu> wrote:

> Thanks, could you please try the attached patch?  I installed it, as
> it's clearly needed even if it doesn't fix this particular bug.

Thanks, but I confirmed that the bug is not fixed in CentOS 5 yet.  I
found that it is a bug of regex in CentOS 5.  Following should output
`1', but output `0' in CentOS 5.

printf '\xf0\x9d\x87\x95\n' |
  LC_ALL=cs_CZ.utf8 sed -ne '/[^0-9]/p' | wc -l
printf '\xf0\x9d\x87\x95\n' |
  LC_ALL=cs_CZ.utf8 sed -ne '/[^0123456789]/p' | wc -l

By the way, if we recompile sed with --with-included-regex, the bug can
be avoided.





Information forwarded to bug-grep <at> gnu.org:
bug#19293; Package grep. (Wed, 10 Dec 2014 07:04:02 GMT) Full text and rfc822 format available.

Message #14 received at 19293 <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Norihiro Tanaka <noritnk <at> kcn.ne.jp>
Cc: 19293 <at> debbugs.gnu.org
Subject: Re: bug#19293: failure in fmbtest after commit
 d48e658e03a70ff648801cbea698c11abff80016
Date: Tue, 09 Dec 2014 23:02:57 -0800
[Message part 1 (text/plain, inline)]
Norihiro Tanaka wrote:
> I confirmed that the bug is not fixed in CentOS 5 yet.

Thanks for checking.  Does the attached patch work around the problem?
[0001-tests-port-fmbtest-to-CentOS-5.patch (text/x-diff, attachment)]

Information forwarded to bug-grep <at> gnu.org:
bug#19293; Package grep. (Wed, 10 Dec 2014 12:34:02 GMT) Full text and rfc822 format available.

Message #17 received at 19293 <at> debbugs.gnu.org (full text, mbox):

From: Norihiro Tanaka <noritnk <at> kcn.ne.jp>
To: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: 19293 <at> debbugs.gnu.org
Subject: Re: bug#19293: failure in fmbtest after commit
 d48e658e03a70ff648801cbea698c11abff80016
Date: Wed, 10 Dec 2014 21:33:11 +0900
[Message part 1 (text/plain, inline)]
On Tue, 09 Dec 2014 23:02:57 -0800
Paul Eggert <eggert <at> cs.ucla.edu> wrote:

> Norihiro Tanaka wrote:
> > I confirmed that the bug is not fixed in CentOS 5 yet.
> 
> Thanks for checking.  Does the attached patch work around the problem?

Thanks, I confirmed that fmbtest was skipped on CentOS 5 after the patch.
By the way, I replaced hexadecimal to octal for printf.
[0001-tests-port-fmbtest-to-CentOS-5.patch (text/plain, attachment)]

Reply sent to Jim Meyering <jim <at> meyering.net>:
You have taken responsibility. (Sun, 20 Sep 2015 01:26:01 GMT) Full text and rfc822 format available.

Notification sent to Norihiro Tanaka <noritnk <at> kcn.ne.jp>:
bug acknowledged by developer. (Sun, 20 Sep 2015 01:26:02 GMT) Full text and rfc822 format available.

Message #22 received at 19293-done <at> debbugs.gnu.org (full text, mbox):

From: Jim Meyering <jim <at> meyering.net>
To: Norihiro Tanaka <noritnk <at> kcn.ne.jp>
Cc: Paul Eggert <eggert <at> cs.ucla.edu>, 19293-done <at> debbugs.gnu.org
Subject: Re: bug#19293: failure in fmbtest after commit
 d48e658e03a70ff648801cbea698c11abff80016
Date: Sat, 19 Sep 2015 18:24:41 -0700
On Wed, Dec 10, 2014 at 4:33 AM, Norihiro Tanaka <noritnk <at> kcn.ne.jp> wrote:
> On Tue, 09 Dec 2014 23:02:57 -0800
> Paul Eggert <eggert <at> cs.ucla.edu> wrote:
>
>> Norihiro Tanaka wrote:
>> > I confirmed that the bug is not fixed in CentOS 5 yet.
>>
>> Thanks for checking.  Does the attached patch work around the problem?
>
> Thanks, I confirmed that fmbtest was skipped on CentOS 5 after the patch.
> By the way, I replaced hexadecimal to octal for printf.

This was fixed by commit
11e53e804fda824dbb04c131c319d24d7b1954f7
so closing.




Information forwarded to bug-grep <at> gnu.org:
bug#19293; Package grep. (Sun, 20 Sep 2015 01:28:02 GMT) Full text and rfc822 format available.

Message #25 received at 19293-done <at> debbugs.gnu.org (full text, mbox):

From: Jim Meyering <jim <at> meyering.net>
To: Norihiro Tanaka <noritnk <at> kcn.ne.jp>
Cc: Paul Eggert <eggert <at> cs.ucla.edu>, 19293-done <at> debbugs.gnu.org
Subject: Re: bug#19293: failure in fmbtest after commit
 d48e658e03a70ff648801cbea698c11abff80016
Date: Sat, 19 Sep 2015 18:27:17 -0700
reopen 19293
thanks

On Sat, Sep 19, 2015 at 6:24 PM, Jim Meyering <jim <at> meyering.net> wrote:
> On Wed, Dec 10, 2014 at 4:33 AM, Norihiro Tanaka <noritnk <at> kcn.ne.jp> wrote:
>> On Tue, 09 Dec 2014 23:02:57 -0800
>> Paul Eggert <eggert <at> cs.ucla.edu> wrote:
>>
>>> Norihiro Tanaka wrote:
>>> > I confirmed that the bug is not fixed in CentOS 5 yet.
>>>
>>> Thanks for checking.  Does the attached patch work around the problem?
>>
>> Thanks, I confirmed that fmbtest was skipped on CentOS 5 after the patch.
>> By the way, I replaced hexadecimal to octal for printf.
>
> This was fixed by commit
> 11e53e804fda824dbb04c131c319d24d7b1954f7
> so closing.

Oops. No, it wasn't fixed. That was for centos6.  This is centos5




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 18 Oct 2015 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 8 years and 183 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.