From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E4B621382C5 for ; Sun, 21 Mar 2021 19:43:55 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 358E5E0863; Sun, 21 Mar 2021 19:43:53 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id F3A5EE082B for ; Sun, 21 Mar 2021 19:43:52 +0000 (UTC) Message-ID: <3d0e94fee25354fec5284e2edb5c79473c526cd2.camel@gentoo.org> Subject: Re: [gentoo-dev] Specifying locale in ebuild From: =?UTF-8?Q?Micha=C5=82_G=C3=B3rny?= To: gentoo-dev@lists.gentoo.org Date: Sun, 21 Mar 2021 20:43:47 +0100 In-Reply-To: References: Organization: Gentoo Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.38.4 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Archives-Salt: 9ba7480e-14d2-434e-8bdc-8016255272eb X-Archives-Hash: 78d9e2f6d9dcad24fc61f530dce35b2e On Sun, 2021-03-21 at 13:21 -0400, Remco Rijnders wrote: > I hope this is the appropiate place to ask this question as I do not see many > questions of this kind on this list... > > Recently I received a bug report for a package of which I am the listed proxy > maintainer: https://bugs.gentoo.org/772908 > > Having looked into this, it seems the packages Makefile allows for tests to be > run which feeds a set of input to the 'remind' executable and compares the > resulting output against an included textfile. For the test to run successfully, > the Makefile assumes the locale en_US.utf-8 to be available. On the build > environment by agostino's tinderbox, this locale is not available and thus the > test fails and hence the bug report. While I know the impact of this bug is very > minor, I'd still like to fix it, but am unsure on how to best do this. > > Can I somehow enforce the locale to be used in the ebuild? I've tried running > the test with the default C locale and the test also fails with this setting. Or > should I ask upstream to provide test files for a C locale setting? Or should I > skip these tests completely, or mark the bug as WONTFIX? What would you advice > as the best approach for dealing with this? Try forcing C.UTF-8 -- Best regards, Michał Górny