GNU bug report logs - #71995
fmbtest unnecessarily skipped on FreeBSD

Previous Next

Package: grep;

Reported by: Bruno Haible <bruno <at> clisp.org>

Date: Mon, 8 Jul 2024 12:15:01 UTC

Severity: normal

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#71995: closed (fmbtest unnecessarily skipped on FreeBSD)
Date: Tue, 09 Jul 2024 12:49:01 +0000
[Message part 1 (text/plain, inline)]
Your message dated Tue, 9 Jul 2024 14:48:12 +0200
with message-id <523c9a1a-8ae5-4bb8-9333-415811f3cddc <at> cs.ucla.edu>
and subject line Re: bug#71995: fmbtest unnecessarily skipped on FreeBSD
has caused the debbugs.gnu.org bug report #71995,
regarding fmbtest unnecessarily skipped on FreeBSD
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
71995: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=71995
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Bruno Haible <bruno <at> clisp.org>
To: bug-grep <at> gnu.org
Subject: fmbtest unnecessarily skipped on FreeBSD
Date: Mon, 08 Jul 2024 14:14:41 +0200
[Message part 3 (text/plain, inline)]
Building grep-3.11 on FreeBSD 14.0, "make check" reports that the fmbtest
test is skipped:

  fmbtest: skipped test: this system lacks the cs_CZ.UTF-8 locale
  SKIP: fmbtest

But

  $ locale -a | grep cs_CZ
  cs_CZ.ISO8859-2
  cz_CZ.UTF-8

shows that the system does have this locale.

The cause is that this invocation of 'locale' does not work:

  $ locale -k LC_CTYPE
  Unknown keyword: `LC_CTYPE`

But this one works:

  $ locale charmap
  UTF-8

=> Patch attached. It fixes the problem: it makes the test PASS.

'locale charmap' is known to work portably for ages; see
https://git.savannah.gnu.org/gitweb/?p=libiconv.git;a=tree;f=libcharset/tools;h=f756e65e5ea8fef47afc8bb7ae1094e169012c78;hb=HEAD

[0001-tests-Fix-recognition-of-cs_CZ.UTF-8-locale-on-FreeB.patch (text/x-patch, attachment)]
[Message part 5 (message/rfc822, inline)]
From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Bruno Haible <bruno <at> clisp.org>
Cc: 71995-done <at> debbugs.gnu.org
Subject: Re: bug#71995: fmbtest unnecessarily skipped on FreeBSD
Date: Tue, 9 Jul 2024 14:48:12 +0200
Thanks, I installed that.


This bug report was last modified 319 days ago.

Previous Next


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