GNU bug report logs - #57039
`make check' yields two failed tests.

Previous Next

Package: guix;

Reported by: Pierre-Henry Fröhring <contact <at> phfrohring.com>

Date: Sun, 7 Aug 2022 14:14:01 UTC

Severity: normal

Full log


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

From: Maxime Devos <maximedevos <at> telenet.be>
To: Ludovic Courtès <ludo <at> gnu.org>,
 Pierre-Henry Fröhring <contact <at> phfrohring.com>
Cc: 57039 <at> debbugs.gnu.org
Subject: Re: bug#57039: `make check' yields two failed tests.
Date: Tue, 9 Aug 2022 16:44:26 +0200
[Message part 1 (text/plain, inline)]
On 09-08-2022 15:50, Ludovic Courtès wrote:
>> +                      (entry (tag "tag-for-first-news-entry")
>> +                             (title (en "Old news.") (eo "Malnova?oj."))
> The question mark here suggests you’re not running the tests with a
> UTF-8 locale.
>
> Could you add, say, ‘glibc-locales’ to your environment, ensure
> GUIX_LOCPATH points to it, and set LC_ALL=en_US.UTF-8 (or similar)?
>
Two comments:

If tests require an UTF-8 locale, I think the tests (maybe in 
build-aux/test-driver.scm?) should check that an UTF-8 that an UTF-8 
locale is actually in use and otherwise bail out properly.

It's not a file-name but rather the contents of the news file, so I 
would think we are just forgetting to pass some arguments like 
#:encoding "UTF-8" -- making the interpretation of the news file depend 
on the current locale doesn't seem good to me (it's encoding on stdout 
with "guix pull --news" is another matter).

Greetings,
Maxime.

[Message part 2 (text/html, inline)]
[OpenPGP_0x49E3EE22191725EE.asc (application/pgp-keys, attachment)]
[OpenPGP_signature (application/pgp-signature, attachment)]

This bug report was last modified 3 years and 42 days ago.

Previous Next


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