From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Oes4s-0007CV-2K for garchives@archives.gentoo.org; Fri, 30 Jul 2010 16:04:54 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 70947E0AB7; Fri, 30 Jul 2010 16:04:51 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 3954FE08D3 for ; Fri, 30 Jul 2010 16:04:26 +0000 (UTC) Received: from gentoo.org (cp1107341-a.dbsch1.nb.home.nl [84.31.115.1]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPSA id 671EC1B4001 for ; Fri, 30 Jul 2010 16:04:25 +0000 (UTC) Date: Fri, 30 Jul 2010 18:05:42 +0200 From: Harald van =?utf-8?Q?D=C4=B3k?= To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] Locale check in python_pkg_setup() Message-ID: <20100730160542.GA14611@boostbox> References: <201007300116.43653.Arfrever@gentoo.org> 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 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201007300116.43653.Arfrever@gentoo.org> User-Agent: Mutt/1.5.20 (2009-06-14) X-Archives-Salt: fd2ba5b6-40ae-4962-8a61-a19136e564cf X-Archives-Hash: f8c7233b9d892583aee0a14d5face24c On Fri, Jul 30, 2010 at 01:16:18AM +0200, Arfrever Frehtes Taifersar Arahesis wrote: > We received too many invalid bugs caused by unsupported locales. python_pkg_setup() needs to check > locale and print error (using eerror(), without die()), when unsupported locale has been detected. I'm strongly with Brian on this. You receive too many valid bug reports caused by a broken package. python_pkg_setup needs to do nothing. You need to fix the bugs, or if fixing them is too much of an issue, work around them in the ebuild. Keep in mind that having no locale explicitly selected is the default for a Gentoo installation, and that the docs do not (and should not) say anywhere that non-UTF-8 locales are unsupported. In fact, quoting from : "It's also possible, and pretty common especially in a more traditional UNIX environment, to leave the global settings unchanged, i.e. in the "C" locale. Users can still specify their preferred locale in their own shell RC file:"