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 494641382C5 for ; Sun, 21 Mar 2021 17:21:48 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3F7A0E0839; Sun, 21 Mar 2021 17:21:44 +0000 (UTC) Received: from broadstreet.webconquest.com (broadstreet.webconquest.com [178.62.201.32]) by pigeon.gentoo.org (Postfix) with ESMTP id EEF01E082B for ; Sun, 21 Mar 2021 17:21:43 +0000 (UTC) Received: from settler (unknown [IPv6:2601:542:c480:c470:76b4:df54:1599:66db]) by broadstreet.webconquest.com (Postfix) with ESMTPA id 9299CDF3B7 for ; Sun, 21 Mar 2021 18:21:11 +0100 (CET) Received: (nullmailer pid 20844 invoked by uid 1000); Sun, 21 Mar 2021 17:21:08 -0000 Date: Sun, 21 Mar 2021 13:21:08 -0400 From: Remco =?utf-8?Q?R=C4=B3nders?= To: gentoo-dev@lists.gentoo.org Subject: [gentoo-dev] Specifying locale in ebuild Message-ID: 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-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline Autocrypt: addr=remco@webconquest.com; prefer-encrypt=mutual; keydata= mQENBF69fXABCACqD5/i2I6dszsD6l0qi/Sg5Xl69qPgEKpsFmzYznfb0X7SyLNFn2Zk91GWB4Y x7BgYF1Hz+xC3P1VCurR6MRn++8z8X3vz51EwCJ5yyqI5V5Gue/TqEppAb4VgLmmkHyZ2fAD886 XwkVxiri5Ndi/ui4A+a2lsbT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EdhOXdJQ48FL7Jc66ygFFHO69D1kdzF9awiA895EDuuH+mVwX2uqCMQu2 vBAKk3sSM2Y1ZbDI/n+xS2WAbLz/Ctl5sCAT34wI1p8BeH70Mg== User-Agent: Mutt/2.0+3 (e832240e) (2020-11-07) X-Archives-Salt: dcb88eba-2ffe-44d0-b281-9f95d7911fa9 X-Archives-Hash: 2ca6b60349e41575d3be710caec3996e 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? Many thanks for any and all suggestions! Regards, Remco