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: Bruno Haible <bruno <at> clisp.org>
Subject: bug#71995: closed (Re: bug#71995: fmbtest unnecessarily skipped
 on FreeBSD)
Date: Tue, 09 Jul 2024 12:49:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#71995: fmbtest unnecessarily skipped on FreeBSD

which was filed against the grep package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 71995 <at> debbugs.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: 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.

[Message part 3 (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 4 (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)]

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.